{"remainingRequest":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\babel-loader\\lib\\index.js!D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\HTC\\program\\善行少年\\security-enterprise-admin\\src\\views\\modules\\job\\schedule.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\src\\views\\modules\\job\\schedule.vue","mtime":1581948666000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\babel.config.js","mtime":1581948662000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import mixinViewModule from '@/mixins/view-module';\nimport AddOrUpdate from \"./schedule-add-or-update\";\nimport Log from \"./schedule-log\";\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/sys/schedule/page',\n getDataListIsPage: true,\n deleteURL: '/sys/schedule',\n deleteIsBatch: true\n },\n dataForm: {\n beanName: ''\n },\n logVisible: false\n };\n },\n components: {\n AddOrUpdate: AddOrUpdate,\n Log: Log\n },\n methods: {\n // 暂停\n pauseHandle: function pauseHandle(id) {\n var _this = this;\n if (!id && this.dataListSelections.length <= 0) {\n return this.$message({\n message: this.$t('prompt.deleteBatch'),\n type: 'warning',\n duration: 500\n });\n }\n this.$confirm(this.$t('prompt.info', {\n 'handle': this.$t('schedule.pause')\n }), this.$t('prompt.title'), {\n confirmButtonText: this.$t('confirm'),\n cancelButtonText: this.$t('cancel'),\n type: 'warning'\n }).then(function () {\n _this.$http.put('/sys/schedule/pause', id ? [id] : _this.dataListSelections.map(function (item) {\n return item.id;\n })).then(function (_ref) {\n var res = _ref.data;\n if (res.code !== 0) {\n return _this.$message.error(res.msg);\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 resumeHandle: function resumeHandle(id) {\n var _this2 = this;\n if (!id && this.dataListSelections.length <= 0) {\n return this.$message({\n message: this.$t('prompt.deleteBatch'),\n type: 'warning',\n duration: 500\n });\n }\n this.$confirm(this.$t('prompt.info', {\n 'handle': this.$t('schedule.resume')\n }), this.$t('prompt.title'), {\n confirmButtonText: this.$t('confirm'),\n cancelButtonText: this.$t('cancel'),\n type: 'warning'\n }).then(function () {\n _this2.$http.put('/sys/schedule/resume', id ? [id] : _this2.dataListSelections.map(function (item) {\n return item.id;\n })).then(function (_ref2) {\n var res = _ref2.data;\n if (res.code !== 0) {\n return _this2.$message.error(res.msg);\n }\n _this2.$message({\n message: _this2.$t('prompt.success'),\n type: 'success',\n duration: 500,\n onClose: function onClose() {\n _this2.getDataList();\n }\n });\n }).catch(function () {});\n }).catch(function () {});\n },\n // 执行\n runHandle: function runHandle(id) {\n var _this3 = this;\n if (!id && this.dataListSelections.length <= 0) {\n return this.$message({\n message: this.$t('prompt.deleteBatch'),\n type: 'warning',\n duration: 500\n });\n }\n this.$confirm(this.$t('prompt.info', {\n 'handle': this.$t('schedule.run')\n }), this.$t('prompt.title'), {\n confirmButtonText: this.$t('confirm'),\n cancelButtonText: this.$t('cancel'),\n type: 'warning'\n }).then(function () {\n _this3.$http.put('/sys/schedule/run', id ? [id] : _this3.dataListSelections.map(function (item) {\n return item.id;\n })).then(function (_ref3) {\n var res = _ref3.data;\n if (res.code !== 0) {\n return _this3.$message.error(res.msg);\n }\n _this3.$message({\n message: _this3.$t('prompt.success'),\n type: 'success',\n duration: 500,\n onClose: function onClose() {\n _this3.getDataList();\n }\n });\n }).catch(function () {});\n }).catch(function () {});\n },\n // 日志列表\n logHandle: function logHandle() {\n var _this4 = this;\n this.logVisible = true;\n this.$nextTick(function () {\n _this4.$refs.log.init();\n });\n }\n }\n};",{"version":3,"names":["mixinViewModule","AddOrUpdate","Log","mixins","data","mixinViewModuleOptions","getDataListURL","getDataListIsPage","deleteURL","deleteIsBatch","dataForm","beanName","logVisible","components","methods","pauseHandle","id","_this","dataListSelections","length","$message","message","$t","type","duration","$confirm","confirmButtonText","cancelButtonText","then","$http","put","map","item","_ref","res","code","error","msg","onClose","getDataList","catch","resumeHandle","_this2","_ref2","runHandle","_this3","_ref3","logHandle","_this4","$nextTick","$refs","log","init"],"sources":["src/views/modules/job/schedule.vue"],"sourcesContent":["\r\n\r\n\r\n"],"mappings":"AA2EA,OAAAA,eAAA;AACA,OAAAC,WAAA;AACA,OAAAC,GAAA;AACA;EACAC,MAAA,GAAAH,eAAA;EACAI,IAAA,WAAAA,KAAA;IACA;MACAC,sBAAA;QACAC,cAAA;QACAC,iBAAA;QACAC,SAAA;QACAC,aAAA;MACA;MACAC,QAAA;QACAC,QAAA;MACA;MACAC,UAAA;IACA;EACA;EACAC,UAAA;IACAZ,WAAA,EAAAA,WAAA;IACAC,GAAA,EAAAA;EACA;EACAY,OAAA;IACA;IACAC,WAAA,WAAAA,YAAAC,EAAA;MAAA,IAAAC,KAAA;MACA,KAAAD,EAAA,SAAAE,kBAAA,CAAAC,MAAA;QACA,YAAAC,QAAA;UACAC,OAAA,OAAAC,EAAA;UACAC,IAAA;UACAC,QAAA;QACA;MACA;MACA,KAAAC,QAAA,MAAAH,EAAA;QAAA,eAAAA,EAAA;MAAA,SAAAA,EAAA;QACAI,iBAAA,OAAAJ,EAAA;QACAK,gBAAA,OAAAL,EAAA;QACAC,IAAA;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