@zscreate/form-component 1.1.221-test.6 → 1.1.221-test.8
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.css
CHANGED
|
@@ -2299,39 +2299,42 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
2299
2299
|
align-items: center;
|
|
2300
2300
|
}
|
|
2301
2301
|
|
|
2302
|
-
.title[data-v-
|
|
2302
|
+
.title[data-v-49936cc4] {
|
|
2303
2303
|
text-overflow: ellipsis;
|
|
2304
2304
|
white-space: nowrap;
|
|
2305
2305
|
overflow: hidden;
|
|
2306
2306
|
max-width: 620px;
|
|
2307
2307
|
margin-right: 10px;
|
|
2308
2308
|
}
|
|
2309
|
-
.dataTableSet[data-v-
|
|
2309
|
+
.dataTableSet[data-v-49936cc4] .ant-table-placeholder {
|
|
2310
2310
|
border-left: none !important;
|
|
2311
2311
|
border-right: none !important;
|
|
2312
2312
|
border-bottom: none !important;
|
|
2313
2313
|
padding: 0 !important;
|
|
2314
2314
|
padding-top: var(--paddingTop) !important;
|
|
2315
2315
|
}
|
|
2316
|
-
.dataSetFormItem[data-v-
|
|
2316
|
+
.dataSetFormItem[data-v-49936cc4] .ant-form-item-control {
|
|
2317
2317
|
margin: 0 !important;
|
|
2318
2318
|
width: 100% !important;
|
|
2319
2319
|
}
|
|
2320
|
-
.dataSetFormItem[data-v-
|
|
2320
|
+
.dataSetFormItem[data-v-49936cc4] .ant-form-item-control-wrapper {
|
|
2321
2321
|
display: initial !important;
|
|
2322
2322
|
}
|
|
2323
|
-
.dataTableSet[data-v-
|
|
2323
|
+
.dataTableSet[data-v-49936cc4] table {
|
|
2324
2324
|
border-left: none !important;
|
|
2325
2325
|
border-right: none !important;
|
|
2326
2326
|
}
|
|
2327
|
-
.dataSetFormItem[data-v-
|
|
2327
|
+
.dataSetFormItem[data-v-49936cc4] .ant-form-explain {
|
|
2328
2328
|
top: 49px !important;
|
|
2329
2329
|
left: 50% !important;
|
|
2330
2330
|
}
|
|
2331
|
-
.
|
|
2331
|
+
.dataSetFormItem[data-v-49936cc4] .ant-form-item-control-wrapper {
|
|
2332
|
+
width: 100% !important;
|
|
2333
|
+
}
|
|
2334
|
+
.dataTableSet[data-v-49936cc4] .ant-table-tbody tr td:last-child {
|
|
2332
2335
|
border-right: none !important;
|
|
2333
2336
|
}
|
|
2334
|
-
.dataTableSet[data-v-
|
|
2337
|
+
.dataTableSet[data-v-49936cc4] .ant-table-thead tr th:last-child {
|
|
2335
2338
|
border-right: none !important;
|
|
2336
2339
|
}
|
|
2337
2340
|
|
|
@@ -343,7 +343,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
343
343
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
344
344
|
|
|
345
345
|
"use strict";
|
|
346
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/api/manage */ \"./src/api/manage.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n name: \"formDataBindModal\",\n data() {\n return {\n queryParam: {},\n visible: false,\n confirmLoading: false,\n pageTotal: 0,\n //分页\n simpleImage: \"\",\n value: \"\",\n optionData: [],\n radioStyle: {\n display: \"block\",\n height: \"30px\",\n lineHeight: \"30px\"\n },\n subList: [],\n subSearchList: [],\n subListItemName: \"\",\n subValue: \"\",\n url: {\n list: \"/rhptApp/dataComponentList\"\n },\n echoValue: []\n };\n },\n beforeCreate() {},\n methods: {\n init(type, widget) {\n console.log(widget);\n let {\n defaultValue\n } = widget.options;\n if (!defaultValue) defaultValue = '';\n const values = String(defaultValue).split(\",\");\n if (values.length > 2) {\n const [, one, two] = values;\n console.log(one, two);\n this.echoValue = [one, two];\n console.log(this.echoValue);\n }\n this.visible = true;\n this.resetForm();\n this.queryParam.componentType = type;\n this.getAppData();\n },\n getAppData() {\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_0__.getAction)(this.url.list, this.queryParam).then(res => {\n let result = res.result;\n if (res.success) {\n this.optionData = result.records;\n const [one, two] = this.echoValue;\n this.optionData.forEach((item, index) => {\n if (item.id == one) {\n this.value = one;\n this.subList = item.columnList;\n this.subSearchList = item.columnList;\n item.columnList.forEach((col, idx) => {\n if (col.model == two) {\n this.subValue = col.model;\n }\n });\n }\n });\n this.pageTotal = result.total;\n }\n });\n },\n resetForm() {\n this.value = \"\";\n this.subValue = \"\";\n this.optionData = [];\n this.subList = [];\n this.subSearchList = [];\n },\n onSearch(v) {\n this.value = \"\";\n this.subList = [];\n this.subSearchList = [];\n this.getAppData();\n },\n onSearch2(v) {\n console.log(v);\n this.subSearchList = this.subList.filter(item => item.name.indexOf(v) > -1);\n },\n onChange(e) {\n console.log(e);\n this.subValue = \"\";\n const find = this.optionData.find(item => String(item.id) === e.target.value).columnList;\n this.subList = find || [];\n this.subSearchList = find || [];\n },\n onChangeSub(e) {},\n pageChange(page, pageSize) {\n this.subList = [];\n this.subSearchList = [];\n if (this.value && this.subValue) {\n this.echoValue = [this.value, this.subValue];\n }\n this.queryParam.pageNo = page;\n this.queryParam.pageSize = pageSize;\n this.getAppData();\n },\n handleCancel() {\n this.colse();\n },\n handleOk() {\n if (!this.value || !this.subValue) {\n this.$message.warning(\"暂无匹配\");\n return;\n }\n let subStr = \"form,\" + this.value + \",\" + this.subValue;\n if (subStr) {\n this.$emit(\"okSubStr\", subStr);\n this.colse();\n }\n },\n colse() {\n this.visible = false;\n }\n }\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/common/Modals/formDataBindModal.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");
|
|
346
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/api/manage */ \"./src/api/manage.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n name: \"formDataBindModal\",\n data() {\n return {\n queryParam: {},\n visible: false,\n confirmLoading: false,\n pageTotal: 0,\n //分页\n simpleImage: \"\",\n value: \"\",\n optionData: [],\n radioStyle: {\n display: \"block\",\n height: \"30px\",\n lineHeight: \"30px\"\n },\n subList: [],\n subSearchList: [],\n subListItemName: \"\",\n subValue: \"\",\n url: {\n list: \"/rhptApp/dataComponentList\"\n },\n echoValue: []\n };\n },\n beforeCreate() {},\n methods: {\n init(type, widget) {\n console.log(widget);\n let {\n defaultValue\n } = widget.options;\n if (!defaultValue) defaultValue = '';\n const values = String(defaultValue).split(\",\");\n if (values.length > 2) {\n const [, one, two] = values;\n console.log(one, two);\n this.echoValue = [one, two];\n console.log(this.echoValue);\n }\n this.visible = true;\n this.resetForm();\n this.queryParam.componentType = type;\n this.getAppData();\n },\n getAppData() {\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_0__.getAction)(this.url.list, this.queryParam).then(res => {\n let result = res.result;\n if (res.success) {\n this.optionData = result.records;\n const [one, two] = this.echoValue;\n this.optionData.forEach((item, index) => {\n if (item.id == one) {\n this.value = one;\n this.subList = item.columnList;\n this.subSearchList = item.columnList;\n item.columnList.forEach((col, idx) => {\n if (col.model == two) {\n this.subValue = col.model;\n }\n });\n }\n });\n this.pageTotal = result.total;\n }\n });\n },\n resetForm() {\n this.value = \"\";\n this.subValue = \"\";\n this.optionData = [];\n this.subList = [];\n this.subSearchList = [];\n },\n onSearch(v) {\n this.value = \"\";\n this.subList = [];\n this.subSearchList = [];\n this.getAppData();\n },\n onSearch2(v) {\n console.log(v);\n this.subSearchList = this.subList.filter(item => item.name.indexOf(v) > -1);\n },\n onChange(e) {\n console.log(e);\n this.subValue = \"\";\n const find = this.optionData.find(item => String(item.id) === e.target.value).columnList;\n this.subList = find || [];\n this.subSearchList = find || [];\n this.subListItemName = '';\n },\n onChangeSub(e) {},\n pageChange(page, pageSize) {\n this.subList = [];\n this.subSearchList = [];\n if (this.value && this.subValue) {\n this.echoValue = [this.value, this.subValue];\n }\n this.queryParam.pageNo = page;\n this.queryParam.pageSize = pageSize;\n this.getAppData();\n },\n handleCancel() {\n this.colse();\n },\n handleOk() {\n if (!this.value || !this.subValue) {\n this.$message.warning(\"暂无匹配\");\n return;\n }\n let subStr = \"form,\" + this.value + \",\" + this.subValue;\n if (subStr) {\n this.$emit(\"okSubStr\", subStr);\n this.colse();\n }\n },\n colse() {\n this.visible = false;\n this.subListItemName = '';\n }\n }\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/common/Modals/formDataBindModal.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");
|
|
347
347
|
|
|
348
348
|
/***/ }),
|
|
349
349
|
|
|
@@ -1036,7 +1036,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
1036
1036
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1037
1037
|
|
|
1038
1038
|
"use strict";
|
|
1039
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _common_JDictSelectTag__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../common/JDictSelectTag */ \"./src/form/modules/common/JDictSelectTag.vue\");\n/* harmony import */ var _common_Modals_formDataBindModal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../common/Modals/formDataBindModal */ \"./src/form/modules/common/Modals/formDataBindModal.vue\");\n/* harmony import */ var _common_Modals_relateSubModal_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../common/Modals/relateSubModal.vue */ \"./src/form/modules/common/Modals/relateSubModal.vue\");\n/* harmony import */ var _common_Modals_defaultValueWithSql__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../common/Modals/defaultValueWithSql */ \"./src/form/modules/common/Modals/defaultValueWithSql.vue\");\n/* harmony import */ var _common_Modals_datasetManagement_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../common/Modals/datasetManagement.vue */ \"./src/form/modules/common/Modals/datasetManagement.vue\");\n/* harmony import */ var _util_Bus__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../util/Bus */ \"./src/form/util/Bus.js\");\n/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/api/manage */ \"./src/api/manage.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n name: \"widgetSetup\",\n components: {\n JDictSelectTag: _common_JDictSelectTag__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n formDataBindModal: _common_Modals_formDataBindModal__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n relateSubModal: _common_Modals_relateSubModal_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n defaultValueWithSql: _common_Modals_defaultValueWithSql__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n datasetManagement: _common_Modals_datasetManagement_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n },\n data() {\n return {\n rules: {},\n source: \"1\"\n };\n },\n props: {\n widget: {\n type: Object,\n default: function () {\n return {};\n }\n },\n datalist: {\n type: Array,\n default: () => {\n return [];\n }\n }\n },\n computed: {},\n created() {},\n mounted() {},\n methods: {\n setDateOk(val) {\n this.widget.options.defaultValue = \"defaultQuerySQL\";\n this.widget.options.defaultSQL = val;\n // this.getColumsList(val.querySql)\n },\n\n openDefaultValueWithSql() {\n this.$refs.datasetManagement.init(this.widget.options, true);\n },\n setDefalutValue(values) {\n this.widget.options.defaultValue = 'defaultQuerySQL';\n this.widget.options.defaultSQL = values;\n },\n showModal() {\n _util_Bus__WEBPACK_IMPORTED_MODULE_5__[\"default\"].$emit(\"getWidgetFormList\");\n this.$refs.relateSubModal.init();\n },\n input(val) {\n this.widget.options.defaultValue = val;\n },\n okSubStr(val) {\n this.widget.options.defaultValue = val;\n },\n openformDataBindModal() {\n this.$refs.formDataBindModal.init(\"input\", this.widget);\n }\n }\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Hidden/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/index.js??vue-loader-options");
|
|
1039
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _common_JDictSelectTag__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../common/JDictSelectTag */ \"./src/form/modules/common/JDictSelectTag.vue\");\n/* harmony import */ var _common_Modals_formDataBindModal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../common/Modals/formDataBindModal */ \"./src/form/modules/common/Modals/formDataBindModal.vue\");\n/* harmony import */ var _common_Modals_relateSubModal_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../common/Modals/relateSubModal.vue */ \"./src/form/modules/common/Modals/relateSubModal.vue\");\n/* harmony import */ var _common_Modals_defaultValueWithSql__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../common/Modals/defaultValueWithSql */ \"./src/form/modules/common/Modals/defaultValueWithSql.vue\");\n/* harmony import */ var _common_Modals_datasetManagement_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../common/Modals/datasetManagement.vue */ \"./src/form/modules/common/Modals/datasetManagement.vue\");\n/* harmony import */ var _util_Bus__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../util/Bus */ \"./src/form/util/Bus.js\");\n/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/api/manage */ \"./src/api/manage.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n name: \"widgetSetup\",\n components: {\n JDictSelectTag: _common_JDictSelectTag__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n formDataBindModal: _common_Modals_formDataBindModal__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n relateSubModal: _common_Modals_relateSubModal_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n defaultValueWithSql: _common_Modals_defaultValueWithSql__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n datasetManagement: _common_Modals_datasetManagement_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n },\n data() {\n return {\n rules: {},\n source: \"1\"\n };\n },\n props: {\n widget: {\n type: Object,\n default: function () {\n return {};\n }\n },\n datalist: {\n type: Array,\n default: () => {\n return [];\n }\n }\n },\n watch: {\n 'widget.options.source': {\n handler(val) {\n console.log(val);\n if (val) {\n this.source = this.widget.options.source;\n } else {\n this.source = '1';\n }\n },\n immediate: true\n }\n },\n computed: {},\n created() {},\n mounted() {},\n methods: {\n setDateOk(val) {\n this.widget.options.defaultValue = \"defaultQuerySQL\";\n this.widget.options.defaultSQL = val;\n // this.getColumsList(val.querySql)\n },\n\n openDefaultValueWithSql() {\n this.$refs.datasetManagement.init(this.widget.options, true);\n this.widget.options.source = this.source;\n },\n setDefalutValue(values) {\n this.widget.options.defaultValue = 'defaultQuerySQL';\n this.widget.options.defaultSQL = values;\n },\n showModal() {\n _util_Bus__WEBPACK_IMPORTED_MODULE_5__[\"default\"].$emit(\"getWidgetFormList\");\n this.$refs.relateSubModal.init();\n },\n changeFn(val) {\n this.widget.options.source = this.source;\n },\n input(val) {\n this.widget.options.defaultValue = val;\n this.widget.options.source = this.source;\n },\n okSubStr(val) {\n this.widget.options.defaultValue = val;\n },\n openformDataBindModal() {\n this.$refs.formDataBindModal.init(\"input\", this.widget);\n this.widget.options.source = this.source;\n }\n }\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Hidden/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/index.js??vue-loader-options");
|
|
1040
1040
|
|
|
1041
1041
|
/***/ }),
|
|
1042
1042
|
|
|
@@ -1146,7 +1146,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
1146
1146
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1147
1147
|
|
|
1148
1148
|
"use strict";
|
|
1149
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _common_JDictSelectTag__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../common/JDictSelectTag */ \"./src/form/modules/common/JDictSelectTag.vue\");\n/* harmony import */ var _common_Modals_formDataBindModal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../common/Modals/formDataBindModal */ \"./src/form/modules/common/Modals/formDataBindModal.vue\");\n/* harmony import */ var _common_Modals_relateSubModal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../common/Modals/relateSubModal */ \"./src/form/modules/common/Modals/relateSubModal.vue\");\n/* harmony import */ var _common_Modals_defaultValueWithSql__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../common/Modals/defaultValueWithSql */ \"./src/form/modules/common/Modals/defaultValueWithSql.vue\");\n/* harmony import */ var _common_Modals_datasetManagement_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../common/Modals/datasetManagement.vue */ \"./src/form/modules/common/Modals/datasetManagement.vue\");\n/* harmony import */ var _util_Bus__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../util/Bus */ \"./src/form/util/Bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n name: \"widgetSetup\",\n data() {\n return {\n rules: {},\n source: \"1\"\n };\n },\n props: {\n widget: {\n type: Object,\n default: function () {\n return {};\n }\n },\n datalist: {\n type: Array,\n default: () => {\n return [];\n }\n }\n },\n components: {\n JDictSelectTag: _common_JDictSelectTag__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n formDataBindModal: _common_Modals_formDataBindModal__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n relateSubModal: _common_Modals_relateSubModal__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n defaultValueWithSql: _common_Modals_defaultValueWithSql__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n datasetManagement: _common_Modals_datasetManagement_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n },\n computed: {},\n created() {},\n methods: {\n setDateOk(val) {\n this.widget.options.defaultValue = \"defaultQuerySQL\";\n this.widget.options.defaultSQL = val;\n // this.getColumsList(val.querySql)\n },\n\n openDefaultValueWithSql() {\n this.$refs.datasetManagement.init(this.widget.options, true);\n },\n setDefalutValue(values) {\n this.widget.options.defaultValue = 'defaultQuerySQL';\n this.widget.options.defaultSQL = values;\n },\n showModal() {\n _util_Bus__WEBPACK_IMPORTED_MODULE_5__[\"default\"].$emit(\"getWidgetFormList\");\n this.$refs.relateSubModal.init();\n },\n input(val) {\n this.widget.options.defaultValue = val;\n },\n okSubStr(val) {\n this.widget.options.defaultValue = val;\n },\n openformDataBindModal() {\n this.$refs.formDataBindModal.init(\"input\", this.widget);\n }\n }\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Input/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/index.js??vue-loader-options");
|
|
1149
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _common_JDictSelectTag__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../common/JDictSelectTag */ \"./src/form/modules/common/JDictSelectTag.vue\");\n/* harmony import */ var _common_Modals_formDataBindModal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../common/Modals/formDataBindModal */ \"./src/form/modules/common/Modals/formDataBindModal.vue\");\n/* harmony import */ var _common_Modals_relateSubModal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../common/Modals/relateSubModal */ \"./src/form/modules/common/Modals/relateSubModal.vue\");\n/* harmony import */ var _common_Modals_defaultValueWithSql__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../common/Modals/defaultValueWithSql */ \"./src/form/modules/common/Modals/defaultValueWithSql.vue\");\n/* harmony import */ var _common_Modals_datasetManagement_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../common/Modals/datasetManagement.vue */ \"./src/form/modules/common/Modals/datasetManagement.vue\");\n/* harmony import */ var _util_Bus__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../util/Bus */ \"./src/form/util/Bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n name: \"widgetSetup\",\n data() {\n return {\n rules: {},\n source: \"1\"\n };\n },\n props: {\n widget: {\n type: Object,\n default: function () {\n return {};\n }\n },\n datalist: {\n type: Array,\n default: () => {\n return [];\n }\n }\n },\n components: {\n JDictSelectTag: _common_JDictSelectTag__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n formDataBindModal: _common_Modals_formDataBindModal__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n relateSubModal: _common_Modals_relateSubModal__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n defaultValueWithSql: _common_Modals_defaultValueWithSql__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n datasetManagement: _common_Modals_datasetManagement_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n },\n watch: {\n 'widget.options.source': {\n handler(val) {\n console.log(val);\n if (val) {\n this.source = this.widget.options.source;\n } else {\n this.source = '1';\n }\n },\n immediate: true\n }\n },\n computed: {},\n created() {},\n methods: {\n setDateOk(val) {\n this.widget.options.defaultValue = \"defaultQuerySQL\";\n this.widget.options.defaultSQL = val;\n // this.getColumsList(val.querySql)\n },\n\n openDefaultValueWithSql() {\n this.$refs.datasetManagement.init(this.widget.options, true);\n this.widget.options.source = this.source;\n },\n setDefalutValue(values) {\n this.widget.options.defaultValue = 'defaultQuerySQL';\n this.widget.options.defaultSQL = values;\n },\n showModal() {\n _util_Bus__WEBPACK_IMPORTED_MODULE_5__[\"default\"].$emit(\"getWidgetFormList\");\n this.$refs.relateSubModal.init();\n },\n changeFn(val) {\n this.widget.options.source = this.source;\n },\n input(val) {\n this.widget.options.defaultValue = val;\n this.widget.options.source = this.source;\n },\n okSubStr(val) {\n this.widget.options.defaultValue = val;\n },\n openformDataBindModal() {\n this.$refs.formDataBindModal.init(\"input\", this.widget);\n this.widget.options.source = this.source;\n }\n }\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Input/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/index.js??vue-loader-options");
|
|
1150
1150
|
|
|
1151
1151
|
/***/ }),
|
|
1152
1152
|
|
|
@@ -2059,7 +2059,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
2059
2059
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2060
2060
|
|
|
2061
2061
|
"use strict";
|
|
2062
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"advanceComponents\": () => (/* binding */ advanceComponents),\n/* harmony export */ \"basicComponents\": () => (/* binding */ basicComponents),\n/* harmony export */ \"hnkjComponentsConfig\": () => (/* reexport safe */ _config_hnkj__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n/* harmony export */ \"layoutComponents\": () => (/* binding */ layoutComponents),\n/* harmony export */ \"specComponents\": () => (/* binding */ specComponents)\n/* harmony export */ });\n/* harmony import */ var _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./config/defaultConfig */ \"./src/form/modules/config/defaultConfig.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _config_hnkj__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./config/hnkj */ \"./src/form/modules/config/hnkj.js\");\n\n\nconst basicComponents = [{\n type: 'input',\n name: '单行文本',\n icon: 'icon-input',\n options: {\n width: '100%',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n enableSpecialCharsRules: true,\n specialCharsRules: '/^(?!.*[#$|<]).*$/',\n specialCharsMessage: '您输入的表单项中含有非法字符,请修正后提交!',\n labelWidth: '',\n placeholder: '请输入单行文本',\n confiOptions: [],\n relateOptions: [],\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n canAgainSearch: false,\n fontColor: \"#000\"\n }\n}, {\n type: 'textarea',\n name: '多行文本',\n icon: 'icon-diy-com-textarea',\n options: {\n width: '100%',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2,\n defaultValue: '',\n required: false,\n defauldisabled: false,\n disabled: false,\n pattern: '',\n enableSpecialCharsRules: true,\n specialCharsRules: '/^(?!.*[#$|<]).*$/',\n specialCharsMessage: '您输入的表单项中含有非法字符,请修正后提交!',\n placeholder: '请输入多行文本',\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n relateOptions: [],\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n fontColor: \"#000\"\n }\n}, {\n type: 'number',\n name: '计数器',\n icon: 'icon-number',\n options: {\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n width: '',\n required: false,\n defaultValue: 0,\n relateOptions: [],\n min: 0,\n max: 10,\n step: 1,\n defauldisabled: false,\n disabled: false,\n controlsPosition: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'radio',\n name: '单选框组',\n icon: 'icon-radio-active',\n options: {\n inline: false,\n defaultValue: '',\n showLabel: false,\n dictName: '',\n dictTable: '',\n dictUrl: '',\n relateOptions: [],\n remoteNumber: 1,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2,\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n required: false,\n width: '',\n remote: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n labelWidth: ''\n }\n}, {\n type: 'checkbox',\n name: '多选框组',\n icon: 'icon-check-box',\n options: {\n inline: false,\n defaultValue: '',\n //默认值 通过设置字符串 后台会转换为[]\n showLabel: false,\n dictName: '',\n dictTable: '',\n dictUrl: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2,\n required: false,\n width: '',\n remote: false,\n remoteNumber: 1,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'time',\n name: '时间选择',\n icon: 'icon-time',\n options: {\n defaultValue: [],\n readonly: false,\n defauldisabled: false,\n disabled: false,\n editable: true,\n clearable: true,\n placeholder: '',\n startPlaceholder: '',\n endPlaceholder: '',\n isRange: false,\n arrowControl: true,\n relateOptions: [],\n format: 'HH:mm:ss',\n required: false,\n width: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'date',\n name: '日期选择',\n icon: 'icon-date',\n options: {\n defaultValue: '',\n readonly: false,\n defauldisabled: false,\n disabled: false,\n editable: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n clearable: true,\n relateOptions: [],\n placeholder: '',\n rangeplaceholder: ['请选择开始时间', '请选择结束时间'],\n startPlaceholder: '',\n endPlaceholder: '',\n type: 'date',\n format: 'YYYY-MM-DD',\n timestamp: false,\n required: false,\n width: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n condition: undefined,\n conditionValue: undefined\n }\n}, {\n type: 'rate',\n name: '评分',\n icon: 'icon-icon-test',\n options: {\n defaultValue: 0,\n max: 5,\n defauldisabled: false,\n disabled: false,\n allowHalf: false,\n required: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n relateOptions: [],\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n},\n// {\n// type: 'color',\n// name: '颜色选择器',\n// icon: 'icon-color',\n// options: {\n// defaultValue: '',\n// defauldisabled: false,\n// disabled: false,\n// showAlpha: false,\n// required: false,\n// canEdit: true,\n// canCorrect: true,\n// defaulcanView: true,\n// relateOptions: [],\n// canView: true,\n// height: defaultConfig.height,\n// }\n// },\n{\n type: 'select',\n name: '下拉选择',\n icon: 'icon-select',\n options: {\n defaultValue: undefined,\n labelWidth: '',\n multiple: false,\n defauldisabled: false,\n linkId: '',\n linkage: [],\n disabled: false,\n clearable: false,\n placeholder: '请选择',\n required: false,\n showLabel: false,\n dictTable: '',\n dictName: '',\n dictUrl: '',\n width: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n options: [],\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n remote: false,\n remoteNumber: '1',\n filterable: true,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'switch',\n name: '开关',\n icon: 'icon-switch',\n options: {\n defaultValue: false,\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n relateOptions: []\n }\n}, {\n type: 'slider',\n name: '滑块',\n icon: 'icon-slider',\n options: {\n defaultValue: 0,\n defauldisabled: false,\n disabled: false,\n required: false,\n min: 0,\n max: 100,\n step: 1,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n showInput: false,\n range: false,\n width: '500px',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n relateOptions: []\n }\n}, {\n type: 'hidden',\n name: '隐藏域',\n icon: 'icon-input',\n options: {\n defaultValue: '',\n height: 50,\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: false,\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n relateOptions: []\n }\n}, {\n type: 'superLink',\n name: '超链接',\n icon: 'icon-input',\n options: {\n defaultValue: '',\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n title: '超链接',\n relateOptions: []\n }\n}, {\n type: 'codeControl',\n name: '编号控件',\n icon: 'icon-input',\n options: {\n defaultValue: '',\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n enableCustomRules: false,\n customRules: `function (widget, models, that) {\n return Math.random().toString().substr(2, 10);\n}`,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n relateOptions: []\n }\n}\n// {\n// type: 'signature',\n// name: '签名签章',\n// icon: 'icon-grid-',\n// options: {\n// role: '',\n// inlineWidth: 200,\n// type: 'text', //text 文字签名 image 图片签名\n// defaultValue: '',\n// imgData: '',\n// options: [],\n// height: defaultConfig.height * 2,\n// multiple: false,\n// showfield: false,\n// disabled: false,\n// placeholder: '',\n// canEdit: true,\n// canCorrect: true,\n// defaulcanView: true,\n// canView: true,\n// tabKey: '',\n// wrapId: '',\n// relateOptions: [],\n// },\n// },\n];\n\nconst advanceComponents = [{\n type: 'table',\n name: '子表单',\n icon: 'icon-input',\n options: {\n layoutModel: 'auto',\n // 布局模式 atuo 自动模式 design自动设计\n defaultValue: [],\n columnsNum: 4,\n rowsNum: 2,\n rowsHeight: 50,\n inline: false,\n inlineWidth: 200,\n customClass: '',\n remoteFunc: '',\n remoteOptions: [],\n canEdit: true,\n height: 40,\n canView: true,\n hiddenOperateBtn: false,\n defaulcanView: true,\n computingMethod: [],\n //计算方法\n computingSub: [] //需要计算字段\n },\n\n columns: [],\n designList: [{\n x: 0,\n y: 0,\n w: 1,\n h: 1,\n i: '1'\n }],\n key: '',\n model: '',\n rules: []\n},\n// {\n// type: 'blank',\n// columns: [], //组件\n// name: '自定义',\n// icon: 'icon-ic',\n// options: {\n// defaultType: 'String',\n// canEdit: true,\n// canCorrect: true,\n// defaulcanView: true,\n// canView: true,\n// height: '',\n// },\n// },\n{\n type: 'imgupload',\n name: '图片上传',\n icon: 'icon-tupian',\n key: 'uploadFile',\n ext: '.jpg,.jpeg,.png,.gif,.zip',\n options: {\n defaultValue: [],\n size: {\n width: 100,\n height: 100\n },\n relateOptions: [],\n fileSize: 300,\n //文件大小 size kb\n placeholder: '点击上传',\n width: '',\n tokenFunc: 'funcGetToken',\n token: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2.5,\n defauldisabled: false,\n disabled: false,\n length: 1,\n multiple: false,\n isQiniu: false,\n isDelete: true,\n min: 0,\n isEdit: false,\n action: '/sys/common/upload',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'fileupload',\n name: '文件上传',\n icon: 'icon-shangchuan',\n key: 'uploadFile2',\n ext: '.jpg,.jpeg,.png,.gif,.zip,.doc,.docx,.xlsx,.xls',\n height: '',\n options: {\n defaultValue: [],\n relateOptions: [],\n height: '',\n action: '/sys/common/upload',\n token: '',\n fileSize: 300,\n bigUploadUrl: '/goFast/big/upload/',\n defauldisabled: false,\n disabled: false,\n placeholder: '点击上传',\n length: 8,\n multiple: false,\n isQiniu: false,\n isDelete: false,\n min: 0,\n isEdit: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'uploadModel',\n name: '模板下载',\n icon: 'icon-shangchuan',\n key: 'uploadFile2',\n ext: '.zip,.doc,.docx,.xlsx,.xls,.pdf',\n height: '',\n options: {\n defaultValue: [],\n action: '/sys/common/upload',\n tokenFunc: 'funcGetToken',\n token: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n domain: window._CONFIG['domianURL'],\n length: 8,\n multiple: false,\n isQiniu: false,\n isEdit: false,\n fileSize: 5000,\n //文件大小 size\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'divider',\n name: '分割线',\n icon: 'icon-fengexian',\n options: {\n hidden: false,\n contentPosition: 'left',\n remoteFunc: 'func_1568601762514',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: ''\n },\n key: 'divider',\n model: 'divider_1568601762514',\n rules: []\n}, {\n type: 'cascader',\n name: '地区选择',\n icon: 'icon-jilianxuanze',\n key: 'cascader',\n options: {\n defaultValue: [],\n width: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n placeholder: '',\n defauldisabled: false,\n disabled: false,\n defaulcanView: true,\n canView: true,\n clearable: false,\n canEdit: true,\n canCorrect: true,\n remote: false,\n remoteOptions: [],\n showLabel: true,\n options: [{\n value: 'value',\n label: 'label',\n children: [{\n value: 'shejiyuanze',\n label: '设计原则'\n }, {\n value: 'she',\n label: '设计原则12'\n }]\n }],\n props: [],\n remoteFunc: ''\n }\n}, {\n type: 'deptSelector',\n name: '部门选择',\n icon: 'icon-grid-',\n options: {\n defaultValue: '',\n width: '',\n placeholder: '请点击选择部门',\n multiple: true,\n canEdit: true,\n departType: \"\",\n // 展示部门类型\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n relateOptions: []\n }\n}, {\n type: 'userSelector',\n name: '人员选择',\n icon: 'icon-grid-',\n options: {\n role: '',\n defaultValue: '',\n //默认值为字符串,后台设计的时候 需要设置默认值;为字符串;后台会处理为数组;预览展示需要做特殊处理\n options: [{\n key: undefined,\n value: undefined\n }],\n relateOptions: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n width: '',\n multiple: false,\n showfield: false,\n placeholder: '请点击选择人员',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n tabKey: ''\n }\n}, {\n type: 'userSelectorByRole',\n name: '角色选人',\n icon: 'icon-yulan',\n options: {\n role: [],\n defaultValue: [],\n options: [],\n relateOptions: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n width: '',\n multiple: false,\n showfield: false,\n placeholder: '请点击选择人员',\n canEdit: true,\n canCorrect: true,\n canView: true\n }\n}, {\n type: 'idea-sign',\n name: '意见签名',\n icon: 'icon-grid-',\n options: {\n role: '',\n inlineWidth: 100,\n defaultValue: {\n idea: {\n show: true,\n value: ''\n },\n sign: {\n type: 'word',\n //word文字 image 图片\n label: '个人签名:',\n value: ''\n },\n time: {\n value: '',\n show: true\n },\n webSeal: {\n show: false,\n value: ''\n },\n imgData: {\n value: ''\n }\n },\n signPosition: 'right',\n options: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 3,\n textareaHeight: 80,\n multiple: false,\n showfield: false,\n disabled: false,\n placeholder: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n tabKey: ''\n }\n}, {\n type: 'signature-write',\n name: '手写签名',\n icon: 'icon-grid-',\n options: {\n role: '',\n inlineWidth: 100,\n defaultValue: \"\",\n //database\n signType: 'write',\n //签名类型 手写 上传图片 等等\n options: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 3,\n multiple: false,\n showfield: false,\n disabled: false,\n placeholder: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'relateSub',\n name: '关联组件',\n icon: 'icon-sync1',\n options: {\n defaultValue: [],\n options: [{\n key: '',\n value: ''\n }],\n relateOptions: [],\n labels: '',\n //该组件显示的字段\n columnName: '',\n columnCode: '',\n SQL: '',\n multiple: false,\n apiUrl: 'appApi/popupComponentApi',\n linkType: '',\n //\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n placeholder: '请点击选择',\n canEdit: true,\n canCorrect: false,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'relateForm',\n name: '关联表单',\n icon: 'icon-grid-',\n options: {\n defaultValue: {},\n placeholder: '请点击选择关联表单',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'location',\n name: '位置',\n icon: 'icon-grid-',\n options: {\n defaultValue: '',\n placeholder: '',\n canEdit: true,\n canCorrect: true,\n buttonText: \"定位\",\n isHighAccuracy: true,\n timeout: 10000,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'imgCode',\n name: '图片验证码',\n icon: 'icon-grid-',\n options: {\n defaultValue: {},\n placeholder: '请点击选择关联表单',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'publicSign',\n name: '公章',\n icon: 'icon-grid-',\n options: {\n defaultValue: {},\n placeholder: '请点击选择关联表单',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'responsibility',\n name: '责任书',\n icon: 'icon-grid-',\n options: {\n canEdit: true,\n defaulcanView: true,\n canView: true,\n fontColor: '#333',\n fontSize: '14px',\n requireErrorText: '请勾选责任书',\n title: '我已详细阅读《用户责任书》并同意以上内容',\n content: `<h1 style=\"text-align:center;\" id=\"mec09\">用户责任书</h1><hr/><p>1、遵守国家和中国教育科研网的各项法律法规和规章制度。<br/><br/>2、不得利用该域名进行商业性经营活动。<br/><br/>* 用户必须自觉遵守以上条款,并承担由自身行为导致的一切后果及损失。</p>`,\n force: true,\n countDown: 5,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'dataTable',\n name: '数据列表',\n icon: 'icon-grid-',\n options: {\n defaultValue: '',\n defaultTableKey: 'id',\n width: '',\n placeholder: '请点击选择数据列表',\n multiple: true,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n relateOptions: []\n }\n}];\nconst layoutComponents = [{\n type: 'all-lay-out',\n columns: [{\n width: 100,\n height: 50,\n top: 0,\n left: 0,\n list: []\n }],\n //组件\n name: '特殊组件',\n icon: 'icon-ic',\n options: {\n defaultType: 'String',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 3,\n backgroundHTML: '',\n disabled: false\n }\n}, {\n type: 'grid',\n name: '栅格布局',\n icon: 'icon-grid-',\n columns: [{\n span: 12,\n list: []\n }, {\n span: 12,\n list: []\n }],\n options: {\n gutter: 0,\n justify: 'space-between',\n customClass: '',\n align: 'top',\n canEdit: true,\n canCorrect: true,\n canView: true\n }\n}, {\n type: 'grid-lay-out',\n name: '网格布局',\n icon: 'icon-grid-',\n columns: [{\n x: 0,\n y: 0,\n w: 1,\n h: 1,\n i: '1',\n list: []\n }],\n options: {\n columnsNum: 4,\n rowsNum: 2,\n enableImport: false,\n rowsHeight: 50,\n customClass: '',\n align: 'top',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'verify',\n name: '审核表单',\n icon: 'icon-grid-',\n columns: {},\n operationColumns: {\n operation: '',\n operator: '',\n operationTime: '',\n comments: '',\n imgData: ''\n },\n options: {\n height: 150,\n canEdit: true,\n opinionRequire: false,\n operationChooseFirst: false,\n platform: '',\n // 对接平台\n isAuditing: '',\n //审核意见\n defaulcanView: true,\n canView: true,\n placeholder: '请输入审批意见',\n operation: '审核操作',\n operator: '审核人',\n operationTime: '审核时间',\n webSeal: false\n }\n}, {\n type: 'tabs',\n name: '标签页',\n icon: 'icon-grid-',\n tabs: [{\n label: '标签 1',\n name: '标签_1',\n columns: []\n }],\n options: {\n type: '',\n tabPosition: 'top',\n customClass: '',\n hidden: false,\n remoteFunc: 'func_1584949551208',\n remoteOption: 'option_1584949551208',\n canEdit: true,\n defaulcanView: true,\n canView: true\n },\n rules: []\n}, {\n type: 'placeholder',\n name: '占位字段',\n bgc: undefined,\n space: 0,\n wordsize: undefined,\n wordcolor: undefined,\n icon: 'icon-grid-',\n options: {\n type: '',\n border: true,\n fontWeight: 'normal',\n width: '100%',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n isfontWeight: true,\n tabPosition: 'top',\n customClass: '',\n hidden: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n align: 'center'\n },\n rules: []\n}];\nconst specComponents = [{\n type: 'editorAirt',\n name: '公文相关',\n icon: 'icon-fuwenbenkuang',\n key: 'editorAirt',\n options: {\n defaultValue: '',\n width: '100%',\n canView: true,\n labelWidth: 0\n }\n}];\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/componentsConfig.js?");
|
|
2062
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"advanceComponents\": () => (/* binding */ advanceComponents),\n/* harmony export */ \"basicComponents\": () => (/* binding */ basicComponents),\n/* harmony export */ \"hnkjComponentsConfig\": () => (/* reexport safe */ _config_hnkj__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n/* harmony export */ \"layoutComponents\": () => (/* binding */ layoutComponents),\n/* harmony export */ \"specComponents\": () => (/* binding */ specComponents)\n/* harmony export */ });\n/* harmony import */ var _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./config/defaultConfig */ \"./src/form/modules/config/defaultConfig.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _config_hnkj__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./config/hnkj */ \"./src/form/modules/config/hnkj.js\");\n\n\nconst basicComponents = [{\n type: 'input',\n name: '单行文本',\n icon: 'icon-input',\n options: {\n width: '100%',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n enableSpecialCharsRules: true,\n specialCharsRules: '/^(?!.*[#$|<]).*$/',\n specialCharsMessage: '您输入的表单项中含有非法字符,请修正后提交!',\n labelWidth: '',\n placeholder: '请输入单行文本',\n confiOptions: [],\n relateOptions: [],\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n canAgainSearch: false,\n fontColor: \"#000\"\n }\n}, {\n type: 'textarea',\n name: '多行文本',\n icon: 'icon-diy-com-textarea',\n options: {\n width: '100%',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2,\n defaultValue: '',\n required: false,\n defauldisabled: false,\n disabled: false,\n pattern: '',\n enableSpecialCharsRules: true,\n specialCharsRules: '/^(?!.*[#$|<]).*$/',\n specialCharsMessage: '您输入的表单项中含有非法字符,请修正后提交!',\n placeholder: '请输入多行文本',\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n relateOptions: [],\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n fontColor: \"#000\"\n }\n}, {\n type: 'number',\n name: '计数器',\n icon: 'icon-number',\n options: {\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n width: '',\n required: false,\n defaultValue: 0,\n relateOptions: [],\n min: 0,\n max: 10,\n step: 1,\n defauldisabled: false,\n disabled: false,\n controlsPosition: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'radio',\n name: '单选框组',\n icon: 'icon-radio-active',\n options: {\n inline: false,\n defaultValue: '',\n showLabel: false,\n dictName: '',\n dictTable: '',\n dictUrl: '',\n relateOptions: [],\n remoteNumber: 1,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2,\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n required: false,\n width: '',\n remote: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n labelWidth: ''\n }\n}, {\n type: 'checkbox',\n name: '多选框组',\n icon: 'icon-check-box',\n options: {\n inline: false,\n defaultValue: '',\n //默认值 通过设置字符串 后台会转换为[]\n showLabel: false,\n dictName: '',\n dictTable: '',\n dictUrl: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2,\n required: false,\n width: '',\n remote: false,\n remoteNumber: 1,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'time',\n name: '时间选择',\n icon: 'icon-time',\n options: {\n defaultValue: [],\n readonly: false,\n defauldisabled: false,\n disabled: false,\n editable: true,\n clearable: true,\n placeholder: '',\n startPlaceholder: '',\n endPlaceholder: '',\n isRange: false,\n arrowControl: true,\n relateOptions: [],\n format: 'HH:mm:ss',\n required: false,\n width: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'date',\n name: '日期选择',\n icon: 'icon-date',\n options: {\n defaultValue: '',\n readonly: false,\n defauldisabled: false,\n disabled: false,\n editable: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n clearable: true,\n relateOptions: [],\n placeholder: '',\n rangeplaceholder: ['请选择开始时间', '请选择结束时间'],\n startPlaceholder: '',\n endPlaceholder: '',\n type: 'date',\n format: 'YYYY-MM-DD',\n timestamp: false,\n required: false,\n width: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n condition: undefined,\n conditionValue: undefined\n }\n}, {\n type: 'rate',\n name: '评分',\n icon: 'icon-icon-test',\n options: {\n defaultValue: 0,\n max: 5,\n defauldisabled: false,\n disabled: false,\n allowHalf: false,\n required: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n relateOptions: [],\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n},\n// {\n// type: 'color',\n// name: '颜色选择器',\n// icon: 'icon-color',\n// options: {\n// defaultValue: '',\n// defauldisabled: false,\n// disabled: false,\n// showAlpha: false,\n// required: false,\n// canEdit: true,\n// canCorrect: true,\n// defaulcanView: true,\n// relateOptions: [],\n// canView: true,\n// height: defaultConfig.height,\n// }\n// },\n{\n type: 'select',\n name: '下拉选择',\n icon: 'icon-select',\n options: {\n defaultValue: undefined,\n labelWidth: '',\n multiple: false,\n defauldisabled: false,\n linkId: '',\n linkage: [],\n disabled: false,\n clearable: false,\n placeholder: '请选择',\n required: false,\n showLabel: false,\n dictTable: '',\n dictName: '',\n dictUrl: '',\n width: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n options: [],\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n remote: false,\n remoteNumber: '1',\n filterable: true,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'switch',\n name: '开关',\n icon: 'icon-switch',\n options: {\n defaultValue: false,\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n relateOptions: []\n }\n}, {\n type: 'slider',\n name: '滑块',\n icon: 'icon-slider',\n options: {\n defaultValue: 0,\n defauldisabled: false,\n disabled: false,\n required: false,\n min: 0,\n max: 100,\n step: 1,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n showInput: false,\n range: false,\n width: '500px',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n relateOptions: []\n }\n}, {\n type: 'hidden',\n name: '隐藏域',\n icon: 'icon-input',\n options: {\n defaultValue: '',\n height: 50,\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: false,\n confiOptions: [{\n label: undefined,\n value: undefined,\n describe: ''\n }],\n relateOptions: []\n }\n}, {\n type: 'superLink',\n name: '超链接',\n icon: 'icon-input',\n options: {\n defaultValue: '',\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n title: '超链接',\n relateOptions: []\n }\n}, {\n type: 'codeControl',\n name: '编号控件',\n icon: 'icon-input',\n options: {\n defaultValue: '',\n required: false,\n defauldisabled: false,\n disabled: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n enableCustomRules: false,\n customRules: `function (widget, models, that) {\n return Math.random().toString().substr(2, 10);\n}`,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n relateOptions: []\n }\n}\n// {\n// type: 'signature',\n// name: '签名签章',\n// icon: 'icon-grid-',\n// options: {\n// role: '',\n// inlineWidth: 200,\n// type: 'text', //text 文字签名 image 图片签名\n// defaultValue: '',\n// imgData: '',\n// options: [],\n// height: defaultConfig.height * 2,\n// multiple: false,\n// showfield: false,\n// disabled: false,\n// placeholder: '',\n// canEdit: true,\n// canCorrect: true,\n// defaulcanView: true,\n// canView: true,\n// tabKey: '',\n// wrapId: '',\n// relateOptions: [],\n// },\n// },\n];\n\nconst advanceComponents = [{\n type: 'table',\n name: '子表单',\n icon: 'icon-input',\n options: {\n layoutModel: 'auto',\n // 布局模式 atuo 自动模式 design自动设计\n defaultValue: [],\n columnsNum: 4,\n rowsNum: 2,\n rowsHeight: 50,\n inline: false,\n inlineWidth: 200,\n customClass: '',\n remoteFunc: '',\n remoteOptions: [],\n canEdit: true,\n height: 40,\n canView: true,\n hiddenOperateBtn: false,\n defaulcanView: true,\n computingMethod: [],\n //计算方法\n computingSub: [] //需要计算字段\n },\n\n columns: [],\n designList: [{\n x: 0,\n y: 0,\n w: 1,\n h: 1,\n i: '1'\n }],\n key: '',\n model: '',\n rules: []\n},\n// {\n// type: 'blank',\n// columns: [], //组件\n// name: '自定义',\n// icon: 'icon-ic',\n// options: {\n// defaultType: 'String',\n// canEdit: true,\n// canCorrect: true,\n// defaulcanView: true,\n// canView: true,\n// height: '',\n// },\n// },\n{\n type: 'imgupload',\n name: '图片上传',\n icon: 'icon-tupian',\n key: 'uploadFile',\n ext: '.jpg,.jpeg,.png,.gif,.zip',\n options: {\n defaultValue: [],\n size: {\n width: 100,\n height: 100\n },\n relateOptions: [],\n fileSize: 300,\n //文件大小 size kb\n placeholder: '点击上传',\n width: '',\n tokenFunc: 'funcGetToken',\n token: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 2.5,\n defauldisabled: false,\n disabled: false,\n length: 1,\n multiple: false,\n isQiniu: false,\n isDelete: true,\n min: 0,\n isEdit: false,\n action: '/sys/common/upload',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'fileupload',\n name: '文件上传',\n icon: 'icon-shangchuan',\n key: 'uploadFile2',\n ext: '.jpg,.jpeg,.png,.gif,.zip,.doc,.docx,.xlsx,.xls',\n height: '',\n options: {\n defaultValue: [],\n relateOptions: [],\n height: '',\n action: '/sys/common/upload',\n token: '',\n fileSize: 300,\n bigUploadUrl: '/goFast/big/upload/',\n defauldisabled: false,\n disabled: false,\n placeholder: '点击上传',\n length: 8,\n multiple: false,\n isQiniu: false,\n isDelete: false,\n min: 0,\n isEdit: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'uploadModel',\n name: '模板下载',\n icon: 'icon-shangchuan',\n key: 'uploadFile2',\n ext: '.zip,.doc,.docx,.xlsx,.xls,.pdf',\n height: '',\n options: {\n defaultValue: [],\n action: '/sys/common/upload',\n tokenFunc: 'funcGetToken',\n token: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n domain: window._CONFIG['domianURL'],\n length: 8,\n multiple: false,\n isQiniu: false,\n isEdit: false,\n fileSize: 5000,\n //文件大小 size\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'divider',\n name: '分割线',\n icon: 'icon-fengexian',\n options: {\n hidden: false,\n contentPosition: 'left',\n remoteFunc: 'func_1568601762514',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: ''\n },\n key: 'divider',\n model: 'divider_1568601762514',\n rules: []\n}, {\n type: 'cascader',\n name: '地区选择',\n icon: 'icon-jilianxuanze',\n key: 'cascader',\n options: {\n defaultValue: [],\n width: '',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n placeholder: '',\n defauldisabled: false,\n disabled: false,\n defaulcanView: true,\n canView: true,\n clearable: false,\n canEdit: true,\n canCorrect: true,\n remote: false,\n remoteOptions: [],\n showLabel: true,\n options: [{\n value: 'value',\n label: 'label',\n children: [{\n value: 'shejiyuanze',\n label: '设计原则'\n }, {\n value: 'she',\n label: '设计原则12'\n }]\n }],\n props: [],\n remoteFunc: ''\n }\n}, {\n type: 'deptSelector',\n name: '部门选择',\n icon: 'icon-grid-',\n options: {\n defaultValue: '',\n width: '',\n placeholder: '请点击选择部门',\n multiple: true,\n canEdit: true,\n departType: \"\",\n // 展示部门类型\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n relateOptions: []\n }\n}, {\n type: 'userSelector',\n name: '人员选择',\n icon: 'icon-grid-',\n options: {\n role: '',\n defaultValue: '',\n //默认值为字符串,后台设计的时候 需要设置默认值;为字符串;后台会处理为数组;预览展示需要做特殊处理\n options: [{\n key: undefined,\n value: undefined\n }],\n relateOptions: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n width: '',\n multiple: false,\n showfield: false,\n placeholder: '请点击选择人员',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n tabKey: ''\n }\n}, {\n type: 'userSelectorByRole',\n name: '角色选人',\n icon: 'icon-yulan',\n options: {\n role: [],\n defaultValue: [],\n options: [],\n relateOptions: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n width: '',\n multiple: false,\n showfield: false,\n placeholder: '请点击选择人员',\n canEdit: true,\n canCorrect: true,\n canView: true\n }\n}, {\n type: 'idea-sign',\n name: '意见签名',\n icon: 'icon-grid-',\n options: {\n role: '',\n inlineWidth: 100,\n defaultValue: {\n idea: {\n show: true,\n value: ''\n },\n sign: {\n type: 'word',\n //word文字 image 图片\n label: '个人签名:',\n value: ''\n },\n time: {\n value: '',\n show: true\n },\n webSeal: {\n show: false,\n value: ''\n },\n imgData: {\n value: ''\n }\n },\n signPosition: 'right',\n options: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 3,\n textareaHeight: 80,\n multiple: false,\n showfield: false,\n disabled: false,\n placeholder: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n tabKey: ''\n }\n}, {\n type: 'signature-write',\n name: '手写签名',\n icon: 'icon-grid-',\n options: {\n role: '',\n inlineWidth: 100,\n defaultValue: \"\",\n //database\n signType: 'write',\n //签名类型 手写 上传图片 等等\n options: [],\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 3,\n multiple: false,\n showfield: false,\n disabled: false,\n placeholder: '',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'relateSub',\n name: '关联组件',\n icon: 'icon-sync1',\n options: {\n defaultValue: [],\n options: [{\n key: '',\n value: ''\n }],\n relateOptions: [],\n labels: '',\n //该组件显示的字段\n columnName: '',\n columnCode: '',\n SQL: '',\n multiple: false,\n apiUrl: 'appApi/popupComponentApi',\n linkType: '',\n //\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n placeholder: '请点击选择',\n canEdit: true,\n canCorrect: false,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'relateForm',\n name: '关联表单',\n icon: 'icon-grid-',\n options: {\n defaultValue: {},\n placeholder: '请点击选择关联表单',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'location',\n name: '位置',\n icon: 'icon-grid-',\n options: {\n defaultValue: '',\n placeholder: '',\n canEdit: true,\n canCorrect: true,\n buttonText: \"定位\",\n isHighAccuracy: true,\n timeout: 10000,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'imgCode',\n name: '图片验证码',\n icon: 'icon-grid-',\n options: {\n defaultValue: {},\n placeholder: '请点击选择关联表单',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'publicSign',\n name: '公章',\n icon: 'icon-grid-',\n options: {\n defaultValue: {},\n placeholder: '请点击选择关联表单',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'responsibility',\n name: '责任书',\n icon: 'icon-grid-',\n options: {\n canEdit: true,\n defaulcanView: true,\n canView: true,\n fontColor: '#333',\n fontSize: '14px',\n requireErrorText: '请勾选责任书',\n title: '我已详细阅读《用户责任书》并同意以上内容',\n content: `<h1 style=\"text-align:center;\" id=\"mec09\">用户责任书</h1><hr/><p>1、遵守国家和中国教育科研网的各项法律法规和规章制度。<br/><br/>2、不得利用该域名进行商业性经营活动。<br/><br/>* 用户必须自觉遵守以上条款,并承担由自身行为导致的一切后果及损失。</p>`,\n force: true,\n countDown: 5,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height\n }\n}, {\n type: 'dataTable',\n name: '数据列表',\n icon: 'icon-grid-',\n options: {\n defaultValue: '',\n defaultTableKey: 'id',\n width: '',\n placeholder: '请点击选择数据列表',\n multiple: true,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: 300,\n relateOptions: []\n }\n}];\nconst layoutComponents = [{\n type: 'all-lay-out',\n columns: [{\n width: 100,\n height: 50,\n top: 0,\n left: 0,\n list: []\n }],\n //组件\n name: '特殊组件',\n icon: 'icon-ic',\n options: {\n defaultType: 'String',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height * 3,\n backgroundHTML: '',\n disabled: false\n }\n}, {\n type: 'grid',\n name: '栅格布局',\n icon: 'icon-grid-',\n columns: [{\n span: 12,\n list: []\n }, {\n span: 12,\n list: []\n }],\n options: {\n gutter: 0,\n justify: 'space-between',\n customClass: '',\n align: 'top',\n canEdit: true,\n canCorrect: true,\n canView: true\n }\n}, {\n type: 'grid-lay-out',\n name: '网格布局',\n icon: 'icon-grid-',\n columns: [{\n x: 0,\n y: 0,\n w: 1,\n h: 1,\n i: '1',\n list: []\n }],\n options: {\n columnsNum: 4,\n rowsNum: 2,\n enableImport: false,\n rowsHeight: 50,\n customClass: '',\n align: 'top',\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true\n }\n}, {\n type: 'verify',\n name: '审核表单',\n icon: 'icon-grid-',\n columns: {},\n operationColumns: {\n operation: '',\n operator: '',\n operationTime: '',\n comments: '',\n imgData: ''\n },\n options: {\n height: 150,\n canEdit: true,\n opinionRequire: false,\n operationChooseFirst: false,\n platform: '',\n // 对接平台\n isAuditing: '',\n //审核意见\n defaulcanView: true,\n canView: true,\n placeholder: '请输入审批意见',\n operation: '审核操作',\n operator: '审核人',\n operationTime: '审核时间',\n webSeal: false\n }\n}, {\n type: 'tabs',\n name: '标签页',\n icon: 'icon-grid-',\n tabs: [{\n label: '标签 1',\n name: '标签_1',\n columns: []\n }],\n options: {\n type: '',\n tabPosition: 'top',\n customClass: '',\n hidden: false,\n remoteFunc: 'func_1584949551208',\n remoteOption: 'option_1584949551208',\n canEdit: true,\n defaulcanView: true,\n canView: true\n },\n rules: []\n}, {\n type: 'placeholder',\n name: '占位字段',\n bgc: undefined,\n space: 0,\n wordsize: undefined,\n wordcolor: undefined,\n icon: 'icon-grid-',\n options: {\n type: '',\n border: true,\n fontWeight: 'normal',\n width: '100%',\n height: _config_defaultConfig__WEBPACK_IMPORTED_MODULE_0__[\"default\"].height,\n isfontWeight: true,\n tabPosition: 'top',\n customClass: '',\n hidden: false,\n canEdit: true,\n canCorrect: true,\n defaulcanView: true,\n canView: true,\n align: 'center'\n },\n rules: []\n}];\nconst specComponents = [{\n type: 'editorAirt',\n name: '公文相关',\n icon: 'icon-fuwenbenkuang',\n key: 'editorAirt',\n options: {\n defaultValue: '',\n width: '100%',\n canView: true,\n labelWidth: 0\n }\n}];\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/componentsConfig.js?");
|
|
2063
2063
|
|
|
2064
2064
|
/***/ }),
|
|
2065
2065
|
|
|
@@ -14299,7 +14299,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
14299
14299
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14300
14300
|
|
|
14301
14301
|
"use strict";
|
|
14302
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": () => (/* binding */ render),\n/* harmony export */ \"staticRenderFns\": () => (/* binding */ staticRenderFns)\n/* harmony export */ });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"control\" }, [\n _c(\n \"div\",\n { staticClass: \"form_wrap\" },\n [\n _c(\n \"div\",\n { staticClass: \"form\" },\n [\n _c(\n \"a-form-model\",\n [\n _c(\n \"a-form-model-item\",\n { ref: \"title\", attrs: { label: \"默认值\", prop: \"title\" } },\n [\n _c(\n \"a-radio-group\",\n {\n attrs: { \"button-style\": \"solid\", size: \"small\" },\n model: {\n value: _vm.source,\n callback: function ($$v) {\n _vm.source = $$v\n },\n expression: \"source\",\n },\n },\n [\n _c(\"a-radio-button\", { attrs: { value: \"1\" } }, [\n _vm._v(\"输入数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"2\" } }, [\n _vm._v(\"默认数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"3\" } }, [\n _vm._v(\"表单绑定\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"4\" } }, [\n _vm._v(\"数据集\"),\n ]),\n ],\n 1\n ),\n _vm.source == \"1\"\n ? _c(\"a-input\", {\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm.source == 2\n ? _c(\"j-dict-select-tag\", {\n attrs: {\n triggerChange: true,\n dictCode: \"BDMRZ\",\n placeholder: \"请选择默认值\",\n },\n on: { change: _vm.input },\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm._e(),\n _vm.source == \"3\"\n ? _c(\"a-input\", {\n attrs: { placeholder: \"请点击选择绑定表单字段\" },\n on: { click: _vm.openformDataBindModal },\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm._e(),\n _vm.source == \"4\"\n ? _c(\n \"a-button\",\n {\n attrs: { type: \"primary\" },\n on: { click: _vm.openDefaultValueWithSql },\n },\n [_vm._v(\"关联数据集\")]\n )\n : _vm._e(),\n ],\n 1\n ),\n _c(\n \"a-form-model-item\",\n { attrs: { label: \"事项内容\" } },\n [\n _c(\"a-switch\", {\n model: {\n value: _vm.widget.options.matterContentEnable,\n callback: function ($$v) {\n _vm.$set(\n _vm.widget.options,\n \"matterContentEnable\",\n $$v\n )\n },\n expression: \"widget.options.matterContentEnable\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"a-form-model-item\",\n { attrs: { label: \"字段联动\" } },\n [\n _c(\n \"a-button\",\n {\n attrs: { type: \"primary\" },\n on: { click: _vm.showModal },\n },\n [_vm._v(\"联动配置\")]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n _c(\"form-data-bind-modal\", {\n ref: \"formDataBindModal\",\n on: { okSubStr: _vm.okSubStr },\n }),\n _c(\"default-value-with-sql\", {\n ref: \"defaultValueWithSql\",\n on: { setDefalutOk: _vm.setDefalutValue },\n }),\n _c(\"relate-sub-modal\", {\n ref: \"relateSubModal\",\n attrs: { datalist: _vm.datalist, widget: _vm.widget },\n on: { okSubStr: _vm.okSubStr },\n }),\n _c(\"datasetManagement\", {\n ref: \"datasetManagement\",\n on: { setDateOk: _vm.setDateOk },\n }),\n ],\n 1\n ),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Hidden/widgetSetup.vue?./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
14302
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": () => (/* binding */ render),\n/* harmony export */ \"staticRenderFns\": () => (/* binding */ staticRenderFns)\n/* harmony export */ });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"control\" }, [\n _c(\n \"div\",\n { staticClass: \"form_wrap\" },\n [\n _c(\n \"div\",\n { staticClass: \"form\" },\n [\n _c(\n \"a-form-model\",\n [\n _c(\n \"a-form-model-item\",\n { ref: \"title\", attrs: { label: \"默认值\", prop: \"title\" } },\n [\n _c(\n \"a-radio-group\",\n {\n attrs: { \"button-style\": \"solid\", size: \"small\" },\n model: {\n value: _vm.source,\n callback: function ($$v) {\n _vm.source = $$v\n },\n expression: \"source\",\n },\n },\n [\n _c(\"a-radio-button\", { attrs: { value: \"1\" } }, [\n _vm._v(\"输入数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"2\" } }, [\n _vm._v(\"默认数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"3\" } }, [\n _vm._v(\"表单绑定\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"4\" } }, [\n _vm._v(\"数据集\"),\n ]),\n ],\n 1\n ),\n _vm.source == \"1\"\n ? _c(\"a-input\", {\n on: { change: _vm.changeFn },\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm.source == 2\n ? _c(\"j-dict-select-tag\", {\n attrs: {\n triggerChange: true,\n dictCode: \"BDMRZ\",\n placeholder: \"请选择默认值\",\n },\n on: { change: _vm.input },\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm._e(),\n _vm.source == \"3\"\n ? _c(\"a-input\", {\n attrs: { placeholder: \"请点击选择绑定表单字段\" },\n on: { click: _vm.openformDataBindModal },\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm._e(),\n _vm.source == \"4\"\n ? _c(\n \"a-button\",\n {\n attrs: { type: \"primary\" },\n on: { click: _vm.openDefaultValueWithSql },\n },\n [_vm._v(\"关联数据集\")]\n )\n : _vm._e(),\n ],\n 1\n ),\n _c(\n \"a-form-model-item\",\n { attrs: { label: \"事项内容\" } },\n [\n _c(\"a-switch\", {\n model: {\n value: _vm.widget.options.matterContentEnable,\n callback: function ($$v) {\n _vm.$set(\n _vm.widget.options,\n \"matterContentEnable\",\n $$v\n )\n },\n expression: \"widget.options.matterContentEnable\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"a-form-model-item\",\n { attrs: { label: \"字段联动\" } },\n [\n _c(\n \"a-button\",\n {\n attrs: { type: \"primary\" },\n on: { click: _vm.showModal },\n },\n [_vm._v(\"联动配置\")]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n _c(\"form-data-bind-modal\", {\n ref: \"formDataBindModal\",\n on: { okSubStr: _vm.okSubStr },\n }),\n _c(\"default-value-with-sql\", {\n ref: \"defaultValueWithSql\",\n on: { setDefalutOk: _vm.setDefalutValue },\n }),\n _c(\"relate-sub-modal\", {\n ref: \"relateSubModal\",\n attrs: { datalist: _vm.datalist, widget: _vm.widget },\n on: { okSubStr: _vm.okSubStr },\n }),\n _c(\"datasetManagement\", {\n ref: \"datasetManagement\",\n on: { setDateOk: _vm.setDateOk },\n }),\n ],\n 1\n ),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Hidden/widgetSetup.vue?./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
14303
14303
|
|
|
14304
14304
|
/***/ }),
|
|
14305
14305
|
|
|
@@ -14409,7 +14409,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
14409
14409
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14410
14410
|
|
|
14411
14411
|
"use strict";
|
|
14412
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": () => (/* binding */ render),\n/* harmony export */ \"staticRenderFns\": () => (/* binding */ staticRenderFns)\n/* harmony export */ });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"control\" }, [\n _c(\n \"div\",\n { staticClass: \"form_wrap\" },\n [\n _c(\n \"div\",\n { staticClass: \"form\" },\n [\n _c(\n \"a-form-model\",\n [\n _c(\n \"a-form-model-item\",\n { ref: \"title\", attrs: { label: \"默认值\", prop: \"title\" } },\n [\n _c(\n \"a-radio-group\",\n {\n attrs: { \"button-style\": \"solid\", size: \"small\" },\n model: {\n value: _vm.source,\n callback: function ($$v) {\n _vm.source = $$v\n },\n expression: \"source\",\n },\n },\n [\n _c(\"a-radio-button\", { attrs: { value: \"1\" } }, [\n _vm._v(\"输入数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"2\" } }, [\n _vm._v(\"默认数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"3\" } }, [\n _vm._v(\"表单绑定\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"4\" } }, [\n _vm._v(\"数据集\"),\n ]),\n ],\n 1\n ),\n _vm.source == \"1\"\n ? _c(\"a-input\", {\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm.source == 2\n ? _c(\"j-dict-select-tag\", {\n attrs: {\n triggerChange: true,\n dictCode: \"BDMRZ\",\n placeholder: \"请选择默认值\",\n },\n on: { change: _vm.input },\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm._e(),\n _vm.source == \"3\"\n ? _c(\"a-input\", {\n attrs: { placeholder: \"请点击选择绑定表单字段\" },\n on: { click: _vm.openformDataBindModal },\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm._e(),\n _vm.source == \"4\"\n ? _c(\n \"a-button\",\n {\n attrs: { type: \"primary\" },\n on: { click: _vm.openDefaultValueWithSql },\n },\n [_vm._v(\"关联数据集\")]\n )\n : _vm._e(),\n ],\n 1\n ),\n _c(\n \"a-form-model-item\",\n { attrs: { label: \"事项内容\" } },\n [\n _c(\"a-switch\", {\n model: {\n value: _vm.widget.options.matterContentEnable,\n callback: function ($$v) {\n _vm.$set(\n _vm.widget.options,\n \"matterContentEnable\",\n $$v\n )\n },\n expression: \"widget.options.matterContentEnable\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"a-form-model-item\",\n { attrs: { label: \"字段联动\" } },\n [\n _c(\n \"a-button\",\n {\n attrs: { type: \"primary\" },\n on: { click: _vm.showModal },\n },\n [_vm._v(\"联动配置\")]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n _c(\"form-data-bind-modal\", {\n ref: \"formDataBindModal\",\n on: { okSubStr: _vm.okSubStr },\n }),\n _c(\"relate-sub-modal\", {\n ref: \"relateSubModal\",\n attrs: { datalist: _vm.datalist, widget: _vm.widget },\n on: { okSubStr: _vm.okSubStr },\n }),\n _c(\"default-value-with-sql\", {\n ref: \"defaultValueWithSql\",\n on: { setDefalutOk: _vm.setDefalutValue },\n }),\n _c(\"datasetManagement\", {\n ref: \"datasetManagement\",\n on: { setDateOk: _vm.setDateOk },\n }),\n ],\n 1\n ),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Input/widgetSetup.vue?./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
14412
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": () => (/* binding */ render),\n/* harmony export */ \"staticRenderFns\": () => (/* binding */ staticRenderFns)\n/* harmony export */ });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"control\" }, [\n _c(\n \"div\",\n { staticClass: \"form_wrap\" },\n [\n _c(\n \"div\",\n { staticClass: \"form\" },\n [\n _c(\n \"a-form-model\",\n [\n _c(\n \"a-form-model-item\",\n { ref: \"title\", attrs: { label: \"默认值\", prop: \"title\" } },\n [\n _c(\n \"a-radio-group\",\n {\n attrs: { \"button-style\": \"solid\", size: \"small\" },\n model: {\n value: _vm.source,\n callback: function ($$v) {\n _vm.source = $$v\n },\n expression: \"source\",\n },\n },\n [\n _c(\"a-radio-button\", { attrs: { value: \"1\" } }, [\n _vm._v(\"输入数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"2\" } }, [\n _vm._v(\"默认数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"3\" } }, [\n _vm._v(\"表单绑定\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"4\" } }, [\n _vm._v(\"数据集\"),\n ]),\n ],\n 1\n ),\n _vm.source == \"1\"\n ? _c(\"a-input\", {\n on: { change: _vm.changeFn },\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm.source == 2\n ? _c(\"j-dict-select-tag\", {\n attrs: {\n triggerChange: true,\n dictCode: \"BDMRZ\",\n placeholder: \"请选择默认值\",\n },\n on: { change: _vm.input },\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm._e(),\n _vm.source == \"3\"\n ? _c(\"a-input\", {\n attrs: { placeholder: \"请点击选择绑定表单字段\" },\n on: { click: _vm.openformDataBindModal },\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm._e(),\n _vm.source == \"4\"\n ? _c(\n \"a-button\",\n {\n attrs: { type: \"primary\" },\n on: { click: _vm.openDefaultValueWithSql },\n },\n [_vm._v(\"关联数据集\")]\n )\n : _vm._e(),\n ],\n 1\n ),\n _c(\n \"a-form-model-item\",\n { attrs: { label: \"事项内容\" } },\n [\n _c(\"a-switch\", {\n model: {\n value: _vm.widget.options.matterContentEnable,\n callback: function ($$v) {\n _vm.$set(\n _vm.widget.options,\n \"matterContentEnable\",\n $$v\n )\n },\n expression: \"widget.options.matterContentEnable\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"a-form-model-item\",\n { attrs: { label: \"字段联动\" } },\n [\n _c(\n \"a-button\",\n {\n attrs: { type: \"primary\" },\n on: { click: _vm.showModal },\n },\n [_vm._v(\"联动配置\")]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n _c(\"form-data-bind-modal\", {\n ref: \"formDataBindModal\",\n on: { okSubStr: _vm.okSubStr },\n }),\n _c(\"relate-sub-modal\", {\n ref: \"relateSubModal\",\n attrs: { datalist: _vm.datalist, widget: _vm.widget },\n on: { okSubStr: _vm.okSubStr },\n }),\n _c(\"default-value-with-sql\", {\n ref: \"defaultValueWithSql\",\n on: { setDefalutOk: _vm.setDefalutValue },\n }),\n _c(\"datasetManagement\", {\n ref: \"datasetManagement\",\n on: { setDateOk: _vm.setDateOk },\n }),\n ],\n 1\n ),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Input/widgetSetup.vue?./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
14413
14413
|
|
|
14414
14414
|
/***/ }),
|
|
14415
14415
|
|
|
@@ -18086,7 +18086,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
18086
18086
|
/***/ ((module) => {
|
|
18087
18087
|
|
|
18088
18088
|
"use strict";
|
|
18089
|
-
eval("module.exports = JSON.parse('{\"name\":\"@zscreate/form-component\",\"version\":\"1.1.221-test.
|
|
18089
|
+
eval("module.exports = JSON.parse('{\"name\":\"@zscreate/form-component\",\"version\":\"1.1.221-test.8\",\"private\":false,\"description\":\"\",\"main\":\"dist/form-component.umd.js\",\"unpkg\":\"dist/form-component.umd.js\",\"scripts\":{\"version\":\"npm run build\",\"postversion\":\"git push && git push --tags\",\"build\":\"vue-cli-service build --target lib --name form-component src/main.js --formats umd \",\"build:common\":\"vue-cli-service build --target lib --name form-component src/main.js --formats commonjs \",\"build:watch\":\"vue-cli-service build --target lib --name form-component src/main.js --formats umd --watch\"},\"publishConfig\":{\"access\":\"public\",\"registry\":\"https://registry.npmjs.org/\"},\"files\":[\"/dist/**\",\"/dist/*\"],\"exclude\":[\"node_modules\"],\"keywords\":[],\"author\":\"\",\"license\":\"ISC\",\"dependencies\":{\"@uppy/core\":\"^3.1.2\",\"@uppy/dashboard\":\"^3.3.2\",\"@uppy/drag-drop\":\"^3.0.1\",\"@uppy/progress-bar\":\"^3.0.1\",\"@uppy/tus\":\"^3.0.6\",\"@uppy/vue\":\"^1.0.1\",\"@wangeditor/editor\":\"5.1.10\",\"@wangeditor/editor-for-vue\":\"1.0.2\",\"core-js\":\"^3.8.3\",\"moment\":\"^2.29.1\",\"pubsub-js\":\"^1.9.3\",\"vue\":\"2.6.14\",\"vue-draggable-resizable\":\"2.2.0\",\"vue-draggable-resizable-gorkys\":\"2.0.0\",\"vue-grid-layout\":\"^2.3.12\",\"vue-signature-pad\":\"^2.0.2\",\"vue2-editor\":\"^2.10.3\",\"vuedraggable\":\"^2.24.3\",\"wangeditor\":\"^4.7.15\"},\"devDependencies\":{\"@vue/cli-plugin-babel\":\"~5.0.0\",\"@vue/cli-service\":\"~5.0.0\",\"axios\":\"^1.6.2\",\"clipboard\":\"2.0.4\",\"codemirror\":\"^5.46.0\",\"less\":\"^3.0.4\",\"less-loader\":\"^5.0.0\",\"node-sass\":\"^4.11.0\",\"sass-loader\":\"^7.0.1\",\"vue-codemirror\":\"^4.0.6\",\"vue-template-compiler\":\"2.6.14\",\"vue-virtual-scroll-list\":\"^2.3.5\"}}');\n\n//# sourceURL=webpack://form-component/./package.json?");
|
|
18090
18090
|
|
|
18091
18091
|
/***/ })
|
|
18092
18092
|
|