{"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\\job\\schedule.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\job\\schedule.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//\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 \"./schedule-add-or-update\";\nimport Log from \"./schedule-log\";\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/job/schedule/page',\n getDataListIsPage: true,\n deleteURL: '/job/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\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\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('/job/schedule/pause', id ? [id] : _this.dataListSelections.map(function (item) {\n return item.id;\n })).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 resumeHandle: function resumeHandle(id) {\n var _this2 = this;\n\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\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('/job/schedule/resume', id ? [id] : _this2.dataListSelections.map(function (item) {\n return item.id;\n })).then(function (_ref2) {\n var res = _ref2.data;\n\n if (res.code !== 0) {\n return _this2.$message.error(res.msg);\n }\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\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\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('/job/schedule/run', id ? [id] : _this3.dataListSelections.map(function (item) {\n return item.id;\n })).then(function (_ref3) {\n var res = _ref3.data;\n\n if (res.code !== 0) {\n return _this3.$message.error(res.msg);\n }\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\n this.logVisible = true;\n this.$nextTick(function () {\n _this4.$refs.log.init();\n });\n }\n }\n};",{"version":3,"sources":["schedule.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EA,OAAA,eAAA,MAAA,sBAAA;AACA,OAAA,WAAA;AACA,OAAA,GAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,oBADA;AAEA,QAAA,iBAAA,EAAA,IAFA;AAGA,QAAA,SAAA,EAAA,eAHA;AAIA,QAAA,aAAA,EAAA;AAJA,OADA;AAOA,MAAA,QAAA,EAAA;AACA,QAAA,QAAA,EAAA;AADA,OAPA;AAUA,MAAA,UAAA,EAAA;AAVA,KAAA;AAYA,GAfA;AAgBA,EAAA,UAAA,EAAA;AACA,IAAA,WAAA,EAAA,WADA;AAEA,IAAA,GAAA,EAAA;AAFA,GAhBA;AAoBA,EAAA,OAAA,EAAA;AACA;AACA,IAAA,WAFA,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