(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[10],{

/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/views/JobManager.vue?vue&type=script&lang=js&":
/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/views/JobManager.vue?vue&type=script&lang=js& ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\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//\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/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  name: \"JobManager\",\n  data: function data() {\n    return {\n      modifiedJobFormVisible: false,\n      // 新建任务对象\n      modifiedJobForm: {\n        id: undefined,\n        jobName: \"\",\n        jobDescription: \"\",\n        appId: this.$store.state.appInfo.id,\n        jobParams: \"\",\n        timeExpressionType: \"\",\n        timeExpression: \"\",\n        executeType: \"\",\n        processorType: \"\",\n        processorInfo: \"\",\n        maxInstanceNum: 1,\n        concurrency: 5,\n        instanceTimeLimit: 0,\n        instanceRetryNum: 0,\n        taskRetryNum: 1,\n        minCpuCores: 0,\n        minMemorySpace: 0,\n        minDiskSpace: 0,\n        enable: true,\n        designatedWorkers: \"\",\n        maxWorkerCount: 0,\n        notifyUserIds: []\n      },\n      // 任务查询请求对象\n      jobQueryContent: {\n        appId: this.$store.state.appInfo.id,\n        index: 0,\n        pageSize: 10,\n        jobId: undefined,\n        keyword: undefined\n      },\n      // 任务列表（查询结果），包含index、pageSize、totalPages、totalItems、data（List类型）\n      jobInfoPageResult: {\n        pageSize: 10,\n        totalItems: 0,\n        data: []\n      },\n      // 时间表达式选择类型\n      timeExpressionTypeOptions: [{\n        key: \"API\",\n        label: \"API\"\n      }, {\n        key: \"CRON\",\n        label: \"CRON\"\n      }, {\n        key: \"FIX_RATE\",\n        label: this.$t('message.fixRate')\n      }, {\n        key: \"FIX_DELAY\",\n        label: this.$t('message.fixDelay')\n      }, {\n        key: \"WORKFLOW\",\n        label: this.$t('message.workflow')\n      }],\n      // 处理器类型\n      processorTypeOptions: [{\n        key: \"EMBEDDED_JAVA\",\n        label: \"JAVA\"\n      }, {\n        key: \"JAVA_CONTAINER\",\n        label: this.$t('message.javaContainer')\n      }, {\n        key: \"SHELL\",\n        label: \"SHELL\"\n      }, {\n        key: \"PYTHON\",\n        label: \"PYTHON\"\n      }],\n      // 执行方式类型\n      executeTypeOptions: [{\n        key: \"STANDALONE\",\n        label: this.$t('message.standalone')\n      }, {\n        key: \"BROADCAST\",\n        label: this.$t('message.broadcast')\n      }, {\n        key: \"MAP\",\n        label: this.$t('message.map')\n      }, {\n        key: \"MAP_REDUCE\",\n        label: this.$t('message.mapReduce')\n      }],\n      // 用户列表\n      userList: []\n    };\n  },\n  methods: {\n    // 保存变更，包括新增和修改\n    saveJob: function saveJob() {\n      var _this = this;\n\n      var that = this;\n      this.axios.post(\"/job/save\", this.modifiedJobForm).then(function () {\n        that.modifiedJobFormVisible = false;\n        that.$message.success(_this.$t('message.success')); // 重新加载数据\n\n        that.listJobInfos();\n      }, function () {\n        return that.modifiedJobFormVisible = false;\n      });\n    },\n    // 列出符合当前搜索条件的任务\n    listJobInfos: function listJobInfos() {\n      var that = this;\n      this.axios.post(\"/job/list\", this.jobQueryContent).then(function (res) {\n        that.jobInfoPageResult = res;\n      });\n    },\n    // 修改任务状态\n    changeJobStatus: function changeJobStatus(data) {\n      // switch 会自动更改 enable 的值\n      var that = this;\n\n      if (data.enable === false) {\n        // 仅有，有特殊逻辑（关闭秒级任务），走单独接口\n        that.axios.get(\"/job/disable?jobId=\" + data.id).then(function () {\n          return that.listJobInfos();\n        });\n      } else {\n        // 启用，则发起正常的保存操作\n        this.modifiedJobForm = data;\n        this.saveJob();\n      }\n    },\n    // 新增任务，去除旧数据\n    onClickNewJob: function onClickNewJob() {\n      this.modifiedJobForm.id = undefined;\n      this.modifiedJobForm.jobName = undefined;\n      this.modifiedJobForm.jobDescription = undefined;\n      this.modifiedJobForm.jobParams = undefined;\n      this.modifiedJobForm.timeExpression = undefined;\n      this.modifiedJobForm.timeExpressionType = undefined;\n      this.modifiedJobForm.processorInfo = undefined;\n      this.modifiedJobForm.processorType = undefined;\n      this.modifiedJobForm.executeType = undefined;\n      this.modifiedJobFormVisible = true;\n    },\n    // 点击 编辑按钮\n    onClickModify: function onClickModify(data) {\n      // 修复点击编辑后再点击新增 行数据被清空 的问题\n      this.modifiedJobForm = JSON.parse(JSON.stringify(data));\n      this.modifiedJobFormVisible = true;\n    },\n    // 点击 立即运行按钮\n    onClickRun: function onClickRun(data) {\n      var _this2 = this;\n\n      var that = this;\n      var url = \"/job/run?jobId=\" + data.id;\n      this.axios.get(url).then(function () {\n        return that.$message.success(_this2.$t('message.success'));\n      });\n    },\n    // 点击 删除任务\n    onClickDeleteJob: function onClickDeleteJob(data) {\n      var _this3 = this;\n\n      var that = this;\n      var url = \"/job/delete?jobId=\" + data.id;\n      this.axios.get(url).then(function () {\n        that.$message.success(_this3.$t('message.success'));\n        that.listJobInfos();\n      });\n    },\n    // 点击 换页\n    onClickChangePage: function onClickChangePage(index) {\n      // 后端从0开始，前端从1开始\n      this.jobQueryContent.index = index - 1;\n      this.listJobInfos();\n    },\n    // 点击重置按钮\n    onClickReset: function onClickReset() {\n      this.jobQueryContent.keyword = undefined;\n      this.jobQueryContent.jobId = undefined;\n      this.listJobInfos();\n    },\n    verifyPlaceholder: function verifyPlaceholder(processorType) {\n      var res;\n\n      switch (processorType) {\n        case \"EMBEDDED_JAVA\":\n          res = this.$t('message.javaProcessorInfoPLH');\n          break;\n\n        case \"JAVA_CONTAINER\":\n          res = this.$t('message.containerProcessorInfoPLH');\n          break;\n\n        case \"SHELL\":\n          res = this.$t('message.shellProcessorInfoPLH');\n          break;\n\n        case \"PYTHON\":\n          res = this.$t('message.pythonProcessorInfoPLH');\n      }\n\n      return res;\n    },\n    // 翻译执行类型\n    translateExecuteType: function translateExecuteType(executeType) {\n      switch (executeType) {\n        case \"STANDALONE\":\n          return this.$t('message.standalone');\n\n        case \"BROADCAST\":\n          return this.$t('message.broadcast');\n\n        case \"MAP_REDUCE\":\n          return this.$t('message.mapReduce');\n\n        case \"MAP\":\n          return this.$t('message.map');\n\n        default:\n          return \"UNKNOWN\";\n      }\n    },\n    // 翻译处理器类型\n    translateProcessorType: function translateProcessorType(processorType) {\n      if (processorType === \"JAVA_CONTAINER\") {\n        return this.$t('message.javaContainer');\n      }\n\n      return processorType;\n    }\n  },\n  mounted: function mounted() {\n    // 加载用户信息\n    var that = this;\n    that.axios.get(\"/user/list\").then(function (res) {\n      return that.userList = res;\n    }); // 加载任务信息\n\n    this.listJobInfos();\n  }\n});\n\n//# sourceURL=webpack:///./src/components/views/JobManager.vue?./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"41f1f4da-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/views/JobManager.vue?vue&type=template&id=392659be&scoped=true&":
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41f1f4da-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/views/JobManager.vue?vue&type=template&id=392659be&scoped=true& ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  return _c(\n    \"div\",\n    { attrs: { id: \"job_manager\" } },\n    [\n      _c(\n        \"el-row\",\n        { attrs: { gutter: 20 } },\n        [\n          _c(\n            \"el-col\",\n            { attrs: { span: 20 } },\n            [\n              _c(\n                \"el-form\",\n                {\n                  staticClass: \"el-form--inline\",\n                  attrs: { inline: true, model: _vm.jobQueryContent }\n                },\n                [\n                  _c(\n                    \"el-form-item\",\n                    { attrs: { label: _vm.$t(\"message.jobId\") } },\n                    [\n                      _c(\"el-input\", {\n                        attrs: { placeholder: _vm.$t(\"message.jobId\") },\n                        model: {\n                          value: _vm.jobQueryContent.jobId,\n                          callback: function($$v) {\n                            _vm.$set(_vm.jobQueryContent, \"jobId\", $$v)\n                          },\n                          expression: \"jobQueryContent.jobId\"\n                        }\n                      })\n                    ],\n                    1\n                  ),\n                  _c(\n                    \"el-form-item\",\n                    { attrs: { label: _vm.$t(\"message.keyword\") } },\n                    [\n                      _c(\"el-input\", {\n                        attrs: { placeholder: _vm.$t(\"message.keyword\") },\n                        model: {\n                          value: _vm.jobQueryContent.keyword,\n                          callback: function($$v) {\n                            _vm.$set(_vm.jobQueryContent, \"keyword\", $$v)\n                          },\n                          expression: \"jobQueryContent.keyword\"\n                        }\n                      })\n                    ],\n                    1\n                  ),\n                  _c(\n                    \"el-form-item\",\n                    [\n                      _c(\n                        \"el-button\",\n                        {\n                          attrs: { type: \"primary\" },\n                          on: { click: _vm.listJobInfos }\n                        },\n                        [_vm._v(_vm._s(_vm.$t(\"message.query\")))]\n                      ),\n                      _c(\n                        \"el-button\",\n                        {\n                          attrs: { type: \"cancel\" },\n                          on: { click: _vm.onClickReset }\n                        },\n                        [_vm._v(_vm._s(_vm.$t(\"message.reset\")))]\n                      )\n                    ],\n                    1\n                  )\n                ],\n                1\n              )\n            ],\n            1\n          ),\n          _c(\"el-col\", { attrs: { span: 4 } }, [\n            _c(\n              \"div\",\n              { staticStyle: { float: \"right\", \"padding-right\": \"10px\" } },\n              [\n                _c(\n                  \"el-button\",\n                  {\n                    attrs: { type: \"primary\" },\n                    on: { click: _vm.onClickNewJob }\n                  },\n                  [_vm._v(_vm._s(_vm.$t(\"message.newJob\")))]\n                )\n              ],\n              1\n            )\n          ])\n        ],\n        1\n      ),\n      _c(\n        \"el-row\",\n        [\n          _c(\n            \"el-table\",\n            {\n              staticStyle: { width: \"100%\" },\n              attrs: { data: _vm.jobInfoPageResult.data }\n            },\n            [\n              _c(\"el-table-column\", {\n                attrs: {\n                  prop: \"id\",\n                  label: _vm.$t(\"message.jobId\"),\n                  width: \"80\"\n                }\n              }),\n              _c(\"el-table-column\", {\n                attrs: { prop: \"jobName\", label: _vm.$t(\"message.jobName\") }\n              }),\n              _c(\"el-table-column\", {\n                attrs: { label: _vm.$t(\"message.scheduleInfo\") },\n                scopedSlots: _vm._u([\n                  {\n                    key: \"default\",\n                    fn: function(scope) {\n                      return [\n                        _vm._v(\n                          \" \" +\n                            _vm._s(scope.row.timeExpressionType) +\n                            \" \" +\n                            _vm._s(scope.row.timeExpression) +\n                            \" \"\n                        )\n                      ]\n                    }\n                  }\n                ])\n              }),\n              _c(\"el-table-column\", {\n                attrs: { label: _vm.$t(\"message.executeType\") },\n                scopedSlots: _vm._u([\n                  {\n                    key: \"default\",\n                    fn: function(scope) {\n                      return [\n                        _vm._v(\n                          \" \" +\n                            _vm._s(\n                              _vm.translateExecuteType(scope.row.executeType)\n                            ) +\n                            \" \"\n                        )\n                      ]\n                    }\n                  }\n                ])\n              }),\n              _c(\"el-table-column\", {\n                attrs: { label: _vm.$t(\"message.processorType\") },\n                scopedSlots: _vm._u([\n                  {\n                    key: \"default\",\n                    fn: function(scope) {\n                      return [\n                        _vm._v(\n                          \" \" +\n                            _vm._s(\n                              _vm.translateProcessorType(\n                                scope.row.processorType\n                              )\n                            ) +\n                            \" \"\n                        )\n                      ]\n                    }\n                  }\n                ])\n              }),\n              _c(\"el-table-column\", {\n                attrs: { label: _vm.$t(\"message.status\"), width: \"80\" },\n                scopedSlots: _vm._u([\n                  {\n                    key: \"default\",\n                    fn: function(scope) {\n                      return [\n                        _c(\"el-switch\", {\n                          attrs: {\n                            \"active-color\": \"#13ce66\",\n                            \"inactive-color\": \"#ff4949\"\n                          },\n                          on: {\n                            change: function($event) {\n                              return _vm.changeJobStatus(scope.row)\n                            }\n                          },\n                          model: {\n                            value: scope.row.enable,\n                            callback: function($$v) {\n                              _vm.$set(scope.row, \"enable\", $$v)\n                            },\n                            expression: \"scope.row.enable\"\n                          }\n                        })\n                      ]\n                    }\n                  }\n                ])\n              }),\n              _c(\"el-table-column\", {\n                attrs: { label: _vm.$t(\"message.operation\"), width: \"300\" },\n                scopedSlots: _vm._u([\n                  {\n                    key: \"default\",\n                    fn: function(scope) {\n                      return [\n                        _c(\n                          \"el-button\",\n                          {\n                            attrs: { size: \"medium\" },\n                            on: {\n                              click: function($event) {\n                                return _vm.onClickModify(scope.row)\n                              }\n                            }\n                          },\n                          [_vm._v(_vm._s(_vm.$t(\"message.edit\")))]\n                        ),\n                        _c(\n                          \"el-button\",\n                          {\n                            attrs: { size: \"medium\" },\n                            on: {\n                              click: function($event) {\n                                return _vm.onClickRun(scope.row)\n                              }\n                            }\n                          },\n                          [_vm._v(_vm._s(_vm.$t(\"message.run\")))]\n                        ),\n                        _c(\n                          \"el-button\",\n                          {\n                            attrs: { size: \"medium\", type: \"danger\" },\n                            on: {\n                              click: function($event) {\n                                return _vm.onClickDeleteJob(scope.row)\n                              }\n                            }\n                          },\n                          [_vm._v(_vm._s(_vm.$t(\"message.delete\")))]\n                        )\n                      ]\n                    }\n                  }\n                ])\n              })\n            ],\n            1\n          )\n        ],\n        1\n      ),\n      _c(\n        \"el-row\",\n        [\n          _c(\"el-pagination\", {\n            attrs: {\n              layout: \"prev, pager, next\",\n              total: this.jobInfoPageResult.totalItems,\n              \"page-size\": this.jobInfoPageResult.pageSize,\n              \"hide-on-single-page\": true\n            },\n            on: { \"current-change\": _vm.onClickChangePage }\n          })\n        ],\n        1\n      ),\n      _c(\n        \"el-dialog\",\n        {\n          attrs: { visible: _vm.modifiedJobFormVisible, width: \"60%\" },\n          on: {\n            \"update:visible\": function($event) {\n              _vm.modifiedJobFormVisible = $event\n            }\n          }\n        },\n        [\n          _c(\n            \"el-form\",\n            { attrs: { model: _vm.modifiedJobForm, \"label-width\": \"120px\" } },\n            [\n              _c(\n                \"el-form-item\",\n                { attrs: { label: _vm.$t(\"message.jobName\") } },\n                [\n                  _c(\"el-input\", {\n                    model: {\n                      value: _vm.modifiedJobForm.jobName,\n                      callback: function($$v) {\n                        _vm.$set(_vm.modifiedJobForm, \"jobName\", $$v)\n                      },\n                      expression: \"modifiedJobForm.jobName\"\n                    }\n                  })\n                ],\n                1\n              ),\n              _c(\n                \"el-form-item\",\n                { attrs: { label: _vm.$t(\"message.jobDescription\") } },\n                [\n                  _c(\"el-input\", {\n                    model: {\n                      value: _vm.modifiedJobForm.jobDescription,\n                      callback: function($$v) {\n                        _vm.$set(_vm.modifiedJobForm, \"jobDescription\", $$v)\n                      },\n                      expression: \"modifiedJobForm.jobDescription\"\n                    }\n                  })\n                ],\n                1\n              ),\n              _c(\n                \"el-form-item\",\n                { attrs: { label: _vm.$t(\"message.jobParams\") } },\n                [\n                  _c(\"el-input\", {\n                    model: {\n                      value: _vm.modifiedJobForm.jobParams,\n                      callback: function($$v) {\n                        _vm.$set(_vm.modifiedJobForm, \"jobParams\", $$v)\n                      },\n                      expression: \"modifiedJobForm.jobParams\"\n                    }\n                  })\n                ],\n                1\n              ),\n              _c(\n                \"el-form-item\",\n                { attrs: { label: _vm.$t(\"message.scheduleInfo\") } },\n                [\n                  _c(\n                    \"el-row\",\n                    [\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 8 } },\n                        [\n                          _c(\n                            \"el-select\",\n                            {\n                              attrs: {\n                                placeholder: _vm.$t(\n                                  \"message.timeExpressionType\"\n                                )\n                              },\n                              model: {\n                                value: _vm.modifiedJobForm.timeExpressionType,\n                                callback: function($$v) {\n                                  _vm.$set(\n                                    _vm.modifiedJobForm,\n                                    \"timeExpressionType\",\n                                    $$v\n                                  )\n                                },\n                                expression: \"modifiedJobForm.timeExpressionType\"\n                              }\n                            },\n                            _vm._l(_vm.timeExpressionTypeOptions, function(\n                              item\n                            ) {\n                              return _c(\"el-option\", {\n                                key: item.key,\n                                attrs: { label: item.label, value: item.key }\n                              })\n                            }),\n                            1\n                          )\n                        ],\n                        1\n                      ),\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 12 } },\n                        [\n                          _c(\"el-input\", {\n                            attrs: {\n                              placeholder: _vm.$t(\n                                \"message.timeExpressionPlaceHolder\"\n                              )\n                            },\n                            model: {\n                              value: _vm.modifiedJobForm.timeExpression,\n                              callback: function($$v) {\n                                _vm.$set(\n                                  _vm.modifiedJobForm,\n                                  \"timeExpression\",\n                                  $$v\n                                )\n                              },\n                              expression: \"modifiedJobForm.timeExpression\"\n                            }\n                          })\n                        ],\n                        1\n                      ),\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 4 } },\n                        [\n                          _c(\n                            \"el-link\",\n                            {\n                              attrs: {\n                                href: \"https://cron.qqe2.com/\",\n                                type: \"success\",\n                                target: \"_blank\"\n                              }\n                            },\n                            [_vm._v(_vm._s(_vm.$t(\"message.onlineCronTool\")))]\n                          )\n                        ],\n                        1\n                      )\n                    ],\n                    1\n                  )\n                ],\n                1\n              ),\n              _c(\n                \"el-form-item\",\n                { attrs: { label: _vm.$t(\"message.executeConfig\") } },\n                [\n                  _c(\n                    \"el-row\",\n                    [\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 5 } },\n                        [\n                          _c(\n                            \"el-select\",\n                            {\n                              attrs: {\n                                placeholder: _vm.$t(\"message.executeType\")\n                              },\n                              model: {\n                                value: _vm.modifiedJobForm.executeType,\n                                callback: function($$v) {\n                                  _vm.$set(\n                                    _vm.modifiedJobForm,\n                                    \"executeType\",\n                                    $$v\n                                  )\n                                },\n                                expression: \"modifiedJobForm.executeType\"\n                              }\n                            },\n                            _vm._l(_vm.executeTypeOptions, function(item) {\n                              return _c(\"el-option\", {\n                                key: item.key,\n                                attrs: { label: item.label, value: item.key }\n                              })\n                            }),\n                            1\n                          )\n                        ],\n                        1\n                      ),\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 6 } },\n                        [\n                          _c(\n                            \"el-select\",\n                            {\n                              attrs: {\n                                placeholder: _vm.$t(\"message.processorType\")\n                              },\n                              model: {\n                                value: _vm.modifiedJobForm.processorType,\n                                callback: function($$v) {\n                                  _vm.$set(\n                                    _vm.modifiedJobForm,\n                                    \"processorType\",\n                                    $$v\n                                  )\n                                },\n                                expression: \"modifiedJobForm.processorType\"\n                              }\n                            },\n                            _vm._l(_vm.processorTypeOptions, function(item) {\n                              return _c(\"el-option\", {\n                                key: item.key,\n                                attrs: { label: item.label, value: item.key }\n                              })\n                            }),\n                            1\n                          )\n                        ],\n                        1\n                      ),\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 13 } },\n                        [\n                          _c(\"el-input\", {\n                            attrs: {\n                              placeholder: _vm.verifyPlaceholder(\n                                _vm.modifiedJobForm.processorType\n                              )\n                            },\n                            model: {\n                              value: _vm.modifiedJobForm.processorInfo,\n                              callback: function($$v) {\n                                _vm.$set(\n                                  _vm.modifiedJobForm,\n                                  \"processorInfo\",\n                                  $$v\n                                )\n                              },\n                              expression: \"modifiedJobForm.processorInfo\"\n                            }\n                          })\n                        ],\n                        1\n                      )\n                    ],\n                    1\n                  )\n                ],\n                1\n              ),\n              _c(\n                \"el-form-item\",\n                { attrs: { label: _vm.$t(\"message.runtimeConfig\") } },\n                [\n                  _c(\n                    \"el-row\",\n                    [\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 8 } },\n                        [\n                          _c(\n                            \"el-input\",\n                            {\n                              staticClass: \"ruleContent\",\n                              attrs: {\n                                placeholder: _vm.$t(\"message.maxInstanceNum\")\n                              },\n                              model: {\n                                value: _vm.modifiedJobForm.maxInstanceNum,\n                                callback: function($$v) {\n                                  _vm.$set(\n                                    _vm.modifiedJobForm,\n                                    \"maxInstanceNum\",\n                                    $$v\n                                  )\n                                },\n                                expression: \"modifiedJobForm.maxInstanceNum\"\n                              }\n                            },\n                            [\n                              _c(\"template\", { slot: \"prepend\" }, [\n                                _vm._v(_vm._s(_vm.$t(\"message.maxInstanceNum\")))\n                              ])\n                            ],\n                            2\n                          )\n                        ],\n                        1\n                      ),\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 8 } },\n                        [\n                          _c(\n                            \"el-input\",\n                            {\n                              staticClass: \"ruleContent\",\n                              attrs: {\n                                placeholder: _vm.$t(\"message.threadConcurrency\")\n                              },\n                              model: {\n                                value: _vm.modifiedJobForm.concurrency,\n                                callback: function($$v) {\n                                  _vm.$set(\n                                    _vm.modifiedJobForm,\n                                    \"concurrency\",\n                                    $$v\n                                  )\n                                },\n                                expression: \"modifiedJobForm.concurrency\"\n                              }\n                            },\n                            [\n                              _c(\"template\", { slot: \"prepend\" }, [\n                                _vm._v(\n                                  _vm._s(_vm.$t(\"message.threadConcurrency\"))\n                                )\n                              ])\n                            ],\n                            2\n                          )\n                        ],\n                        1\n                      ),\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 8 } },\n                        [\n                          _c(\n                            \"el-input\",\n                            {\n                              staticClass: \"ruleContent\",\n                              attrs: { placeholder: _vm.$t(\"message.timeout\") },\n                              model: {\n                                value: _vm.modifiedJobForm.instanceTimeLimit,\n                                callback: function($$v) {\n                                  _vm.$set(\n                                    _vm.modifiedJobForm,\n                                    \"instanceTimeLimit\",\n                                    $$v\n                                  )\n                                },\n                                expression: \"modifiedJobForm.instanceTimeLimit\"\n                              }\n                            },\n                            [\n                              _c(\"template\", { slot: \"prepend\" }, [\n                                _vm._v(_vm._s(_vm.$t(\"message.timeout\")))\n                              ])\n                            ],\n                            2\n                          )\n                        ],\n                        1\n                      )\n                    ],\n                    1\n                  )\n                ],\n                1\n              ),\n              _c(\n                \"el-form-item\",\n                { attrs: { label: _vm.$t(\"message.retryConfig\") } },\n                [\n                  _c(\n                    \"el-row\",\n                    [\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 12 } },\n                        [\n                          _c(\n                            \"el-input\",\n                            {\n                              staticClass: \"ruleContent\",\n                              attrs: {\n                                placeholder: _vm.$t(\"message.taskRetryTimes\")\n                              },\n                              model: {\n                                value: _vm.modifiedJobForm.instanceRetryNum,\n                                callback: function($$v) {\n                                  _vm.$set(\n                                    _vm.modifiedJobForm,\n                                    \"instanceRetryNum\",\n                                    $$v\n                                  )\n                                },\n                                expression: \"modifiedJobForm.instanceRetryNum\"\n                              }\n                            },\n                            [\n                              _c(\"template\", { slot: \"prepend\" }, [\n                                _vm._v(_vm._s(_vm.$t(\"message.taskRetryTimes\")))\n                              ])\n                            ],\n                            2\n                          )\n                        ],\n                        1\n                      ),\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 12 } },\n                        [\n                          _c(\n                            \"el-input\",\n                            {\n                              staticClass: \"ruleContent\",\n                              attrs: {\n                                placeholder: _vm.$t(\"message.subTaskRetryTimes\")\n                              },\n                              model: {\n                                value: _vm.modifiedJobForm.taskRetryNum,\n                                callback: function($$v) {\n                                  _vm.$set(\n                                    _vm.modifiedJobForm,\n                                    \"taskRetryNum\",\n                                    $$v\n                                  )\n                                },\n                                expression: \"modifiedJobForm.taskRetryNum\"\n                              }\n                            },\n                            [\n                              _c(\"template\", { slot: \"prepend\" }, [\n                                _vm._v(\n                                  _vm._s(_vm.$t(\"message.subTaskRetryTimes\"))\n                                )\n                              ])\n                            ],\n                            2\n                          )\n                        ],\n                        1\n                      )\n                    ],\n                    1\n                  )\n                ],\n                1\n              ),\n              _c(\n                \"el-form-item\",\n                { attrs: { label: _vm.$t(\"message.workerConfig\") } },\n                [\n                  _c(\n                    \"el-row\",\n                    [\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 8 } },\n                        [\n                          _c(\n                            \"el-input\",\n                            {\n                              staticClass: \"ruleContent\",\n                              attrs: { placeholder: _vm.$t(\"message.minCPU\") },\n                              model: {\n                                value: _vm.modifiedJobForm.minCpuCores,\n                                callback: function($$v) {\n                                  _vm.$set(\n                                    _vm.modifiedJobForm,\n                                    \"minCpuCores\",\n                                    $$v\n                                  )\n                                },\n                                expression: \"modifiedJobForm.minCpuCores\"\n                              }\n                            },\n                            [\n                              _c(\"template\", { slot: \"prepend\" }, [\n                                _vm._v(_vm._s(_vm.$t(\"message.minCPU\")))\n                              ])\n                            ],\n                            2\n                          )\n                        ],\n                        1\n                      ),\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 8 } },\n                        [\n                          _c(\n                            \"el-input\",\n                            {\n                              staticClass: \"ruleContent\",\n                              attrs: {\n                                placeholder: _vm.$t(\"message.minMemory\")\n                              },\n                              model: {\n                                value: _vm.modifiedJobForm.minMemorySpace,\n                                callback: function($$v) {\n                                  _vm.$set(\n                                    _vm.modifiedJobForm,\n                                    \"minMemorySpace\",\n                                    $$v\n                                  )\n                                },\n                                expression: \"modifiedJobForm.minMemorySpace\"\n                              }\n                            },\n                            [\n                              _c(\"template\", { slot: \"prepend\" }, [\n                                _vm._v(_vm._s(_vm.$t(\"message.minMemory\")))\n                              ])\n                            ],\n                            2\n                          )\n                        ],\n                        1\n                      ),\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 8 } },\n                        [\n                          _c(\n                            \"el-input\",\n                            {\n                              staticClass: \"ruleContent\",\n                              attrs: { placeholder: _vm.$t(\"message.minDisk\") },\n                              model: {\n                                value: _vm.modifiedJobForm.minDiskSpace,\n                                callback: function($$v) {\n                                  _vm.$set(\n                                    _vm.modifiedJobForm,\n                                    \"minDiskSpace\",\n                                    $$v\n                                  )\n                                },\n                                expression: \"modifiedJobForm.minDiskSpace\"\n                              }\n                            },\n                            [\n                              _c(\"template\", { slot: \"prepend\" }, [\n                                _vm._v(_vm._s(_vm.$t(\"message.minDisk\")))\n                              ])\n                            ],\n                            2\n                          )\n                        ],\n                        1\n                      )\n                    ],\n                    1\n                  )\n                ],\n                1\n              ),\n              _c(\n                \"el-form-item\",\n                { attrs: { label: _vm.$t(\"message.clusterConfig\") } },\n                [\n                  _c(\n                    \"el-row\",\n                    [\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 16 } },\n                        [\n                          _c(\n                            \"el-input\",\n                            {\n                              staticClass: \"ruleContent\",\n                              attrs: {\n                                placeholder: _vm.$t(\n                                  \"message.designatedWorkerAddressPLH\"\n                                )\n                              },\n                              model: {\n                                value: _vm.modifiedJobForm.designatedWorkers,\n                                callback: function($$v) {\n                                  _vm.$set(\n                                    _vm.modifiedJobForm,\n                                    \"designatedWorkers\",\n                                    $$v\n                                  )\n                                },\n                                expression: \"modifiedJobForm.designatedWorkers\"\n                              }\n                            },\n                            [\n                              _c(\"template\", { slot: \"prepend\" }, [\n                                _vm._v(\n                                  _vm._s(\n                                    _vm.$t(\"message.designatedWorkerAddress\")\n                                  )\n                                )\n                              ])\n                            ],\n                            2\n                          )\n                        ],\n                        1\n                      ),\n                      _c(\n                        \"el-col\",\n                        { attrs: { span: 8 } },\n                        [\n                          _c(\n                            \"el-input\",\n                            {\n                              staticClass: \"ruleContent\",\n                              attrs: {\n                                placeholder: _vm.$t(\"message.maxWorkerNumPLH\")\n                              },\n                              model: {\n                                value: _vm.modifiedJobForm.maxWorkerCount,\n                                callback: function($$v) {\n                                  _vm.$set(\n                                    _vm.modifiedJobForm,\n                                    \"maxWorkerCount\",\n                                    $$v\n                                  )\n                                },\n                                expression: \"modifiedJobForm.maxWorkerCount\"\n                              }\n                            },\n                            [\n                              _c(\"template\", { slot: \"prepend\" }, [\n                                _vm._v(_vm._s(_vm.$t(\"message.maxWorkerNum\")))\n                              ])\n                            ],\n                            2\n                          )\n                        ],\n                        1\n                      )\n                    ],\n                    1\n                  )\n                ],\n                1\n              ),\n              _c(\n                \"el-form-item\",\n                { attrs: { label: _vm.$t(\"message.alarmConfig\") } },\n                [\n                  _c(\n                    \"el-select\",\n                    {\n                      attrs: {\n                        multiple: \"\",\n                        filterable: \"\",\n                        placeholder: _vm.$t(\"message.alarmSelectorPLH\")\n                      },\n                      model: {\n                        value: _vm.modifiedJobForm.notifyUserIds,\n                        callback: function($$v) {\n                          _vm.$set(_vm.modifiedJobForm, \"notifyUserIds\", $$v)\n                        },\n                        expression: \"modifiedJobForm.notifyUserIds\"\n                      }\n                    },\n                    _vm._l(_vm.userList, function(user) {\n                      return _c(\"el-option\", {\n                        key: user.id,\n                        attrs: { label: user.username, value: user.id }\n                      })\n                    }),\n                    1\n                  )\n                ],\n                1\n              ),\n              _c(\n                \"el-form-item\",\n                [\n                  _c(\n                    \"el-button\",\n                    { attrs: { type: \"primary\" }, on: { click: _vm.saveJob } },\n                    [_vm._v(_vm._s(_vm.$t(\"message.save\")))]\n                  ),\n                  _c(\n                    \"el-button\",\n                    {\n                      on: {\n                        click: function($event) {\n                          _vm.modifiedJobFormVisible = false\n                        }\n                      }\n                    },\n                    [_vm._v(_vm._s(_vm.$t(\"message.cancel\")))]\n                  )\n                ],\n                1\n              )\n            ],\n            1\n          )\n        ],\n        1\n      )\n    ],\n    1\n  )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/components/views/JobManager.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2241f1f4da-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./src/components/views/JobManager.vue":
/*!*********************************************!*\
  !*** ./src/components/views/JobManager.vue ***!
  \*********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _JobManager_vue_vue_type_template_id_392659be_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./JobManager.vue?vue&type=template&id=392659be&scoped=true& */ \"./src/components/views/JobManager.vue?vue&type=template&id=392659be&scoped=true&\");\n/* harmony import */ var _JobManager_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./JobManager.vue?vue&type=script&lang=js& */ \"./src/components/views/JobManager.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n  _JobManager_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _JobManager_vue_vue_type_template_id_392659be_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _JobManager_vue_vue_type_template_id_392659be_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n  false,\n  null,\n  \"392659be\",\n  null\n  \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"src/components/views/JobManager.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./src/components/views/JobManager.vue?");

/***/ }),

/***/ "./src/components/views/JobManager.vue?vue&type=script&lang=js&":
/*!**********************************************************************!*\
  !*** ./src/components/views/JobManager.vue?vue&type=script&lang=js& ***!
  \**********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_JobManager_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/babel-loader/lib!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib??vue-loader-options!./JobManager.vue?vue&type=script&lang=js& */ \"./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/views/JobManager.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__[\"default\"] = (_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_JobManager_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./src/components/views/JobManager.vue?");

/***/ }),

/***/ "./src/components/views/JobManager.vue?vue&type=template&id=392659be&scoped=true&":
/*!****************************************************************************************!*\
  !*** ./src/components/views/JobManager.vue?vue&type=template&id=392659be&scoped=true& ***!
  \****************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_41f1f4da_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_JobManager_vue_vue_type_template_id_392659be_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"41f1f4da-vue-loader-template\"}!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib??vue-loader-options!./JobManager.vue?vue&type=template&id=392659be&scoped=true& */ \"./node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"41f1f4da-vue-loader-template\\\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/views/JobManager.vue?vue&type=template&id=392659be&scoped=true&\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_41f1f4da_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_JobManager_vue_vue_type_template_id_392659be_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_41f1f4da_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_JobManager_vue_vue_type_template_id_392659be_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./src/components/views/JobManager.vue?");

/***/ })

}]);