{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\system\\Enclosure\\attachmentConfig.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\system\\Enclosure\\attachmentConfig.vue","mtime":1675071993116},{"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":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nconst eipFlowDialog = () => import('@/components/dialog/EipFlowDialog.vue')\r\nimport ConfigDialog from '@/components/dialog/ConfigDialog'\r\nexport default {\r\n components: {\r\n eipFlowDialog,\r\n ConfigDialog,\r\n },\r\n data() {\r\n return {\r\n dialogVisible: false,\r\n submitUrl: '',\r\n insertUrl: '${portal}/file/fileConfig/v1/insertFileConfig',\r\n updateUrl: '${portal}/file/fileConfig/v1/updateFileConfig',\r\n data: [],\r\n querySearch: [\r\n {\r\n label: '名称',\r\n prop: 'c.name_',\r\n }\r\n ],\r\n pageResult: {\r\n page: 1,\r\n pageSize: 50,\r\n total: 0,\r\n },\r\n attachmentConfig: {\r\n allowDelete: 1,\r\n storageName: '',\r\n allowMultiple: 1,\r\n },\r\n isSubmit: false,\r\n }\r\n },\r\n mounted() {\r\n this.$validator = this.$root.$validator\r\n },\r\n methods: {\r\n handleSelectMsgkind(row) {\r\n this.attachmentConfig.storageName = row.name\r\n this.attachmentConfig.storageId = row.id\r\n this.$forceUpdate()\r\n },\r\n openTemplateKind() {\r\n this.$refs.msgkind.open()\r\n },\r\n showFlowDialog() {\r\n this.$refs.eipFlowDialog.showDialog()\r\n },\r\n showDialog(id) {\r\n if (id) {\r\n this.$http.get('${portal}/file/fileConfig/v1/getOneById?id='+id).then(\r\n (resp) => {\r\n this.attachmentConfig = resp.data\r\n this.dialogVisible = true\r\n this.submitUrl = this.updateUrl\r\n },\r\n (error) => {\r\n reject(error)\r\n }\r\n )\r\n } else {\r\n this.attachmentConfig = {\r\n allowMultiple: 1,\r\n allowDelete: 1,\r\n }\r\n this.dialogVisible = true\r\n this.submitUrl = this.insertUrl\r\n }\r\n },\r\n beforeCloseDialog() {\r\n this.attachmentConfig = {}\r\n this.submitUrl = ''\r\n this.dialogVisible = false\r\n },\r\n handleClose(flow) {\r\n this.selectedFlows.splice(this.selectedFlows.indexOf(flow), 1)\r\n },\r\n loadData(param, cb) {\r\n this.$http\r\n .post('${portal}/file/fileConfig/v1/queryPage', param)\r\n .then(\r\n (resp) => {\r\n let response = resp.data\r\n this.data = response.rows\r\n this.pageResult = {\r\n page: response.page,\r\n pageSize: response.pageSize,\r\n total: response.total,\r\n }\r\n },\r\n (error) => {\r\n reject(error)\r\n }\r\n )\r\n .finally(() => cb())\r\n },\r\n beforeSaveData() {\r\n this.isSubmit = true\r\n },\r\n afterSaveData() {\r\n setTimeout(() => {\r\n this.beforeCloseDialog()\r\n this.$refs.htTable.load()\r\n }, 500)\r\n },\r\n },\r\n}\r\n",null]}