@zscreate/form-component 1.1.221-test.8 → 1.1.221-test.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2059,7 +2059,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
2059
2059
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2060
2060
|
|
|
2061
2061
|
"use strict";
|
|
2062
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"advanceComponents\": () => (/* binding */ advanceComponents),\n/* harmony export */ \"basicComponents\": () => (/* binding */ basicComponents),\n/* harmony export */ \"hnkjComponentsConfig\": () => (/* reexport safe */ _config_hnkj__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n/* harmony export */ \"layoutComponents\": () => (/* binding */ layoutComponents),\n/* harmony export */ \"specComponents\": () => (/* binding */ specComponents)\n/* harmony export */ });\n/* harmony import */ var _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./config/defaultConfig */ \"./src/form/modules/config/defaultConfig.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _config_hnkj__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./config/hnkj */ \"./src/form/modules/config/hnkj.js\");\n\n\nconst basicComponents = [{\n type: 'input',\n name: '单行文本',\n icon: 'icon-input',\n options: {\n width: '100%',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n enableSpecialCharsRules: true,\n specialCharsRules: '/^(?!.*[#$|<]).*$/',\n specialCharsMessage: '您输入的表单项中含有非法字符,请修正后提交!',\n labelWidth: '',\n placeholder: '请输入单行文本',\n confiOptions: [],\n relateOptions: [],\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n canAgainSearch: false,\n fontColor: \"#000\"\n }\n}, {\n type: 'textarea',\n name: '多行文本',\n icon: 'icon-diy-com-textarea',\n options: {\n width: '100%',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2,\n defaultValue: '',\n required: false,\n defauldisabled: false,\n disabled: false,\n pattern: '',\n enableSpecialCharsRules: true,\n specialCharsRules: '/^(?!.*[#$|<]).*$/',\n specialCharsMessage: '您输入的表单项中含有非法字符,请修正后提交!',\n placeholder: '请输入多行文本',\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n relateOptions: [],\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n fontColor: \"#000\"\n }\n}, {\n type: 'number',\n name: '计数器',\n icon: 'icon-number',\n options: {\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n width: '',\n required: false,\n defaultValue: 0,\n relateOptions: [],\n min: 0,\n max: 10,\n step: 1,\n defauldisabled: false,\n disabled: false,\n controlsPosition: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'radio',\n name: '单选框组',\n icon: 'icon-radio-active',\n options: {\n inline: false,\n defaultValue: '',\n showLabel: false,\n dictName: '',\n dictTable: '',\n dictUrl: '',\n relateOptions: [],\n remoteNumber: 1,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2,\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n required: false,\n width: '',\n remote: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n labelWidth: ''\n }\n}, {\n type: 'checkbox',\n name: '多选框组',\n icon: 'icon-check-box',\n options: {\n inline: false,\n defaultValue: '',\n //默认值 通过设置字符串 后台会转换为[]\n showLabel: false,\n dictName: '',\n dictTable: '',\n dictUrl: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2,\n required: false,\n width: '',\n remote: false,\n remoteNumber: 1,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'time',\n name: '时间选择',\n icon: 'icon-time',\n options: {\n defaultValue: [],\n readonly: false,\n defauldisabled: false,\n disabled: false,\n editable: true,\n clearable: true,\n placeholder: '',\n startPlaceholder: '',\n endPlaceholder: '',\n isRange: false,\n arrowControl: true,\n relateOptions: [],\n format: 'HH:mm:ss',\n required: false,\n width: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'date',\n name: '日期选择',\n icon: 'icon-date',\n options: {\n defaultValue: '',\n readonly: false,\n defauldisabled: false,\n disabled: false,\n editable: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n clearable: true,\n relateOptions: [],\n placeholder: '',\n rangeplaceholder: ['请选择开始时间', '请选择结束时间'],\n startPlaceholder: '',\n endPlaceholder: '',\n type: 'date',\n format: 'YYYY-MM-DD',\n timestamp: false,\n required: false,\n width: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n condition: undefined,\n conditionValue: undefined\n }\n}, {\n type: 'rate',\n name: '评分',\n icon: 'icon-icon-test',\n options: {\n defaultValue: 0,\n max: 5,\n defauldisabled: false,\n disabled: false,\n allowHalf: false,\n required: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n relateOptions: [],\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n},\n// {\n// type: 'color',\n// name: '颜色选择器',\n// icon: 'icon-color',\n// options: {\n// defaultValue: '',\n// defauldisabled: false,\n// disabled: false,\n// showAlpha: false,\n// required: false,\n// canEdit: true,\n// canCorrect: true,\n// defaulcanView: true,\n// relateOptions: [],\n// canView: true,\n// height: defaultConfig.height,\n// }\n// },\n{\n type: 'select',\n name: '下拉选择',\n icon: 'icon-select',\n options: {\n defaultValue: undefined,\n labelWidth: '',\n multiple: false,\n defauldisabled: false,\n linkId: '',\n linkage: [],\n disabled: false,\n clearable: false,\n placeholder: '请选择',\n required: false,\n showLabel: false,\n dictTable: '',\n dictName: '',\n dictUrl: '',\n width: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n options: [],\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n remote: false,\n remoteNumber: '1',\n filterable: true,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'switch',\n name: '开关',\n icon: 'icon-switch',\n options: {\n defaultValue: false,\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n relateOptions: []\n }\n}, {\n type: 'slider',\n name: '滑块',\n icon: 'icon-slider',\n options: {\n defaultValue: 0,\n defauldisabled: false,\n disabled: false,\n required: false,\n min: 0,\n max: 100,\n step: 1,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n showInput: false,\n range: false,\n width: '500px',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n relateOptions: []\n }\n}, {\n type: 'hidden',\n name: '隐藏域',\n icon: 'icon-input',\n options: {\n defaultValue: '',\n height: 50,\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: false,\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n relateOptions: []\n }\n}, {\n type: 'superLink',\n name: '超链接',\n icon: 'icon-input',\n options: {\n defaultValue: '',\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n title: '超链接',\n relateOptions: []\n }\n}, {\n type: 'codeControl',\n name: '编号控件',\n icon: 'icon-input',\n options: {\n defaultValue: '',\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n enableCustomRules: false,\n customRules: `function (widget, models, that) {\n return Math.random().toString().substr(2, 10);\n}`,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n relateOptions: []\n }\n}\n// {\n// type: 'signature',\n// name: '签名签章',\n// icon: 'icon-grid-',\n// options: {\n// role: '',\n// inlineWidth: 200,\n// type: 'text', //text 文字签名 image 图片签名\n// defaultValue: '',\n// imgData: '',\n// options: [],\n// height: defaultConfig.height * 2,\n// multiple: false,\n// showfield: false,\n// disabled: false,\n// placeholder: '',\n// canEdit: true,\n// canCorrect: true,\n// defaulcanView: true,\n// canView: true,\n// tabKey: '',\n// wrapId: '',\n// relateOptions: [],\n// },\n// },\n];\n\nconst advanceComponents = [{\n type: 'table',\n name: '子表单',\n icon: 'icon-input',\n options: {\n layoutModel: 'auto',\n // 布局模式 atuo 自动模式 design自动设计\n defaultValue: [],\n columnsNum: 4,\n rowsNum: 2,\n rowsHeight: 50,\n inline: false,\n inlineWidth: 200,\n customClass: '',\n remoteFunc: '',\n remoteOptions: [],\n canEdit: true,\n height: 40,\n canView: true,\n hiddenOperateBtn: false,\n defaulcanView: true,\n computingMethod: [],\n //计算方法\n computingSub: [] //需要计算字段\n },\n\n columns: [],\n designList: [{\n x: 0,\n y: 0,\n w: 1,\n h: 1,\n i: '1'\n }],\n key: '',\n model: '',\n rules: []\n},\n// {\n// type: 'blank',\n// columns: [], //组件\n// name: '自定义',\n// icon: 'icon-ic',\n// options: {\n// defaultType: 'String',\n// canEdit: true,\n// canCorrect: true,\n// defaulcanView: true,\n// canView: true,\n// height: '',\n// },\n// },\n{\n type: 'imgupload',\n name: '图片上传',\n icon: 'icon-tupian',\n key: 'uploadFile',\n ext: '.jpg,.jpeg,.png,.gif,.zip',\n options: {\n defaultValue: [],\n size: {\n width: 100,\n height: 100\n },\n relateOptions: [],\n fileSize: 300,\n //文件大小 size kb\n placeholder: '点击上传',\n width: '',\n tokenFunc: 'funcGetToken',\n token: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2.5,\n defauldisabled: false,\n disabled: false,\n length: 1,\n multiple: false,\n isQiniu: false,\n isDelete: true,\n min: 0,\n isEdit: false,\n action: '/sys/common/upload',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'fileupload',\n name: '文件上传',\n icon: 'icon-shangchuan',\n key: 'uploadFile2',\n ext: '.jpg,.jpeg,.png,.gif,.zip,.doc,.docx,.xlsx,.xls',\n height: '',\n options: {\n defaultValue: [],\n relateOptions: [],\n height: '',\n action: '/sys/common/upload',\n token: '',\n fileSize: 300,\n bigUploadUrl: '/goFast/big/upload/',\n defauldisabled: false,\n disabled: false,\n placeholder: '点击上传',\n length: 8,\n multiple: false,\n isQiniu: false,\n isDelete: false,\n min: 0,\n isEdit: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'uploadModel',\n name: '模板下载',\n icon: 'icon-shangchuan',\n key: 'uploadFile2',\n ext: '.zip,.doc,.docx,.xlsx,.xls,.pdf',\n height: '',\n options: {\n defaultValue: [],\n action: '/sys/common/upload',\n tokenFunc: 'funcGetToken',\n token: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n domain: window._CONFIG['domianURL'],\n length: 8,\n multiple: false,\n isQiniu: false,\n isEdit: false,\n fileSize: 5000,\n //文件大小 size\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'divider',\n name: '分割线',\n icon: 'icon-fengexian',\n options: {\n hidden: false,\n contentPosition: 'left',\n remoteFunc: 'func_1568601762514',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: ''\n },\n key: 'divider',\n model: 'divider_1568601762514',\n rules: []\n}, {\n type: 'cascader',\n name: '地区选择',\n icon: 'icon-jilianxuanze',\n key: 'cascader',\n options: {\n defaultValue: [],\n width: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n placeholder: '',\n defauldisabled: false,\n disabled: false,\n defaulcanView: true,\n canView: true,\n clearable: false,\n canEdit: true,\n canCorrect: true,\n remote: false,\n remoteOptions: [],\n showLabel: true,\n options: [{\n value: 'value',\n label: 'label',\n children: [{\n value: 'shejiyuanze',\n label: '设计原则'\n }, {\n value: 'she',\n label: '设计原则12'\n }]\n }],\n props: [],\n remoteFunc: ''\n }\n}, {\n type: 'deptSelector',\n name: '部门选择',\n icon: 'icon-grid-',\n options: {\n defaultValue: '',\n width: '',\n placeholder: '请点击选择部门',\n multiple: true,\n canEdit: true,\n departType: \"\",\n // 展示部门类型\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n relateOptions: []\n }\n}, {\n type: 'userSelector',\n name: '人员选择',\n icon: 'icon-grid-',\n options: {\n role: '',\n defaultValue: '',\n //默认值为字符串,后台设计的时候 需要设置默认值;为字符串;后台会处理为数组;预览展示需要做特殊处理\n options: [{\n key: undefined,\n value: undefined\n }],\n relateOptions: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n width: '',\n multiple: false,\n showfield: false,\n placeholder: '请点击选择人员',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n tabKey: ''\n }\n}, {\n type: 'userSelectorByRole',\n name: '角色选人',\n icon: 'icon-yulan',\n options: {\n role: [],\n defaultValue: [],\n options: [],\n relateOptions: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n width: '',\n multiple: false,\n showfield: false,\n placeholder: '请点击选择人员',\n canEdit: true,\n canCorrect: true,\n canView: true\n }\n}, {\n type: 'idea-sign',\n name: '意见签名',\n icon: 'icon-grid-',\n options: {\n role: '',\n inlineWidth: 100,\n defaultValue: {\n idea: {\n show: true,\n value: ''\n },\n sign: {\n type: 'word',\n //word文字 image 图片\n label: '个人签名:',\n value: ''\n },\n time: {\n value: '',\n show: true\n },\n webSeal: {\n show: false,\n value: ''\n },\n imgData: {\n value: ''\n }\n },\n signPosition: 'right',\n options: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 3,\n textareaHeight: 80,\n multiple: false,\n showfield: false,\n disabled: false,\n placeholder: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n tabKey: ''\n }\n}, {\n type: 'signature-write',\n name: '手写签名',\n icon: 'icon-grid-',\n options: {\n role: '',\n inlineWidth: 100,\n defaultValue: \"\",\n //database\n signType: 'write',\n //签名类型 手写 上传图片 等等\n options: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 3,\n multiple: false,\n showfield: false,\n disabled: false,\n placeholder: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'relateSub',\n name: '关联组件',\n icon: 'icon-sync1',\n options: {\n defaultValue: [],\n options: [{\n key: '',\n value: ''\n }],\n relateOptions: [],\n labels: '',\n //该组件显示的字段\n columnName: '',\n columnCode: '',\n SQL: '',\n multiple: false,\n apiUrl: 'appApi/popupComponentApi',\n linkType: '',\n //\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n placeholder: '请点击选择',\n canEdit: true,\n canCorrect: false,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'relateForm',\n name: '关联表单',\n icon: 'icon-grid-',\n options: {\n defaultValue: {},\n placeholder: '请点击选择关联表单',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'location',\n name: '位置',\n icon: 'icon-grid-',\n options: {\n defaultValue: '',\n placeholder: '',\n canEdit: true,\n canCorrect: true,\n buttonText: \"定位\",\n isHighAccuracy: true,\n timeout: 10000,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'imgCode',\n name: '图片验证码',\n icon: 'icon-grid-',\n options: {\n defaultValue: {},\n placeholder: '请点击选择关联表单',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'publicSign',\n name: '公章',\n icon: 'icon-grid-',\n options: {\n defaultValue: {},\n placeholder: '请点击选择关联表单',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'responsibility',\n name: '责任书',\n icon: 'icon-grid-',\n options: {\n canEdit: true,\n defaulcanView: true,\n canView: true,\n fontColor: '#333',\n fontSize: '14px',\n requireErrorText: '请勾选责任书',\n title: '我已详细阅读《用户责任书》并同意以上内容',\n content: `<h1 style=\"text-align:center;\" id=\"mec09\">用户责任书</h1><hr/><p>1、遵守国家和中国教育科研网的各项法律法规和规章制度。<br/><br/>2、不得利用该域名进行商业性经营活动。<br/><br/>* 用户必须自觉遵守以上条款,并承担由自身行为导致的一切后果及损失。</p>`,\n force: true,\n countDown: 5,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'dataTable',\n name: '数据列表',\n icon: 'icon-grid-',\n options: {\n defaultValue: '',\n defaultTableKey: 'id',\n width: '',\n placeholder: '请点击选择数据列表',\n multiple: true,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: 300,\n relateOptions: []\n }\n}];\nconst layoutComponents = [{\n type: 'all-lay-out',\n columns: [{\n width: 100,\n height: 50,\n top: 0,\n left: 0,\n list: []\n }],\n //组件\n name: '特殊组件',\n icon: 'icon-ic',\n options: {\n defaultType: 'String',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 3,\n backgroundHTML: '',\n disabled: false\n }\n}, {\n type: 'grid',\n name: '栅格布局',\n icon: 'icon-grid-',\n columns: [{\n span: 12,\n list: []\n }, {\n span: 12,\n list: []\n }],\n options: {\n gutter: 0,\n justify: 'space-between',\n customClass: '',\n align: 'top',\n canEdit: true,\n canCorrect: true,\n canView: true\n }\n}, {\n type: 'grid-lay-out',\n name: '网格布局',\n icon: 'icon-grid-',\n columns: [{\n x: 0,\n y: 0,\n w: 1,\n h: 1,\n i: '1',\n list: []\n }],\n options: {\n columnsNum: 4,\n rowsNum: 2,\n enableImport: false,\n rowsHeight: 50,\n customClass: '',\n align: 'top',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'verify',\n name: '审核表单',\n icon: 'icon-grid-',\n columns: {},\n operationColumns: {\n operation: '',\n operator: '',\n operationTime: '',\n comments: '',\n imgData: ''\n },\n options: {\n height: 150,\n canEdit: true,\n opinionRequire: false,\n operationChooseFirst: false,\n platform: '',\n // 对接平台\n isAuditing: '',\n //审核意见\n defaulcanView: true,\n canView: true,\n placeholder: '请输入审批意见',\n operation: '审核操作',\n operator: '审核人',\n operationTime: '审核时间',\n webSeal: false\n }\n}, {\n type: 'tabs',\n name: '标签页',\n icon: 'icon-grid-',\n tabs: [{\n label: '标签 1',\n name: '标签_1',\n columns: []\n }],\n options: {\n type: '',\n tabPosition: 'top',\n customClass: '',\n hidden: false,\n remoteFunc: 'func_1584949551208',\n remoteOption: 'option_1584949551208',\n canEdit: true,\n defaulcanView: true,\n canView: true\n },\n rules: []\n}, {\n type: 'placeholder',\n name: '占位字段',\n bgc: undefined,\n space: 0,\n wordsize: undefined,\n wordcolor: undefined,\n icon: 'icon-grid-',\n options: {\n type: '',\n border: true,\n fontWeight: 'normal',\n width: '100%',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n isfontWeight: true,\n tabPosition: 'top',\n customClass: '',\n hidden: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n align: 'center'\n },\n rules: []\n}];\nconst specComponents = [{\n type: 'editorAirt',\n name: '公文相关',\n icon: 'icon-fuwenbenkuang',\n key: 'editorAirt',\n options: {\n defaultValue: '',\n width: '100%',\n canView: true,\n labelWidth: 0\n }\n}];\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/componentsConfig.js?");
|
|
2062
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"advanceComponents\": () => (/* binding */ advanceComponents),\n/* harmony export */ \"basicComponents\": () => (/* binding */ basicComponents),\n/* harmony export */ \"hnkjComponentsConfig\": () => (/* reexport safe */ _config_hnkj__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n/* harmony export */ \"layoutComponents\": () => (/* binding */ layoutComponents),\n/* harmony export */ \"specComponents\": () => (/* binding */ specComponents)\n/* harmony export */ });\n/* harmony import */ var _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./config/defaultConfig */ \"./src/form/modules/config/defaultConfig.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _config_hnkj__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./config/hnkj */ \"./src/form/modules/config/hnkj.js\");\n\n\nconst basicComponents = [{\n type: 'input',\n name: '单行文本',\n icon: 'icon-input',\n options: {\n width: '100%',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n enableSpecialCharsRules: true,\n specialCharsRules: '/^(?!.*[#$|<]).*$/',\n specialCharsMessage: '您输入的表单项中含有非法字符,请修正后提交!',\n labelWidth: '',\n placeholder: '请输入单行文本',\n confiOptions: [],\n relateOptions: [],\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n canAgainSearch: false,\n fontColor: \"#000\"\n }\n}, {\n type: 'textarea',\n name: '多行文本',\n icon: 'icon-diy-com-textarea',\n options: {\n width: '100%',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2,\n defaultValue: '',\n required: false,\n defauldisabled: false,\n disabled: false,\n pattern: '',\n enableSpecialCharsRules: true,\n specialCharsRules: '/^(?!.*[#$|<]).*$/',\n specialCharsMessage: '您输入的表单项中含有非法字符,请修正后提交!',\n placeholder: '请输入多行文本',\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n relateOptions: [],\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n fontColor: \"#000\"\n }\n}, {\n type: 'number',\n name: '计数器',\n icon: 'icon-number',\n options: {\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n width: '',\n required: false,\n defaultValue: 0,\n relateOptions: [],\n min: 0,\n max: 10,\n step: 1,\n defauldisabled: false,\n disabled: false,\n controlsPosition: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'radio',\n name: '单选框组',\n icon: 'icon-radio-active',\n options: {\n inline: false,\n defaultValue: '',\n showLabel: false,\n dictName: '',\n dictTable: '',\n dictUrl: '',\n relateOptions: [],\n remoteNumber: 1,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2,\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n required: false,\n width: '',\n remote: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n labelWidth: ''\n }\n}, {\n type: 'checkbox',\n name: '多选框组',\n icon: 'icon-check-box',\n options: {\n inline: false,\n defaultValue: '',\n //默认值 通过设置字符串 后台会转换为[]\n showLabel: false,\n dictName: '',\n dictTable: '',\n dictUrl: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2,\n required: false,\n width: '',\n remote: false,\n remoteNumber: 1,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'time',\n name: '时间选择',\n icon: 'icon-time',\n options: {\n defaultValue: [],\n readonly: false,\n defauldisabled: false,\n disabled: false,\n editable: true,\n clearable: true,\n placeholder: '',\n startPlaceholder: '',\n endPlaceholder: '',\n isRange: false,\n arrowControl: true,\n relateOptions: [],\n format: 'HH:mm:ss',\n required: false,\n width: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'date',\n name: '日期选择',\n icon: 'icon-date',\n options: {\n defaultValue: '',\n readonly: false,\n defauldisabled: false,\n disabled: false,\n editable: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n clearable: true,\n relateOptions: [],\n placeholder: '',\n rangeplaceholder: ['请选择开始时间', '请选择结束时间'],\n startPlaceholder: '',\n endPlaceholder: '',\n type: 'date',\n format: 'YYYY-MM-DD',\n timestamp: false,\n required: false,\n width: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n condition: undefined,\n conditionValue: undefined\n }\n}, {\n type: 'rate',\n name: '评分',\n icon: 'icon-icon-test',\n options: {\n defaultValue: 0,\n max: 5,\n defauldisabled: false,\n disabled: false,\n allowHalf: false,\n required: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n relateOptions: [],\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n},\n// {\n// type: 'color',\n// name: '颜色选择器',\n// icon: 'icon-color',\n// options: {\n// defaultValue: '',\n// defauldisabled: false,\n// disabled: false,\n// showAlpha: false,\n// required: false,\n// canEdit: true,\n// canCorrect: true,\n// defaulcanView: true,\n// relateOptions: [],\n// canView: true,\n// height: defaultConfig.height,\n// }\n// },\n{\n type: 'select',\n name: '下拉选择',\n icon: 'icon-select',\n options: {\n defaultValue: undefined,\n labelWidth: '',\n multiple: false,\n defauldisabled: false,\n linkId: '',\n linkage: [],\n disabled: false,\n clearable: false,\n placeholder: '请选择',\n required: false,\n showLabel: false,\n dictTable: '',\n dictName: '',\n dictUrl: '',\n width: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n options: [],\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n remote: false,\n remoteNumber: '1',\n filterable: true,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'switch',\n name: '开关',\n icon: 'icon-switch',\n options: {\n defaultValue: false,\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n relateOptions: []\n }\n}, {\n type: 'slider',\n name: '滑块',\n icon: 'icon-slider',\n options: {\n defaultValue: 0,\n defauldisabled: false,\n disabled: false,\n required: false,\n min: 0,\n max: 100,\n step: 1,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n showInput: false,\n range: false,\n width: '500px',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n relateOptions: []\n }\n}, {\n type: 'hidden',\n name: '隐藏域',\n icon: 'icon-input',\n options: {\n defaultValue: '',\n height: 50,\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: false,\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n relateOptions: []\n }\n}, {\n type: 'superLink',\n name: '超链接',\n icon: 'icon-input',\n options: {\n defaultValue: '',\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n title: '超链接',\n relateOptions: []\n }\n}, {\n type: 'codeControl',\n name: '编号控件',\n icon: 'icon-input',\n options: {\n defaultValue: '',\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n enableCustomRules: false,\n customRules: `function (widget, models, that) {\n return Math.random().toString().substr(2, 10);\n}`,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n relateOptions: []\n }\n}\n// {\n// type: 'signature',\n// name: '签名签章',\n// icon: 'icon-grid-',\n// options: {\n// role: '',\n// inlineWidth: 200,\n// type: 'text', //text 文字签名 image 图片签名\n// defaultValue: '',\n// imgData: '',\n// options: [],\n// height: defaultConfig.height * 2,\n// multiple: false,\n// showfield: false,\n// disabled: false,\n// placeholder: '',\n// canEdit: true,\n// canCorrect: true,\n// defaulcanView: true,\n// canView: true,\n// tabKey: '',\n// wrapId: '',\n// relateOptions: [],\n// },\n// },\n];\n\nconst advanceComponents = [{\n type: 'table',\n name: '子表单',\n icon: 'icon-input',\n options: {\n layoutModel: 'auto',\n // 布局模式 atuo 自动模式 design自动设计\n defaultValue: [],\n columnsNum: 4,\n rowsNum: 2,\n rowsHeight: 50,\n inline: false,\n inlineWidth: 200,\n customClass: '',\n remoteFunc: '',\n remoteOptions: [],\n canEdit: true,\n height: 40,\n canView: true,\n hiddenOperateBtn: false,\n defaulcanView: true,\n computingMethod: [],\n //计算方法\n computingSub: [] //需要计算字段\n },\n\n columns: [],\n designList: [{\n x: 0,\n y: 0,\n w: 1,\n h: 1,\n i: '1'\n }],\n key: '',\n model: '',\n rules: []\n},\n// {\n// type: 'blank',\n// columns: [], //组件\n// name: '自定义',\n// icon: 'icon-ic',\n// options: {\n// defaultType: 'String',\n// canEdit: true,\n// canCorrect: true,\n// defaulcanView: true,\n// canView: true,\n// height: '',\n// },\n// },\n{\n type: 'imgupload',\n name: '图片上传',\n icon: 'icon-tupian',\n key: 'uploadFile',\n ext: '.jpg,.jpeg,.png,.gif,.zip',\n options: {\n defaultValue: [],\n size: {\n width: 100,\n height: 100\n },\n relateOptions: [],\n fileSize: 300,\n //文件大小 size kb\n placeholder: '点击上传',\n width: '',\n tokenFunc: 'funcGetToken',\n token: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2.5,\n defauldisabled: false,\n disabled: false,\n length: 1,\n multiple: false,\n isQiniu: false,\n isDelete: true,\n min: 0,\n isEdit: false,\n action: '/sys/common/upload',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'fileupload',\n name: '文件上传',\n icon: 'icon-shangchuan',\n key: 'uploadFile2',\n ext: '.jpg,.jpeg,.png,.gif,.zip,.doc,.docx,.xlsx,.xls',\n height: '',\n options: {\n defaultValue: [],\n relateOptions: [],\n height: '',\n action: '/sys/common/upload',\n token: '',\n fileSize: 300,\n bigUploadUrl: '/goFast/big/upload/',\n defauldisabled: false,\n disabled: false,\n placeholder: '点击上传',\n length: 8,\n multiple: false,\n isQiniu: false,\n isDelete: false,\n min: 0,\n isEdit: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'uploadModel',\n name: '模板下载',\n icon: 'icon-shangchuan',\n key: 'uploadFile2',\n ext: '.zip,.doc,.docx,.xlsx,.xls,.pdf',\n height: '',\n options: {\n defaultValue: [],\n action: '/sys/common/upload',\n tokenFunc: 'funcGetToken',\n token: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n domain: window._CONFIG['domianURL'],\n length: 8,\n multiple: false,\n isQiniu: false,\n isEdit: false,\n fileSize: 5000,\n //文件大小 size\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'divider',\n name: '分割线',\n icon: 'icon-fengexian',\n options: {\n hidden: false,\n contentPosition: 'left',\n remoteFunc: 'func_1568601762514',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: ''\n },\n key: 'divider',\n model: 'divider_1568601762514',\n rules: []\n}, {\n type: 'cascader',\n name: '地区选择',\n icon: 'icon-jilianxuanze',\n key: 'cascader',\n options: {\n defaultValue: [],\n width: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n placeholder: '',\n defauldisabled: false,\n disabled: false,\n defaulcanView: true,\n canView: true,\n clearable: false,\n canEdit: true,\n canCorrect: true,\n remote: false,\n remoteOptions: [],\n showLabel: true,\n options: [{\n value: 'value',\n label: 'label',\n children: [{\n value: 'shejiyuanze',\n label: '设计原则'\n }, {\n value: 'she',\n label: '设计原则12'\n }]\n }],\n props: [],\n remoteFunc: ''\n }\n}, {\n type: 'deptSelector',\n name: '部门选择',\n icon: 'icon-grid-',\n options: {\n defaultValue: '',\n width: '',\n placeholder: '请点击选择部门',\n multiple: true,\n canEdit: true,\n departType: \"\",\n // 展示部门类型\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n relateOptions: []\n }\n}, {\n type: 'userSelector',\n name: '人员选择',\n icon: 'icon-grid-',\n options: {\n role: '',\n defaultValue: '',\n //默认值为字符串,后台设计的时候 需要设置默认值;为字符串;后台会处理为数组;预览展示需要做特殊处理\n options: [{\n key: undefined,\n value: undefined\n }],\n relateOptions: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n width: '',\n multiple: false,\n showfield: false,\n placeholder: '请点击选择人员',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n tabKey: ''\n }\n}, {\n type: 'userSelectorByRole',\n name: '角色选人',\n icon: 'icon-yulan',\n options: {\n role: [],\n defaultValue: [],\n options: [],\n relateOptions: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n width: '',\n multiple: false,\n showfield: false,\n placeholder: '请点击选择人员',\n canEdit: true,\n canCorrect: true,\n canView: true\n }\n}, {\n type: 'idea-sign',\n name: '意见签名',\n icon: 'icon-grid-',\n options: {\n role: '',\n inlineWidth: 100,\n defaultValue: {\n idea: {\n show: true,\n value: ''\n },\n sign: {\n type: 'word',\n //word文字 image 图片\n label: '个人签名:',\n value: ''\n },\n time: {\n value: '',\n show: true\n },\n webSeal: {\n show: false,\n value: ''\n },\n imgData: {\n value: ''\n }\n },\n signPosition: 'right',\n options: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 3,\n textareaHeight: 80,\n multiple: false,\n showfield: false,\n disabled: false,\n placeholder: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n tabKey: ''\n }\n}, {\n type: 'signature-write',\n name: '手写签名',\n icon: 'icon-grid-',\n options: {\n role: '',\n inlineWidth: 100,\n defaultValue: \"\",\n //database\n signType: 'write',\n //签名类型 手写 上传图片 等等\n options: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 3,\n multiple: false,\n showfield: false,\n disabled: false,\n placeholder: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'relateSub',\n name: '关联组件',\n icon: 'icon-sync1',\n options: {\n defaultValue: [],\n options: [{\n key: '',\n value: ''\n }],\n relateOptions: [],\n labels: '',\n //该组件显示的字段\n columnName: '',\n columnCode: '',\n SQL: '',\n multiple: false,\n apiUrl: 'appApi/popupComponentApi',\n linkType: '',\n //\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n placeholder: '请点击选择',\n canEdit: true,\n canCorrect: false,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'relateForm',\n name: '关联表单',\n icon: 'icon-grid-',\n options: {\n defaultValue: {},\n placeholder: '请点击选择关联表单',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'location',\n name: '位置',\n icon: 'icon-grid-',\n options: {\n defaultValue: '',\n placeholder: '',\n canEdit: true,\n canCorrect: true,\n buttonText: \"定位\",\n isHighAccuracy: true,\n timeout: 10000,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'imgCode',\n name: '图片验证码',\n icon: 'icon-grid-',\n options: {\n defaultValue: {},\n placeholder: '请点击选择关联表单',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'publicSign',\n name: '公章',\n icon: 'icon-grid-',\n options: {\n defaultValue: {},\n placeholder: '请点击选择关联表单',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'responsibility',\n name: '责任书',\n icon: 'icon-grid-',\n options: {\n canEdit: true,\n defaulcanView: true,\n canView: true,\n fontColor: '#333',\n fontSize: '14px',\n requireErrorText: '请勾选责任书',\n title: '我已详细阅读《用户责任书》并同意以上内容',\n content: `<h1 style=\"text-align:center;\" id=\"mec09\">用户责任书</h1><hr/><p>1、遵守国家和中国教育科研网的各项法律法规和规章制度。<br/><br/>2、不得利用该域名进行商业性经营活动。<br/><br/>* 用户必须自觉遵守以上条款,并承担由自身行为导致的一切后果及损失。</p>`,\n force: true,\n countDown: 5,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'dataTable',\n name: '数据列表',\n icon: 'icon-grid-',\n options: {\n defaultValue: '',\n defaultTableKey: 'id',\n width: '',\n placeholder: '请点击选择数据列表',\n multiple: true,\n canEdit: true,\n canCorrect: false,\n defaulcanView: true,\n canView: true,\n height: 300,\n relateOptions: []\n }\n}];\nconst layoutComponents = [{\n type: 'all-lay-out',\n columns: [{\n width: 100,\n height: 50,\n top: 0,\n left: 0,\n list: []\n }],\n //组件\n name: '特殊组件',\n icon: 'icon-ic',\n options: {\n defaultType: 'String',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 3,\n backgroundHTML: '',\n disabled: false\n }\n}, {\n type: 'grid',\n name: '栅格布局',\n icon: 'icon-grid-',\n columns: [{\n span: 12,\n list: []\n }, {\n span: 12,\n list: []\n }],\n options: {\n gutter: 0,\n justify: 'space-between',\n customClass: '',\n align: 'top',\n canEdit: true,\n canCorrect: true,\n canView: true\n }\n}, {\n type: 'grid-lay-out',\n name: '网格布局',\n icon: 'icon-grid-',\n columns: [{\n x: 0,\n y: 0,\n w: 1,\n h: 1,\n i: '1',\n list: []\n }],\n options: {\n columnsNum: 4,\n rowsNum: 2,\n enableImport: false,\n rowsHeight: 50,\n customClass: '',\n align: 'top',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'verify',\n name: '审核表单',\n icon: 'icon-grid-',\n columns: {},\n operationColumns: {\n operation: '',\n operator: '',\n operationTime: '',\n comments: '',\n imgData: ''\n },\n options: {\n height: 150,\n canEdit: true,\n opinionRequire: false,\n operationChooseFirst: false,\n platform: '',\n // 对接平台\n isAuditing: '',\n //审核意见\n defaulcanView: true,\n canView: true,\n placeholder: '请输入审批意见',\n operation: '审核操作',\n operator: '审核人',\n operationTime: '审核时间',\n webSeal: false\n }\n}, {\n type: 'tabs',\n name: '标签页',\n icon: 'icon-grid-',\n tabs: [{\n label: '标签 1',\n name: '标签_1',\n columns: []\n }],\n options: {\n type: '',\n tabPosition: 'top',\n customClass: '',\n hidden: false,\n remoteFunc: 'func_1584949551208',\n remoteOption: 'option_1584949551208',\n canEdit: true,\n defaulcanView: true,\n canView: true\n },\n rules: []\n}, {\n type: 'placeholder',\n name: '占位字段',\n bgc: undefined,\n space: 0,\n wordsize: undefined,\n wordcolor: undefined,\n icon: 'icon-grid-',\n options: {\n type: '',\n border: true,\n fontWeight: 'normal',\n width: '100%',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n isfontWeight: true,\n tabPosition: 'top',\n customClass: '',\n hidden: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n align: 'center'\n },\n rules: []\n}];\nconst specComponents = [{\n type: 'editorAirt',\n name: '公文相关',\n icon: 'icon-fuwenbenkuang',\n key: 'editorAirt',\n options: {\n defaultValue: '',\n width: '100%',\n canView: true,\n labelWidth: 0\n }\n}];\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/componentsConfig.js?");
|
|
2063
2063
|
|
|
2064
2064
|
/***/ }),
|
|
2065
2065
|
|
|
@@ -18086,7 +18086,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
18086
18086
|
/***/ ((module) => {
|
|
18087
18087
|
|
|
18088
18088
|
"use strict";
|
|
18089
|
-
eval("module.exports = JSON.parse('{\"name\":\"@zscreate/form-component\",\"version\":\"1.1.221-test.
|
|
18089
|
+
eval("module.exports = JSON.parse('{\"name\":\"@zscreate/form-component\",\"version\":\"1.1.221-test.9\",\"private\":false,\"description\":\"\",\"main\":\"dist/form-component.umd.js\",\"unpkg\":\"dist/form-component.umd.js\",\"scripts\":{\"version\":\"npm run build\",\"postversion\":\"git push && git push --tags\",\"build\":\"vue-cli-service build --target lib --name form-component src/main.js --formats umd \",\"build:common\":\"vue-cli-service build --target lib --name form-component src/main.js --formats commonjs \",\"build:watch\":\"vue-cli-service build --target lib --name form-component src/main.js --formats umd --watch\"},\"publishConfig\":{\"access\":\"public\",\"registry\":\"https://registry.npmjs.org/\"},\"files\":[\"/dist/**\",\"/dist/*\"],\"exclude\":[\"node_modules\"],\"keywords\":[],\"author\":\"\",\"license\":\"ISC\",\"dependencies\":{\"@uppy/core\":\"^3.1.2\",\"@uppy/dashboard\":\"^3.3.2\",\"@uppy/drag-drop\":\"^3.0.1\",\"@uppy/progress-bar\":\"^3.0.1\",\"@uppy/tus\":\"^3.0.6\",\"@uppy/vue\":\"^1.0.1\",\"@wangeditor/editor\":\"5.1.10\",\"@wangeditor/editor-for-vue\":\"1.0.2\",\"core-js\":\"^3.8.3\",\"moment\":\"^2.29.1\",\"pubsub-js\":\"^1.9.3\",\"vue\":\"2.6.14\",\"vue-draggable-resizable\":\"2.2.0\",\"vue-draggable-resizable-gorkys\":\"2.0.0\",\"vue-grid-layout\":\"^2.3.12\",\"vue-signature-pad\":\"^2.0.2\",\"vue2-editor\":\"^2.10.3\",\"vuedraggable\":\"^2.24.3\",\"wangeditor\":\"^4.7.15\"},\"devDependencies\":{\"@vue/cli-plugin-babel\":\"~5.0.0\",\"@vue/cli-service\":\"~5.0.0\",\"axios\":\"^1.6.2\",\"clipboard\":\"2.0.4\",\"codemirror\":\"^5.46.0\",\"less\":\"^3.0.4\",\"less-loader\":\"^5.0.0\",\"node-sass\":\"^4.11.0\",\"sass-loader\":\"^7.0.1\",\"vue-codemirror\":\"^4.0.6\",\"vue-template-compiler\":\"2.6.14\",\"vue-virtual-scroll-list\":\"^2.3.5\"}}');\n\n//# sourceURL=webpack://form-component/./package.json?");
|
|
18090
18090
|
|
|
18091
18091
|
/***/ })
|
|
18092
18092
|
|