{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\activiti\\model.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\activiti\\model.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\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//\nimport mixinViewModule from '@/mixins/view-module';\nimport AddOrUpdate from \"./model-add-or-update\";\nimport Cookies from 'js-cookie';\nimport qs from 'qs';\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/activiti/model/page',\n getDataListIsPage: true,\n deleteURL: '/activiti/model',\n deleteIsBatch: true\n },\n dataForm: {\n name: '',\n key: ''\n }\n };\n },\n components: {\n AddOrUpdate: AddOrUpdate\n },\n methods: {\n // 获取在线设计url地址\n getModelerURL: function getModelerURL(id) {\n var params = qs.stringify({\n 'access_token': Cookies.get('access_token'),\n 'modelId': id\n });\n return \"\".concat(window.SITE_CONFIG['apiURL'], \"/activiti/modeler.html?\").concat(params);\n },\n // 获取导出url地址\n getExportURL: function getExportURL(id) {\n var params = qs.stringify({\n 'access_token': Cookies.get('access_token')\n });\n return \"\".concat(window.SITE_CONFIG['apiURL'], \"/activiti/model/export/\").concat(id, \"?\").concat(params);\n },\n // 部署\n deployHandle: function deployHandle(id) {\n var _this = this;\n\n this.$confirm(this.$t('prompt.info', {\n 'handle': this.$t('model.deploy')\n }), this.$t('prompt.title'), {\n confirmButtonText: this.$t('confirm'),\n cancelButtonText: this.$t('cancel'),\n type: 'warning'\n }).then(function () {\n _this.$http.post(\"/activiti/model/deploy/\".concat(id)).then(function (_ref) {\n var res = _ref.data;\n\n if (res.code !== 0) {\n return _this.$message.error(res.msg);\n }\n\n _this.$message({\n message: _this.$t('prompt.success'),\n type: 'success',\n duration: 500,\n onClose: function onClose() {\n _this.getDataList();\n }\n });\n }).catch(function () {});\n }).catch(function () {});\n }\n }\n};",{"version":3,"sources":["model.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,OAAA,eAAA,MAAA,sBAAA;AACA,OAAA,WAAA;AACA,OAAA,OAAA,MAAA,WAAA;AACA,OAAA,EAAA,MAAA,IAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,sBADA;AAEA,QAAA,iBAAA,EAAA,IAFA;AAGA,QAAA,SAAA,EAAA,iBAHA;AAIA,QAAA,aAAA,EAAA;AAJA,OADA;AAOA,MAAA,QAAA,EAAA;AACA,QA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A;AACA;;AACA,UAAA,KAAA,CAAA,QAAA,CAAA;AACA,YAAA,OAAA,EAAA,KAAA,CAAA,EAAA,CAAA,gBAAA,CADA;AAEA,YAAA,IAAA,EAAA,SAFA;AAGA,YAAA,QAAA,EAAA,GAHA;AAIA,YAAA,OAAA,EAAA,mBAAA;AACA,cAAA,KAAA,CAAA,WAAA;AACA;AANA,WAAA;AAQA,SAZA,EAYA,KAZA,CAYA,YAAA,CAAA,CAZA;AAaA,OAlBA,EAkBA,KAlBA,CAkBA,YAAA,CAAA,CAlBA;AAmBA;AArCA;AAnBA,CAAA","sourcesContent":["\n \n \n
\n \n \n \n \n \n \n \n {{ $t('query') }}\n \n \n {{ $t('add') }}\n \n \n {{ $t('deleteBatch') }}\n \n \n
\n \n \n \n \n \n \n \n \n {{ $t('model.design') }}\n {{ $t('model.deploy') }}\n {{ $t('export') }}\n {{ $t('delete') }}\n \n \n \n
\n \n \n
\n
\n \n\n\n\n"],"sourceRoot":"src/views/modules/activiti"}]}