@zscreate/form-component 1.0.16-dev-0 → 1.0.17
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.
- package/dist/form-component.umd.js +31 -31
- package/package.json +1 -1
|
@@ -2433,7 +2433,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */
|
|
|
2433
2433
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2434
2434
|
|
|
2435
2435
|
"use strict";
|
|
2436
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/_core-js@3.27.1@core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/api/manage */ \"./src/api/manage.js\");\n/* harmony import */ var _util_util_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/util.js */ \"./src/form/util/util.js\");\n/* harmony import */ var _Modals_CorrectionItem__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Modals/CorrectionItem */ \"./src/form/modules/common/Modals/CorrectionItem.vue\");\n\n\n\n\nlet getFileExt = filename => {\n if (!filename || typeof filename != \"string\") {\n return false;\n }\n let a = filename.split(\"\").reverse().join(\"\");\n let b = a.substring(0, a.search(/\\./)).split(\"\").reverse().join(\"\");\n return b;\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n inject: {\n record: {\n // 健名\n from: \"record\",\n // 来源\n default: {} // 默认值\n }\n },\n\n components: {\n CorrectionItem: _Modals_CorrectionItem__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n data() {\n return {\n headers: {},\n visible: false,\n loading: false,\n tableKey: \"\",\n tableIndex: \"\",\n widget: {},\n dataModel: \"\",\n confirmLoading: false,\n uploadDec: [],\n fileList: [],\n //文件list\n list: [],\n correctReason: \"\",\n //纠错理由\n actionUrl: (
|
|
2436
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/_core-js@3.27.1@core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/api/manage */ \"./src/api/manage.js\");\n/* harmony import */ var _util_util_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/util.js */ \"./src/form/util/util.js\");\n/* harmony import */ var _Modals_CorrectionItem__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Modals/CorrectionItem */ \"./src/form/modules/common/Modals/CorrectionItem.vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n\n\nlet getFileExt = filename => {\n if (!filename || typeof filename != \"string\") {\n return false;\n }\n let a = filename.split(\"\").reverse().join(\"\");\n let b = a.substring(0, a.search(/\\./)).split(\"\").reverse().join(\"\");\n return b;\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n inject: {\n record: {\n // 健名\n from: \"record\",\n // 来源\n default: {} // 默认值\n }\n },\n\n components: {\n CorrectionItem: _Modals_CorrectionItem__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n data() {\n return {\n headers: {},\n visible: false,\n loading: false,\n tableKey: \"\",\n tableIndex: \"\",\n widget: {},\n dataModel: \"\",\n confirmLoading: false,\n uploadDec: [],\n fileList: [],\n //文件list\n list: [],\n correctReason: \"\",\n //纠错理由\n actionUrl: vue__WEBPACK_IMPORTED_MODULE_4___default().prototype.getFormUploadAction(),\n rules: {},\n models: {},\n oldValue: \"\",\n // 旧值\n params: {\n correctObj: {}\n },\n labelCol: {\n xs: {\n span: 24\n },\n sm: {\n span: 5\n }\n },\n wrapperCol: {\n xs: {\n span: 24\n },\n sm: {\n span: 19\n }\n },\n form: this.$form.createForm(this)\n };\n },\n created() {},\n destroyed() {},\n mounted() {},\n methods: {\n edit(widget, models, rules, tableKey, tableIndex, correctObj // 之前纠错信息\n ) {\n this.visible = true;\n this.widget = widget;\n this.models = models;\n this.tableKey = tableKey;\n this.tableIndex = tableIndex;\n this.rules = rules;\n this.params.correctObj.correctColumn = widget.model; //纠错字段名\n this.params.correctObj.correctColumnName = widget.name; //纠错字段名\n this.params.correctObj.correctType = 1;\n if (tableKey) {\n this.params.correctObj.isSubTable = 1; //是否纠错子表单 0否 1是\n this.params.correctObj.subTableCode = tableKey; //新增纠错子表名\n this.params.correctObj.correctIndex = tableIndex; //新增纠错索引\n } else {\n this.params.correctObj.isSubTable = 0; //是否纠错子表单 0否 1是\n }\n\n if (correctObj) {\n // 回显 纠错理由\n this.$nextTick(() => {\n this.form.setFieldsValue({\n correctReason: correctObj.correctReason\n });\n });\n } else {\n if (correctObj.hasOwnProperty(\"oldValue\")) {\n this.oldValue = (0,_util_util_js__WEBPACK_IMPORTED_MODULE_2__.cloneObj)(correctObj.oldValue);\n this.correctObj.oldValue = (0,_util_util_js__WEBPACK_IMPORTED_MODULE_2__.cloneObj)(correctObj.oldValue);\n } else {\n if (this.tableKey) {\n this.params.correctObj.oldValue = (0,_util_util_js__WEBPACK_IMPORTED_MODULE_2__.cloneObj)(this.models[this.tableKey][this.tableIndex][this.widget.model]);\n this.oldValue = (0,_util_util_js__WEBPACK_IMPORTED_MODULE_2__.cloneObj)(this.models[this.tableKey][this.tableIndex][this.widget.model]);\n } else {\n this.oldValue = (0,_util_util_js__WEBPACK_IMPORTED_MODULE_2__.cloneObj)(this.models[this.widget.model]);\n this.params.correctObj.oldValue = (0,_util_util_js__WEBPACK_IMPORTED_MODULE_2__.cloneObj)(this.models[this.widget.model]);\n }\n }\n }\n },\n handleChange({\n file,\n fileList\n }) {\n if (file.size > 10 * 1024 * 1024) {\n this.$message.error(\"文件超出10M\");\n return false;\n }\n this.fileList = fileList;\n if (file.status == \"done\") {\n let response = file.response;\n this.list.push({\n key: file.uid,\n uid: file.uid,\n url: response.message,\n status: \"done\",\n name: file.name\n });\n } else if (file.status == \"removed\") {\n this.list = this.list.filter(item => {\n return item.uid !== file.uid;\n });\n }\n },\n // handleChange(info) {\n // let fileList = [...info.fileList];\n // fileList = fileList.map((file) => {\n // if (file.response) {\n // file.url = file.response.url;\n // }\n // return file;\n // });\n\n // this.fileList = fileList;\n // },\n handleCancel() {\n this.visible = false;\n },\n getData() {\n return new Promise((resolve, reject) => {\n this.$refs.correctRef.validate(valid => {\n if (valid) {\n if (this.tableKey) {\n resolve(this.models[this.tableKey][this.tableIndex][this.widget.model]);\n } else {\n resolve(this.models[this.widget.model]);\n }\n } else {\n reject(new Error(\"纠错表单\").message);\n }\n });\n });\n },\n handleOk() {\n this.form.validateFields((err, values) => {\n if (!err) {\n this.confirmLoading = true;\n this.params.appId = this.record.record.appId;\n this.params.workId = this.record.record.workId;\n this.params.applyId = this.record.record.formDataId;\n this.params.correctObj.relFormId = this.record.record.formId || this.record.record.relFormId;\n this.params.correctObj.formDataId = this.record.record.formDataId;\n this.params.correctObj.correctReason = values.correctReason;\n this.params.correctObj.fileList = this.list;\n this.getData().then(data => {\n if (JSON.stringify(data) == JSON.stringify(this.oldValue)) {\n this.confirmLoading = false;\n this.$message.warning(\"纠错值与原值相同!\");\n return false;\n }\n this.params.correctObj.newDataObj = data;\n this.params.correctObj.widgetType = this.widget.type;\n // 获取Select Radio Checkbox 字典\n this.params.correctObj.dictOptions = this.$refs['corrItem'].$children[0].dictOptions;\n if (this.widget.options.dictTable) {\n this.params.correctObj.dictTable = this.widget.options.dictTable;\n }\n if (this.widget.options.dictName) {\n this.params.correctObj.dictName = this.widget.options.dictName;\n }\n this.$emit(\"submitCorrectObj\", this.params.correctObj);\n this.handleCancel();\n this.confirmLoading = false;\n });\n }\n });\n }\n }\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/common/CorrectionModal.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
2437
2437
|
|
|
2438
2438
|
/***/ }),
|
|
2439
2439
|
|
|
@@ -2477,7 +2477,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _api
|
|
|
2477
2477
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2478
2478
|
|
|
2479
2479
|
"use strict";
|
|
2480
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../components/index */ \"./src/form/modules/components/index.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"
|
|
2480
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../components/index */ \"./src/form/modules/components/index.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"CorrectionItem\",\n props: {\n rules: {\n type: Object\n },\n tableKey: {\n type: String,\n default: \"\"\n },\n tableIndex: {\n type: [String, Number],\n default: \"\"\n },\n widget: {\n type: Object,\n default: () => {\n return {};\n }\n },\n models: {\n type: Object,\n default: () => {\n return {};\n }\n }\n },\n inject: [\"isCorrect\"],\n data() {\n return {\n dataModel: \"\"\n };\n },\n components: {\n ..._components_index__WEBPACK_IMPORTED_MODULE_0__[\"default\"].componentList\n },\n created() {},\n methods: {\n updateModels(val) {\n if (this.tableKey) {\n this.tableInit(val);\n return false;\n } else {\n let obj = {\n ...this.models,\n [this.widget.model]: val\n };\n this.$emit(\"update:models\", obj);\n }\n },\n tableInit(val) {\n var cloneArr = this.models[this.tableKey];\n if (!(typeof cloneArr[this.tableIndex] == \"object\")) {\n cloneArr[this.tableIndex] = {};\n }\n cloneArr[this.tableIndex][this.widget.model] = val;\n this.$emit(\"update:models\", {\n ...this.models,\n [this.tableKey]: cloneArr\n });\n }\n }\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/common/Modals/CorrectionItem.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
2481
2481
|
|
|
2482
2482
|
/***/ }),
|
|
2483
2483
|
|
|
@@ -3610,7 +3610,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _com
|
|
|
3610
3610
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3611
3611
|
|
|
3612
3612
|
"use strict";
|
|
3613
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/api/manage */ \"./src/api/manage.js\");\n/* harmony import */ var _mixins_widgetMixins__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../mixins/widgetMixins */ \"./src/form/mixins/widgetMixins.js\");\n/* harmony import */ var _api_api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/api/api */ \"./src/api/api.js\");\n/* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/util */ \"./src/utils/util.js\");\n\nconst layoutItem = () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! @/form/modules/layout/layoutItem */ \"./src/form/modules/layout/layoutItem.vue\"));\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n mixins: [_mixins_widgetMixins__WEBPACK_IMPORTED_MODULE_1__[\"default\"]],\n inject: [\"config\"],\n props: {\n rules: {\n type: Object\n },\n tableKey: {\n type: String,\n default: \"\"\n },\n tableIndex: {\n type: [String, Number, Object],\n default: \"\"\n },\n widget: {\n type: Object,\n default: () => {\n return {};\n }\n },\n models: {\n type: Object,\n default: () => {\n return {};\n }\n },\n verifyNode: {\n type: String,\n default: \"\"\n },\n suggest: {\n type: Array,\n default: () => {\n return [];\n }\n }\n },\n data() {\n return {\n style: {\n width: \"\",\n height: \"\"\n },\n val: \"\",\n platformVisible: false,\n platformUrl: '',\n dataType: null,\n userSign: \"\",\n //签名图片\n userSeal: \"\",\n //签章\n isShowBtn: false,\n //是否展示签章\n isShowSeal: false,\n imgUrl: window._CONFIG.imgUrl,\n iframeLoading: true,\n sealStyle: {}\n };\n },\n components: {\n layoutItem\n },\n created() {\n // 处理mm转换为px 如果没有设置 默认35mm\n let options = this.widget.options;\n this.style.width = options.sealWidth ? this.mmToPx(Number(options.sealWidth)).toFixed(2) + \"px\" : this.mmToPx(35).toFixed(2) + \"px\";\n this.style.height = options.sealHeight ? this.mmToPx(Number(options.sealHeight)).toFixed(2) + \"px\" : this.mmToPx(35).toFixed(2) + \"px\";\n //默认审核操作为同意\n if (!this.models[this.widget.model].operation && this.widget.model == this.verifyNode) {\n this.models[this.widget.model].operation = this.suggest[0] ? this.suggest[0].value : \"\";\n }\n if (this.widget.model == this.verifyNode) {\n if (!this.widget.options.platform) {\n this.getuserSgin();\n return;\n }\n this.userSeal = '';\n let operator = this.models[this.widget.model].operation;\n if (operator) {\n // 判断是不是同意\n let item = this.suggest.find(item => item.label == operator);\n if (item.description == \"TIJIAO\") {\n this.isShowBtn = true;\n }\n }\n }\n },\n computed: {\n currKey() {\n return this.tableKey ? `${this.tableKey}.${this.tableIndex}.${this.widget.model}` : this.widget.model;\n },\n // 印章拖动组件样式\n initCdrUserSeal() {\n if (!this.isShowSeal) return {};\n const {\n width: sealWidth,\n height: sealHeight\n } = this.sealStyle;\n let width = Number(this.style.width.replace('px', ''));\n let height = Number(this.style.height.replace('px', ''));\n if (sealWidth && sealHeight) {\n width = sealWidth;\n height = sealHeight;\n }\n return {\n width,\n height,\n x: Number(this.$refs['verifyRight'].offsetWidth - width),\n y: 0\n };\n },\n userSealPosition() {\n // 获取印章的位置\n const userSealPosition = this.models[this.currKey]['userSealPosition'];\n if (!userSealPosition) {\n return {\n right: 0,\n top: 0\n };\n }\n const {\n left,\n top,\n width,\n height\n } = userSealPosition;\n return {\n left: (left || 0) + 'px',\n top: (top || 0) + 'px',\n width: width ? width + 'px' : undefined,\n height: height ? height + 'px' : undefined\n };\n }\n },\n // watch: {\n // models: {\n // deep: true,\n // handler(val) {\n // console.log(val);\n // },\n // },\n // },\n methods: {\n handleIframeLoad(messageEvent) {\n let {\n data\n } = messageEvent;\n console.log(data);\n try {\n data = JSON.parse(data);\n } catch (e) {\n console.log(e);\n this.$message.error(\"获取签名签章数据失败\");\n return;\n }\n const {\n action\n } = data;\n const {\n sealImg,\n message,\n sealSpec\n } = data.data;\n const {\n pixelWidth,\n pixelHeight\n } = sealSpec;\n if (action !== 'complete' || !sealImg) {\n if (action === 'message') {\n this.$message.error(message);\n return;\n }\n this.$message.error(\"获取签名签章数据失败\");\n return;\n }\n this.platformVisible = false;\n if (this.dataType == 2) {\n this.isShowSeal = true;\n this.isShowBtn = false;\n this.userSeal = sealImg;\n this.sealStyle.width = pixelWidth;\n this.sealStyle.height = pixelHeight;\n this.changeModel(\"userSeal\", sealImg);\n } else {\n this.userSign = sealImg;\n this.userSignStyle = {\n width: pixelWidth,\n height: pixelHeight\n };\n this.changeModel(\"userSign\", sealImg);\n }\n },\n platformIframeLoad() {\n this.iframeLoading = false;\n window.addEventListener('message', this.handleIframeLoad);\n },\n onSealDrag(left, top) {\n const {\n width,\n height\n } = this.initCdrUserSeal;\n this.changeModel(\"userSealPosition\", {\n left,\n top,\n width,\n height\n });\n },\n // dataType: 1.签名 2. 签章\n async handleSeal(dataType) {\n console.log(this.widget.options.platform);\n if (this.widget.options.platform) {\n const [err, res] = await (0,_utils_util__WEBPACK_IMPORTED_MODULE_3__.toAwait)((0,_api_manage__WEBPACK_IMPORTED_MODULE_0__.postAction)(\"/form/qiyuesuo/getSignUrl\", {\n content: 'content',\n dataType\n }));\n if (err || !res.success) {\n this.$message.error(res.message);\n return;\n }\n this.dataType = dataType;\n this.platformUrl = res.result;\n if (!this.platformUrl) {\n this.$message.error(\"获取失败\");\n return;\n }\n this.iframeLoading = true;\n this.platformVisible = true;\n return;\n }\n this.isShowSeal = true;\n this.isShowBtn = false;\n this.changeModel(\"userSeal\", this.userSeal);\n },\n //关闭盖章\n handleClose() {\n this.isShowSeal = false;\n this.isShowBtn = true;\n this.changeModel(\"userSealPosition\", null);\n this.changeModel(\"userSeal\", null);\n },\n // 获取签名签章\n getuserSgin() {\n (0,_api_api__WEBPACK_IMPORTED_MODULE_2__.getSignature)().then(res => {\n if (res.success) {\n this.userSign = res.result.userSign || \"\";\n this.userSeal = res.result.userSeal || \"\";\n this.changeModel(\"userSign\", this.userSign);\n //处理驳回的情况\n let operator = this.models[this.widget.model].operation;\n //有盖章才会走\n if (this.userSeal) {\n //如果处理意见是有值\n if (operator) {\n // 判断是不是同意\n let item = this.suggest.find(item => item.label == operator);\n if (item.description == \"TIJIAO\") {\n this.isShowBtn = true;\n }\n } else {\n this.suggest[0].description == \"TIJIAO\" ? this.isShowBtn = true : \"\";\n }\n }\n }\n });\n },\n // 更新Model值 给后台 name 属性 val 值\n changeModel(name, val) {\n let models = {\n [this.widget.model]: {\n ...this.models[this.widget.model],\n [name]: val\n }\n };\n this.$emit(\"update:models\", {\n ...this.models,\n ...models\n });\n },\n //获取DPI,图像每英寸长度内的像素点数\n getDPI() {\n var arrDPI = new Array();\n if (window.screen.deviceXDPI) {\n arrDPI[0] = window.screen.deviceXDPI;\n arrDPI[1] = window.screen.deviceYDPI;\n } else {\n var tmpNode = document.createElement(\"DIV\");\n tmpNode.style.cssText = \"width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden\";\n document.body.appendChild(tmpNode);\n arrDPI[0] = parseInt(tmpNode.offsetWidth);\n arrDPI[1] = parseInt(tmpNode.offsetHeight);\n tmpNode.parentNode.removeChild(tmpNode);\n }\n return arrDPI;\n },\n //毫米转px\n mmToPx(value) {\n var inch = value / 25.4;\n var c_value = inch * this.getDPI()[0];\n return c_value;\n },\n handleChange(val) {\n let models = {\n [this.widget.model]: {\n ...this.models[this.widget.model],\n operation: val\n }\n };\n // 有盖章才走这个判断\n if (this.userSeal || this.widget.options.platform) {\n let arr = this.suggest.find(item => item.value == val);\n if (arr.description == \"TIJIAO\") {\n this.isShowBtn = true;\n } else {\n this.isShowBtn = false;\n this.isShowSeal = false;\n models[this.widget.model].userSeal = \"\";\n }\n }\n console.log(models);\n this.$emit(\"update:models\", {\n ...this.models,\n ...models\n });\n }\n }\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Verify/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
3613
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _mixins_widgetMixins__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../mixins/widgetMixins */ \"./src/form/mixins/widgetMixins.js\");\n/* harmony import */ var _api_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/api/api */ \"./src/api/api.js\");\nconst layoutItem = () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! @/form/modules/layout/layoutItem */ \"./src/form/modules/layout/layoutItem.vue\"));\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n mixins: [_mixins_widgetMixins__WEBPACK_IMPORTED_MODULE_0__[\"default\"]],\n inject: [\"config\"],\n props: {\n rules: {\n type: Object\n },\n tableKey: {\n type: String,\n default: \"\"\n },\n tableIndex: {\n type: [String, Number, Object],\n default: \"\"\n },\n widget: {\n type: Object,\n default: () => {\n return {};\n }\n },\n models: {\n type: Object,\n default: () => {\n return {};\n }\n },\n verifyNode: {\n type: String,\n default: \"\"\n },\n suggest: {\n type: Array,\n default: () => {\n return [];\n }\n }\n },\n data() {\n return {\n style: {\n width: \"\",\n height: \"\"\n },\n val: \"\",\n userSign: \"\",\n //签名图片\n userSeal: \"\",\n //签章\n isShowBtn: false,\n //是否展示签章\n isShowSeal: false,\n imgUrl: window._CONFIG.imgUrl\n };\n },\n components: {\n layoutItem\n },\n created() {\n // 处理mm转换为px 如果没有设置 默认35mm\n let options = this.widget.options;\n this.style.width = options.sealWidth ? this.mmToPx(Number(options.sealWidth)).toFixed(2) + \"px\" : this.mmToPx(35).toFixed(2) + \"px\";\n this.style.height = options.sealHeight ? this.mmToPx(Number(options.sealHeight)).toFixed(2) + \"px\" : this.mmToPx(35).toFixed(2) + \"px\";\n //默认审核操作为同意\n if (!this.models[this.widget.model].operation && this.widget.model == this.verifyNode) {\n this.models[this.widget.model].operation = this.suggest[0] ? this.suggest[0].value : \"\";\n }\n if (this.widget.model == this.verifyNode) {\n this.getuserSgin();\n }\n },\n computed: {\n currKey() {\n return this.tableKey ? `${this.tableKey}.${this.tableIndex}.${this.widget.model}` : this.widget.model;\n },\n // 印章拖动组件样式\n initCdrUserSeal() {\n if (!this.isShowSeal) return {};\n const width = Number(this.style.width.replace('px', ''));\n const height = Number(this.style.height.replace('px', ''));\n return {\n width,\n height,\n x: Number(this.$refs['verifyRight'].offsetWidth - width),\n y: 0\n };\n },\n userSealPosition() {\n // 获取印章的位置\n const userSealPosition = this.models[this.currKey]['userSealPosition'];\n if (!userSealPosition) {\n return {\n right: 0,\n top: 0\n };\n }\n return {\n left: (userSealPosition.left || 0) + 'px',\n top: (userSealPosition.top || 0) + 'px'\n };\n }\n },\n // watch: {\n // models: {\n // deep: true,\n // handler(val) {\n // console.log(val);\n // },\n // },\n // },\n methods: {\n onSealDrag(left, top) {\n this.changeModel(\"userSealPosition\", {\n left,\n top\n });\n },\n handleSeal() {\n this.isShowSeal = true;\n this.isShowBtn = false;\n this.changeModel(\"userSeal\", this.userSeal);\n },\n //关闭盖章\n handleClose() {\n this.isShowSeal = false;\n this.isShowBtn = true;\n this.changeModel(\"userSealPosition\", null);\n this.changeModel(\"userSeal\", null);\n },\n // 获取签名签章\n getuserSgin() {\n (0,_api_api__WEBPACK_IMPORTED_MODULE_1__.getSignature)().then(res => {\n if (res.success) {\n this.userSign = res.result.userSign || \"\";\n this.userSeal = res.result.userSeal || \"\";\n this.changeModel(\"userSign\", this.userSign);\n //处理驳回的情况\n let operator = this.models[this.widget.model].operation;\n //有盖章才会走\n if (this.userSeal) {\n //如果处理意见是有值\n if (operator) {\n // 判断是不是同意\n let item = this.suggest.find(item => item.label == operator);\n if (item.description == \"TIJIAO\") {\n this.isShowBtn = true;\n }\n } else {\n this.suggest[0].description == \"TIJIAO\" ? this.isShowBtn = true : \"\";\n }\n }\n }\n });\n },\n // 更新Model值 给后台 name 属性 val 值\n changeModel(name, val) {\n let models = {\n [this.widget.model]: {\n ...this.models[this.widget.model],\n [name]: val\n }\n };\n this.$emit(\"update:models\", {\n ...this.models,\n ...models\n });\n },\n //获取DPI,图像每英寸长度内的像素点数\n getDPI() {\n var arrDPI = new Array();\n if (window.screen.deviceXDPI) {\n arrDPI[0] = window.screen.deviceXDPI;\n arrDPI[1] = window.screen.deviceYDPI;\n } else {\n var tmpNode = document.createElement(\"DIV\");\n tmpNode.style.cssText = \"width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden\";\n document.body.appendChild(tmpNode);\n arrDPI[0] = parseInt(tmpNode.offsetWidth);\n arrDPI[1] = parseInt(tmpNode.offsetHeight);\n tmpNode.parentNode.removeChild(tmpNode);\n }\n return arrDPI;\n },\n //毫米转px\n mmToPx(value) {\n var inch = value / 25.4;\n var c_value = inch * this.getDPI()[0];\n return c_value;\n },\n handleChange(val) {\n let models = {\n [this.widget.model]: {\n ...this.models[this.widget.model],\n operation: val\n }\n };\n // 有盖章才走这个判断\n if (this.userSeal) {\n let arr = this.suggest.find(item => item.value == val);\n if (arr.description == \"TIJIAO\") {\n this.isShowBtn = true;\n } else {\n this.isShowBtn = false;\n this.isShowSeal = false;\n models[this.widget.model].userSeal = \"\";\n }\n }\n console.log(models);\n this.$emit(\"update:models\", {\n ...this.models,\n ...models\n });\n }\n }\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Verify/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
3614
3614
|
|
|
3615
3615
|
/***/ }),
|
|
3616
3616
|
|
|
@@ -3863,7 +3863,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
3863
3863
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3864
3864
|
|
|
3865
3865
|
"use strict";
|
|
3866
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c(\"div\", {\n staticClass: \"no-boder\"\n }, [_vm.widget.type == \"input\" ? [_c(\"input-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n rules: _vm.rules,\n models: _vm.models,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"textarea\" ? [_c(\"textarea-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n rules: _vm.rules,\n models: _vm.models,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"number\" ? [_c(\"number-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"switch\" ? [_c(\"switch-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"slider\" ? [_c(\"slider-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"radio\" ? [_c(\"radio-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"checkbox\" ? [_c(\"checkbox-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"rate\" ? [_c(\"rate-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"hidden\" ? [_c(\"hidden-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"placeholder\" ? [_c(\"placeholder-component\", {\n attrs: {\n widget: _vm.widget,\n models: _vm.models,\n isdisabled: \"isdisabled\"\n }\n })] : _vm.widget.type == \"superLink\" ? [_c(\"superLink-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"codeControl\" ? [_c(\"codeControl-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"select\" ? [_c(\"select-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n models: _vm.models,\n rules: _vm.rules,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"cascader\" ? [_c(\"cascader-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n models: _vm.models,\n rules: _vm.rules,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"relateSub\" ? [_c(\"relate-sub-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"userSelector\" ? [_c(\"user-selector-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"userSelectorByRole\" ? [_c(\"user-selector-by-role-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"imgupload\" ? [_c(\"img-upload-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"fileupload\" ? [_c(\"file-upload-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"uploadModel\" ? [_c(\"upload-model-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"signature\" ? [_c(\"signature-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"idea-sign\" ? [_c(\"idea-sign-component\", {\n attrs: {\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"deptSelector\" ? [_c(\"depart-selector-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"time\" ? [_c(\"time-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"signature-write\" ? [_c(\"signature-write-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"date\" ? [_c(\"date-
|
|
3866
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c(\"div\", {\n staticClass: \"no-boder\"\n }, [_vm.widget.type == \"input\" ? [_c(\"input-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n rules: _vm.rules,\n models: _vm.models,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"textarea\" ? [_c(\"textarea-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n rules: _vm.rules,\n models: _vm.models,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"number\" ? [_c(\"number-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"switch\" ? [_c(\"switch-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"slider\" ? [_c(\"slider-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"radio\" ? [_c(\"radio-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"checkbox\" ? [_c(\"checkbox-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"rate\" ? [_c(\"rate-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"hidden\" ? [_c(\"hidden-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"placeholder\" ? [_c(\"placeholder-component\", {\n attrs: {\n widget: _vm.widget,\n models: _vm.models,\n isdisabled: \"isdisabled\"\n }\n })] : _vm.widget.type == \"superLink\" ? [_c(\"superLink-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"codeControl\" ? [_c(\"codeControl-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"select\" ? [_c(\"select-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n models: _vm.models,\n rules: _vm.rules,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"cascader\" ? [_c(\"cascader-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n models: _vm.models,\n rules: _vm.rules,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"relateSub\" ? [_c(\"relate-sub-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"userSelector\" ? [_c(\"user-selector-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"userSelectorByRole\" ? [_c(\"user-selector-by-role-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"imgupload\" ? [_c(\"img-upload-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"fileupload\" ? [_c(\"file-upload-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"uploadModel\" ? [_c(\"upload-model-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"signature\" ? [_c(\"signature-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"idea-sign\" ? [_c(\"idea-sign-component\", {\n attrs: {\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"deptSelector\" ? [_c(\"depart-selector-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"time\" ? [_c(\"time-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"signature-write\" ? [_c(\"signature-write-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm.widget.type == \"date\" ? [_c(\"date-component\", {\n attrs: {\n isdisabled: \"isdisabled\",\n widget: _vm.widget,\n tableKey: _vm.tableKey,\n tableIndex: _vm.tableIndex,\n rules: _vm.rules,\n models: _vm.models\n },\n on: {\n updateModels: _vm.updateModels\n }\n })] : _vm._e()], 2);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/common/Modals/CorrectionItem.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
3867
3867
|
|
|
3868
3868
|
/***/ }),
|
|
3869
3869
|
|
|
@@ -4028,7 +4028,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4028
4028
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4029
4029
|
|
|
4030
4030
|
"use strict";
|
|
4031
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e(), _c(\"a-cascader\", {\n attrs: {\n options: _vm.options,\n \"load-data\": _vm.loadData,\n placeholder: _vm.widget.options.placeholder || \"请选择\",\n disabled: _vm.widget.options.disabled,\n value: _vm.dataModel,\n \"change-on-select\": \"\",\n getPopupContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: _vm.onChange\n }\n })], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Cascader/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4031
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e(), _c(\"a-cascader\", {\n attrs: {\n options: _vm.options,\n \"load-data\": _vm.loadData,\n placeholder: _vm.widget.options.placeholder || \"请选择\",\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n value: _vm.dataModel,\n \"change-on-select\": \"\",\n getPopupContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: _vm.onChange\n }\n })], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Cascader/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4032
4032
|
|
|
4033
4033
|
/***/ }),
|
|
4034
4034
|
|
|
@@ -4039,7 +4039,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4039
4039
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4040
4040
|
|
|
4041
4041
|
"use strict";
|
|
4042
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol\n }\n }, [_c(\"div\", {\n staticClass: \"label\",\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(_vm._s(_vm.widget.name))]), _c(\"a-cascader\", {\n attrs: {\n options: _vm.options,\n \"load-data\": _vm.loadData,\n placeholder: _vm.widget.options.placeholder,\n \"change-on-select\": \"\",\n getPopupContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: _vm.onChange\n }\n })], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Cascader/widgetDesign.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4042
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol\n }\n }, [_c(\"div\", {\n staticClass: \"label\",\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(_vm._s(_vm.widget.name))]), _c(\"a-cascader\", {\n attrs: {\n options: _vm.options,\n \"load-data\": _vm.loadData,\n disabled: \"\",\n placeholder: _vm.widget.options.placeholder,\n \"change-on-select\": \"\",\n getPopupContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: _vm.onChange\n }\n })], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Cascader/widgetDesign.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4043
4043
|
|
|
4044
4044
|
/***/ }),
|
|
4045
4045
|
|
|
@@ -4061,7 +4061,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4061
4061
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4062
4062
|
|
|
4063
4063
|
"use strict";
|
|
4064
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-checkbox-group\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n disabled: _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder\n },\n on: {\n change: _vm.onChange\n },\n nativeOn: {\n click: function ($event) {\n return _vm.handleClick.apply(null, arguments);\n }\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }, [_vm.widget.options.inline == true ? _vm._l(_vm.dictOptions, function (item, index) {\n return _c(\"a-checkbox\", {\n key: index,\n style: {\n display: \"inline-block\"\n },\n attrs: {\n value: item.value\n }\n }, [_vm._v(_vm._s(item.text))]);\n }) : _vm._e(), _vm.widget.options.inline == false ? _vm._l(_vm.dictOptions, function (item, index) {\n return _c(\"a-checkbox\", {\n key: index,\n style: {\n display: \"block\"\n },\n attrs: {\n value: item.value\n }\n }, [_vm._v(_vm._s(item.text))]);\n }) : _vm._e()], 2), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Checkbox/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4064
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-checkbox-group\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder\n },\n on: {\n change: _vm.onChange\n },\n nativeOn: {\n click: function ($event) {\n return _vm.handleClick.apply(null, arguments);\n }\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }, [_vm.widget.options.inline == true ? _vm._l(_vm.dictOptions, function (item, index) {\n return _c(\"a-checkbox\", {\n key: index,\n style: {\n display: \"inline-block\"\n },\n attrs: {\n value: item.value\n }\n }, [_vm._v(_vm._s(item.text))]);\n }) : _vm._e(), _vm.widget.options.inline == false ? _vm._l(_vm.dictOptions, function (item, index) {\n return _c(\"a-checkbox\", {\n key: index,\n style: {\n display: \"block\"\n },\n attrs: {\n value: item.value\n }\n }, [_vm._v(_vm._s(item.text))]);\n }) : _vm._e()], 2), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Checkbox/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4065
4065
|
|
|
4066
4066
|
/***/ }),
|
|
4067
4067
|
|
|
@@ -4127,7 +4127,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4127
4127
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4128
4128
|
|
|
4129
4129
|
"use strict";
|
|
4130
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_vm.widget.options.type == \"date\" ? _c(\"a-date-picker\", {\n attrs: {\n popupStyle: {\n zIndex: \"1000000\"\n },\n valueFormat: _vm.widget.options.format,\n format: _vm.widget.options.format,\n placeholder: _vm.widget.options.placeholder,\n disabled: _vm.widget.options.disabled,\n getCalendarContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n },\n \"show-time\": \"\"\n },\n on: {\n openChange: _vm.changeIsClickByUser,\n change: _vm.onDateChange\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }) : _vm._e(), _vm.widget.options.type == \"week\" ? _c(\"a-week-picker\", {\n attrs: {\n popupStyle: {\n zIndex: \"1000000\"\n },\n valueFormat: _vm.widget.options.format,\n format: _vm.widget.options.format,\n placeholder: _vm.widget.options.placeholder,\n disabled: _vm.widget.options.disabled,\n getCalendarContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: _vm.onDateChange\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }) : _vm._e(), _vm.widget.options.type == \"month\" ? _c(\"a-month-picker\", {\n attrs: {\n popupStyle: {\n zIndex: \"1000000\"\n },\n valueFormat: _vm.widget.options.format,\n format: _vm.widget.options.format,\n placeholder: _vm.widget.options.placeholder,\n disabled: _vm.widget.options.disabled,\n getCalendarContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: _vm.onDateChange\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }) : _vm._e(), _vm.widget.options.type == \"range\" ? _c(\"a-range-picker\", {\n attrs: {\n popupStyle: {\n zIndex: \"1000\"\n },\n valueFormat: _vm.widget.options.format,\n disabled: _vm.widget.options.disabled,\n \"show-time\": \"\",\n placeholder: _vm.widget.options.rangeplaceholder,\n getCalendarContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: _vm.onDateChange\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }) : _vm._e(), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Date/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4130
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_vm.widget.options.type == \"date\" ? _c(\"a-date-picker\", {\n attrs: {\n popupStyle: {\n zIndex: \"1000000\"\n },\n valueFormat: _vm.widget.options.format,\n format: _vm.widget.options.format,\n placeholder: _vm.widget.options.placeholder,\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n getCalendarContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n },\n \"show-time\": \"\"\n },\n on: {\n openChange: _vm.changeIsClickByUser,\n change: _vm.onDateChange\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }) : _vm._e(), _vm.widget.options.type == \"week\" ? _c(\"a-week-picker\", {\n attrs: {\n popupStyle: {\n zIndex: \"1000000\"\n },\n valueFormat: _vm.widget.options.format,\n format: _vm.widget.options.format,\n placeholder: _vm.widget.options.placeholder,\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n getCalendarContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: _vm.onDateChange\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }) : _vm._e(), _vm.widget.options.type == \"month\" ? _c(\"a-month-picker\", {\n attrs: {\n popupStyle: {\n zIndex: \"1000000\"\n },\n valueFormat: _vm.widget.options.format,\n format: _vm.widget.options.format,\n placeholder: _vm.widget.options.placeholder,\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n getCalendarContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: _vm.onDateChange\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }) : _vm._e(), _vm.widget.options.type == \"range\" ? _c(\"a-range-picker\", {\n attrs: {\n popupStyle: {\n zIndex: \"1000\"\n },\n valueFormat: _vm.widget.options.format,\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n \"show-time\": \"\",\n placeholder: _vm.widget.options.rangeplaceholder,\n getCalendarContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: _vm.onDateChange\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }) : _vm._e(), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Date/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4131
4131
|
|
|
4132
4132
|
/***/ }),
|
|
4133
4133
|
|
|
@@ -4160,7 +4160,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4160
4160
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4161
4161
|
|
|
4162
4162
|
"use strict";
|
|
4163
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.widget.model\n }\n }, [_c(\"a-input\", {\n attrs: {\n disabled: _vm.widget.options.disabled,\n placeholder: \"请点击选择部门\",\n readonly: \"\"\n },\n nativeOn: {\n click: function ($event) {\n return _vm.openModal.apply(null, arguments);\n }\n },\n model: {\n value: _vm.departNames,\n callback: function ($$v) {\n _vm.departNames = $$v;\n },\n expression: \"departNames\"\n }\n }, [_c(\"a-icon\", {\n attrs: {\n slot: \"prefix\",\n type: \"cluster\",\n title: \"部门选择控件\"\n },\n slot: \"prefix\"\n }), !_vm.widget.options.disabled ? _c(\"a-icon\", {\n staticStyle: {\n cursor: \"pointer\"\n },\n attrs: {\n slot: \"suffix\",\n type: \"close-circle\",\n title: \"清空\"\n },\n nativeOn: {\n click: function ($event) {\n $event.stopPropagation();\n return _vm.handleEmpty.apply(null, arguments);\n }\n },\n slot: \"suffix\"\n }) : _vm._e()], 1), _c(\"div\", {\n class: _vm.config.align,\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")])], 1), _c(\"select-depart-modal\", {\n ref: \"innerDepartSelectModal\",\n attrs: {\n \"modal-width\": \"800px\",\n multi: _vm.widget.options.multiple,\n rootOpened: true,\n \"depart-id\": _vm.departIds,\n departRelation: _vm.widget.options.departRelation,\n departType: _vm.widget.options.departType\n },\n on: {\n ok: _vm.handleOK,\n initComp: _vm.initComp\n }\n })], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/DepartSelector/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4163
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.widget.model\n }\n }, [_c(\"a-input\", {\n attrs: {\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n placeholder: \"请点击选择部门\",\n readonly: \"\"\n },\n nativeOn: {\n click: function ($event) {\n return _vm.openModal.apply(null, arguments);\n }\n },\n model: {\n value: _vm.departNames,\n callback: function ($$v) {\n _vm.departNames = $$v;\n },\n expression: \"departNames\"\n }\n }, [_c(\"a-icon\", {\n attrs: {\n slot: \"prefix\",\n type: \"cluster\",\n title: \"部门选择控件\"\n },\n slot: \"prefix\"\n }), !_vm.widget.options.disabled ? _c(\"a-icon\", {\n staticStyle: {\n cursor: \"pointer\"\n },\n attrs: {\n slot: \"suffix\",\n type: \"close-circle\",\n title: \"清空\"\n },\n nativeOn: {\n click: function ($event) {\n $event.stopPropagation();\n return _vm.handleEmpty.apply(null, arguments);\n }\n },\n slot: \"suffix\"\n }) : _vm._e()], 1), _c(\"div\", {\n class: _vm.config.align,\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")])], 1), _c(\"select-depart-modal\", {\n ref: \"innerDepartSelectModal\",\n attrs: {\n \"modal-width\": \"800px\",\n multi: _vm.widget.options.multiple,\n rootOpened: true,\n \"depart-id\": _vm.departIds,\n departRelation: _vm.widget.options.departRelation,\n departType: _vm.widget.options.departType\n },\n on: {\n ok: _vm.handleOK,\n initComp: _vm.initComp\n }\n })], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/DepartSelector/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4164
4164
|
|
|
4165
4165
|
/***/ }),
|
|
4166
4166
|
|
|
@@ -4237,7 +4237,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4237
4237
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4238
4238
|
|
|
4239
4239
|
"use strict";
|
|
4240
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-upload\", {\n attrs: {\n action: _vm.widget.options.domain + _vm.widget.options.action,\n \"file-list\": _vm.fileList,\n headers: _vm.headers,\n disabled: _vm.widget.options.disabled,\n beforeUpload: _vm.beforeUpload\n },\n on: {\n change: _vm.handleChange,\n preview: _vm.handlePreview\n }\n }, [_vm.fileList.length < parseInt(_vm.widget.options.length) && !_vm.widget.options.disabled ? _c(\"div\", [_c(\"a-button\", [_c(\"a-icon\", {\n attrs: {\n type: \"upload\"\n }\n }), _vm._v(\" \" + _vm._s(_vm.widget.options.placeholder) + \" \")], 1)], 1) : _vm._e()]), _c(\"a-modal\", {\n attrs: {\n zIndex: 100000,\n visible: _vm.previewVisible,\n footer: null\n },\n on: {\n cancel: _vm.handleCancel\n }\n }, [_vm.previewType === \"picture\" ? _c(\"img\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n alt: \"example\",\n src: _vm.previewImage\n }\n }) : _vm._e(), _vm.previewType === \"pdf\" ? _c(\"iframe\", {\n staticStyle: {\n width: \"100%\",\n height: \"550px\"\n },\n attrs: {\n src: _vm.previewPdfSrc\n }\n }) : _vm._e()]), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: _vm.config.align,\n style: {\n color: _vm.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(_vm._s(_vm.widget.name))]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/FileUpload/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4240
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-upload\", {\n attrs: {\n action: _vm.widget.options.domain + _vm.widget.options.action,\n \"file-list\": _vm.fileList,\n headers: _vm.headers,\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n beforeUpload: _vm.beforeUpload\n },\n on: {\n change: _vm.handleChange,\n preview: _vm.handlePreview\n }\n }, [_vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled) ? _c(\"div\", [_c(\"a-button\", [_c(\"a-icon\", {\n attrs: {\n type: \"upload\"\n }\n }), _vm._v(\" \" + _vm._s(_vm.widget.options.placeholder) + \" \")], 1)], 1) : _vm._e()]), _c(\"a-modal\", {\n attrs: {\n zIndex: 100000,\n visible: _vm.previewVisible,\n footer: null\n },\n on: {\n cancel: _vm.handleCancel\n }\n }, [_vm.previewType === \"picture\" ? _c(\"img\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n alt: \"example\",\n src: _vm.previewImage\n }\n }) : _vm._e(), _vm.previewType === \"pdf\" ? _c(\"iframe\", {\n staticStyle: {\n width: \"100%\",\n height: \"550px\"\n },\n attrs: {\n src: _vm.previewPdfSrc\n }\n }) : _vm._e()]), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: _vm.config.align,\n style: {\n color: _vm.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(_vm._s(_vm.widget.name))]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/FileUpload/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4241
4241
|
|
|
4242
4242
|
/***/ }),
|
|
4243
4243
|
|
|
@@ -4369,7 +4369,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4369
4369
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4370
4370
|
|
|
4371
4371
|
"use strict";
|
|
4372
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c(\"div\", {\n staticClass: \"custom_form_item\"\n }, [_c(\"div\", {\n staticClass: \"idea-sign-class-special clearfix\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol\n }\n }, [_c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]), _c(\"div\", {\n staticClass: \"text-content\"\n }, [_c(\"a-form-model-item\", {\n staticClass: \"text-area\",\n staticStyle: {\n width: \"70%\"\n },\n attrs: {\n lable: \"\",\n prop: `${_vm.widget.model}.idea.value`,\n rules: _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-input\", {\n style: {\n height: _vm.widget.options.textareaHeight + \"px\"\n },\n attrs: {\n id: _vm.widget.options.sid + \"_text\",\n type: \"textarea\",\n rows: \"2\",\n disabled: _vm.widget.options.disabled\n },\n model: {\n value: _vm.dataModel.idea.value,\n callback: function ($$v) {\n _vm.$set(_vm.dataModel.idea, \"value\", $$v);\n },\n expression: \"dataModel.idea.value\"\n }\n })], 1), _c(\"div\", {\n staticClass: \"sign\",\n style: {\n textAlign: _vm.widget.options.signPosition\n }\n }, [_c(\"div\", [_c(\"span\", [_vm._v(_vm._s(_vm.dataModel.sign.label))]), _vm.dataModel.sign.type == \"word\" ? _c(\"span\", [_vm._v(_vm._s(_vm.dataModel.sign.value == \"loginUserName\" ? \"\" : _vm.dataModel.sign.value))]) : _c(\"img\", {\n attrs: {\n src: _vm.imgUrl + _vm.dataModel.sign.value\n }\n })]), _vm.dataModel.time.show ? _c(\"div\", [_vm._v(\" \" + _vm._s(_vm.dataModel.time.value) + \" \")]) : _vm._e()])], 1)])], 1)]);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/IdeaSign/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4372
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c(\"div\", {\n staticClass: \"custom_form_item\"\n }, [_c(\"div\", {\n staticClass: \"idea-sign-class-special clearfix\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol\n }\n }, [_c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]), _c(\"div\", {\n staticClass: \"text-content\"\n }, [_c(\"a-form-model-item\", {\n staticClass: \"text-area\",\n staticStyle: {\n width: \"70%\"\n },\n attrs: {\n lable: \"\",\n prop: `${_vm.widget.model}.idea.value`,\n rules: _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-input\", {\n style: {\n height: _vm.widget.options.textareaHeight + \"px\"\n },\n attrs: {\n id: _vm.widget.options.sid + \"_text\",\n type: \"textarea\",\n rows: \"2\",\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled\n },\n model: {\n value: _vm.dataModel.idea.value,\n callback: function ($$v) {\n _vm.$set(_vm.dataModel.idea, \"value\", $$v);\n },\n expression: \"dataModel.idea.value\"\n }\n })], 1), _c(\"div\", {\n staticClass: \"sign\",\n style: {\n textAlign: _vm.widget.options.signPosition\n }\n }, [_c(\"div\", [_c(\"span\", [_vm._v(_vm._s(_vm.dataModel.sign.label))]), _vm.dataModel.sign.type == \"word\" ? _c(\"span\", [_vm._v(_vm._s(_vm.dataModel.sign.value == \"loginUserName\" ? \"\" : _vm.dataModel.sign.value))]) : _c(\"img\", {\n attrs: {\n src: _vm.imgUrl + _vm.dataModel.sign.value\n }\n })]), _vm.dataModel.time.show ? _c(\"div\", [_vm._v(\" \" + _vm._s(_vm.dataModel.time.value) + \" \")]) : _vm._e()])], 1)])], 1)]);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/IdeaSign/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4373
4373
|
|
|
4374
4374
|
/***/ }),
|
|
4375
4375
|
|
|
@@ -4402,7 +4402,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4402
4402
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4403
4403
|
|
|
4404
4404
|
"use strict";
|
|
4405
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-upload\", {\n staticClass: \"ssss\",\n attrs: {\n action: _vm.widget.options.domain + _vm.widget.options.action,\n \"list-type\": \"picture-card\",\n \"file-list\": _vm.fileList,\n headers: _vm.headers,\n disabled: _vm.widget.options.disabled,\n beforeUpload: _vm.beforeUpload\n },\n on: {\n preview: _vm.handlePreview,\n change: _vm.handleChange\n }\n }, [_vm.fileList.length < parseInt(_vm.widget.options.length) && !_vm.widget.options.disabled ? _c(\"div\", [_c(\"a-icon\", {\n attrs: {\n type: \"plus\"\n }\n }), _c(\"div\", {\n staticClass: \"ant-upload-text\"\n }, [_vm._v(_vm._s(_vm.widget.options.placeholder))])], 1) : _vm._e()]), _c(\"a-modal\", {\n attrs: {\n zIndex: 100000,\n visible: _vm.previewVisible,\n footer: null\n },\n on: {\n cancel: _vm.handleCancel\n }\n }, [_c(\"img\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n alt: \"example\",\n src: _vm.previewImage\n }\n })]), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: _vm.config.align,\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/ImgUpload/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4405
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-upload\", {\n staticClass: \"ssss\",\n attrs: {\n action: _vm.widget.options.domain + _vm.widget.options.action,\n \"list-type\": \"picture-card\",\n \"file-list\": _vm.fileList,\n headers: _vm.headers,\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n beforeUpload: _vm.beforeUpload\n },\n on: {\n preview: _vm.handlePreview,\n change: _vm.handleChange\n }\n }, [_vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled) ? _c(\"div\", [_c(\"a-icon\", {\n attrs: {\n type: \"plus\"\n }\n }), _c(\"div\", {\n staticClass: \"ant-upload-text\"\n }, [_vm._v(_vm._s(_vm.widget.options.placeholder))])], 1) : _vm._e()]), _c(\"a-modal\", {\n attrs: {\n zIndex: 100000,\n visible: _vm.previewVisible,\n footer: null\n },\n on: {\n cancel: _vm.handleCancel\n }\n }, [_c(\"img\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n alt: \"example\",\n src: _vm.previewImage\n }\n })]), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: _vm.config.align,\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/ImgUpload/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4406
4406
|
|
|
4407
4407
|
/***/ }),
|
|
4408
4408
|
|
|
@@ -4435,7 +4435,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4435
4435
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4436
4436
|
|
|
4437
4437
|
"use strict";
|
|
4438
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\",\n background: _vm.widget.options.bgColor\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n style: {\n height: _vm.widget.options.height + \"px\"\n },\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-input\", {\n style: {\n color: _vm.widget.options.fontColor,\n fontFamily: _vm.widget.options.fontFamily,\n height: _vm.widget.options.height - 20 + \"px\"\n },\n attrs: {\n disabled: _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Input/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4438
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\",\n background: _vm.widget.options.bgColor\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n style: {\n height: _vm.widget.options.height + \"px\"\n },\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-input\", {\n style: {\n color: _vm.widget.options.fontColor,\n fontFamily: _vm.widget.options.fontFamily,\n height: _vm.widget.options.height - 20 + \"px\"\n },\n attrs: {\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Input/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4439
4439
|
|
|
4440
4440
|
/***/ }),
|
|
4441
4441
|
|
|
@@ -4468,7 +4468,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4468
4468
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4469
4469
|
|
|
4470
4470
|
"use strict";
|
|
4471
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-input-number\", {\n attrs: {\n min: _vm.widget.options.min,\n max: _vm.widget.options.max,\n defaultValue: _vm.widget.options.defaultValue,\n step: _vm.widget.options.step,\n disabled: _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder\n },\n on: {\n change: _vm.onChange\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Number/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4471
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-input-number\", {\n attrs: {\n min: _vm.widget.options.min,\n max: _vm.widget.options.max,\n defaultValue: _vm.widget.options.defaultValue,\n step: _vm.widget.options.step,\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder\n },\n on: {\n change: _vm.onChange\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Number/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4472
4472
|
|
|
4473
4473
|
/***/ }),
|
|
4474
4474
|
|
|
@@ -4534,7 +4534,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4534
4534
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4535
4535
|
|
|
4536
4536
|
"use strict";
|
|
4537
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-radio-group\", {\n attrs: {\n disabled: _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder\n },\n on: {\n change: _vm.onChange\n },\n nativeOn: {\n click: function ($event) {\n _vm.isClickByUser = true;\n }\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }, [_vm.widget.options.inline == true ? _vm._l(_vm.dictOptions, function (item, index) {\n return _c(\"a-radio\", {\n key: index,\n style: {\n display: \"inline-block\"\n },\n attrs: {\n value: item.value\n }\n }, [_vm._v(\" \" + _vm._s(item.text) + \" \")]);\n }) : _vm._e(), _vm.widget.options.inline == false ? _vm._l(_vm.dictOptions, function (item, index) {\n return _c(\"a-radio\", {\n key: index,\n style: {\n display: \"block\"\n },\n attrs: {\n value: item.value\n }\n }, [_vm._v(\" \" + _vm._s(item.text) + \" \")]);\n }) : _vm._e()], 2), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Radio/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4537
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-radio-group\", {\n attrs: {\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder\n },\n on: {\n change: _vm.onChange\n },\n nativeOn: {\n click: function ($event) {\n _vm.isClickByUser = true;\n }\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }, [_vm.widget.options.inline == true ? _vm._l(_vm.dictOptions, function (item, index) {\n return _c(\"a-radio\", {\n key: index,\n style: {\n display: \"inline-block\"\n },\n attrs: {\n value: item.value\n }\n }, [_vm._v(\" \" + _vm._s(item.text) + \" \")]);\n }) : _vm._e(), _vm.widget.options.inline == false ? _vm._l(_vm.dictOptions, function (item, index) {\n return _c(\"a-radio\", {\n key: index,\n style: {\n display: \"block\"\n },\n attrs: {\n value: item.value\n }\n }, [_vm._v(\" \" + _vm._s(item.text) + \" \")]);\n }) : _vm._e()], 2), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Radio/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4538
4538
|
|
|
4539
4539
|
/***/ }),
|
|
4540
4540
|
|
|
@@ -4567,7 +4567,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4567
4567
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4568
4568
|
|
|
4569
4569
|
"use strict";
|
|
4570
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-rate\", {\n attrs: {\n disabled: _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n count: _vm.widget.options.max,\n \"allow-half\": \"\"\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Rate/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4570
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-rate\", {\n attrs: {\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n count: _vm.widget.options.max,\n \"allow-half\": \"\"\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Rate/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4571
4571
|
|
|
4572
4572
|
/***/ }),
|
|
4573
4573
|
|
|
@@ -4600,7 +4600,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4600
4600
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4601
4601
|
|
|
4602
4602
|
"use strict";
|
|
4603
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.widget.model\n }\n }, [_c(\"a-input\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n disabled: _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n \"read-only\": \"\"\n },\n nativeOn: {\n click: function ($event) {\n return _vm.openModal.apply(null, arguments);\n }\n },\n model: {\n value: _vm.label,\n callback: function ($$v) {\n _vm.label = $$v;\n },\n expression: \"label\"\n }\n }, [_c(\"a-icon\", {\n attrs: {\n slot: \"prefix\",\n type: \"select\",\n title: \"用户选择\"\n },\n slot: \"prefix\"\n }), !_vm.widget.options.disabled ? _c(\"a-icon\", {\n staticStyle: {\n cursor: \"pointer\"\n },\n attrs: {\n slot: \"suffix\",\n type: \"close-circle\",\n title: \"清空\"\n },\n nativeOn: {\n click: function ($event) {\n $event.stopPropagation();\n return _vm.handleEmpty.apply(null, arguments);\n }\n },\n slot: \"suffix\"\n }) : _vm._e()], 1), _c(\"div\", {\n class: _vm.config.align,\n style: {\n color: _vm.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")])], 1), _c(\"relate-sub-select-modal\", {\n ref: \"relateSubSelectModal\",\n attrs: {\n widget: _vm.widget\n },\n on: {\n ok: _vm.handleSelectOK\n }\n })], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/RelateSub/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4603
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.widget.model\n }\n }, [_c(\"a-input\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n \"read-only\": \"\"\n },\n nativeOn: {\n click: function ($event) {\n return _vm.openModal.apply(null, arguments);\n }\n },\n model: {\n value: _vm.label,\n callback: function ($$v) {\n _vm.label = $$v;\n },\n expression: \"label\"\n }\n }, [_c(\"a-icon\", {\n attrs: {\n slot: \"prefix\",\n type: \"select\",\n title: \"用户选择\"\n },\n slot: \"prefix\"\n }), !_vm.widget.options.disabled ? _c(\"a-icon\", {\n staticStyle: {\n cursor: \"pointer\"\n },\n attrs: {\n slot: \"suffix\",\n type: \"close-circle\",\n title: \"清空\"\n },\n nativeOn: {\n click: function ($event) {\n $event.stopPropagation();\n return _vm.handleEmpty.apply(null, arguments);\n }\n },\n slot: \"suffix\"\n }) : _vm._e()], 1), _c(\"div\", {\n class: _vm.config.align,\n style: {\n color: _vm.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")])], 1), _c(\"relate-sub-select-modal\", {\n ref: \"relateSubSelectModal\",\n attrs: {\n widget: _vm.widget\n },\n on: {\n ok: _vm.handleSelectOK\n }\n })], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/RelateSub/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4604
4604
|
|
|
4605
4605
|
/***/ }),
|
|
4606
4606
|
|
|
@@ -4633,7 +4633,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4633
4633
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4634
4634
|
|
|
4635
4635
|
"use strict";
|
|
4636
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\",\n background: _vm.widget.options.bgColor\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e(), _c(\"a-select\", {\n attrs: {\n dropdownStyle: {\n zIndex: 3000\n },\n placeholder: _vm.widget.options.placeholder,\n disabled: _vm.widget.options.disabled,\n showSearch: \"\",\n optionFilterProp: \"label\",\n allowClear: \"\",\n getPopupContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n },\n mode: _vm.widget.options.multiple ? \"multiple\" : \"default\"\n },\n on: {\n change: _vm.handleChange,\n search: _vm.handleSearch,\n popupScroll: e => {\n _vm.handleScroll(e);\n }\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }, _vm._l(_vm.filterDictOptions, function (item, idx) {\n return _c(\"a-select-option\", {\n key: idx,\n attrs: {\n value: item.value,\n label: item.text\n }\n }, [_vm._v(\" \" + _vm._s(item.text) + \" \")]);\n }), 1)], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Select/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4636
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\",\n background: _vm.widget.options.bgColor\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e(), _c(\"a-select\", {\n attrs: {\n dropdownStyle: {\n zIndex: 3000\n },\n placeholder: _vm.widget.options.placeholder,\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n showSearch: \"\",\n optionFilterProp: \"label\",\n allowClear: \"\",\n getPopupContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n },\n mode: _vm.widget.options.multiple ? \"multiple\" : \"default\"\n },\n on: {\n change: _vm.handleChange,\n search: _vm.handleSearch,\n popupScroll: e => {\n _vm.handleScroll(e);\n }\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }, _vm._l(_vm.filterDictOptions, function (item, idx) {\n return _c(\"a-select-option\", {\n key: idx,\n attrs: {\n value: item.value,\n label: item.text\n }\n }, [_vm._v(\" \" + _vm._s(item.text) + \" \")]);\n }), 1)], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Select/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4637
4637
|
|
|
4638
4638
|
/***/ }),
|
|
4639
4639
|
|
|
@@ -4732,7 +4732,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4732
4732
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4733
4733
|
|
|
4734
4734
|
"use strict";
|
|
4735
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-slider\", {\n attrs: {\n disabled: _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n defaultValue: _vm.widget.options.defaultValue,\n min: _vm.widget.options.min,\n max: _vm.widget.options.max,\n step: _vm.widget.options.step\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }), _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")])], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Slider/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4735
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-slider\", {\n attrs: {\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n defaultValue: _vm.widget.options.defaultValue,\n min: _vm.widget.options.min,\n max: _vm.widget.options.max,\n step: _vm.widget.options.step\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }), _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")])], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Slider/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4736
4736
|
|
|
4737
4737
|
/***/ }),
|
|
4738
4738
|
|
|
@@ -4798,7 +4798,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4798
4798
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4799
4799
|
|
|
4800
4800
|
"use strict";
|
|
4801
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-switch\", {\n attrs: {\n disabled: _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n checked: _vm.widget.options.defaultValue\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }), _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")])], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Switch/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4801
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-switch\", {\n attrs: {\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n checked: _vm.widget.options.defaultValue\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }), _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")])], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Switch/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4802
4802
|
|
|
4803
4803
|
/***/ }),
|
|
4804
4804
|
|
|
@@ -4864,7 +4864,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4864
4864
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4865
4865
|
|
|
4866
4866
|
"use strict";
|
|
4867
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\",\n background: _vm.widget.options.bgColor\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-textarea\", {\n style: {\n color: _vm.widget.options.fontColor,\n fontFamily: _vm.widget.options.fontFamily,\n height: _vm.widget.options.height - 20 + \"px\"\n },\n attrs: {\n disabled: _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n rows: 4\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Textarea/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4867
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\",\n background: _vm.widget.options.bgColor\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"a-textarea\", {\n style: {\n color: _vm.widget.options.fontColor,\n fontFamily: _vm.widget.options.fontFamily,\n height: _vm.widget.options.height - 20 + \"px\"\n },\n attrs: {\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n rows: 4\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n }), _vm.widget.options.labelWidth !== 0 ? _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]) : _vm._e()], 1)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Textarea/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4868
4868
|
|
|
4869
4869
|
/***/ }),
|
|
4870
4870
|
|
|
@@ -4897,7 +4897,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4897
4897
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4898
4898
|
|
|
4899
4899
|
"use strict";
|
|
4900
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [!_vm.widget.options.isRange ? [_c(\"a-time-picker\", {\n attrs: {\n popupStyle: {\n zIndex: \"1000000\"\n },\n disabled: _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n format: _vm.widget.options.format,\n valueFormat: _vm.widget.options.format,\n getPopupContainer: triggerNode => {\n return triggerNode.parentNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: (val, dateStrings) => _vm.changeTime(val, dateStrings, \"time\")\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n })] : _vm._e(), _vm.widget.options.isRange ? [_c(\"a-time-picker\", {\n attrs: {\n popupStyle: {\n zIndex: \"1000000\"\n },\n placeholder: _vm.widget.options.isRange == true ? _vm.widget.options.startPlaceholder : _vm.widget.options.placeholder,\n format: _vm.widget.options.format,\n disabled: _vm.widget.options.disabled,\n valueFormat: _vm.widget.options.format,\n getPopupContainer: triggerNode => {\n return triggerNode.parentNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: (val, dateStrings) => _vm.changeTime(val, dateStrings, \"startTime\")\n },\n model: {\n value: _vm.dataModel[0],\n callback: function ($$v) {\n _vm.$set(_vm.dataModel, 0, $$v);\n },\n expression: \"dataModel[0]\"\n }\n }), _c(\"span\", [_vm._v(\" - \")]), _vm.widget.options.isRange == true ? _c(\"a-time-picker\", {\n attrs: {\n popupStyle: {\n zIndex: \"1000000\"\n },\n disabledHours: _vm.getDisabledHours,\n disabledMinutes: _vm.getDisabledMinutes,\n disabledSeconds: _vm.getDisabledSeconds,\n format: _vm.widget.options.format,\n valueFormat: _vm.widget.options.format,\n placeholder: _vm.widget.options.endPlaceholder ? _vm.widget.options.endPlaceholder : _vm.widget.options.placeholder,\n disabled: _vm.widget.options.disabled,\n getPopupContainer: triggerNode => {\n return triggerNode.parentNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: (val, dateStrings) => _vm.changeTime(val, dateStrings, \"endTime\")\n },\n model: {\n value: _vm.dataModel[1],\n callback: function ($$v) {\n _vm.$set(_vm.dataModel, 1, $$v);\n },\n expression: \"dataModel[1]\"\n }\n }) : _vm._e()] : _vm._e(), _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(_vm._s(_vm.widget.name))])], 2)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Time/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4900
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [!_vm.widget.options.isRange ? [_c(\"a-time-picker\", {\n attrs: {\n popupStyle: {\n zIndex: \"1000000\"\n },\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n format: _vm.widget.options.format,\n valueFormat: _vm.widget.options.format,\n getPopupContainer: triggerNode => {\n return triggerNode.parentNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: (val, dateStrings) => _vm.changeTime(val, dateStrings, \"time\")\n },\n model: {\n value: _vm.dataModel,\n callback: function ($$v) {\n _vm.dataModel = $$v;\n },\n expression: \"dataModel\"\n }\n })] : _vm._e(), _vm.widget.options.isRange ? [_c(\"a-time-picker\", {\n attrs: {\n popupStyle: {\n zIndex: \"1000000\"\n },\n placeholder: _vm.widget.options.isRange == true ? _vm.widget.options.startPlaceholder : _vm.widget.options.placeholder,\n format: _vm.widget.options.format,\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n valueFormat: _vm.widget.options.format,\n getPopupContainer: triggerNode => {\n return triggerNode.parentNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: (val, dateStrings) => _vm.changeTime(val, dateStrings, \"startTime\")\n },\n model: {\n value: _vm.dataModel[0],\n callback: function ($$v) {\n _vm.$set(_vm.dataModel, 0, $$v);\n },\n expression: \"dataModel[0]\"\n }\n }), _c(\"span\", [_vm._v(\" - \")]), _vm.widget.options.isRange == true ? _c(\"a-time-picker\", {\n attrs: {\n popupStyle: {\n zIndex: \"1000000\"\n },\n disabledHours: _vm.getDisabledHours,\n disabledMinutes: _vm.getDisabledMinutes,\n disabledSeconds: _vm.getDisabledSeconds,\n format: _vm.widget.options.format,\n valueFormat: _vm.widget.options.format,\n placeholder: _vm.widget.options.endPlaceholder ? _vm.widget.options.endPlaceholder : _vm.widget.options.placeholder,\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n getPopupContainer: triggerNode => {\n return triggerNode.parentNode.parentNode || _vm.document.body;\n }\n },\n on: {\n change: (val, dateStrings) => _vm.changeTime(val, dateStrings, \"endTime\")\n },\n model: {\n value: _vm.dataModel[1],\n callback: function ($$v) {\n _vm.$set(_vm.dataModel, 1, $$v);\n },\n expression: \"dataModel[1]\"\n }\n }) : _vm._e()] : _vm._e(), _c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(_vm._s(_vm.widget.name))])], 2)], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Time/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4901
4901
|
|
|
4902
4902
|
/***/ }),
|
|
4903
4903
|
|
|
@@ -4963,7 +4963,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4963
4963
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4964
4964
|
|
|
4965
4965
|
"use strict";
|
|
4966
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.widget.model\n }\n }, [_c(\"a-input\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n disabled: _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n \"read-only\": \"\"\n },\n nativeOn: {\n click: function ($event) {\n return _vm.openModal.apply(null, arguments);\n }\n },\n model: {\n value: _vm.userNames,\n callback: function ($$v) {\n _vm.userNames = $$v;\n },\n expression: \"userNames\"\n }\n }, [_c(\"a-icon\", {\n attrs: {\n slot: \"prefix\",\n type: \"user\",\n title: \"用户选择\"\n },\n slot: \"prefix\"\n }), !_vm.widget.options.disabled ? _c(\"a-icon\", {\n staticStyle: {\n cursor: \"pointer\"\n },\n attrs: {\n slot: \"suffix\",\n type: \"close-circle\",\n title: \"清空\"\n },\n nativeOn: {\n click: function ($event) {\n $event.stopPropagation();\n return _vm.handleEmpty.apply(null, arguments);\n }\n },\n slot: \"suffix\"\n }) : _vm._e()], 1), _c(\"div\", {\n class: _vm.config.align,\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")])], 1), _c(\"select-user-modal\", {\n ref: \"selectUserModal\",\n attrs: {\n \"modal-width\": \"1000px\",\n users: _vm.dataModel,\n multi: _vm.widget.options.multiple,\n showfield: _vm.widget.options.showfield,\n \"default-depart-id\": _vm.defaultDepartId,\n role: _vm.widget.options.role\n },\n on: {\n ok: _vm.handleOK,\n initComp: _vm.initComp\n }\n })], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/UserSelector/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4966
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.widget.model\n }\n }, [_c(\"a-input\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n \"read-only\": \"\"\n },\n nativeOn: {\n click: function ($event) {\n return _vm.openModal.apply(null, arguments);\n }\n },\n model: {\n value: _vm.userNames,\n callback: function ($$v) {\n _vm.userNames = $$v;\n },\n expression: \"userNames\"\n }\n }, [_c(\"a-icon\", {\n attrs: {\n slot: \"prefix\",\n type: \"user\",\n title: \"用户选择\"\n },\n slot: \"prefix\"\n }), !_vm.widget.options.disabled ? _c(\"a-icon\", {\n staticStyle: {\n cursor: \"pointer\"\n },\n attrs: {\n slot: \"suffix\",\n type: \"close-circle\",\n title: \"清空\"\n },\n nativeOn: {\n click: function ($event) {\n $event.stopPropagation();\n return _vm.handleEmpty.apply(null, arguments);\n }\n },\n slot: \"suffix\"\n }) : _vm._e()], 1), _c(\"div\", {\n class: _vm.config.align,\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")])], 1), _c(\"select-user-modal\", {\n ref: \"selectUserModal\",\n attrs: {\n \"modal-width\": \"1000px\",\n users: _vm.dataModel,\n multi: _vm.widget.options.multiple,\n showfield: _vm.widget.options.showfield,\n \"default-depart-id\": _vm.defaultDepartId,\n role: _vm.widget.options.role\n },\n on: {\n ok: _vm.handleOK,\n initComp: _vm.initComp\n }\n })], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/UserSelector/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
4967
4967
|
|
|
4968
4968
|
/***/ }),
|
|
4969
4969
|
|
|
@@ -4996,7 +4996,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
4996
4996
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4997
4997
|
|
|
4998
4998
|
"use strict";
|
|
4999
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item custom_form_item_special\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"div\", {\n staticClass: \"verify clear verify-no-border\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol\n }\n }, [_c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: _vm.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]), _c(\"div\", {\n ref: \"verifyRight\",\n staticClass: \"verify-right\",\n style: {\n \"border-color\": _vm.config.borderColor\n }\n }, [_vm.widget.model == _vm.verifyNode ? [_vm.userSeal && _vm.isShowSeal ? _c(\"vdr\", {\n staticStyle: {\n position: \"absolute\",\n \"z-index\": \"999\"\n },\n attrs: {\n w: _vm.initCdrUserSeal.width,\n h: _vm.initCdrUserSeal.height,\n y: _vm.initCdrUserSeal.y,\n x: _vm.initCdrUserSeal.x,\n resizable: false,\n parent: true\n },\n on: {\n dragging: _vm.onSealDrag\n }\n }, [_c(\"img\", {\n style:
|
|
4999
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item custom_form_item_special\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.tableKey ? `${_vm.tableKey}.${_vm.tableIndex}.${_vm.widget.model}` : _vm.widget.model,\n rules: _vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]\n }\n }, [_c(\"div\", {\n staticClass: \"verify clear verify-no-border\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol\n }\n }, [_c(\"div\", {\n class: [_vm.config.align, _vm.config.validate === true && _vm.widget.options.required === true ? \"is_required\" : \"no_required\"],\n style: {\n color: _vm.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")]), _c(\"div\", {\n ref: \"verifyRight\",\n staticClass: \"verify-right\",\n style: {\n \"border-color\": _vm.config.borderColor\n }\n }, [_vm.widget.model == _vm.verifyNode ? [_vm.userSeal && _vm.isShowSeal ? _c(\"vdr\", {\n staticStyle: {\n position: \"absolute\",\n \"z-index\": \"999\"\n },\n attrs: {\n w: _vm.initCdrUserSeal.width,\n h: _vm.initCdrUserSeal.height,\n y: _vm.initCdrUserSeal.y,\n x: _vm.initCdrUserSeal.x,\n resizable: false,\n parent: true\n },\n on: {\n dragging: _vm.onSealDrag\n }\n }, [_c(\"img\", {\n style: _vm.style,\n attrs: {\n src: _vm.imgUrl + _vm.userSeal,\n alt: \"\"\n }\n }), _c(\"a-icon\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.userSeal && _vm.isShowSeal,\n expression: \"userSeal && isShowSeal\"\n }],\n staticClass: \"verify-icon\",\n staticStyle: {\n \"font-size\": \"18px\"\n },\n attrs: {\n type: \"close\"\n },\n on: {\n click: _vm.handleClose\n }\n })], 1) : _vm._e()] : [_vm.models[_vm.widget.model].userSeal ? _c(\"div\", {\n staticClass: \"verify-seal\",\n style: {\n ..._vm.userSealPosition,\n position: \"absolute\"\n }\n }, [_c(\"img\", {\n style: _vm.style,\n attrs: {\n src: _vm.imgUrl + _vm.models[_vm.widget.model].userSeal,\n alt: \"\"\n }\n })]) : _vm._e()], _c(\"div\", {\n staticClass: \"verify-text\",\n style: {\n \"border-color\": _vm.config.borderColor\n }\n }, [_c(\"span\", [_vm.models[_vm.widget.model] ? _c(\"a-input\", {\n style: {\n position: \"relative\",\n zIndex: 2\n },\n attrs: {\n type: \"textarea\",\n disabled: _vm.widget.model !== _vm.verifyNode,\n rows: \"4\",\n placeholder: _vm.widget.options.placeholder\n },\n model: {\n value: _vm.models[_vm.widget.model].comments,\n callback: function ($$v) {\n _vm.$set(_vm.models[_vm.widget.model], \"comments\", $$v);\n },\n expression: \"models[widget.model].comments\"\n }\n }) : _vm._e()], 1), _vm.widget.model == _vm.verifyNode ? [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.isShowBtn,\n expression: \"isShowBtn\"\n }],\n staticClass: \"verify-btn\"\n }, [_c(\"a-popconfirm\", {\n attrs: {\n title: \"请确认是否添加印章?\",\n \"ok-text\": \"是\",\n \"cancel-text\": \"否\",\n getPopupContainer: triggerNode => {\n return triggerNode.parentNode || _vm.document.body;\n }\n },\n on: {\n confirm: _vm.handleSeal\n }\n }, [_c(\"a\", {\n attrs: {\n href: \"#\"\n }\n }, [_vm._v(\"盖章\")])])], 1)] : _vm._e()], 2), _c(\"div\", {\n staticClass: \"verify-option\"\n }, [_c(\"div\", {\n style: {\n \"border-color\": _vm.config.borderColor\n }\n }, [_c(\"span\", {\n style: {\n \"border-color\": _vm.config.borderColor\n }\n }, [_vm._v(\" \" + _vm._s(_vm.widget.options.operation) + \" \")]), _c(\"span\", [_c(\"a-select\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.models[_vm.widget.model],\n expression: \"models[widget.model]\"\n }],\n style: {\n width: \"90%\"\n },\n attrs: {\n disabled: _vm.widget.model !== _vm.verifyNode,\n \"default-value\": _vm.models[_vm.widget.model].operation\n },\n on: {\n change: _vm.handleChange\n }\n }, _vm._l(_vm.suggest, function (item, idx) {\n return _c(\"a-select-option\", {\n key: idx,\n attrs: {\n value: item.value\n }\n }, [_vm._v(_vm._s(item.label))]);\n }), 1)], 1)]), _c(\"div\", {\n style: {\n \"border-color\": _vm.config.borderColor\n }\n }, [_c(\"span\", {\n style: {\n \"border-color\": _vm.config.borderColor\n }\n }, [_vm._v(\" \" + _vm._s(_vm.widget.options.operator) + \" \")]), _vm.widget.model == _vm.verifyNode ? [_vm.userSign ? _c(\"span\", [_c(\"img\", {\n staticStyle: {\n width: \"100%\",\n height: \"100%\"\n },\n attrs: {\n src: _vm.imgUrl + _vm.userSign,\n alt: \"\"\n }\n })]) : _c(\"span\", {\n style: {\n \"border-color\": _vm.config.borderColor\n }\n }, [_vm._v(\" \" + _vm._s(_vm.models[_vm.widget.model] ? _vm.models[_vm.widget.model].operator : \"\") + \" \")])] : [_vm.models[_vm.widget.model].userSign ? _c(\"span\", [_c(\"img\", {\n staticStyle: {\n width: \"100%\",\n height: \"100%\"\n },\n attrs: {\n src: _vm.imgUrl + _vm.models[_vm.widget.model].userSign,\n alt: \"\"\n }\n })]) : _c(\"span\", {\n style: {\n \"border-color\": _vm.config.borderColor\n }\n }, [_vm._v(\" \" + _vm._s(_vm.models[_vm.widget.model] ? _vm.models[_vm.widget.model].operator : \"\") + \" \")])]], 2), _c(\"div\", [_c(\"span\", {\n style: {\n \"border-color\": _vm.config.borderColor\n }\n }, [_vm._v(\" \" + _vm._s(_vm.widget.options.operationTime) + \" \")]), _c(\"span\", {\n style: {\n \"border-color\": _vm.config.borderColor\n }\n }, [_vm._v(\" \" + _vm._s(_vm.models[_vm.widget.model] ? _vm.models[_vm.widget.model].operationTime : \"\") + \" \")])])])], 2)])], 1)])], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Verify/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
5000
5000
|
|
|
5001
5001
|
/***/ }),
|
|
5002
5002
|
|
|
@@ -5018,7 +5018,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
5018
5018
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5019
5019
|
|
|
5020
5020
|
"use strict";
|
|
5021
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c(\"div\", {\n staticClass: \"control\"\n }, [_c(\"a-form-model\", [_vm.widget.options && Object.keys(_vm.widget.options).indexOf(\"operation\") >= 0 ? _c(\"a-form-model-item\", {\n attrs: {\n label: \"审核操作别名:\"\n }\n }, [_c(\"a-input\", {\n attrs: {\n size: \"small\"\n },\n model: {\n value: _vm.widget.options.operation,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"operation\", $$v);\n },\n expression: \"widget.options.operation\"\n }\n })], 1) : _vm._e(), _vm.widget.options && Object.keys(_vm.widget.options).indexOf(\"operator\") >= 0 ? _c(\"a-form-model-item\", {\n attrs: {\n label: \"审核人别名:\"\n }\n }, [_c(\"a-input\", {\n attrs: {\n size: \"small\"\n },\n model: {\n value: _vm.widget.options.operator,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"operator\", $$v);\n },\n expression: \"widget.options.operator\"\n }\n })], 1) : _vm._e(), _vm.widget.options && Object.keys(_vm.widget.options).indexOf(\"operationTime\") >= 0 ? _c(\"a-form-model-item\", {\n attrs: {\n label: \"审核时间别名:\"\n }\n }, [_c(\"a-input\", {\n attrs: {\n size: \"small\"\n },\n model: {\n value: _vm.widget.options.operationTime,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"operationTime\", $$v);\n },\n expression: \"widget.options.operationTime\"\n }\n })], 1) : _vm._e(), _c(\"a-form-model-item\", {\n attrs: {\n label: \"
|
|
5021
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c(\"div\", {\n staticClass: \"control\"\n }, [_c(\"a-form-model\", [_vm.widget.options && Object.keys(_vm.widget.options).indexOf(\"operation\") >= 0 ? _c(\"a-form-model-item\", {\n attrs: {\n label: \"审核操作别名:\"\n }\n }, [_c(\"a-input\", {\n attrs: {\n size: \"small\"\n },\n model: {\n value: _vm.widget.options.operation,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"operation\", $$v);\n },\n expression: \"widget.options.operation\"\n }\n })], 1) : _vm._e(), _vm.widget.options && Object.keys(_vm.widget.options).indexOf(\"operator\") >= 0 ? _c(\"a-form-model-item\", {\n attrs: {\n label: \"审核人别名:\"\n }\n }, [_c(\"a-input\", {\n attrs: {\n size: \"small\"\n },\n model: {\n value: _vm.widget.options.operator,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"operator\", $$v);\n },\n expression: \"widget.options.operator\"\n }\n })], 1) : _vm._e(), _vm.widget.options && Object.keys(_vm.widget.options).indexOf(\"operationTime\") >= 0 ? _c(\"a-form-model-item\", {\n attrs: {\n label: \"审核时间别名:\"\n }\n }, [_c(\"a-input\", {\n attrs: {\n size: \"small\"\n },\n model: {\n value: _vm.widget.options.operationTime,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"operationTime\", $$v);\n },\n expression: \"widget.options.operationTime\"\n }\n })], 1) : _vm._e(), _c(\"a-form-model-item\", {\n attrs: {\n label: \"审核盖章宽度(单位mm)\"\n }\n }, [_c(\"a-input\", {\n attrs: {\n size: \"small\",\n type: \"Number\",\n defaultValue: \"35\"\n },\n model: {\n value: _vm.widget.options.sealWidth,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"sealWidth\", $$v);\n },\n expression: \"widget.options.sealWidth\"\n }\n })], 1), _c(\"a-form-model-item\", {\n attrs: {\n label: \"审核盖章高度(单位mm)\"\n }\n }, [_c(\"a-input\", {\n attrs: {\n size: \"small\",\n type: \"Number\",\n defaultValue: \"35\"\n },\n model: {\n value: _vm.widget.options.sealHeight,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"sealHeight\", $$v);\n },\n expression: \"widget.options.sealHeight\"\n }\n })], 1)], 1)], 1);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Verify/widgetSetup.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
5022
5022
|
|
|
5023
5023
|
/***/ }),
|
|
5024
5024
|
|
|
@@ -5029,7 +5029,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
5029
5029
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5030
5030
|
|
|
5031
5031
|
"use strict";
|
|
5032
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.widget.model\n }\n }, [_c(\"a-input\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n disabled: _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n \"read-only\": \"\"\n },\n nativeOn: {\n click: function ($event) {\n return _vm.openModal.apply(null, arguments);\n }\n },\n model: {\n value: _vm.userNames,\n callback: function ($$v) {\n _vm.userNames = $$v;\n },\n expression: \"userNames\"\n }\n }, [_c(\"a-icon\", {\n attrs: {\n slot: \"prefix\",\n type: \"user\",\n title: \"用户选择\"\n },\n slot: \"prefix\"\n }), !_vm.widget.options.disabled ? _c(\"a-icon\", {\n staticStyle: {\n cursor: \"pointer\"\n },\n attrs: {\n slot: \"suffix\",\n type: \"close-circle\",\n title: \"清空\"\n },\n nativeOn: {\n click: function ($event) {\n $event.stopPropagation();\n return _vm.handleEmpty.apply(null, arguments);\n }\n },\n slot: \"suffix\"\n }) : _vm._e()], 1), _c(\"div\", {\n class: _vm.config.align,\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")])], 1), _c(\"el-select-user-by-role-modal\", {\n ref: \"elSelectUserByRoleModal\",\n on: {\n ok: _vm.handleOk\n }\n })], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/userSelectorByRole/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
5032
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; },\n/* harmony export */ \"staticRenderFns\": function() { return /* binding */ staticRenderFns; }\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _vm.widget ? _c(\"div\", {\n staticClass: \"custom_form_item\",\n style: {\n height: _vm.widget.options.height + \"px\"\n }\n }, [_c(\"a-form-model-item\", {\n ref: _vm.widget.model,\n attrs: {\n colon: false,\n \"label-col\": _vm.labelCol,\n wrapperCol: _vm.wrapperCol,\n prop: _vm.widget.model\n }\n }, [_c(\"a-input\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n disabled: _vm.isdisabled ? _vm.show : _vm.widget.options.disabled,\n placeholder: _vm.widget.options.placeholder,\n \"read-only\": \"\"\n },\n nativeOn: {\n click: function ($event) {\n return _vm.openModal.apply(null, arguments);\n }\n },\n model: {\n value: _vm.userNames,\n callback: function ($$v) {\n _vm.userNames = $$v;\n },\n expression: \"userNames\"\n }\n }, [_c(\"a-icon\", {\n attrs: {\n slot: \"prefix\",\n type: \"user\",\n title: \"用户选择\"\n },\n slot: \"prefix\"\n }), !_vm.widget.options.disabled ? _c(\"a-icon\", {\n staticStyle: {\n cursor: \"pointer\"\n },\n attrs: {\n slot: \"suffix\",\n type: \"close-circle\",\n title: \"清空\"\n },\n nativeOn: {\n click: function ($event) {\n $event.stopPropagation();\n return _vm.handleEmpty.apply(null, arguments);\n }\n },\n slot: \"suffix\"\n }) : _vm._e()], 1), _c(\"div\", {\n class: _vm.config.align,\n style: {\n color: this.config.color\n },\n attrs: {\n slot: \"label\"\n },\n slot: \"label\"\n }, [_vm._v(\" \" + _vm._s(_vm.widget.name) + \" \")])], 1), _c(\"el-select-user-by-role-modal\", {\n ref: \"elSelectUserByRoleModal\",\n on: {\n ok: _vm.handleOk\n }\n })], 1) : _vm._e();\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/userSelectorByRole/component.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
5033
5033
|
|
|
5034
5034
|
/***/ }),
|
|
5035
5035
|
|
|
@@ -5270,7 +5270,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _api
|
|
|
5270
5270
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5271
5271
|
|
|
5272
5272
|
"use strict";
|
|
5273
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/_core-js@3.27.1@core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! pubsub-js */ \"./node_modules/_pubsub-js@1.9.4@pubsub-js/src/pubsub.js\");\n/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(pubsub_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/api/manage */ \"./src/api/manage.js\");\n/* harmony import */ var _validateByApiMinxins__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./validateByApiMinxins */ \"./src/form/mixins/validateByApiMinxins.js\");\n\n/****\n *widgetMixins\n */\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n inject: {\n config: {\n from: 'config',\n default: undefined\n },\n formId: {\n from: 'formId',\n default: undefined\n },\n formDataId: {\n from: 'formDataId',\n default: undefined\n },\n isDraft: {\n from: 'isDraft',\n default: false\n }\n },\n mixins: [_validateByApiMinxins__WEBPACK_IMPORTED_MODULE_3__[\"default\"]],\n data() {\n return {\n pubsubSign: null,\n labelCol: {\n style: {\n width: \"100px\",\n background: this.config.bgc,\n color: this.config.color,\n borderColor: this.config.borderColor\n // borderBottomWidth: \"1px\",\n }\n },\n\n //label样式\n wrapperCol: {\n style: {\n width: \"calc(100% - 100px)\",\n borderColor: this.config.borderColor\n }\n },\n //item 样式\n tableData: {}\n };\n },\n props: {\n showLabel: {\n type: Boolean\n },\n rules: {\n type: Object\n },\n tableKey: {\n type: String,\n default: \"\"\n },\n tableIndex: {\n type: [String, Number],\n default: \"\"\n },\n widget: {\n type: Object,\n default: () => {\n return {};\n }\n },\n value: {\n type: [String, Number, Array, Object]\n },\n models: {\n type: Object,\n default: () => {\n return {};\n }\n }\n },\n beforeMount() {\n let widget = this.widget;\n let model = this.widget.model;\n if (widget.options.onlyvalue && widget.options.onlyvalue === true) {\n let rule = {\n validator: this.validateonly,\n trigger: ['date', 'time'].includes(widget.type) ? 'change' : \"blur\"\n };\n let tableKey = this.tableKey;\n if (tableKey) {\n //防止重复添加 (可优化)\n if (this.rules[tableKey][model].isonlyvalue) return false;\n this.rules[tableKey][model].push(rule);\n this.rules[tableKey][model].isonlyvalue = true;\n } else {\n if (this.rules[model].isonlyvalue) return false;\n this.rules[model].push(rule);\n this.rules[model].isonlyvalue = true;\n }\n }\n },\n created() {\n this.minxsInit(); //混入初始化\n },\n\n computed: {\n currRules() {\n if (!this.rules) return [];\n return this.tableKey ? this.rules[this.tableKey][this.widget.model] : this.rules[this.widget.model];\n },\n getbgc: function () {\n //计算颜色\n return this.config.bgc;\n },\n getcolor: function () {\n //计算字体颜色\n return this.config.color;\n }\n },\n watch: {\n models: {\n deep: true,\n handler(val) {\n let tableKey = this.tableKey;\n if (tableKey) {\n //处理子表单删除行的时候 值未更新\n if (this.tableData[tableKey] == undefined) {\n this.$set(this.tableData, tableKey, {});\n this.tableData[tableKey].length = this.models[tableKey].length;\n }\n if (this.models[tableKey].length < this.tableData[tableKey].length) {\n this.dataModel = this.models[tableKey][this.tableIndex][this.widget.model];\n }\n this.tableData[tableKey].length = this.models[tableKey].length;\n }\n }\n },\n \"widget.options.labelWidth\"(val) {\n //监听labelWidth\n this.updatelabelWidth(this.tableKey && !this.showLabel ? 0 : val);\n },\n config(val) {},\n getbgc: {\n handler(newVal, objVal) {\n this.labelCol.style.background = newVal; //颜色赋值\n }\n },\n\n \"config.bgc\"(val) {},\n getcolor: {\n //字体赋值\n handler(newVal, objVal) {\n this.labelCol.style.color = newVal;\n }\n }\n },\n methods: {\n publish: (pubsub_js__WEBPACK_IMPORTED_MODULE_1___default().publish),\n // 发布方法\n parseInt: parseInt,\n // 取整\n toFixed(num, length = 2, type = 1) {\n // 保留几位小数 默认number类型,为了部分校验\n var num = Number(num).toFixed(length);\n return type ? Number(num) : num;\n },\n updateModelByModelsChange() {\n try {\n //防止设计表单缺少models报错\n this.dataModel = this.tableKey ? this.models[this.tableKey][this.tableIndex][this.widget.model] : this.models[this.widget.model];\n if (this.widget.options.disabled) {\n // 审核状态下 不提示placeholder\n this.widget.options.placeholder = \"\";\n }\n } catch (error) {}\n },\n //时间比较\n // validateTime(rule, value, callback) {\n // // setTimeout(() => {\n // let options = this.widget.options\n // console.log(value)\n // let time = this.tableKey\n // ? this.models[this.tableKey][this.tableIndex][options.conditionValue] : this.models[options.conditionValue]\n // if (!value || !time) {\n // callback()\n // }\n // if (options.condition == '小于') {\n // if (moment(value).unix() < moment(time).unix()) {\n // callback()\n // }\n // else {\n // callback(new Error(\"开始时间必须小于结束时间\"));\n // }\n // }\n // else {\n // if (moment(value).unix() > moment(time).unix()) {\n // callback()\n // }\n // else {\n // callback(new Error(\"开始时间必须小于结束时间\"));\n // }\n // }\n // })\n\n // },\n onDateChange(val) {\n if (this.tableKey) {\n this.models[this.tableKey][this.tableIndex][this.widget.model] = val;\n } else {\n this.models[this.widget.model] = val;\n }\n },\n resetDataModel() {\n this.dataModel = \"\"; //部分组件重置dataModel 需要重写\n },\n\n //混入初始化\n minxsInit() {\n this.updateModelByModelsChange();\n //如果是子表单元素 label 宽度为0 border为0\n this.updatelabelWidth(this.tableKey && !this.showLabel ? 0 : this.widget.options.labelWidth);\n this.pubsubScribe(); //订阅消息\n },\n\n /**\n * @description 订阅消息\n * @return void\n */\n pubsubScribe() {\n let subscribeKey = this.widget.options.subscribeOptions ? this.widget.options.subscribeOptions.subscribeKey : \"\";\n if (subscribeKey) {\n let tableIndex = this.tableIndex; //子表单联动\n subscribeKey = this.tableKey ? tableIndex + '_' + subscribeKey : subscribeKey;\n let timecount = 0;\n if (subscribeKey == 'time') {\n console.log('timecount', ++timecount);\n }\n this.pubsubSign = pubsub_js__WEBPACK_IMPORTED_MODULE_1___default().subscribe(subscribeKey, (msg, data) => {\n console.log('isClickByUser', data.isClickByUser);\n if (data.hasOwnProperty('updateModel') && data.updateModel) {\n // 用于脚本里面精准更新model 避免通过监听models值来更新 model\n this.updateModelByPulish(data.value);\n return false;\n }\n\n // 订阅者接受指定 当data对象具有method属性时候 通过策略模式处理相关方法\n if (data.hasOwnProperty(\"method\")) {\n console.log(\"method==\");\n try {\n this[data.method](data.args);\n } catch (error) {}\n return false;\n }\n this.updateModelByScript(data, data.msg);\n });\n }\n },\n /***\n * @description 更新联动方法\n * @params { data } 联动规则\n * @params { list } Array String Number 是否是用户手动触发\n */\n updateModelByScript(data, list) {\n var that = this;\n that.isClickByUser = data.isClickByUser; //是否是用户点击\n that.isDraft = data.isDraft; //是否是草稿\n try {\n eval(data.operateValue);\n } catch (error) {\n console.log(error);\n }\n },\n /**\n * @description 发布消息\n * @params { string/number/object } val 发布的内容\n * @params { bollean } isClickByUser 是否是用户手动触发\n * @return void\n */\n pulishMsg(val, isClickByUser = false) {\n let relateOptions = this.widget.options.relateOptions;\n if (relateOptions && relateOptions.length > 0) {\n relateOptions.forEach((item, index) => {\n let publishKey = this.tableKey ? this.tableIndex + '_' + item.publishKey : item.publishKey; //子表单联动\n if (item.isTableChild === false) publishKey = item.publishKey; // 非子表单; false 兼容之前的逻辑; 之前为 \"\"\n console.log(\"pul--form\" + index);\n pubsub_js__WEBPACK_IMPORTED_MODULE_1___default().publish(publishKey, {\n ...item,\n msg: val,\n isClickByUser\n });\n });\n }\n },\n //更新labelWidth\n updatelabelWidth(val) {\n if (!val && val !== 0) return false;\n this.labelCol.style.width = val + \"px\";\n this.wrapperCol.style.width = \"calc(100% - \" + val + \"px)\";\n if (val == 0) {\n this.labelCol.style.border = 0;\n }\n },\n //唯一值校验\n validateonly(rule, value, callback) {\n if (value) {\n let params = {\n formId: this.formId,\n model: this.widget.model,\n value: this.models\n };\n if (typeof this.formDataId == 'object' && this.formDataId.id) {\n params.formDataId = this.formDataId.id;\n } else if (typeof this.formDataId == 'string') {\n params.formDataId = this.formDataId;\n } else {\n params.formDataId = '';\n }\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_2__.getAction)(this.widget.options.onlyurl, params).then(res => {\n if (res.result) {\n callback(new Error(res.message));\n } else {\n callback();\n }\n });\n } else {\n callback();\n }\n },\n // 通过消息发布 改变dataModel\n updateModelByPulish(value) {\n if (value == undefined || value == null) {\n return false;\n }\n this.dataModel = value;\n },\n resetByflag(flag) {\n if (flag) {\n this.resetDataModel();\n }\n }\n },\n beforeDestroy() {\n // 子表单某一行销毁后需要重新更新脚本\n if (this.tableKey) this.pulishMsg(\"\");\n },\n destroyed() {\n if (this.pubsubSign) {\n pubsub_js__WEBPACK_IMPORTED_MODULE_1___default().unsubscribe(this.pubsubSign);\n }\n }\n});\n\n//# sourceURL=webpack://form-component/./src/form/mixins/widgetMixins.js?");
|
|
5273
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/_core-js@3.27.1@core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! pubsub-js */ \"./node_modules/_pubsub-js@1.9.4@pubsub-js/src/pubsub.js\");\n/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(pubsub_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/api/manage */ \"./src/api/manage.js\");\n/* harmony import */ var _validateByApiMinxins__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./validateByApiMinxins */ \"./src/form/mixins/validateByApiMinxins.js\");\n\n/****\n *widgetMixins\n */\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n inject: {\n config: {\n from: 'config',\n default: undefined\n },\n formId: {\n from: 'formId',\n default: undefined\n },\n formDataId: {\n from: 'formDataId',\n default: undefined\n },\n isDraft: {\n from: 'isDraft',\n default: false\n }\n },\n mixins: [_validateByApiMinxins__WEBPACK_IMPORTED_MODULE_3__[\"default\"]],\n data() {\n return {\n pubsubSign: null,\n show: false,\n labelCol: {\n style: {\n width: \"100px\",\n background: this.config.bgc,\n color: this.config.color,\n borderColor: this.config.borderColor\n // borderBottomWidth: \"1px\",\n }\n },\n\n //label样式\n wrapperCol: {\n style: {\n width: \"calc(100% - 100px)\",\n borderColor: this.config.borderColor\n }\n },\n //item 样式\n tableData: {}\n };\n },\n props: {\n showLabel: {\n type: Boolean\n },\n rules: {\n type: Object\n },\n tableKey: {\n type: String,\n default: \"\"\n },\n tableIndex: {\n type: [String, Number],\n default: \"\"\n },\n widget: {\n type: Object,\n default: () => {\n return {};\n }\n },\n value: {\n type: [String, Number, Array, Object]\n },\n isdisabled: {\n type: String,\n default: ''\n },\n models: {\n type: Object,\n default: () => {\n return {};\n }\n }\n },\n beforeMount() {\n let widget = this.widget;\n let model = this.widget.model;\n if (widget.options.onlyvalue && widget.options.onlyvalue === true) {\n let rule = {\n validator: this.validateonly,\n trigger: ['date', 'time'].includes(widget.type) ? 'change' : \"blur\"\n };\n let tableKey = this.tableKey;\n if (tableKey) {\n //防止重复添加 (可优化)\n if (this.rules[tableKey][model].isonlyvalue) return false;\n this.rules[tableKey][model].push(rule);\n this.rules[tableKey][model].isonlyvalue = true;\n } else {\n if (this.rules[model].isonlyvalue) return false;\n this.rules[model].push(rule);\n this.rules[model].isonlyvalue = true;\n }\n }\n // 时间比较增加校验规则\n if (widget.options.condition && widget.options.conditionValue) {\n if (this.tableKey) {\n if (this.rules[this.tableKey][this.widget.model].isvalidator) return false;\n this.rules[this.tableKey][this.widget.model].push({\n validator: this.validateTime,\n trigger: ['date', 'time'].includes(this.widget.type) ? 'change' : \"blur\"\n });\n this.rules[this.tableKey][this.widget.model].isvalidator = true;\n } else {\n if (this.rules[this.widget.model].isvalidator) return false;\n this.rules[this.widget.model].push({\n validator: this.validateTime,\n trigger: ['date', 'time'].includes(this.widget.type) ? 'change' : \"blur\"\n });\n this.rules[this.widget.model].isvalidator = true;\n }\n }\n },\n created() {\n this.minxsInit(); //混入初始化\n },\n\n computed: {\n currRules() {\n if (!this.rules) return [];\n return this.tableKey ? this.rules[this.tableKey][this.widget.model] : this.rules[this.widget.model];\n },\n getbgc: function () {\n //计算颜色\n return this.config.bgc;\n },\n getcolor: function () {\n //计算字体颜色\n return this.config.color;\n }\n },\n watch: {\n models: {\n deep: true,\n handler(val) {\n let tableKey = this.tableKey;\n if (tableKey) {\n //处理子表单删除行的时候 值未更新\n if (this.tableData[tableKey] == undefined) {\n this.$set(this.tableData, tableKey, {});\n this.tableData[tableKey].length = this.models[tableKey].length;\n }\n if (this.models[tableKey].length < this.tableData[tableKey].length) {\n this.dataModel = this.models[tableKey][this.tableIndex][this.widget.model];\n }\n this.tableData[tableKey].length = this.models[tableKey].length;\n }\n }\n },\n \"widget.options.labelWidth\"(val) {\n //监听labelWidth\n this.updatelabelWidth(this.tableKey && !this.showLabel ? 0 : val);\n },\n config(val) {},\n getbgc: {\n handler(newVal, objVal) {\n this.labelCol.style.background = newVal; //颜色赋值\n }\n },\n\n \"config.bgc\"(val) {},\n getcolor: {\n //字体赋值\n handler(newVal, objVal) {\n this.labelCol.style.color = newVal;\n }\n }\n },\n methods: {\n publish: (pubsub_js__WEBPACK_IMPORTED_MODULE_1___default().publish),\n // 发布方法\n parseInt: parseInt,\n // 取整\n toFixed(num, length = 2, type = 1) {\n // 保留几位小数 默认number类型,为了部分校验\n var num = Number(num).toFixed(length);\n return type ? Number(num) : num;\n },\n getRules() {\n try {\n if (this.widget.options.canView == false) {\n this.rules[this.widget.model].forEach(item => {\n if (item.required && item.required == true) {\n item.required = false;\n }\n });\n }\n } catch (error) {}\n // console.log(this.rules)\n },\n\n updateModelByModelsChange() {\n try {\n //防止设计表单缺少models报错\n this.dataModel = this.tableKey ? this.models[this.tableKey][this.tableIndex][this.widget.model] : this.models[this.widget.model];\n if (this.widget.options.disabled) {\n // 审核状态下 不提示placeholder\n this.widget.options.placeholder = \"\";\n }\n } catch (error) {}\n },\n //时间比较\n validateTime(rule, value, callback) {\n // setTimeout(() => {\n let options = this.widget.options;\n console.log(value);\n let time = this.tableKey ? this.models[this.tableKey][this.tableIndex][options.conditionValue] : this.models[options.conditionValue];\n if (!value || !time) {\n callback();\n }\n if (options.condition == '小于') {\n if (moment(value).unix() < moment(time).unix()) {\n callback();\n } else {\n callback(new Error(\"开始时间必须小于结束时间\"));\n }\n } else {\n if (moment(value).unix() > moment(time).unix()) {\n callback();\n } else {\n callback(new Error(\"开始时间必须小于结束时间\"));\n }\n }\n // })\n },\n\n onDateChange(val) {\n if (this.tableKey) {\n this.models[this.tableKey][this.tableIndex][this.widget.model] = val;\n } else {\n this.models[this.widget.model] = val;\n }\n },\n resetDataModel() {\n this.dataModel = \"\"; //部分组件重置dataModel 需要重写\n },\n\n //混入初始化\n minxsInit() {\n this.updateModelByModelsChange();\n //如果是子表单元素 label 宽度为0 border为0\n this.updatelabelWidth(this.tableKey && !this.showLabel ? 0 : this.widget.options.labelWidth);\n this.pubsubScribe(); //订阅消息\n },\n\n /**\n * @description 订阅消息\n * @return void\n */\n pubsubScribe() {\n let subscribeKey = this.widget.options.subscribeOptions ? this.widget.options.subscribeOptions.subscribeKey : \"\";\n if (subscribeKey) {\n let tableIndex = this.tableIndex; //子表单联动\n subscribeKey = this.tableKey ? tableIndex + '_' + subscribeKey : subscribeKey;\n let timecount = 0;\n if (subscribeKey == 'time') {\n console.log('timecount', ++timecount);\n }\n this.pubsubSign = pubsub_js__WEBPACK_IMPORTED_MODULE_1___default().subscribe(subscribeKey, (msg, data) => {\n console.log('isClickByUser', data.isClickByUser);\n if (data.hasOwnProperty('updateModel') && data.updateModel) {\n // 用于脚本里面精准更新model 避免通过监听models值来更新 model\n this.updateModelByPulish(data.value);\n return false;\n }\n\n // 订阅者接受指定 当data对象具有method属性时候 通过策略模式处理相关方法\n if (data.hasOwnProperty(\"method\")) {\n console.log(\"method==\");\n try {\n this[data.method](data.args);\n } catch (error) {}\n return false;\n }\n this.updateModelByScript(data, data.msg);\n });\n }\n },\n /***\n * @description 更新联动方法\n * @params { data } 联动规则\n * @params { list } Array String Number 是否是用户手动触发\n */\n updateModelByScript(data, list) {\n var that = this;\n that.isClickByUser = data.isClickByUser; //是否是用户点击\n that.isDraft = data.isDraft; //是否是草稿\n try {\n eval(data.operateValue);\n } catch (error) {\n console.log(error);\n }\n },\n /**\n * @description 发布消息\n * @params { string/number/object } val 发布的内容\n * @params { bollean } isClickByUser 是否是用户手动触发\n * @return void\n */\n pulishMsg(val, isClickByUser = false) {\n let relateOptions = this.widget.options.relateOptions;\n if (relateOptions && relateOptions.length > 0) {\n relateOptions.forEach((item, index) => {\n let publishKey = this.tableKey ? this.tableIndex + '_' + item.publishKey : item.publishKey; //子表单联动\n if (item.isTableChild === false) publishKey = item.publishKey; // 非子表单; false 兼容之前的逻辑; 之前为 \"\"\n console.log(\"pul--form\" + index);\n pubsub_js__WEBPACK_IMPORTED_MODULE_1___default().publish(publishKey, {\n ...item,\n msg: val,\n isClickByUser,\n isDraft: this.isDraft\n });\n });\n }\n },\n updateStatusByScribe(data, status, flag) {\n if ([\"string\", \"number\"].includes(typeof data.msg)) {\n if (data.operateValue.split(\",\").includes(data.msg)) {\n this.widget.options[status] = flag;\n this.resetByflag(flag);\n } else {\n this.widget.options[status] = !flag;\n this.resetByflag(!flag);\n }\n } else {\n //暂时实现等于条件;其他 >= != <= 未实现|只包括单选 (2021.2.03/czj)\n let _string = data.operateValue.split(\"==\");\n let _sub = _string[0];\n let _arr = _string[1].split(\",\");\n if (_sub) {\n if (_arr.includes(data.msg[0] ? data.msg[0][_sub] : \"\")) {\n //清空 状态还原 data.msg 为 []\n this.widget.options[status] = flag;\n this.resetByflag(flag);\n //禁用和隐藏 重置 组件的dataModel;\n } else {\n this.widget.options[status] = !flag;\n this.resetByflag(!flag);\n }\n }\n }\n },\n updateModelByScribe(data) {\n let values = data.msg;\n let labelArr = data.operateValue.split(\",\");\n if (Array.isArray(values)) {\n if (values.length == 0) {\n this.dataModel = \"\";\n return false;\n }\n let labelsStr = \"\";\n let splitSign = labelArr.length > 0 ? \"/\" : \"\";\n values.forEach(item => {\n let _labelStr = \"\";\n labelArr.forEach(i => {\n if (item[i] != undefined || item[i] != null) {\n _labelStr += splitSign + item[i];\n }\n });\n if (splitSign) {\n _labelStr = _labelStr.substring(1);\n }\n labelsStr += \",\" + _labelStr;\n });\n this.dataModel = labelsStr.substring(1);\n }\n },\n //更新labelWidth\n updatelabelWidth(val) {\n if (!val && val !== 0) return false;\n this.labelCol.style.width = val + \"px\";\n this.wrapperCol.style.width = \"calc(100% - \" + val + \"px)\";\n if (val == 0) {\n this.labelCol.style.border = 0;\n }\n },\n //唯一值校验\n validateonly(rule, value, callback) {\n if (value) {\n let params = {\n formId: this.formId,\n model: this.widget.model,\n value: this.models\n };\n if (typeof this.formDataId == 'object' && this.formDataId.id) {\n params.formDataId = this.formDataId.id;\n } else if (typeof this.formDataId == 'string') {\n params.formDataId = this.formDataId;\n } else {\n params.formDataId = '';\n }\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_2__.getAction)(this.widget.options.onlyurl, params).then(res => {\n if (res.result) {\n callback(new Error(res.message));\n } else {\n callback();\n }\n });\n } else {\n callback();\n }\n },\n // 通过消息发布 改变dataModel\n updateModelByPulish(value) {\n if (value == undefined || value == null) {\n return false;\n }\n this.dataModel = value;\n },\n resetByflag(flag) {\n if (flag) {\n this.resetDataModel();\n }\n }\n },\n beforeDestroy() {\n // 子表单某一行销毁后需要重新更新脚本\n if (this.tableKey) this.pulishMsg(\"\");\n },\n destroyed() {\n if (this.pubsubSign) {\n pubsub_js__WEBPACK_IMPORTED_MODULE_1___default().unsubscribe(this.pubsubSign);\n }\n }\n});\n\n//# sourceURL=webpack://form-component/./src/form/mixins/widgetMixins.js?");
|
|
5274
5274
|
|
|
5275
5275
|
/***/ }),
|
|
5276
5276
|
|
|
@@ -5644,7 +5644,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _com
|
|
|
5644
5644
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5645
5645
|
|
|
5646
5646
|
"use strict";
|
|
5647
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"advanceComponents\": function() { return /* binding */ advanceComponents; },\n/* harmony export */ \"basicComponents\": function() { return /* binding */ basicComponents; },\n/* harmony export */ \"layoutComponents\": function() { return /* binding */ layoutComponents; },\n/* harmony export */ \"specComponents\": function() { return /* binding */ specComponents; }\n/* harmony export */ });\nconst defaultConfig = {\n height: 50 //基础高度 ,组件高度与此高度有倍数关系\n};\n\nconst basicComponents = [{\n type: 'input',\n name: '单行文本',\n icon: 'icon-input',\n options: {\n width: '100%',\n height: defaultConfig.height,\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\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: defaultConfig.height * 2,\n defaultValue: '',\n required: false,\n defauldisabled: false,\n disabled: false,\n pattern: '',\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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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: '',\n conditionValue: ''\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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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 height: defaultConfig.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 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: defaultConfig.height * 2.5,\n domain: window._CONFIG['formActionURL'],\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 domain: window._CONFIG['domianURL'],\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',\n height: '',\n options: {\n defaultValue: [],\n action: '/sys/common/upload',\n tokenFunc: 'funcGetToken',\n token: '',\n height: defaultConfig.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: defaultConfig.height,\n placeholder: '',\n defauldisabled: false,\n disabled: false,\n defaulcanView: true,\n canView: true,\n clearable: false,\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 canEdit: true,\n canCorrect: true\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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.height\n }\n}, {\n type: 'localtion',\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: defaultConfig.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: defaultConfig.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: defaultConfig.height\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: defaultConfig.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 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 platform: '',\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: defaultConfig.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 }\n}];\n\n//# sourceURL=webpack://form-component/./src/form/modules/componentsConfig.js?");
|
|
5647
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"advanceComponents\": function() { return /* binding */ advanceComponents; },\n/* harmony export */ \"basicComponents\": function() { return /* binding */ basicComponents; },\n/* harmony export */ \"layoutComponents\": function() { return /* binding */ layoutComponents; },\n/* harmony export */ \"specComponents\": function() { return /* binding */ specComponents; }\n/* harmony export */ });\nconst defaultConfig = {\n height: 50 //基础高度 ,组件高度与此高度有倍数关系\n};\n\nconst basicComponents = [{\n type: 'input',\n name: '单行文本',\n icon: 'icon-input',\n options: {\n width: '100%',\n height: defaultConfig.height,\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\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: defaultConfig.height * 2,\n defaultValue: '',\n required: false,\n defauldisabled: false,\n disabled: false,\n pattern: '',\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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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: '',\n conditionValue: ''\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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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 height: defaultConfig.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 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: defaultConfig.height * 2.5,\n domain: window._CONFIG['formActionURL'],\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 domain: window._CONFIG['domianURL'],\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',\n height: '',\n options: {\n defaultValue: [],\n action: '/sys/common/upload',\n tokenFunc: 'funcGetToken',\n token: '',\n height: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.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: defaultConfig.height\n }\n}, {\n type: 'localtion',\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: defaultConfig.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: defaultConfig.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: defaultConfig.height\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: defaultConfig.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 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 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: defaultConfig.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 }\n}];\n\n//# sourceURL=webpack://form-component/./src/form/modules/componentsConfig.js?");
|
|
5648
5648
|
|
|
5649
5649
|
/***/ }),
|
|
5650
5650
|
|
|
@@ -5710,7 +5710,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
5710
5710
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5711
5711
|
|
|
5712
5712
|
"use strict";
|
|
5713
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"filterObj\": function() { return /* binding */ filterObj; }
|
|
5713
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"filterObj\": function() { return /* binding */ filterObj; }\n/* harmony export */ });\n/**\n * 过滤对象中为空的属性\n * @param obj\n * @returns {*}\n */\nfunction filterObj(obj) {\n if (!(typeof obj == 'object')) {\n return;\n }\n for (var key in obj) {\n if (obj.hasOwnProperty(key) && (obj[key] == null || obj[key] == undefined)) {\n delete obj[key];\n }\n }\n return obj;\n}\n\n//# sourceURL=webpack://form-component/./src/utils/util.js?");
|
|
5714
5714
|
|
|
5715
5715
|
/***/ }),
|
|
5716
5716
|
|
|
@@ -5809,7 +5809,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
|
5809
5809
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5810
5810
|
|
|
5811
5811
|
"use strict";
|
|
5812
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_6_7_3_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/_css-loader@6.7.3@css-loader/dist/runtime/noSourceMaps.js */ \"./node_modules/_css-loader@6.7.3@css-loader/dist/runtime/noSourceMaps.js\");\n/* harmony import */ var _node_modules_css_loader_6_7_3_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_6_7_3_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_6_7_3_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/_css-loader@6.7.3@css-loader/dist/runtime/api.js */ \"./node_modules/_css-loader@6.7.3@css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_6_7_3_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_6_7_3_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_6_7_3_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_6_7_3_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"\\n[data-v-3da07c95] .ant-form-item-control-wrapper {\\n border: none !important;\\n}\\n[data-v-3da07c95] .ant-form-item {\\n display: flex;\\n}\\n[data-v-3da07c95] .ant-form-item-label {\\n border: none !important;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/common/CorrectionModal.vue?./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use%5B1%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use%5B2%5D!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
5812
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_6_7_3_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/_css-loader@6.7.3@css-loader/dist/runtime/noSourceMaps.js */ \"./node_modules/_css-loader@6.7.3@css-loader/dist/runtime/noSourceMaps.js\");\n/* harmony import */ var _node_modules_css_loader_6_7_3_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_6_7_3_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_6_7_3_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/_css-loader@6.7.3@css-loader/dist/runtime/api.js */ \"./node_modules/_css-loader@6.7.3@css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_6_7_3_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_6_7_3_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_6_7_3_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_6_7_3_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"\\n[data-v-3da07c95] .ant-form-item-control-wrapper {\\n border: none !important;\\n}\\n[data-v-3da07c95] .ant-form-item {\\n display: flex;\\n}\\n[data-v-3da07c95] .ant-form-item-label {\\n border: none !important;\\n}\\n[data-v-3da07c95] .custom_form_item .ant-form-item {\\n margin-bottom: 0;\\n}\\n[data-v-3da07c95] .ant-form-item,[data-v-3da07c95] .custom_form_item {\\n height: -moz-max-content !important;\\n height: max-content !important;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/common/CorrectionModal.vue?./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use%5B1%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use%5B2%5D!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use%5B3%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
5813
5813
|
|
|
5814
5814
|
/***/ }),
|
|
5815
5815
|
|
|
@@ -12325,7 +12325,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_vue__;
|
|
|
12325
12325
|
/***/ (function(module) {
|
|
12326
12326
|
|
|
12327
12327
|
"use strict";
|
|
12328
|
-
eval("module.exports = JSON.parse('{\"name\":\"@zscreate/form-component\",\"version\":\"1.0.
|
|
12328
|
+
eval("module.exports = JSON.parse('{\"name\":\"@zscreate/form-component\",\"version\":\"1.0.17\",\"private\":false,\"description\":\"\",\"main\":\"dist/form-component.umd.js\",\"unpkg\":\"dist/form-component.umd.js\",\"scripts\":{\"build\":\"vue-cli-service build --target lib --name form-component src/main.js --formats umd --report\",\"build:watch\":\"vue-cli-service build --target lib --name form-component src/main.js --formats umd --watch\"},\"exports\":{\".\":{\"import\":{\"default\":\"./dist/form-component.umd.js\"},\"require\":\"./dist/form-component.common.js\"}},\"publishConfig\":{\"access\":\"public\",\"registry\":\"https://registry.npmjs.org/\"},\"files\":[\"/dist/*\"],\"exclude\":[\"node_modules\"],\"keywords\":[],\"author\":\"\",\"license\":\"ISC\",\"dependencies\":{\"core-js\":\"^3.8.3\",\"vue\":\"^2.6.14\",\"pubsub-js\":\"^1.9.3\",\"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\",\"vuedraggable\":\"^2.24.3\",\"moment\":\"^2.29.1\"},\"devDependencies\":{\"clipboard\":\"2.0.4\",\"codemirror\":\"^5.46.0\",\"vue-codemirror\":\"^4.0.6\",\"@vue/cli-plugin-babel\":\"~5.0.0\",\"@vue/cli-service\":\"~5.0.0\",\"vue-template-compiler\":\"^2.6.14\",\"less\":\"^3.0.4\",\"less-loader\":\"^5.0.0\",\"node-sass\":\"^4.11.0\",\"sass-loader\":\"^7.0.1\"}}');\n\n//# sourceURL=webpack://form-component/./package.json?");
|
|
12329
12329
|
|
|
12330
12330
|
/***/ })
|
|
12331
12331
|
|