1 line
18 KiB
JSON
1 line
18 KiB
JSON
|
{"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
|