\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 \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// WEBPACK FOOTER //\n// src/views/taskmanager/Task.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"task-box\"},[_c('el-form',{staticClass:\"task-form-inline\",attrs:{\"inline\":true}},[_c('el-form-item',{attrs:{\"label\":\"任务名称\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"placeholder\":\"请输入任务名称\",\"clearable\":\"\"},model:{value:(_vm.queryInfo.jobName),callback:function ($$v) {_vm.$set(_vm.queryInfo, \"jobName\", $$v)},expression:\"queryInfo.jobName\"}})],1),_vm._v(\" \"),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.selectTaskList}},[_vm._v(\"查询\")])],1),_vm._v(\" \"),_c('el-row',[_c('el-col',{attrs:{\"span\":4}},[_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.addDialogVisible = true}}},[_vm._v(\"添加\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"icon\":\"el-icon-question\"},on:{\"click\":_vm.helpCronExpression}},[_vm._v(\"帮助\")])],1)],1)],1)],1),_vm._v(\" \"),_c('el-table',{attrs:{\"data\":_vm.taskList.slice((_vm.currpage - 1)*_vm.queryInfo.pageSize, _vm.currpage*_vm.queryInfo.pageSize),\"border\":\"\",\"fit\":true}},[_c('el-table-column',{attrs:{\"label\":\"序号\",\"type\":\"index\",\"align\":\"center\",\"width\":\"80\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"任务名称\",\"prop\":\"jobName\"}}),_vm._v(\" \"),(false)?_c('el-table-column',{attrs:{\"label\":\"任务状态\",\"prop\":\"jobStatus\",\"width\":\"100\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.beanClass != 'default')?_c('el-switch',{attrs:{\"active-value\":\"1\",\"inactive-value\":\"0\"},on:{\"change\":function($event){return _vm.changeJobStatus(scope.row)}},model:{value:(scope.row.jobStatus),callback:function ($$v) {_vm.$set(scope.row, \"jobStatus\", $$v)},expression:\"scope.row.jobStatus\"}}):_vm._e()]}}],null,false,3955362618)}):_vm._e(),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"CRON\",\"prop\":\"cronExpression\",\"width\":\"160\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"创建时间\",\"prop\":\"createTime\",\"width\":\"180\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"创建人员\",\"prop\":\"createPerson\",\"width\":\"120\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"更新时间\",\"prop\":\"updateTime\",\"width\":\"180\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"更新人员\",\"prop\":\"updatePerson\",\"width\":\"120\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"备注\",\"prop\":\"comments\",\"show-overflow-tooltip\":\"\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\",\"fixed\":\"right\",\"width\":\"150\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.beanClass != 'default')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.showDetailDialog(scope.row.id)}}},[_vm._v(\"查看\")]):_vm._e(),_vm._v(\" \"),(scope.row.beanClass != 'default')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.showEditDialog(scope.row.id)}}},[_vm._v(\"编辑\")]):_vm._e(),_vm._v(\" \"),(scope.row.beanClass != 'default')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.delTask(scope.row.id)}}},[_vm._v(\"删除\")]):_vm._e()]}}])})],1),_vm._v(\" \"),_c('el-pagination',{attrs:{\"current-page\":_vm.currpage,\"page-sizes\":[5, 10, 20, 30],\"page-size\":_vm.queryInfo.pageSize,\"layout\":\"prev, pager, next, sizes, total, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}}),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"添加\",\"visible\":_vm.addDialogVisible,\"close-on-click-modal\":false,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.addDialogVisible=$event},\"close\":_vm.addDialogClose}},[_c('el-form',{ref:\"addFormRef\",attrs:{\"model\":_vm.addForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"任务类型\",\"prop\":\"beanClass\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"clearable\":\"\"},model:{value:(_vm.addForm.beanClass),callback:function ($$v) {_vm.$set(_vm.addForm, \"beanClass\", $$v)},expression:\"addForm.beanClass\"}},_vm._l((_vm.taskOptions),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.name,\"value\":item.value}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"任务名\",\"prop\":\"jobName\"}},[_c('el-input',{model:{value:(_vm.addForm.jobName),callback:function ($$v) {_vm.$set(_vm.addForm, \"jobName\", $$v)},expression:\"addForm.jobName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"CRON\",\"prop\":\"cronExpression\"}},[_c('el-input',{model:{value:(_vm.addForm.cronExpression),callback:function ($$v) {_vm.$set(_vm.addForm, \"cronExpression\", $$v)},expression:\"addForm.cronExpression\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"备注\",\"prop\":\"comments\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.addForm.comments),callback:function ($$v) {_vm.$set(_vm.addForm, \"comments\", $$v)},expression:\"addForm.comments\"}})],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.addDialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.addTask}},[_vm._v(\"确 定\")])],1)],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"修改\",\"visible\":_vm.editDialogVisible,\"close-on-click-modal\":false,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.editDialogVisible=$event},\"close\":_vm.editDialogClose}},[_c('el-form',{ref:\"editFormRef\",attrs:{\"model\":_vm.editForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"任务名\",\"prop\":\"jobName\"}},[_c('el-input',{model:{value:(_vm.editForm.jobName),callback:function ($$v) {_vm.$set(_vm.editForm, \"jobName\", $$v)},expression:\"editForm.jobName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"CRON\",\"prop\":\"cronExpression\"}},[_c('el-input',{model:{value:(_vm.editForm.cronExpression),callback:function ($$v) {_vm.$set(_vm.editForm, \"cronExpression\", $$v)},expression:\"editForm.cronExpression\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"备注\",\"prop\":\"comments\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.editForm.comments),callback:function ($$v) {_vm.$set(_vm.editForm, \"comments\", $$v)},expression:\"editForm.comments\"}})],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.editDialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.editTask}},[_vm._v(\"确 定\")])],1)],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"查看\",\"visible\":_vm.detailDialogVisible,\"close-on-click-modal\":false,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.detailDialogVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.detailForm,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"任务名\",\"prop\":\"jobName\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.jobName),callback:function ($$v) {_vm.$set(_vm.detailForm, \"jobName\", $$v)},expression:\"detailForm.jobName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"CRON\",\"prop\":\"cronExpression\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.cronExpression),callback:function ($$v) {_vm.$set(_vm.detailForm, \"cronExpression\", $$v)},expression:\"detailForm.cronExpression\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"任务状态\",\"prop\":\"jobStatus\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"disabled\":\"\"},model:{value:(_vm.detailForm.beanClass),callback:function ($$v) {_vm.$set(_vm.detailForm, \"beanClass\", $$v)},expression:\"detailForm.beanClass\"}},_vm._l((_vm.taskOptions),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.name,\"value\":item.value}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"创建时间\",\"prop\":\"createTime\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.createTime),callback:function ($$v) {_vm.$set(_vm.detailForm, \"createTime\", $$v)},expression:\"detailForm.createTime\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"创建人员\",\"prop\":\"createPerson\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.createPerson),callback:function ($$v) {_vm.$set(_vm.detailForm, \"createPerson\", $$v)},expression:\"detailForm.createPerson\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"更新时间\",\"prop\":\"updateTime\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.updateTime),callback:function ($$v) {_vm.$set(_vm.detailForm, \"updateTime\", $$v)},expression:\"detailForm.updateTime\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"更新人员\",\"prop\":\"updatePerson\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.updatePerson),callback:function ($$v) {_vm.$set(_vm.detailForm, \"updatePerson\", $$v)},expression:\"detailForm.updatePerson\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"备注\",\"prop\":\"comments\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"disabled\":\"\"},model:{value:(_vm.detailForm.comments),callback:function ($$v) {_vm.$set(_vm.detailForm, \"comments\", $$v)},expression:\"detailForm.comments\"}})],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.detailDialogVisible = false}}},[_vm._v(\"取 消\")])],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-7c51fc76\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/taskmanager/Task.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-7c51fc76\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Task.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Task.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Task.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7c51fc76\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./Task.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-7c51fc76\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/taskmanager/Task.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}