@zscreate/form-component 1.1.221-test.3 → 1.1.221-test.4

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.
@@ -321,7 +321,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
321
321
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
322
322
 
323
323
  "use strict";
324
- 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 _mixins_JeecgListMixin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/mixins/JeecgListMixin */ \"./src/mixins/JeecgListMixin.js\");\n/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_1__ = __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/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n mixins: [_mixins_JeecgListMixin__WEBPACK_IMPORTED_MODULE_0__.JeecgListMixin],\n data() {\n return {\n queryParam: {},\n columns: [{\n title: \"序号\",\n dataIndex: \"index\",\n key: \"index\",\n align: \"center\",\n width: 70,\n // 换页后显示总的序号\n customRender: (text, record, index) => {\n return index + 1 + (this.ipagination.current - 1) * this.ipagination.pageSize;\n }\n }, {\n title: \"数据集名称\",\n align: \"left\",\n dataIndex: \"setName\",\n ellipsis: true\n }, {\n title: \"所属分类\",\n align: \"left\",\n dataIndex: \"setTypeName\",\n ellipsis: true\n }, {\n title: \"数据获取形式\",\n align: \"left\",\n dataIndex: \"sourceType\",\n customRender: function (text) {\n if (text == 1) {\n return \"SQL语句\";\n } else if (text == 2) {\n return \"API\";\n }\n }\n }, {\n title: \"数据返回格式\",\n align: \"left\",\n dataIndex: \"dataType\",\n customRender: function (text) {\n if (text == 0) {\n return \"字符串\";\n } else if (text == 1) {\n return \"对象\";\n } else if (text == 2) {\n return \"数组\";\n }\n }\n }, {\n title: \"描述\",\n align: \"left\",\n dataIndex: \"description\",\n ellipsis: true\n }],\n url: {\n list: \"/dataset/list\"\n },\n loadingModal: false,\n classificationList: {\n parent: {\n title: '数据集',\n isDown: true\n },\n children: []\n },\n classificationActived: '',\n isFilter: true,\n needSearch: true,\n dictId: 'a510d2b515d669e27fa112f940d0fe77',\n options: {\n defaultValue: \"\",\n defaultSQL: {\n querySql: \"\",\n typeCode: ''\n }\n },\n visible: false,\n selectedRowKeys: []\n };\n },\n methods: {\n onSelectChange(key, value) {\n console.log(key, value);\n this.selectedRowKeys = key;\n },\n // 确认选择\n handleOk() {\n this.$emit(\"setDateOk\", {\n querySql: this.selectedRowKeys[0],\n typeCode: this.classificationActived\n });\n this.handleCancel();\n },\n // 关闭弹框\n handleCancel() {\n this.visible = false;\n },\n // 初始化数据\n init(options) {\n this.options = options;\n debugger;\n this.visible = true;\n if (options.defaultSQL && options.defaultSQL.querySql) {\n this.selectedRowKeys = [options.defaultSQL.querySql];\n }\n this.getClassification(options.defaultSQL && options.defaultSQL.typeCode);\n },\n // 删除数据集\n handleDeleteTree(typeCode) {\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_1__.deleteAction)('/dataset/deleteByType', {\n typeCode\n }).then(res => {\n if (res.success) {\n this.$message.success(res.message);\n this.getClassification();\n } else {\n this.$message.warning(res.message);\n }\n });\n },\n // 修改数据集\n editTreeList(record) {\n this.$refs.addTreeList.edit(record);\n this.$refs.addTreeList.title = \"编辑\";\n },\n // 新增数据集\n addTreeList() {\n this.$refs.addTreeList.add(this.dictId);\n this.$refs.addTreeList.title = \"新增\";\n },\n clickFn(item) {\n if (this.loading) return;\n this.classificationActived = item.itemValue;\n this.userSearch.setType = item.itemValue;\n if (this.userSearch.sjjName) delete this.userSearch.sjjName;\n this.loadData(1);\n },\n // 获取树形结构的数据\n getClassification(code) {\n debugger;\n this.loadingModal = true;\n let params = {};\n params.field = 'id,itemText,itemValue,action';\n params.dictId = this.dictId;\n params.pageNo = 1;\n params.pageSize = 1000;\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_1__.getAction)('sys/dictItem/list', params).then(res => {\n if (res.success) {\n this.classificationList.children = res.result.records ? res.result.records : [];\n this.classificationActived = this.userSearch.setType = code ? code : res.result.records && res.result.records.length > 0 ? res.result.records[0].itemValue : '';\n this.userSearch.dataType = '2';\n this.loadData();\n }\n }).finally(() => {\n this.loadingModal = false;\n });\n },\n // 是否发布/撤回\n handlePush(id, num) {\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_1__.postAction)(\"/datasetup/editPublicStatus\", {\n id,\n publicStatus: num ? 0 : 1\n }).then(res => {\n if (res.success) {\n num ? this.$message.success(\"撤回成功!\") : this.$message.success(\"发布成功!\");\n this.loadData();\n } else {\n this.$message.warning(res.message);\n }\n });\n },\n // 新增列表数据\n handleAdd() {\n this.$refs.CompModal.add(this.classificationActived);\n },\n handleEdit(record) {\n console.log(record);\n this.$refs.CompModal.edit(record);\n },\n handleok() {\n this.loadData();\n },\n handleDelete(ids) {\n // 删除单页最后一个数据判断,返回上一页\n let idx = 0;\n if (this.dataSource.length === 1) {\n idx = this.ipagination.current === 1 ? 1 : this.ipagination.current - 1;\n } else {\n idx = this.ipagination.current;\n }\n let params = {\n ids\n };\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_1__.deleteAction)(\"/dataset/delete\", params).then(res => {\n console.log(res);\n if (res.success) {\n this.$message.success(res.message);\n this.loadData(idx);\n } else {\n this.$message.warning(res.message);\n }\n });\n },\n reset() {\n this.userSearch = {\n setType: this.userSearch.setType,\n dataType: '2'\n };\n this.queryParam = {};\n this.loadData(1);\n }\n }\n // activated() {\n // this.getClassification()\n // },\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/common/Modals/datasetManagement.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");
324
+ 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 _mixins_JeecgListMixin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/mixins/JeecgListMixin */ \"./src/mixins/JeecgListMixin.js\");\n/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_1__ = __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/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n mixins: [_mixins_JeecgListMixin__WEBPACK_IMPORTED_MODULE_0__.JeecgListMixin],\n data() {\n return {\n queryParam: {},\n columns: [{\n title: \"序号\",\n dataIndex: \"index\",\n key: \"index\",\n align: \"center\",\n width: 70,\n // 换页后显示总的序号\n customRender: (text, record, index) => {\n return index + 1 + (this.ipagination.current - 1) * this.ipagination.pageSize;\n }\n }, {\n title: \"数据集名称\",\n align: \"left\",\n dataIndex: \"setName\",\n ellipsis: true\n }, {\n title: \"所属分类\",\n align: \"left\",\n dataIndex: \"setTypeName\",\n ellipsis: true\n }, {\n title: \"数据获取形式\",\n align: \"left\",\n dataIndex: \"sourceType\",\n customRender: function (text) {\n if (text == 1) {\n return \"SQL语句\";\n } else if (text == 2) {\n return \"API\";\n }\n }\n }, {\n title: \"数据返回格式\",\n align: \"left\",\n dataIndex: \"dataType\",\n customRender: function (text) {\n if (text == 0) {\n return \"字符串\";\n } else if (text == 1) {\n return \"对象\";\n } else if (text == 2) {\n return \"数组\";\n }\n }\n }, {\n title: \"描述\",\n align: \"left\",\n dataIndex: \"description\",\n ellipsis: true\n }],\n url: {\n list: \"/dataset/list\"\n },\n loadingModal: false,\n classificationList: {\n parent: {\n title: '数据集',\n isDown: true\n },\n children: []\n },\n classificationActived: '',\n isFilter: true,\n needSearch: true,\n dictId: 'a510d2b515d669e27fa112f940d0fe77',\n options: {\n defaultValue: \"\",\n defaultSQL: {\n querySql: \"\",\n typeCode: ''\n }\n },\n visible: false,\n selectedRowKeys: [],\n isNeedDataType: false //是否需要默认筛选\n };\n },\n\n methods: {\n onSelectChange(key, value) {\n console.log(key, value);\n this.selectedRowKeys = key;\n },\n // 确认选择\n handleOk() {\n this.$emit(\"setDateOk\", {\n querySql: this.selectedRowKeys[0],\n typeCode: this.classificationActived\n });\n this.handleCancel();\n },\n // 关闭弹框\n handleCancel() {\n this.visible = false;\n },\n // 初始化数据\n init(options, isNeedDataType) {\n this.options = options;\n this.visible = true;\n if (options.defaultSQL && options.defaultSQL.querySql) {\n this.selectedRowKeys = [options.defaultSQL.querySql];\n }\n this.isNeedDataType = isNeedDataType;\n this.getClassification(options.defaultSQL && options.defaultSQL.typeCode);\n },\n // 删除数据集\n handleDeleteTree(typeCode) {\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_1__.deleteAction)('/dataset/deleteByType', {\n typeCode\n }).then(res => {\n if (res.success) {\n this.$message.success(res.message);\n this.getClassification();\n } else {\n this.$message.warning(res.message);\n }\n });\n },\n // 修改数据集\n editTreeList(record) {\n this.$refs.addTreeList.edit(record);\n this.$refs.addTreeList.title = \"编辑\";\n },\n // 新增数据集\n addTreeList() {\n this.$refs.addTreeList.add(this.dictId);\n this.$refs.addTreeList.title = \"新增\";\n },\n clickFn(item) {\n if (this.loading) return;\n this.classificationActived = item.itemValue;\n this.userSearch.setType = item.itemValue;\n if (this.userSearch.sjjName) delete this.userSearch.sjjName;\n this.loadData(1);\n },\n // 获取树形结构的数据\n getClassification(code) {\n debugger;\n this.loadingModal = true;\n let params = {};\n params.field = 'id,itemText,itemValue,action';\n params.dictId = this.dictId;\n params.pageNo = 1;\n params.pageSize = 1000;\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_1__.getAction)('sys/dictItem/list', params).then(res => {\n if (res.success) {\n this.classificationList.children = res.result.records ? res.result.records : [];\n this.classificationActived = this.userSearch.setType = code ? code : res.result.records && res.result.records.length > 0 ? res.result.records[0].itemValue : '';\n if (!this.isNeedDataType) this.userSearch.dataType = '2';\n this.loadData();\n }\n }).finally(() => {\n this.loadingModal = false;\n });\n },\n // 是否发布/撤回\n handlePush(id, num) {\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_1__.postAction)(\"/datasetup/editPublicStatus\", {\n id,\n publicStatus: num ? 0 : 1\n }).then(res => {\n if (res.success) {\n num ? this.$message.success(\"撤回成功!\") : this.$message.success(\"发布成功!\");\n this.loadData();\n } else {\n this.$message.warning(res.message);\n }\n });\n },\n // 新增列表数据\n handleAdd() {\n this.$refs.CompModal.add(this.classificationActived);\n },\n handleEdit(record) {\n console.log(record);\n this.$refs.CompModal.edit(record);\n },\n handleok() {\n this.loadData();\n },\n handleDelete(ids) {\n // 删除单页最后一个数据判断,返回上一页\n let idx = 0;\n if (this.dataSource.length === 1) {\n idx = this.ipagination.current === 1 ? 1 : this.ipagination.current - 1;\n } else {\n idx = this.ipagination.current;\n }\n let params = {\n ids\n };\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_1__.deleteAction)(\"/dataset/delete\", params).then(res => {\n console.log(res);\n if (res.success) {\n this.$message.success(res.message);\n this.loadData(idx);\n } else {\n this.$message.warning(res.message);\n }\n });\n },\n reset() {\n this.userSearch = {\n setType: this.userSearch.setType,\n dataType: '2'\n };\n if (this.isNeedDataType) delete this.userSearch.dataType;\n this.queryParam = {};\n this.loadData(1);\n }\n }\n // activated() {\n // this.getClassification()\n // },\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/common/Modals/datasetManagement.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");
325
325
 
326
326
  /***/ }),
327
327
 
@@ -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);\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/* 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");
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);\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 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");
1150
1150
 
1151
1151
  /***/ }),
1152
1152
 
@@ -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.3\",\"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?");
18089
+ eval("module.exports = JSON.parse('{\"name\":\"@zscreate/form-component\",\"version\":\"1.1.221-test.4\",\"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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/form-component",
3
- "version": "1.1.221-test.3",
3
+ "version": "1.1.221-test.4",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/form-component.umd.js",