diff --git a/WebRoot/Excel/10167C87-2E80-4B85-8070-CBA3B5B29395.jpg b/WebRoot/Excel/10167C87-2E80-4B85-8070-CBA3B5B29395.jpg new file mode 100644 index 00000000..b337c703 Binary files /dev/null and b/WebRoot/Excel/10167C87-2E80-4B85-8070-CBA3B5B29395.jpg differ diff --git a/WebRoot/Excel/87DE9E14-2082-4AAA-8C43-EF6E40366235.jpg b/WebRoot/Excel/87DE9E14-2082-4AAA-8C43-EF6E40366235.jpg new file mode 100644 index 00000000..2dd2bc58 Binary files /dev/null and b/WebRoot/Excel/87DE9E14-2082-4AAA-8C43-EF6E40366235.jpg differ diff --git a/WebRoot/Excel/B0D0D13A-65EB-4514-8D98-1FBCABE4D79E.jpg b/WebRoot/Excel/B0D0D13A-65EB-4514-8D98-1FBCABE4D79E.jpg new file mode 100644 index 00000000..d6211d13 Binary files /dev/null and b/WebRoot/Excel/B0D0D13A-65EB-4514-8D98-1FBCABE4D79E.jpg differ diff --git a/WebRoot/Excel/FA2EE38B-9D3D-4CE1-A9F5-9CFA47A01A78.xlsx b/WebRoot/Excel/FA2EE38B-9D3D-4CE1-A9F5-9CFA47A01A78.xlsx new file mode 100644 index 00000000..e2214224 Binary files /dev/null and b/WebRoot/Excel/FA2EE38B-9D3D-4CE1-A9F5-9CFA47A01A78.xlsx differ diff --git a/WebRoot/Excel/FEB63CF5-F564-4F4E-B649-38170E9C2C76.xlsx b/WebRoot/Excel/FEB63CF5-F564-4F4E-B649-38170E9C2C76.xlsx new file mode 100644 index 00000000..2df2845d Binary files /dev/null and b/WebRoot/Excel/FEB63CF5-F564-4F4E-B649-38170E9C2C76.xlsx differ diff --git a/WebRoot/view/tb/form/ayq/modules/formDesigner.js b/WebRoot/view/tb/form/ayq/modules/formDesigner.js index 68a768b5..a86d0c06 100644 --- a/WebRoot/view/tb/form/ayq/modules/formDesigner.js +++ b/WebRoot/view/tb/form/ayq/modules/formDesigner.js @@ -1573,8 +1573,7 @@ layui.config({ base: './ayq/modules/' }).define(["layer", 'flow', "laytpl", "ele * @param {object} json 变更后的json属性 * @param {object} that 实例对象 * */ - update: function (json, that) { - console.log(json); + update: function (json, that) { var _required = json.required ? 'required' : ''; var $block = $('#' + json.id + ' .layui-input-block'); var $label = $('#' + json.id + ' .layui-form-label'); @@ -2080,9 +2079,9 @@ layui.config({ base: './ayq/modules/' }).define(["layer", 'flow', "laytpl", "ele _html += ''.format(json.required ? 'layui-form-required' : '', json.label, json.required ? '*' : ''); _html += '
'; _html += '
'; - _html += ' '.format(json.tag + json.id); + _html += ' '.format(json.tag + json.id); _html += '
'; - _html += ''; + _html += ''; _html += ''; _html += '
文件名大小上传进度操作
'.format(json.id); _html += ''.format(json.id); @@ -4708,8 +4707,7 @@ layui.config({ base: './ayq/modules/' }).define(["layer", 'flow', "laytpl", "ele layer.msg('导入成功'); }); //注册导出数据 - $('.exportJson').on('click', function () { - console.log(JSON.stringify(options.data)); + $('.exportJson').on('click', function () { document.getElementById('generate-code-view').value = JSON.stringify(options.data, null, 4); layer.open({ @@ -4884,8 +4882,7 @@ layui.config({ base: './ayq/modules/' }).define(["layer", 'flow', "laytpl", "ele that.components[item.tag].update(item, that); continue; } - var item = that.findJsonItem(options.data, key); - console.log(item); + var item = that.findJsonItem(options.data, key); if (item === undefined) { continue; } @@ -4926,7 +4923,9 @@ layui.config({ base: './ayq/modules/' }).define(["layer", 'flow', "laytpl", "ele //获取表单区域所有值 // var json = form.val(that.config.formId); - var json = form.val(); + var json = form.val(); + + for (let key in iceEditorObjects) { json[key] = iceEditorObjects[key].getHTML(); @@ -5005,8 +5004,8 @@ layui.config({ base: './ayq/modules/' }).define(["layer", 'flow', "laytpl", "ele , options = that.config; options.elem = $(options.elem); options.id = options.id || options.elem.attr('id') || that.index; - // options.elem.html('
'.format(options.formId)); - options.elem.html('
'.format(options.formId)); + options.elem.html('
'.format(options.formId)); + // options.elem.html('
'.format(options.formId)); that.renderViewForm(); } else { var elem = $('#formDesignerForm'); diff --git a/WebRoot/view/tb/form/ayq/modules/staticField.js b/WebRoot/view/tb/form/ayq/modules/staticField.js index f4ec0c92..6ec86e56 100644 --- a/WebRoot/view/tb/form/ayq/modules/staticField.js +++ b/WebRoot/view/tb/form/ayq/modules/staticField.js @@ -222,14 +222,14 @@ layui.define(['layer'], function (exports) { '
\n' + '
\n' + '', - // formDefaultButton: '
\n' + - // '
\n' + - // ' \n' + - // ' \n' + - // '
\n' + - // '
', + formDefaultButton: '
\n' + + '
\n' + + ' \n' + + ' \n' + + '
\n' + + '
', - formDefaultButton: '', + // formDefaultButton: '', // formDefaultButton: '
\n' + // '
\n' + // '