From db7f5855e1601755e214e277b86871458675f8b3 Mon Sep 17 00:00:00 2001 From: tjq Date: Mon, 3 Oct 2022 14:50:02 +0800 Subject: [PATCH] feat: upgrade front-end to support more log type --- .../powerjob-server-starter/src/main/resources/static/js/4.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/powerjob-server/powerjob-server-starter/src/main/resources/static/js/4.js b/powerjob-server/powerjob-server-starter/src/main/resources/static/js/4.js index 4df5260d..fc8910ce 100644 --- a/powerjob-server/powerjob-server-starter/src/main/resources/static/js/4.js +++ b/powerjob-server/powerjob-server-starter/src/main/resources/static/js/4.js @@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _common_TimeExpressionValidator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../common/TimeExpressionValidator */ \"./src/components/common/TimeExpressionValidator.vue\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"JobManager\",\n components: {\n TimeExpressionValidator: _common_TimeExpressionValidator__WEBPACK_IMPORTED_MODULE_1__[\"default\"]\n },\n\n 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: 0,\n concurrency: 5,\n instanceTimeLimit: 0,\n instanceRetryNum: 0,\n taskRetryNum: 1,\n dispatchStrategy: undefined,\n minCpuCores: 0,\n minMemorySpace: 0,\n minDiskSpace: 0,\n enable: true,\n designatedWorkers: \"\",\n maxWorkerCount: 0,\n notifyUserIds: [],\n lifeCycle: null,\n alarmConfig: {\n alertThreshold: undefined,\n statisticWindowLen: undefined,\n silenceWindowLen: undefined\n },\n logConfig: {\n type: 1,\n level: undefined,\n loggerName: undefined\n }\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: \"FIXED_RATE\",\n label: this.$t('message.fixRate')\n }, {\n key: \"FIXED_DELAY\",\n label: this.$t('message.fixDelay')\n }, {\n key: \"WORKFLOW\",\n label: this.$t('message.workflow')\n }],\n // 处理器类型\n processorTypeOptions: [{\n key: \"BUILT_IN\",\n label: this.$t('message.builtIn')\n }, {\n key: \"EXTERNAL\",\n label: this.$t('message.external')\n }],\n // {key: \"SHELL\", label: \"SHELL\"}, {key: \"PYTHON\", label: \"PYTHON\"}\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 logLevel: [{\n key: 1,\n label: 'DEBUG'\n }, {\n key: 2,\n label: 'INFO'\n }, {\n key: 3,\n label: 'WARN'\n }, {\n key: 4,\n label: 'ERROR'\n }, {\n key: 99,\n label: 'OFF'\n }],\n // 日志类型\n logType: [{\n key: 1,\n label: 'ONLINE'\n }, {\n key: 2,\n label: 'LOCAL'\n }],\n // 分发类型\n dispatchStrategy: [{\n key: 'HEALTH_FIRST',\n label: 'HEALTH_FIRST'\n }, {\n key: 'RANDOM',\n label: 'RANDOM'\n }],\n // 用户列表\n userList: [],\n // 时间表达式校验窗口\n timeExpressionValidatorVisible: false,\n // 临时存储的行数据\n temporaryRowData: null,\n // 运行参数\n runParameter: null,\n // 运行loading\n runLoading: false\n };\n },\n\n methods: {\n // 保存变更,包括新增和修改\n async saveJob() {\n const {\n lifeCycle,\n alarmConfig\n } = this.modifiedJobForm;\n\n if (lifeCycle && Array.isArray(lifeCycle)) {\n const start = lifeCycle[0];\n const end = lifeCycle[1];\n this.modifiedJobForm.lifeCycle = {\n start,\n end\n };\n }\n\n if (!alarmConfig.alertThreshold) {\n alarmConfig.alertThreshold = 0;\n }\n\n if (!alarmConfig.statisticWindowLen) {\n alarmConfig.statisticWindowLen = 0;\n }\n\n if (!alarmConfig.silenceWindowLen) {\n alarmConfig.silenceWindowLen = 0;\n }\n\n this.modifiedJobForm.alarmConfig = alarmConfig;\n await this.axios.post(\"/job/save\", this.modifiedJobForm);\n this.modifiedJobFormVisible = false;\n this.$message.success(this.$t('message.success'));\n this.listJobInfos();\n },\n\n // 列出符合当前搜索条件的任务\n listJobInfos() {\n const that = this;\n this.axios.post(\"/job/list\", this.jobQueryContent).then(res => {\n console.log(res);\n\n if (res && res.data) {\n res.data = res.data.map(item => {\n const lifeCycle = item.lifeCycle;\n\n if (lifeCycle && lifeCycle.start && lifeCycle.end) {\n item.lifeCycle = [lifeCycle.start, lifeCycle.end];\n } else {\n item.lifeCycle = null;\n }\n\n return item;\n });\n }\n\n that.jobInfoPageResult = res;\n });\n },\n\n // 修改任务状态\n changeJobStatus(data) {\n // switch 会自动更改 enable 的值\n let that = this;\n\n if (data.enable === false) {\n // 仅有,有特殊逻辑(关闭秒级任务),走单独接口\n that.axios.get(\"/job/disable?jobId=\" + data.id).then(() => that.listJobInfos());\n } else {\n // 启用,则发起正常的保存操作\n this.modifiedJobForm = data;\n this.saveJob();\n }\n },\n\n // 新增任务,去除旧数据\n 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.modifiedJobForm.lifeCycle = null;\n this.modifiedJobForm.alarmConfig = {\n alertThreshold: undefined,\n statisticWindowLen: undefined,\n silenceWindowLen: undefined\n };\n this.modifiedJobFormVisible = true;\n },\n\n // 点击 编辑按钮\n onClickModify(data) {\n // 修复点击编辑后再点击新增 行数据被清空 的问题\n if (!data.alarmConfig) {\n data.alarmConfig = {\n alertThreshold: undefined,\n statisticWindowLen: undefined,\n silenceWindowLen: undefined\n };\n }\n\n if (!data.lifeCycle) {\n data.lifeCycle = null;\n }\n\n this.modifiedJobForm = JSON.parse(JSON.stringify(data));\n this.modifiedJobFormVisible = true;\n },\n\n // 点击 立即运行按钮\n onClickRun(data) {\n let that = this;\n let url = \"/job/run?jobId=\" + data.id + \"&appId=\" + that.$store.state.appInfo.id;\n\n if (this.temporaryRowData && this.runParameter) {\n url += `&instanceParams=${encodeURIComponent(this.runParameter)}`;\n }\n\n this.runLoading = true;\n this.axios.get(url).then(() => {\n that.$message.success(this.$t('message.success'));\n this.temporaryRowData = null;\n this.runLoading = false;\n }).catch(() => {\n this.runLoading = false;\n });\n },\n\n // 参数运行\n onClickRunByParameter(data) {\n this.temporaryRowData = data;\n },\n\n // 取消参数运行\n onClickRunCancel() {\n this.temporaryRowData = null;\n this.runParameter = null;\n },\n\n // 点击 删除任务\n onClickDeleteJob(data) {\n let that = this;\n let url = \"/job/delete?jobId=\" + data.id;\n this.axios.get(url).then(() => {\n that.$message.success(this.$t('message.success'));\n that.listJobInfos();\n });\n },\n\n // 点击 复制任务\n onClickCopyJob(data) {\n let url = \"/job/copy?jobId=\" + data.id;\n let that = this;\n this.axios.post(url).then(res => {\n that.modifiedJobForm = res;\n that.modifiedJobFormVisible = true;\n });\n },\n\n // 点击 历史记录\n onClickRunHistory(data) {\n console.log(JSON.stringify(data));\n this.$router.push({\n name: 'instanceManager',\n params: {\n jobId: data.id\n }\n });\n },\n\n // 点击 换页\n onClickChangePage(index) {\n // 后端从0开始,前端从1开始\n this.jobQueryContent.index = index - 1;\n this.listJobInfos();\n },\n\n // 点击重置按钮\n onClickReset() {\n this.jobQueryContent.keyword = undefined;\n this.jobQueryContent.jobId = undefined;\n this.listJobInfos();\n },\n\n verifyPlaceholder(processorType) {\n let res;\n\n switch (processorType) {\n case \"BUILT_IN\":\n res = this.$t('message.javaProcessorInfoPLH');\n break;\n\n case \"EXTERNAL\":\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 // 翻译执行类型\n 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 // 翻译处理器类型\n translateProcessorType(processorType) {\n if (processorType === \"EXTERNAL\") {\n return this.$t('message.external');\n }\n\n return this.$t('message.builtIn');\n },\n\n // 点击校验\n onClickValidateTimeExpression() {\n this.timeExpressionValidatorVisible = true;\n }\n\n },\n\n mounted() {\n // 加载用户信息\n let that = this;\n that.axios.get(\"/user/list\").then(res => {\n const data = res || [];\n that.userList = data.map(item => {\n return { ...item,\n id: `${item.id}`\n };\n });\n }); // 加载任务信息\n\n this.listJobInfos();\n }\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"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _common_TimeExpressionValidator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../common/TimeExpressionValidator */ \"./src/components/common/TimeExpressionValidator.vue\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"JobManager\",\n components: {\n TimeExpressionValidator: _common_TimeExpressionValidator__WEBPACK_IMPORTED_MODULE_1__[\"default\"]\n },\n\n 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: 0,\n concurrency: 5,\n instanceTimeLimit: 0,\n instanceRetryNum: 0,\n taskRetryNum: 1,\n dispatchStrategy: undefined,\n minCpuCores: 0,\n minMemorySpace: 0,\n minDiskSpace: 0,\n enable: true,\n designatedWorkers: \"\",\n maxWorkerCount: 0,\n notifyUserIds: [],\n lifeCycle: null,\n alarmConfig: {\n alertThreshold: undefined,\n statisticWindowLen: undefined,\n silenceWindowLen: undefined\n },\n logConfig: {\n type: 1,\n level: undefined,\n loggerName: undefined\n }\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: \"FIXED_RATE\",\n label: this.$t('message.fixRate')\n }, {\n key: \"FIXED_DELAY\",\n label: this.$t('message.fixDelay')\n }, {\n key: \"WORKFLOW\",\n label: this.$t('message.workflow')\n }],\n // 处理器类型\n processorTypeOptions: [{\n key: \"BUILT_IN\",\n label: this.$t('message.builtIn')\n }, {\n key: \"EXTERNAL\",\n label: this.$t('message.external')\n }],\n // {key: \"SHELL\", label: \"SHELL\"}, {key: \"PYTHON\", label: \"PYTHON\"}\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 logLevel: [{\n key: 1,\n label: 'DEBUG'\n }, {\n key: 2,\n label: 'INFO'\n }, {\n key: 3,\n label: 'WARN'\n }, {\n key: 4,\n label: 'ERROR'\n }, {\n key: 99,\n label: 'OFF'\n }],\n // 日志类型\n logType: [{\n key: 1,\n label: 'ONLINE'\n }, {\n key: 2,\n label: 'LOCAL'\n }, {\n key: 3,\n label: 'STDOUT'\n }, {\n key: 999,\n label: 'NULL'\n }],\n // 分发类型\n dispatchStrategy: [{\n key: 'HEALTH_FIRST',\n label: 'HEALTH_FIRST'\n }, {\n key: 'RANDOM',\n label: 'RANDOM'\n }],\n // 用户列表\n userList: [],\n // 时间表达式校验窗口\n timeExpressionValidatorVisible: false,\n // 临时存储的行数据\n temporaryRowData: null,\n // 运行参数\n runParameter: null,\n // 运行loading\n runLoading: false\n };\n },\n\n methods: {\n // 保存变更,包括新增和修改\n async saveJob() {\n const {\n lifeCycle,\n alarmConfig\n } = this.modifiedJobForm;\n\n if (lifeCycle && Array.isArray(lifeCycle)) {\n const start = lifeCycle[0];\n const end = lifeCycle[1];\n this.modifiedJobForm.lifeCycle = {\n start,\n end\n };\n }\n\n if (!alarmConfig.alertThreshold) {\n alarmConfig.alertThreshold = 0;\n }\n\n if (!alarmConfig.statisticWindowLen) {\n alarmConfig.statisticWindowLen = 0;\n }\n\n if (!alarmConfig.silenceWindowLen) {\n alarmConfig.silenceWindowLen = 0;\n }\n\n this.modifiedJobForm.alarmConfig = alarmConfig;\n await this.axios.post(\"/job/save\", this.modifiedJobForm);\n this.modifiedJobFormVisible = false;\n this.$message.success(this.$t('message.success'));\n this.listJobInfos();\n },\n\n // 列出符合当前搜索条件的任务\n listJobInfos() {\n const that = this;\n this.axios.post(\"/job/list\", this.jobQueryContent).then(res => {\n console.log(res);\n\n if (res && res.data) {\n res.data = res.data.map(item => {\n const lifeCycle = item.lifeCycle;\n\n if (lifeCycle && lifeCycle.start && lifeCycle.end) {\n item.lifeCycle = [lifeCycle.start, lifeCycle.end];\n } else {\n item.lifeCycle = null;\n }\n\n return item;\n });\n }\n\n that.jobInfoPageResult = res;\n });\n },\n\n // 修改任务状态\n changeJobStatus(data) {\n // switch 会自动更改 enable 的值\n let that = this;\n\n if (data.enable === false) {\n // 仅有,有特殊逻辑(关闭秒级任务),走单独接口\n that.axios.get(\"/job/disable?jobId=\" + data.id).then(() => that.listJobInfos());\n } else {\n // 启用,则发起正常的保存操作\n this.modifiedJobForm = data;\n this.saveJob();\n }\n },\n\n // 新增任务,去除旧数据\n 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.modifiedJobForm.lifeCycle = null;\n this.modifiedJobForm.alarmConfig = {\n alertThreshold: undefined,\n statisticWindowLen: undefined,\n silenceWindowLen: undefined\n };\n this.modifiedJobFormVisible = true;\n },\n\n // 点击 编辑按钮\n onClickModify(data) {\n // 修复点击编辑后再点击新增 行数据被清空 的问题\n if (!data.alarmConfig) {\n data.alarmConfig = {\n alertThreshold: undefined,\n statisticWindowLen: undefined,\n silenceWindowLen: undefined\n };\n }\n\n if (!data.lifeCycle) {\n data.lifeCycle = null;\n }\n\n this.modifiedJobForm = JSON.parse(JSON.stringify(data));\n this.modifiedJobFormVisible = true;\n },\n\n // 点击 立即运行按钮\n onClickRun(data) {\n let that = this;\n let url = \"/job/run?jobId=\" + data.id + \"&appId=\" + that.$store.state.appInfo.id;\n\n if (this.temporaryRowData && this.runParameter) {\n url += `&instanceParams=${encodeURIComponent(this.runParameter)}`;\n }\n\n this.runLoading = true;\n this.axios.get(url).then(() => {\n that.$message.success(this.$t('message.success'));\n this.temporaryRowData = null;\n this.runLoading = false;\n }).catch(() => {\n this.runLoading = false;\n });\n },\n\n // 参数运行\n onClickRunByParameter(data) {\n this.temporaryRowData = data;\n },\n\n // 取消参数运行\n onClickRunCancel() {\n this.temporaryRowData = null;\n this.runParameter = null;\n },\n\n // 点击 删除任务\n onClickDeleteJob(data) {\n let that = this;\n let url = \"/job/delete?jobId=\" + data.id;\n this.axios.get(url).then(() => {\n that.$message.success(this.$t('message.success'));\n that.listJobInfos();\n });\n },\n\n // 点击 复制任务\n onClickCopyJob(data) {\n let url = \"/job/copy?jobId=\" + data.id;\n let that = this;\n this.axios.post(url).then(res => {\n that.modifiedJobForm = res;\n that.modifiedJobFormVisible = true;\n });\n },\n\n // 点击 历史记录\n onClickRunHistory(data) {\n console.log(JSON.stringify(data));\n this.$router.push({\n name: 'instanceManager',\n params: {\n jobId: data.id\n }\n });\n },\n\n // 点击 换页\n onClickChangePage(index) {\n // 后端从0开始,前端从1开始\n this.jobQueryContent.index = index - 1;\n this.listJobInfos();\n },\n\n // 点击重置按钮\n onClickReset() {\n this.jobQueryContent.keyword = undefined;\n this.jobQueryContent.jobId = undefined;\n this.listJobInfos();\n },\n\n verifyPlaceholder(processorType) {\n let res;\n\n switch (processorType) {\n case \"BUILT_IN\":\n res = this.$t('message.javaProcessorInfoPLH');\n break;\n\n case \"EXTERNAL\":\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 // 翻译执行类型\n 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 // 翻译处理器类型\n translateProcessorType(processorType) {\n if (processorType === \"EXTERNAL\") {\n return this.$t('message.external');\n }\n\n return this.$t('message.builtIn');\n },\n\n // 点击校验\n onClickValidateTimeExpression() {\n this.timeExpressionValidatorVisible = true;\n }\n\n },\n\n mounted() {\n // 加载用户信息\n let that = this;\n that.axios.get(\"/user/list\").then(res => {\n const data = res || [];\n that.userList = data.map(item => {\n return { ...item,\n id: `${item.id}`\n };\n });\n }); // 加载任务信息\n\n this.listJobInfos();\n }\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"); /***/ }), @@ -44,7 +44,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) * /***/ (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 render() {\n var _vm = this,\n _c = _vm._self._c;\n\n return _c(\"div\", {\n attrs: {\n id: \"job_manager\"\n }\n }, [_c(\"el-row\", {\n attrs: {\n gutter: 20\n }\n }, [_c(\"el-col\", {\n attrs: {\n span: 20\n }\n }, [_c(\"el-form\", {\n staticClass: \"el-form--inline\",\n attrs: {\n inline: true,\n model: _vm.jobQueryContent\n }\n }, [_c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.jobId\")\n }\n }, [_c(\"el-input\", {\n attrs: {\n placeholder: _vm.$t(\"message.jobId\")\n },\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 })], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.keyword\")\n }\n }, [_c(\"el-input\", {\n attrs: {\n placeholder: _vm.$t(\"message.keyword\")\n },\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 })], 1), _c(\"el-form-item\", [_c(\"el-button\", {\n attrs: {\n type: \"primary\"\n },\n on: {\n click: _vm.listJobInfos\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.query\")))]), _c(\"el-button\", {\n attrs: {\n type: \"cancel\"\n },\n on: {\n click: _vm.onClickReset\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.reset\")))])], 1)], 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 4\n }\n }, [_c(\"div\", {\n staticStyle: {\n float: \"right\",\n \"padding-right\": \"10px\"\n }\n }, [_c(\"el-button\", {\n attrs: {\n type: \"primary\"\n },\n on: {\n click: _vm.onClickNewJob\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.newJob\")))])], 1)])], 1), _c(\"el-row\", [_c(\"el-table\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n data: _vm.jobInfoPageResult.data\n }\n }, [_c(\"el-table-column\", {\n attrs: {\n prop: \"id\",\n label: _vm.$t(\"message.jobId\"),\n width: \"80\"\n }\n }), _c(\"el-table-column\", {\n attrs: {\n prop: \"jobName\",\n label: _vm.$t(\"message.jobName\")\n }\n }), _c(\"el-table-column\", {\n attrs: {\n label: _vm.$t(\"message.scheduleInfo\")\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (scope) {\n return [_vm._v(\" \" + _vm._s(scope.row.timeExpressionType) + \" \" + _vm._s(scope.row.timeExpression) + \" \")];\n }\n }])\n }), _c(\"el-table-column\", {\n attrs: {\n label: _vm.$t(\"message.executeType\")\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (scope) {\n return [_vm._v(\" \" + _vm._s(_vm.translateExecuteType(scope.row.executeType)) + \" \")];\n }\n }])\n }), _c(\"el-table-column\", {\n attrs: {\n label: _vm.$t(\"message.processorType\")\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (scope) {\n return [_vm._v(\" \" + _vm._s(_vm.translateProcessorType(scope.row.processorType)) + \" \")];\n }\n }])\n }), _c(\"el-table-column\", {\n attrs: {\n label: _vm.$t(\"message.status\"),\n width: \"80\"\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (scope) {\n return [_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 }), _c(\"el-table-column\", {\n attrs: {\n label: _vm.$t(\"message.operation\"),\n width: \"150\"\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (scope) {\n return [_c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: function ($event) {\n return _vm.onClickModify(scope.row);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.edit\")))]), _c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: function ($event) {\n return _vm.onClickRun(scope.row);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.run\")))]), _c(\"el-dropdown\", {\n attrs: {\n trigger: \"click\"\n }\n }, [_c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"text\"\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.more\")))]), _c(\"el-dropdown-menu\", {\n attrs: {\n slot: \"dropdown\"\n },\n slot: \"dropdown\"\n }, [_c(\"el-dropdown-item\", [_c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: function ($event) {\n return _vm.onClickRunByParameter(scope.row);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.runByParameter\")))])], 1), _c(\"el-dropdown-item\", [_c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: function ($event) {\n return _vm.onClickRunHistory(scope.row);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.runHistory\")))])], 1), _c(\"el-dropdown-item\", [_c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: function ($event) {\n return _vm.onClickCopyJob(scope.row);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.copy\")))])], 1), _c(\"el-dropdown-item\", [_c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: function ($event) {\n return _vm.onClickDeleteJob(scope.row);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.delete\")))])], 1)], 1)], 1)];\n }\n }])\n })], 1)], 1), _c(\"el-row\", [_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: {\n \"current-change\": _vm.onClickChangePage\n }\n })], 1), _c(\"el-dialog\", {\n attrs: {\n \"close-on-click-modal\": false,\n visible: _vm.modifiedJobFormVisible,\n width: \"80%\"\n },\n on: {\n \"update:visible\": function ($event) {\n _vm.modifiedJobFormVisible = $event;\n }\n }\n }, [_c(\"el-form\", {\n attrs: {\n model: _vm.modifiedJobForm,\n \"label-width\": \"120px\"\n }\n }, [_c(\"el-form-item\", {\n attrs: {\n 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 })], 1), _c(\"el-form-item\", {\n attrs: {\n 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 })], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.jobParams\")\n }\n }, [_c(\"el-input\", {\n attrs: {\n type: \"textarea\"\n },\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 })], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.scheduleInfo\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 8\n }\n }, [_c(\"el-select\", {\n attrs: {\n placeholder: _vm.$t(\"message.timeExpressionType\")\n },\n model: {\n value: _vm.modifiedJobForm.timeExpressionType,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"timeExpressionType\", $$v);\n },\n expression: \"modifiedJobForm.timeExpressionType\"\n }\n }, _vm._l(_vm.timeExpressionTypeOptions, function (item) {\n return _c(\"el-option\", {\n key: item.key,\n attrs: {\n label: item.label,\n value: item.key\n }\n });\n }), 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 12\n }\n }, [_c(\"el-input\", {\n attrs: {\n placeholder: _vm.$t(\"message.timeExpressionPlaceHolder\")\n },\n model: {\n value: _vm.modifiedJobForm.timeExpression,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"timeExpression\", $$v);\n },\n expression: \"modifiedJobForm.timeExpression\"\n }\n })], 1), _c(\"el-col\", {\n attrs: {\n span: 4\n }\n }, [_c(\"el-button\", {\n staticStyle: {\n \"padding-left\": \"10px\"\n },\n attrs: {\n type: \"text\"\n },\n on: {\n click: _vm.onClickValidateTimeExpression\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.validateTimeExpression\")))])], 1)], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.lifeCycle\")\n }\n }, [_c(\"el-date-picker\", {\n attrs: {\n type: \"datetimerange\",\n \"start-placeholder\": _vm.$t(\"message.startTime\"),\n \"end-placeholder\": _vm.$t(\"message.finishedTime\"),\n \"value-format\": \"timestamp\"\n },\n model: {\n value: _vm.modifiedJobForm.lifeCycle,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"lifeCycle\", $$v);\n },\n expression: \"modifiedJobForm.lifeCycle\"\n }\n })], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.executeConfig\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 5\n }\n }, [_c(\"el-select\", {\n attrs: {\n placeholder: _vm.$t(\"message.executeType\")\n },\n model: {\n value: _vm.modifiedJobForm.executeType,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"executeType\", $$v);\n },\n expression: \"modifiedJobForm.executeType\"\n }\n }, _vm._l(_vm.executeTypeOptions, function (item) {\n return _c(\"el-option\", {\n key: item.key,\n attrs: {\n label: item.label,\n value: item.key\n }\n });\n }), 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-select\", {\n attrs: {\n placeholder: _vm.$t(\"message.processorType\")\n },\n model: {\n value: _vm.modifiedJobForm.processorType,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"processorType\", $$v);\n },\n expression: \"modifiedJobForm.processorType\"\n }\n }, _vm._l(_vm.processorTypeOptions, function (item) {\n return _c(\"el-option\", {\n key: item.key,\n attrs: {\n label: item.label,\n value: item.key\n }\n });\n }), 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 13\n }\n }, [_c(\"el-input\", {\n attrs: {\n placeholder: _vm.verifyPlaceholder(_vm.modifiedJobForm.processorType)\n },\n model: {\n value: _vm.modifiedJobForm.processorInfo,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"processorInfo\", $$v);\n },\n expression: \"modifiedJobForm.processorInfo\"\n }\n })], 1)], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.runtimeConfig\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-select\", {\n attrs: {\n placeholder: _vm.$t(\"message.dispatchStrategy\")\n },\n model: {\n value: _vm.modifiedJobForm.dispatchStrategy,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"dispatchStrategy\", $$v);\n },\n expression: \"modifiedJobForm.dispatchStrategy\"\n }\n }, _vm._l(_vm.dispatchStrategy, function (item) {\n return _c(\"el-option\", {\n key: item.key,\n attrs: {\n label: item.label,\n value: item.key\n }\n });\n }), 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-input\", {\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(_vm.modifiedJobForm, \"maxInstanceNum\", $$v);\n },\n expression: \"modifiedJobForm.maxInstanceNum\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.maxInstanceNum\")))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-input\", {\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(_vm.modifiedJobForm, \"concurrency\", $$v);\n },\n expression: \"modifiedJobForm.concurrency\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.threadConcurrency\")))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-input\", {\n staticClass: \"ruleContent\",\n attrs: {\n placeholder: _vm.$t(\"message.timeout\")\n },\n model: {\n value: _vm.modifiedJobForm.instanceTimeLimit,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"instanceTimeLimit\", $$v);\n },\n expression: \"modifiedJobForm.instanceTimeLimit\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.timeout\")))])], 2)], 1)], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.retryConfig\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 12\n }\n }, [_c(\"el-input\", {\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(_vm.modifiedJobForm, \"instanceRetryNum\", $$v);\n },\n expression: \"modifiedJobForm.instanceRetryNum\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.taskRetryTimes\")))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 12\n }\n }, [_c(\"el-input\", {\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(_vm.modifiedJobForm, \"taskRetryNum\", $$v);\n },\n expression: \"modifiedJobForm.taskRetryNum\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.subTaskRetryTimes\")))])], 2)], 1)], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.workerConfig\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 8\n }\n }, [_c(\"el-input\", {\n staticClass: \"ruleContent\",\n attrs: {\n placeholder: _vm.$t(\"message.minCPU\")\n },\n model: {\n value: _vm.modifiedJobForm.minCpuCores,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"minCpuCores\", $$v);\n },\n expression: \"modifiedJobForm.minCpuCores\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.minCPU\")))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 8\n }\n }, [_c(\"el-input\", {\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(_vm.modifiedJobForm, \"minMemorySpace\", $$v);\n },\n expression: \"modifiedJobForm.minMemorySpace\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.minMemory\")))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 8\n }\n }, [_c(\"el-input\", {\n staticClass: \"ruleContent\",\n attrs: {\n placeholder: _vm.$t(\"message.minDisk\")\n },\n model: {\n value: _vm.modifiedJobForm.minDiskSpace,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"minDiskSpace\", $$v);\n },\n expression: \"modifiedJobForm.minDiskSpace\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.minDisk\")))])], 2)], 1)], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.clusterConfig\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 16\n }\n }, [_c(\"el-input\", {\n staticClass: \"ruleContent\",\n attrs: {\n placeholder: _vm.$t(\"message.designatedWorkerAddressPLH\")\n },\n model: {\n value: _vm.modifiedJobForm.designatedWorkers,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"designatedWorkers\", $$v);\n },\n expression: \"modifiedJobForm.designatedWorkers\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.designatedWorkerAddress\")))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 8\n }\n }, [_c(\"el-input\", {\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(_vm.modifiedJobForm, \"maxWorkerCount\", $$v);\n },\n expression: \"modifiedJobForm.maxWorkerCount\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.maxWorkerNum\")))])], 2)], 1)], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.alarmConfig\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-select\", {\n style: {\n width: \"100%\"\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 }, _vm._l(_vm.userList, function (user) {\n return _c(\"el-option\", {\n key: user.id,\n attrs: {\n label: user.username,\n value: user.id\n }\n });\n }), 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-input\", {\n model: {\n value: _vm.modifiedJobForm.alarmConfig.alertThreshold,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm.alarmConfig, \"alertThreshold\", $$v);\n },\n expression: \"modifiedJobForm.alarmConfig.alertThreshold\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.alertThreshold\")))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-input\", {\n model: {\n value: _vm.modifiedJobForm.alarmConfig.statisticWindowLen,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm.alarmConfig, \"statisticWindowLen\", $$v);\n },\n expression: \"modifiedJobForm.alarmConfig.statisticWindowLen\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.statisticWindow\") + \"(s)\"))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-input\", {\n model: {\n value: _vm.modifiedJobForm.alarmConfig.silenceWindowLen,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm.alarmConfig, \"silenceWindowLen\", $$v);\n },\n expression: \"modifiedJobForm.alarmConfig.silenceWindowLen\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.silenceWindow\") + \"(s)\"))])], 2)], 1)], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.logConfig\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-select\", {\n attrs: {\n placeholder: _vm.$t(\"message.logType\")\n },\n model: {\n value: _vm.modifiedJobForm.logConfig.type,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm.logConfig, \"type\", $$v);\n },\n expression: \"modifiedJobForm.logConfig.type\"\n }\n }, _vm._l(_vm.logType, function (item) {\n return _c(\"el-option\", {\n key: item.key,\n attrs: {\n label: item.label,\n value: item.key\n }\n });\n }), 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_vm.modifiedJobForm.logConfig.type === 1 ? _c(\"el-select\", {\n attrs: {\n placeholder: _vm.$t(\"message.logLevel\")\n },\n model: {\n value: _vm.modifiedJobForm.logConfig.level,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm.logConfig, \"level\", $$v);\n },\n expression: \"modifiedJobForm.logConfig.level\"\n }\n }, _vm._l(_vm.logLevel, function (item) {\n return _c(\"el-option\", {\n key: item.key,\n attrs: {\n label: item.label,\n value: item.key\n }\n });\n }), 1) : _vm._e()], 1), _c(\"el-col\", {\n attrs: {\n span: 12\n }\n }, [_vm.modifiedJobForm.logConfig.type === 2 ? _c(\"el-input\", {\n model: {\n value: _vm.modifiedJobForm.logConfig.loggerName,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm.logConfig, \"loggerName\", $$v);\n },\n expression: \"modifiedJobForm.logConfig.loggerName\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.loggerName\")))])], 2) : _vm._e()], 1)], 1)], 1), _c(\"el-form-item\", [_c(\"el-button\", {\n attrs: {\n type: \"primary\"\n },\n on: {\n click: _vm.saveJob\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.save\")))]), _c(\"el-button\", {\n on: {\n click: function ($event) {\n _vm.modifiedJobFormVisible = false;\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.cancel\")))])], 1)], 1)], 1), _vm.timeExpressionValidatorVisible ? _c(\"el-dialog\", {\n attrs: {\n \"close-on-click-modal\": false,\n visible: _vm.timeExpressionValidatorVisible\n },\n on: {\n \"update:visible\": function ($event) {\n _vm.timeExpressionValidatorVisible = $event;\n }\n }\n }, [_c(\"TimeExpressionValidator\", {\n attrs: {\n \"time-expression\": _vm.modifiedJobForm.timeExpression,\n \"time-expression-type\": _vm.modifiedJobForm.timeExpressionType\n }\n })], 1) : _vm._e(), _c(\"el-dialog\", {\n attrs: {\n title: _vm.$t(\"message.runByParameter\"),\n visible: !!_vm.temporaryRowData,\n width: \"50%\"\n }\n }, [_c(\"el-input\", {\n attrs: {\n type: \"textarea\",\n rows: 4,\n placeholder: _vm.$t(\"message.enteringParameter\")\n },\n model: {\n value: _vm.runParameter,\n callback: function ($$v) {\n _vm.runParameter = $$v;\n },\n expression: \"runParameter\"\n }\n }), _c(\"span\", {\n staticClass: \"dialog-footer\",\n attrs: {\n slot: \"footer\"\n },\n slot: \"footer\"\n }, [_c(\"el-button\", {\n on: {\n click: _vm.onClickRunCancel\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.cancel\")))]), _c(\"el-button\", {\n attrs: {\n type: \"primary\",\n loading: _vm.runLoading\n },\n on: {\n click: function ($event) {\n return _vm.onClickRun(_vm.temporaryRowData);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.run\")))])], 1)], 1)], 1);\n};\n\nvar staticRenderFns = [];\nrender._withStripped = true;\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:%220e57932a-vue-loader-template%22%7D!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"); +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 render() {\n var _vm = this,\n _c = _vm._self._c;\n\n return _c(\"div\", {\n attrs: {\n id: \"job_manager\"\n }\n }, [_c(\"el-row\", {\n attrs: {\n gutter: 20\n }\n }, [_c(\"el-col\", {\n attrs: {\n span: 20\n }\n }, [_c(\"el-form\", {\n staticClass: \"el-form--inline\",\n attrs: {\n inline: true,\n model: _vm.jobQueryContent\n }\n }, [_c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.jobId\")\n }\n }, [_c(\"el-input\", {\n attrs: {\n placeholder: _vm.$t(\"message.jobId\")\n },\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 })], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.keyword\")\n }\n }, [_c(\"el-input\", {\n attrs: {\n placeholder: _vm.$t(\"message.keyword\")\n },\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 })], 1), _c(\"el-form-item\", [_c(\"el-button\", {\n attrs: {\n type: \"primary\"\n },\n on: {\n click: _vm.listJobInfos\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.query\")))]), _c(\"el-button\", {\n attrs: {\n type: \"cancel\"\n },\n on: {\n click: _vm.onClickReset\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.reset\")))])], 1)], 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 4\n }\n }, [_c(\"div\", {\n staticStyle: {\n float: \"right\",\n \"padding-right\": \"10px\"\n }\n }, [_c(\"el-button\", {\n attrs: {\n type: \"primary\"\n },\n on: {\n click: _vm.onClickNewJob\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.newJob\")))])], 1)])], 1), _c(\"el-row\", [_c(\"el-table\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n data: _vm.jobInfoPageResult.data\n }\n }, [_c(\"el-table-column\", {\n attrs: {\n prop: \"id\",\n label: _vm.$t(\"message.jobId\"),\n width: \"80\"\n }\n }), _c(\"el-table-column\", {\n attrs: {\n prop: \"jobName\",\n label: _vm.$t(\"message.jobName\")\n }\n }), _c(\"el-table-column\", {\n attrs: {\n label: _vm.$t(\"message.scheduleInfo\")\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (scope) {\n return [_vm._v(\" \" + _vm._s(scope.row.timeExpressionType) + \" \" + _vm._s(scope.row.timeExpression) + \" \")];\n }\n }])\n }), _c(\"el-table-column\", {\n attrs: {\n label: _vm.$t(\"message.executeType\")\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (scope) {\n return [_vm._v(\" \" + _vm._s(_vm.translateExecuteType(scope.row.executeType)) + \" \")];\n }\n }])\n }), _c(\"el-table-column\", {\n attrs: {\n label: _vm.$t(\"message.processorType\")\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (scope) {\n return [_vm._v(\" \" + _vm._s(_vm.translateProcessorType(scope.row.processorType)) + \" \")];\n }\n }])\n }), _c(\"el-table-column\", {\n attrs: {\n label: _vm.$t(\"message.status\"),\n width: \"80\"\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (scope) {\n return [_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 }), _c(\"el-table-column\", {\n attrs: {\n label: _vm.$t(\"message.operation\"),\n width: \"150\"\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (scope) {\n return [_c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: function ($event) {\n return _vm.onClickModify(scope.row);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.edit\")))]), _c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: function ($event) {\n return _vm.onClickRun(scope.row);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.run\")))]), _c(\"el-dropdown\", {\n attrs: {\n trigger: \"click\"\n }\n }, [_c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"text\"\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.more\")))]), _c(\"el-dropdown-menu\", {\n attrs: {\n slot: \"dropdown\"\n },\n slot: \"dropdown\"\n }, [_c(\"el-dropdown-item\", [_c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: function ($event) {\n return _vm.onClickRunByParameter(scope.row);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.runByParameter\")))])], 1), _c(\"el-dropdown-item\", [_c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: function ($event) {\n return _vm.onClickRunHistory(scope.row);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.runHistory\")))])], 1), _c(\"el-dropdown-item\", [_c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: function ($event) {\n return _vm.onClickCopyJob(scope.row);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.copy\")))])], 1), _c(\"el-dropdown-item\", [_c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: function ($event) {\n return _vm.onClickDeleteJob(scope.row);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.delete\")))])], 1)], 1)], 1)];\n }\n }])\n })], 1)], 1), _c(\"el-row\", [_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: {\n \"current-change\": _vm.onClickChangePage\n }\n })], 1), _c(\"el-dialog\", {\n attrs: {\n \"close-on-click-modal\": false,\n visible: _vm.modifiedJobFormVisible,\n width: \"80%\"\n },\n on: {\n \"update:visible\": function ($event) {\n _vm.modifiedJobFormVisible = $event;\n }\n }\n }, [_c(\"el-form\", {\n attrs: {\n model: _vm.modifiedJobForm,\n \"label-width\": \"120px\"\n }\n }, [_c(\"el-form-item\", {\n attrs: {\n 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 })], 1), _c(\"el-form-item\", {\n attrs: {\n 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 })], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.jobParams\")\n }\n }, [_c(\"el-input\", {\n attrs: {\n type: \"textarea\"\n },\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 })], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.scheduleInfo\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 8\n }\n }, [_c(\"el-select\", {\n attrs: {\n placeholder: _vm.$t(\"message.timeExpressionType\")\n },\n model: {\n value: _vm.modifiedJobForm.timeExpressionType,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"timeExpressionType\", $$v);\n },\n expression: \"modifiedJobForm.timeExpressionType\"\n }\n }, _vm._l(_vm.timeExpressionTypeOptions, function (item) {\n return _c(\"el-option\", {\n key: item.key,\n attrs: {\n label: item.label,\n value: item.key\n }\n });\n }), 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 12\n }\n }, [_c(\"el-input\", {\n attrs: {\n placeholder: _vm.$t(\"message.timeExpressionPlaceHolder\")\n },\n model: {\n value: _vm.modifiedJobForm.timeExpression,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"timeExpression\", $$v);\n },\n expression: \"modifiedJobForm.timeExpression\"\n }\n })], 1), _c(\"el-col\", {\n attrs: {\n span: 4\n }\n }, [_c(\"el-button\", {\n staticStyle: {\n \"padding-left\": \"10px\"\n },\n attrs: {\n type: \"text\"\n },\n on: {\n click: _vm.onClickValidateTimeExpression\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.validateTimeExpression\")))])], 1)], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.lifeCycle\")\n }\n }, [_c(\"el-date-picker\", {\n attrs: {\n type: \"datetimerange\",\n \"start-placeholder\": _vm.$t(\"message.startTime\"),\n \"end-placeholder\": _vm.$t(\"message.finishedTime\"),\n \"value-format\": \"timestamp\"\n },\n model: {\n value: _vm.modifiedJobForm.lifeCycle,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"lifeCycle\", $$v);\n },\n expression: \"modifiedJobForm.lifeCycle\"\n }\n })], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.executeConfig\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 5\n }\n }, [_c(\"el-select\", {\n attrs: {\n placeholder: _vm.$t(\"message.executeType\")\n },\n model: {\n value: _vm.modifiedJobForm.executeType,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"executeType\", $$v);\n },\n expression: \"modifiedJobForm.executeType\"\n }\n }, _vm._l(_vm.executeTypeOptions, function (item) {\n return _c(\"el-option\", {\n key: item.key,\n attrs: {\n label: item.label,\n value: item.key\n }\n });\n }), 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-select\", {\n attrs: {\n placeholder: _vm.$t(\"message.processorType\")\n },\n model: {\n value: _vm.modifiedJobForm.processorType,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"processorType\", $$v);\n },\n expression: \"modifiedJobForm.processorType\"\n }\n }, _vm._l(_vm.processorTypeOptions, function (item) {\n return _c(\"el-option\", {\n key: item.key,\n attrs: {\n label: item.label,\n value: item.key\n }\n });\n }), 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 13\n }\n }, [_c(\"el-input\", {\n attrs: {\n placeholder: _vm.verifyPlaceholder(_vm.modifiedJobForm.processorType)\n },\n model: {\n value: _vm.modifiedJobForm.processorInfo,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"processorInfo\", $$v);\n },\n expression: \"modifiedJobForm.processorInfo\"\n }\n })], 1)], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.runtimeConfig\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-select\", {\n attrs: {\n placeholder: _vm.$t(\"message.dispatchStrategy\")\n },\n model: {\n value: _vm.modifiedJobForm.dispatchStrategy,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"dispatchStrategy\", $$v);\n },\n expression: \"modifiedJobForm.dispatchStrategy\"\n }\n }, _vm._l(_vm.dispatchStrategy, function (item) {\n return _c(\"el-option\", {\n key: item.key,\n attrs: {\n label: item.label,\n value: item.key\n }\n });\n }), 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-input\", {\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(_vm.modifiedJobForm, \"maxInstanceNum\", $$v);\n },\n expression: \"modifiedJobForm.maxInstanceNum\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.maxInstanceNum\")))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-input\", {\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(_vm.modifiedJobForm, \"concurrency\", $$v);\n },\n expression: \"modifiedJobForm.concurrency\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.threadConcurrency\")))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-input\", {\n staticClass: \"ruleContent\",\n attrs: {\n placeholder: _vm.$t(\"message.timeout\")\n },\n model: {\n value: _vm.modifiedJobForm.instanceTimeLimit,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"instanceTimeLimit\", $$v);\n },\n expression: \"modifiedJobForm.instanceTimeLimit\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.timeout\")))])], 2)], 1)], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.retryConfig\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 12\n }\n }, [_c(\"el-input\", {\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(_vm.modifiedJobForm, \"instanceRetryNum\", $$v);\n },\n expression: \"modifiedJobForm.instanceRetryNum\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.taskRetryTimes\")))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 12\n }\n }, [_c(\"el-input\", {\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(_vm.modifiedJobForm, \"taskRetryNum\", $$v);\n },\n expression: \"modifiedJobForm.taskRetryNum\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.subTaskRetryTimes\")))])], 2)], 1)], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.workerConfig\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 8\n }\n }, [_c(\"el-input\", {\n staticClass: \"ruleContent\",\n attrs: {\n placeholder: _vm.$t(\"message.minCPU\")\n },\n model: {\n value: _vm.modifiedJobForm.minCpuCores,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"minCpuCores\", $$v);\n },\n expression: \"modifiedJobForm.minCpuCores\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.minCPU\")))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 8\n }\n }, [_c(\"el-input\", {\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(_vm.modifiedJobForm, \"minMemorySpace\", $$v);\n },\n expression: \"modifiedJobForm.minMemorySpace\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.minMemory\")))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 8\n }\n }, [_c(\"el-input\", {\n staticClass: \"ruleContent\",\n attrs: {\n placeholder: _vm.$t(\"message.minDisk\")\n },\n model: {\n value: _vm.modifiedJobForm.minDiskSpace,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"minDiskSpace\", $$v);\n },\n expression: \"modifiedJobForm.minDiskSpace\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.minDisk\")))])], 2)], 1)], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.clusterConfig\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 16\n }\n }, [_c(\"el-input\", {\n staticClass: \"ruleContent\",\n attrs: {\n placeholder: _vm.$t(\"message.designatedWorkerAddressPLH\")\n },\n model: {\n value: _vm.modifiedJobForm.designatedWorkers,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm, \"designatedWorkers\", $$v);\n },\n expression: \"modifiedJobForm.designatedWorkers\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.designatedWorkerAddress\")))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 8\n }\n }, [_c(\"el-input\", {\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(_vm.modifiedJobForm, \"maxWorkerCount\", $$v);\n },\n expression: \"modifiedJobForm.maxWorkerCount\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.maxWorkerNum\")))])], 2)], 1)], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.alarmConfig\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-select\", {\n style: {\n width: \"100%\"\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 }, _vm._l(_vm.userList, function (user) {\n return _c(\"el-option\", {\n key: user.id,\n attrs: {\n label: user.username,\n value: user.id\n }\n });\n }), 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-input\", {\n model: {\n value: _vm.modifiedJobForm.alarmConfig.alertThreshold,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm.alarmConfig, \"alertThreshold\", $$v);\n },\n expression: \"modifiedJobForm.alarmConfig.alertThreshold\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.alertThreshold\")))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-input\", {\n model: {\n value: _vm.modifiedJobForm.alarmConfig.statisticWindowLen,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm.alarmConfig, \"statisticWindowLen\", $$v);\n },\n expression: \"modifiedJobForm.alarmConfig.statisticWindowLen\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.statisticWindow\") + \"(s)\"))])], 2)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-input\", {\n model: {\n value: _vm.modifiedJobForm.alarmConfig.silenceWindowLen,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm.alarmConfig, \"silenceWindowLen\", $$v);\n },\n expression: \"modifiedJobForm.alarmConfig.silenceWindowLen\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.silenceWindow\") + \"(s)\"))])], 2)], 1)], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.logConfig\")\n }\n }, [_c(\"el-row\", [_c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-select\", {\n attrs: {\n placeholder: _vm.$t(\"message.logType\")\n },\n model: {\n value: _vm.modifiedJobForm.logConfig.type,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm.logConfig, \"type\", $$v);\n },\n expression: \"modifiedJobForm.logConfig.type\"\n }\n }, _vm._l(_vm.logType, function (item) {\n return _c(\"el-option\", {\n key: item.key,\n attrs: {\n label: item.label,\n value: item.key\n }\n });\n }), 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-select\", {\n attrs: {\n placeholder: _vm.$t(\"message.logLevel\")\n },\n model: {\n value: _vm.modifiedJobForm.logConfig.level,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm.logConfig, \"level\", $$v);\n },\n expression: \"modifiedJobForm.logConfig.level\"\n }\n }, _vm._l(_vm.logLevel, function (item) {\n return _c(\"el-option\", {\n key: item.key,\n attrs: {\n label: item.label,\n value: item.key\n }\n });\n }), 1)], 1), _c(\"el-col\", {\n attrs: {\n span: 12\n }\n }, [_vm.modifiedJobForm.logConfig.type === 2 ? _c(\"el-input\", {\n model: {\n value: _vm.modifiedJobForm.logConfig.loggerName,\n callback: function ($$v) {\n _vm.$set(_vm.modifiedJobForm.logConfig, \"loggerName\", $$v);\n },\n expression: \"modifiedJobForm.logConfig.loggerName\"\n }\n }, [_c(\"template\", {\n slot: \"prepend\"\n }, [_vm._v(_vm._s(_vm.$t(\"message.loggerName\")))])], 2) : _vm._e()], 1)], 1)], 1), _c(\"el-form-item\", [_c(\"el-button\", {\n attrs: {\n type: \"primary\"\n },\n on: {\n click: _vm.saveJob\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.save\")))]), _c(\"el-button\", {\n on: {\n click: function ($event) {\n _vm.modifiedJobFormVisible = false;\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.cancel\")))])], 1)], 1)], 1), _vm.timeExpressionValidatorVisible ? _c(\"el-dialog\", {\n attrs: {\n \"close-on-click-modal\": false,\n visible: _vm.timeExpressionValidatorVisible\n },\n on: {\n \"update:visible\": function ($event) {\n _vm.timeExpressionValidatorVisible = $event;\n }\n }\n }, [_c(\"TimeExpressionValidator\", {\n attrs: {\n \"time-expression\": _vm.modifiedJobForm.timeExpression,\n \"time-expression-type\": _vm.modifiedJobForm.timeExpressionType\n }\n })], 1) : _vm._e(), _c(\"el-dialog\", {\n attrs: {\n title: _vm.$t(\"message.runByParameter\"),\n visible: !!_vm.temporaryRowData,\n width: \"50%\"\n }\n }, [_c(\"el-input\", {\n attrs: {\n type: \"textarea\",\n rows: 4,\n placeholder: _vm.$t(\"message.enteringParameter\")\n },\n model: {\n value: _vm.runParameter,\n callback: function ($$v) {\n _vm.runParameter = $$v;\n },\n expression: \"runParameter\"\n }\n }), _c(\"span\", {\n staticClass: \"dialog-footer\",\n attrs: {\n slot: \"footer\"\n },\n slot: \"footer\"\n }, [_c(\"el-button\", {\n on: {\n click: _vm.onClickRunCancel\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.cancel\")))]), _c(\"el-button\", {\n attrs: {\n type: \"primary\",\n loading: _vm.runLoading\n },\n on: {\n click: function ($event) {\n return _vm.onClickRun(_vm.temporaryRowData);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.run\")))])], 1)], 1)], 1);\n};\n\nvar staticRenderFns = [];\nrender._withStripped = true;\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:%220e57932a-vue-loader-template%22%7D!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"); /***/ }),