forked from zhurui/management
1 line
15 KiB
JSON
1 line
15 KiB
JSON
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!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=template&id=7b8384cb&","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\\vue-loader\\lib\\loaders\\templateLoader.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":["var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"el-card\",\n { staticClass: \"aui-card--fill\", attrs: { shadow: \"never\" } },\n [\n _c(\n \"div\",\n { staticClass: \"mod-job__schedule\" },\n [\n _c(\n \"el-form\",\n {\n attrs: { inline: true, model: _vm.dataForm },\n nativeOn: {\n keyup: function($event) {\n if (\n !$event.type.indexOf(\"key\") &&\n _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")\n ) {\n return null\n }\n return _vm.getDataList()\n }\n }\n },\n [\n _c(\n \"el-form-item\",\n [\n _c(\"el-input\", {\n attrs: {\n placeholder: _vm.$t(\"schedule.beanName\"),\n clearable: \"\"\n },\n model: {\n value: _vm.dataForm.beanName,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"beanName\", $$v)\n },\n expression: \"dataForm.beanName\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n [\n _c(\n \"el-button\",\n {\n on: {\n click: function($event) {\n return _vm.getDataList()\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"query\")))]\n )\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n [\n _vm.$hasPermission(\"sys:schedule:save\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"primary\" },\n on: {\n click: function($event) {\n return _vm.addOrUpdateHandle()\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"add\")))]\n )\n : _vm._e()\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n [\n _vm.$hasPermission(\"sys:schedule:delete\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"danger\" },\n on: {\n click: function($event) {\n return _vm.deleteHandle()\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"deleteBatch\")))]\n )\n : _vm._e()\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n [\n _vm.$hasPermission(\"sys:schedule:pause\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"danger\" },\n on: {\n click: function($event) {\n return _vm.pauseHandle()\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"schedule.pauseBatch\")))]\n )\n : _vm._e()\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n [\n _vm.$hasPermission(\"sys:schedule:resume\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"danger\" },\n on: {\n click: function($event) {\n return _vm.resumeHandle()\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"schedule.resumeBatch\")))]\n )\n : _vm._e()\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n [\n _vm.$hasPermission(\"sys:schedule:run\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"danger\" },\n on: {\n click: function($event) {\n return _vm.runHandle()\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"schedule.runBatch\")))]\n )\n : _vm._e()\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n [\n _vm.$hasPermission(\"sys:schedule:log\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"success\" },\n on: {\n click: function($event) {\n return _vm.logHandle()\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"schedule.log\")))]\n )\n : _vm._e()\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"el-table\",\n {\n directives: [\n {\n name: \"loading\",\n rawName: \"v-loading\",\n value: _vm.dataListLoading,\n expression: \"dataListLoading\"\n }\n ],\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.dataList, border: \"\" },\n on: {\n \"selection-change\": _vm.dataListSelectionChangeHandle,\n \"sort-change\": _vm.dataListSortChangeHandle\n }\n },\n [\n _c(\"el-table-column\", {\n attrs: {\n type: \"selection\",\n \"header-align\": \"center\",\n align: \"center\",\n width: \"50\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"beanName\",\n label: _vm.$t(\"schedule.beanName\"),\n \"header-align\": \"center\",\n align: \"center\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"params\",\n label: _vm.$t(\"schedule.params\"),\n \"header-align\": \"center\",\n align: \"center\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"cronExpression\",\n label: _vm.$t(\"schedule.cronExpression\"),\n \"header-align\": \"center\",\n align: \"center\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"remark\",\n label: _vm.$t(\"schedule.remark\"),\n \"header-align\": \"center\",\n align: \"center\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"status\",\n label: _vm.$t(\"schedule.status\"),\n sortable: \"custom\",\n \"header-align\": \"center\",\n align: \"center\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n scope.row.status === 1\n ? _c(\"el-tag\", { attrs: { size: \"small\" } }, [\n _vm._v(_vm._s(_vm.$t(\"schedule.status1\")))\n ])\n : _c(\n \"el-tag\",\n { attrs: { size: \"small\", type: \"danger\" } },\n [_vm._v(_vm._s(_vm.$t(\"schedule.status0\")))]\n )\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: {\n label: _vm.$t(\"handle\"),\n fixed: \"right\",\n \"header-align\": \"center\",\n align: \"center\",\n width: \"150\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _vm.$hasPermission(\"sys:schedule:update\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"text\", size: \"small\" },\n on: {\n click: function($event) {\n return _vm.addOrUpdateHandle(scope.row.id)\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"update\")))]\n )\n : _vm._e(),\n _vm.$hasPermission(\"sys:schedule:pause\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"text\", size: \"small\" },\n on: {\n click: function($event) {\n return _vm.pauseHandle(scope.row.id)\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"schedule.pause\")))]\n )\n : _vm._e(),\n _vm.$hasPermission(\"sys:schedule:resume\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"text\", size: \"small\" },\n on: {\n click: function($event) {\n return _vm.resumeHandle(scope.row.id)\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"schedule.resume\")))]\n )\n : _vm._e(),\n _vm.$hasPermission(\"sys:schedule:run\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"text\", size: \"small\" },\n on: {\n click: function($event) {\n return _vm.runHandle(scope.row.id)\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"schedule.run\")))]\n )\n : _vm._e(),\n _vm.$hasPermission(\"sys:schedule:delete\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"text\", size: \"small\" },\n on: {\n click: function($event) {\n return _vm.deleteHandle(scope.row.id)\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"delete\")))]\n )\n : _vm._e()\n ]\n }\n }\n ])\n })\n ],\n 1\n ),\n _c(\"el-pagination\", {\n attrs: {\n \"current-page\": _vm.page,\n \"page-sizes\": [10, 20, 50, 100],\n \"page-size\": _vm.limit,\n total: _vm.total,\n layout: \"total, sizes, prev, pager, next, jumper\"\n },\n on: {\n \"size-change\": _vm.pageSizeChangeHandle,\n \"current-change\": _vm.pageCurrentChangeHandle\n }\n }),\n _vm.addOrUpdateVisible\n ? _c(\"add-or-update\", {\n ref: \"addOrUpdate\",\n on: { refreshDataList: _vm.getDataList }\n })\n : _vm._e(),\n _vm.logVisible ? _c(\"log\", { ref: \"log\" }) : _vm._e()\n ],\n 1\n )\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"]} |