{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\form\\customView\\ViewEdit.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\form\\customView\\ViewEdit.vue","mtime":1675071992131},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\nimport _defineProperty from \"D:/jenkins/workspace/xq-web-bpm/node_modules/@babel/runtime/helpers/esm/defineProperty\";\nimport \"core-js/modules/es6.function.name\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport form from \"@/api/form.js\";\nimport flow from \"@/api/flow.js\";\nimport utils from \"@/hotent-ui-util.js\";\nimport SummarySetting from \"../dataTemplate/SummarySetting\";\n\nvar templateEdit = function templateEdit() {\n return import(\"@/components/form/customView/TemplateEdit.vue\");\n};\n\nvar menusAdd = function menusAdd() {\n return import(\"@/components/form/customView/MenusAdd.vue\");\n};\n\nvar filterDialog = function filterDialog() {\n return import(\"@/components/form/customView/FilterDialog.vue\");\n};\n\nvar authEdit = function authEdit() {\n return import(\"@/components/form/customView/AuthEdit.vue\");\n};\n\nvar summarySetting = function summarySetting() {\n return import(\"@/components/form/dataTemplate/SummarySetting.vue\");\n};\n\nexport default {\n components: {\n SummarySetting: SummarySetting,\n templateEdit: templateEdit,\n menusAdd: menusAdd,\n filterDialog: filterDialog,\n authEdit: authEdit,\n summarySetting: summarySetting\n },\n props: {\n id: String,\n sqlAlias: String\n },\n data: function data() {\n return {\n dialogVisible: false,\n data: {\n templateAlias: \"\",\n rebuildTemp: 1,\n sqlAlias: this.sqlAlias,\n filterType: '1',\n needPage: 1,\n pageSize: '30',\n initQuery: 1,\n showRowsNum: 0,\n supportGroup: 0,\n filterInitType: '1',\n filterInitSql: '',\n shows: [],\n conditions: [],\n alias: \"\",\n interface: \"\"\n },\n templateList: [],\n sqlDef: {},\n fields: [],\n filterFields: [],\n permissionList: [],\n permissionMap: {\n 'none': '无'\n },\n saveUrl: window.context.form + \"/form/query/queryView/save\",\n submitData: {},\n selectedData: {},\n selectedIndex: 0,\n summaryData: {\n bpmDataTemplate: {},\n displaySettingFields: \"\"\n }\n };\n },\n watch: {\n data: {\n handler: function handler(newValue, oldValue) {\n if (newValue.alias != \"\") {\n this.data.interface = window.context.form + \"/form/query/queryView/data_\" + this.sqlAlias + \"/\" + newValue.alias;\n this.convertData();\n }\n }\n },\n deep: true,\n immediate: true\n },\n mounted: function mounted() {},\n methods: {\n // 复制成功时的回调函数\n onCopy: function onCopy(e) {\n this.$message.success(\"内容已复制到剪切板!\");\n },\n // 复制失败时的回调函数\n onError: function onError(e) {\n this.$message.error(\"抱歉,复制失败!\");\n },\n beforeClose: function beforeClose() {\n this.dialogVisible = false;\n },\n handleOpen: function handleOpen() {\n var this_ = this;\n this_.dialogVisible = true;\n this_.$nextTick(function () {\n // 获取模板列表\n form.getTemplateList().then(function (response) {\n this_.templateList = response;\n this_.data.templateAlias = response[0].alias;\n }); // todo 这里获取到数据并没使用注释掉 接口请求失败 获取权限列表\n // flow.getPermissionList().then(result=>{\n // if (result){\n // this_.permissionList = result;\n // for (let i=0;i= 0) {\n this.filterFields.splice(this.selectedIndex, 1);\n this.filterFields.splice(this.selectedIndex, 0, data);\n } else {\n this.filterFields.push(data);\n }\n },\n editAuth: function editAuth(data, index) {\n if (data) {\n this.selectedData = data;\n this.selectedIndex = index;\n }\n\n this.$refs.authEdit.handleOpen();\n },\n convertData: function convertData() {\n var list = this.data.shows.filter(function (item) {\n return item.isShow === 1;\n }).map(function (item) {\n var i = {\n name: item.fieldName,\n type: item.dataType\n };\n return i;\n });\n this.summaryData.displaySettingFields = JSON.stringify(list);\n this.summaryData.bpmDataTemplate.summaryField = this.data.summarySetting;\n }\n }\n};",null]}