(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[3],{ /***/ "./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/common/DailyTimeIntervalForm.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/common/DailyTimeIntervalForm.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 default export */ __webpack_exports__[\"default\"] = ({\n name: \"DailyTimeIntervalForm\",\n // 数据传递\n props: [\"timeExpression\"],\n data() {\n return {\n dailyTimeIntervalExpress: {\n interval: undefined,\n startTimeOfDay: undefined,\n endTimeOfDay: undefined,\n intervalUnit: 'SECONDS',\n daysOfWeek: []\n },\n weekDaysConstant: [{\n key: 1,\n label: 'Monday'\n }, {\n key: 2,\n label: 'Tuesday'\n }, {\n key: 3,\n label: 'Wednesday'\n }, {\n key: 4,\n label: 'Thursday'\n }, {\n key: 5,\n label: 'Friday'\n }, {\n key: 6,\n label: 'Saturday'\n }, {\n key: 7,\n label: 'Sunday'\n }]\n };\n },\n methods: {\n onSubmit() {\n //使用 $emit派发事件\n this.$emit(\"contentChanged\", JSON.stringify(this.dailyTimeIntervalExpress));\n }\n },\n mounted() {\n console.log(\"dailyTimeIntervalExpress:\" + this.timeExpression);\n if (this.timeExpression !== undefined && this.timeExpression !== null) {\n this.dailyTimeIntervalExpress = JSON.parse(this.timeExpression);\n }\n }\n});\n\n//# sourceURL=webpack:///./src/components/common/DailyTimeIntervalForm.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?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/common/Exporter.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/common/Exporter.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 default export */ __webpack_exports__[\"default\"] = ({\n name: \"Exporter\",\n // 数据传递\n props: [\"type\",\n // 类型,JOB 代表任务的导入导出,WORKFLOW 代表工作流的导入导出\n \"mode\",\n // EXPORT or INPUT\n \"targetId\" // export 模式有效,目标ID\n ],\n data() {\n return {\n jsonContent: undefined\n };\n },\n methods: {\n notifyParent() {\n this.$emit(\"finished\", 'ok');\n },\n fetchExportInfo(type, targetId) {\n let api = '/job/export?jobId=' + targetId;\n if (type === 'WORKFLOW') {\n api = '/workflow/export?workflowId=' + targetId;\n }\n let that = this;\n that.axios.get(api).then(res => {\n console.log('[Exporter] query export result: ' + JSON.stringify(res));\n that.jsonContent = JSON.stringify(res);\n });\n },\n input() {\n console.log('[Exporter] try to input by content: ' + this.jsonContent);\n if (this.jsonContent === undefined || this.jsonContent.length === 0) {\n return;\n }\n this.axios.post(\"/job/save\", JSON.parse(this.jsonContent)).then();\n },\n onClickCancelButton() {\n this.notifyParent();\n },\n onClickConfirmButton() {\n if (this.mode === 'INPUT') {\n this.input();\n }\n this.notifyParent();\n }\n },\n mounted() {\n console.log(\"[Exporter] mounted Exporter with params, type=%s, mode=%s, targetId=%s\", this.type, this.mode, this.targetId);\n if (this.mode === 'EXPORT') {\n this.fetchExportInfo(this.type, this.targetId);\n }\n }\n});\n\n//# sourceURL=webpack:///./src/components/common/Exporter.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?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/common/TimeExpressionValidator.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/common/TimeExpressionValidator.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 default export */ __webpack_exports__[\"default\"] = ({\n name: \"TimeExpressionValidator\",\n // 数据传递\n props: [\"timeExpressionType\", \"timeExpression\"],\n data() {\n return {\n nextNTriggerTime: []\n };\n },\n methods: {\n checkTimeExpression() {\n let that = this;\n let url = \"/validate/timeExpression?timeExpressionType=\" + this.timeExpressionType + \"&timeExpression=\" + this.timeExpression;\n this.axios.get(url).then(res => that.nextNTriggerTime = res);\n }\n },\n mounted() {\n console.log(\"type:\" + this.timeExpressionType);\n console.log(\"expression:\" + this.timeExpression);\n this.timeExpression = encodeURIComponent(this.timeExpression);\n console.log(\"expressionAfterEncodeURIComponent: \" + this.timeExpression);\n this.checkTimeExpression();\n }\n});\n\n//# sourceURL=webpack:///./src/components/common/TimeExpressionValidator.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?!./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/* 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/* harmony import */ var _common_DailyTimeIntervalForm__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common/DailyTimeIntervalForm */ \"./src/components/common/DailyTimeIntervalForm.vue\");\n/* harmony import */ var _common_Exporter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../common/Exporter */ \"./src/components/common/Exporter.vue\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"JobManager\",\n components: {\n Exporter: _common_Exporter__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n TimeExpressionValidator: _common_TimeExpressionValidator__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n DailyTimeIntervalForm: _common_DailyTimeIntervalForm__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n },\n data() {\n return {\n modifiedJobFormVisible: false,\n // 新建任务对象\n modifiedJobForm: {\n id: undefined,\n jobName: \"\",\n jobDescription: \"\",\n appId: window.localStorage.getItem(\"Power_appId\"),\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: window.localStorage.getItem(\"Power_appId\"),\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 key: \"DAILY_TIME_INTERVAL\",\n label: this.$t('message.dailyTimeInterval')\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: 4,\n label: 'LOCAL_AND_ONLINE'\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 timeExpressionEditorVisible: false,\n // 临时存储的行数据\n temporaryRowData: null,\n // 运行参数\n runParameter: null,\n // 运行loading\n runLoading: false,\n // 任务导入导出相关功能\n jobExporterMode: undefined,\n jobExporterTargetId: undefined,\n jobExporterDialogVisible: false\n };\n },\n methods: {\n // 保存变更,包括新增和修改\n async saveJob() {\n const {\n lifeCycle,\n alarmConfig\n } = this.modifiedJobForm;\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 if (!alarmConfig.alertThreshold) {\n alarmConfig.alertThreshold = 0;\n }\n if (!alarmConfig.statisticWindowLen) {\n alarmConfig.statisticWindowLen = 0;\n }\n if (!alarmConfig.silenceWindowLen) {\n alarmConfig.silenceWindowLen = 0;\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 listJobInfos() {\n const that = this;\n this.axios.post(\"/job/list\", this.jobQueryContent).then(res => {\n console.log(res);\n if (res && res.data) {\n res.data = res.data.map(item => {\n const lifeCycle = item.lifeCycle;\n if (lifeCycle && lifeCycle.start && lifeCycle.end) {\n item.lifeCycle = [lifeCycle.start, lifeCycle.end];\n } else {\n item.lifeCycle = null;\n }\n return item;\n });\n }\n that.jobInfoPageResult = res;\n });\n },\n // 修改任务状态\n changeJobStatus(data) {\n // switch 会自动更改 enable 的值\n let that = this;\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 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 onClickModify(data) {\n // 修复点击编辑后再点击新增 行数据被清空 的问题\n if (!data.alarmConfig) {\n data.alarmConfig = {\n alertThreshold: undefined,\n statisticWindowLen: undefined,\n silenceWindowLen: undefined\n };\n }\n if (!data.lifeCycle) {\n data.lifeCycle = null;\n }\n this.modifiedJobForm = JSON.parse(JSON.stringify(data));\n this.modifiedJobFormVisible = true;\n },\n // 点击 立即运行按钮\n onClickRun(data) {\n let that = this;\n let url = \"/job/run?jobId=\" + data.id + \"&appId=\" + window.localStorage.getItem(\"Power_appId\");\n if (this.temporaryRowData && this.runParameter) {\n url += `&instanceParams=${encodeURIComponent(this.runParameter)}`;\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 onClickRunByParameter(data) {\n this.temporaryRowData = data;\n },\n // 取消参数运行\n onClickRunCancel() {\n this.temporaryRowData = null;\n this.runParameter = null;\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 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 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 onClickChangePage(index) {\n // 后端从0开始,前端从1开始\n this.jobQueryContent.index = index - 1;\n this.listJobInfos();\n },\n // 点击重置按钮\n onClickReset() {\n this.jobQueryContent.keyword = undefined;\n this.jobQueryContent.jobId = undefined;\n this.listJobInfos();\n },\n verifyPlaceholder(processorType) {\n let res;\n switch (processorType) {\n case \"BUILT_IN\":\n res = this.$t('message.javaProcessorInfoPLH');\n break;\n case \"EXTERNAL\":\n res = this.$t('message.containerProcessorInfoPLH');\n break;\n case \"SHELL\":\n res = this.$t('message.shellProcessorInfoPLH');\n break;\n case \"PYTHON\":\n res = this.$t('message.pythonProcessorInfoPLH');\n }\n return res;\n },\n // 翻译执行类型\n translateExecuteType(executeType) {\n switch (executeType) {\n case \"STANDALONE\":\n return this.$t('message.standalone');\n case \"BROADCAST\":\n return this.$t('message.broadcast');\n case \"MAP_REDUCE\":\n return this.$t('message.mapReduce');\n case \"MAP\":\n return this.$t('message.map');\n default:\n return \"UNKNOWN\";\n }\n },\n // 翻译处理器类型\n translateProcessorType(processorType) {\n if (processorType === \"EXTERNAL\") {\n return this.$t('message.external');\n }\n return this.$t('message.builtIn');\n },\n // 点击校验\n onClickValidateTimeExpression() {\n this.timeExpressionValidatorVisible = true;\n },\n // 点击编辑\n onClickEditTimeExpression() {\n this.timeExpressionEditorVisible = true;\n },\n // 每日固定间隔策略的组件回调\n eventFromDailyTimeIntervalExpress(content) {\n console.log(\"event from dailyTimeIntervalExpress: \" + content);\n this.modifiedJobForm.timeExpression = content;\n this.timeExpressionEditorVisible = false;\n },\n // 任务导出按钮\n onClickJobExportButton(row) {\n this.jobExporterMode = 'EXPORT';\n this.jobExporterTargetId = row.id;\n this.jobExporterDialogVisible = true;\n },\n // 任务导入按钮\n onClickJobInputButton() {\n this.jobExporterMode = 'INPUT';\n this.jobExporterTargetId = undefined;\n this.jobExporterDialogVisible = true;\n },\n // 任务导出组件的回调\n eventFromExporter(content) {\n console.log('receive callback from Exporter: ' + content);\n this.jobExporterDialogVisible = false;\n if (this.jobExporterMode === 'INPUT') {\n this.listJobInfos();\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 {\n ...item,\n id: `${item.id}`\n };\n });\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\":\"77823dab-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/common/DailyTimeIntervalForm.vue?vue&type=template&id=5728741b&scoped=true": /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"77823dab-vue-loader-template"}!./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!./src/components/common/DailyTimeIntervalForm.vue?vue&type=template&id=5728741b&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 render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c(\"div\", [_c(\"el-form\", {\n ref: \"form\",\n attrs: {\n model: _vm.dailyTimeIntervalExpress\n }\n }, [_c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.interval\")\n }\n }, [_c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-input\", {\n model: {\n value: _vm.dailyTimeIntervalExpress.interval,\n callback: function ($$v) {\n _vm.$set(_vm.dailyTimeIntervalExpress, \"interval\", $$v);\n },\n expression: \"dailyTimeIntervalExpress.interval\"\n }\n })], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.timeRange\")\n }\n }, [_c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-time-picker\", {\n attrs: {\n placeholder: _vm.$t(\"message.startTime\"),\n \"value-format\": \"HH:mm:ss\",\n \"picker-options\": {\n format: \"HH:mm:ss\"\n }\n },\n model: {\n value: _vm.dailyTimeIntervalExpress.startTimeOfDay,\n callback: function ($$v) {\n _vm.$set(_vm.dailyTimeIntervalExpress, \"startTimeOfDay\", $$v);\n },\n expression: \"dailyTimeIntervalExpress.startTimeOfDay\"\n }\n })], 1), _c(\"el-col\", {\n staticClass: \"line\",\n attrs: {\n span: 2\n }\n }, [_vm._v(\"-\")]), _c(\"el-col\", {\n attrs: {\n span: 6\n }\n }, [_c(\"el-time-picker\", {\n attrs: {\n placeholder: _vm.$t(\"message.endTime\"),\n \"value-format\": \"HH:mm:ss\",\n \"picker-options\": {\n format: \"HH:mm:ss\"\n }\n },\n model: {\n value: _vm.dailyTimeIntervalExpress.endTimeOfDay,\n callback: function ($$v) {\n _vm.$set(_vm.dailyTimeIntervalExpress, \"endTimeOfDay\", $$v);\n },\n expression: \"dailyTimeIntervalExpress.endTimeOfDay\"\n }\n })], 1)], 1), _c(\"el-form-item\", {\n attrs: {\n label: _vm.$t(\"message.weekRange\")\n }\n }, [_c(\"el-checkbox-group\", {\n model: {\n value: _vm.dailyTimeIntervalExpress.daysOfWeek,\n callback: function ($$v) {\n _vm.$set(_vm.dailyTimeIntervalExpress, \"daysOfWeek\", $$v);\n },\n expression: \"dailyTimeIntervalExpress.daysOfWeek\"\n }\n }, _vm._l(_vm.weekDaysConstant, function (c) {\n return _c(\"el-checkbox\", {\n key: c.key,\n attrs: {\n label: c.key\n }\n }, [_vm._v(_vm._s(c.label))]);\n }), 1)], 1), _c(\"el-form-item\", [_c(\"el-button\", {\n attrs: {\n type: \"primary\"\n },\n on: {\n click: _vm.onSubmit\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.save\")))])], 1)], 1)], 1);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack:///./src/components/common/DailyTimeIntervalForm.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2277823dab-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"); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"77823dab-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/common/Exporter.vue?vue&type=template&id=d3460276&scoped=true": /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"77823dab-vue-loader-template"}!./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!./src/components/common/Exporter.vue?vue&type=template&id=d3460276&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 render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c(\"div\", [_c(\"el-input\", {\n attrs: {\n type: \"textarea\",\n placeholder: \"请输入内容\",\n autosize: {\n minRows: 8,\n maxRows: 256\n },\n disabled: _vm.mode === \"EXPORT\"\n },\n model: {\n value: _vm.jsonContent,\n callback: function ($$v) {\n _vm.jsonContent = $$v;\n },\n expression: \"jsonContent\"\n }\n }), _c(\"el-button\", {\n attrs: {\n type: \"info\"\n },\n on: {\n click: _vm.onClickCancelButton\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.cancel\")))]), _c(\"el-button\", {\n attrs: {\n type: \"primary\"\n },\n on: {\n click: _vm.onClickConfirmButton\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.confirm\")))])], 1);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack:///./src/components/common/Exporter.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2277823dab-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"); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"77823dab-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/common/TimeExpressionValidator.vue?vue&type=template&id=053ae4d9&scoped=true": /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"77823dab-vue-loader-template"}!./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!./src/components/common/TimeExpressionValidator.vue?vue&type=template&id=053ae4d9&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 render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c(\"div\", [_c(\"el-card\", {\n staticClass: \"box-card\"\n }, _vm._l(_vm.nextNTriggerTime, function (res) {\n return _c(\"div\", {\n key: res,\n staticClass: \"text item\"\n }, [_vm._v(\" \" + _vm._s(res) + \" \")]);\n }), 0)], 1);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack:///./src/components/common/TimeExpressionValidator.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2277823dab-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"); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"77823dab-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./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":"77823dab-vue-loader-template"}!./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!./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 render() {\n var _vm = this,\n _c = _vm._self._c;\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: 16\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 }\n }, [_c(\"el-button\", {\n attrs: {\n type: \"success\"\n },\n on: {\n click: _vm.onClickJobInputButton\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.inputJob\")))])], 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.onClickJobExportButton(scope.row);\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.export\")))])], 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 }, [[\"CRON\", \"FIXED_DELAY\", \"FIXED_RATE\"].includes(_vm.modifiedJobForm.timeExpressionType) ? _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 }) : _vm._e(), [\"DAILY_TIME_INTERVAL\"].includes(_vm.modifiedJobForm.timeExpressionType) ? _c(\"el-button\", {\n attrs: {\n type: \"primary\"\n },\n on: {\n click: _vm.onClickEditTimeExpression\n }\n }, [_vm._v(\"点击编辑\")]) : _vm._e()], 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 }, [[2, 4].includes(_vm.modifiedJobForm.logConfig.type) ? _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(), _vm.timeExpressionEditorVisible ? _c(\"el-dialog\", {\n attrs: {\n \"close-on-click-modal\": false,\n visible: _vm.timeExpressionEditorVisible\n },\n on: {\n \"update:visible\": function ($event) {\n _vm.timeExpressionEditorVisible = $event;\n }\n }\n }, [_c(\"DailyTimeIntervalForm\", {\n attrs: {\n timeExpression: _vm.modifiedJobForm.timeExpression\n },\n on: {\n contentChanged: _vm.eventFromDailyTimeIntervalExpress\n }\n })], 1) : _vm._e(), _vm.jobExporterDialogVisible ? _c(\"el-dialog\", {\n attrs: {\n \"close-on-click-modal\": false,\n visible: _vm.jobExporterDialogVisible\n },\n on: {\n \"update:visible\": function ($event) {\n _vm.jobExporterDialogVisible = $event;\n }\n }\n }, [_c(\"Exporter\", {\n attrs: {\n type: \"JOB\",\n mode: _vm.jobExporterMode,\n \"target-id\": _vm.jobExporterTargetId\n },\n on: {\n finished: _vm.eventFromExporter\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};\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:%2277823dab-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"); /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/views/JobManager.vue?vue&type=style&index=0&id=392659be&scoped=true&lang=css": /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--6-oneOf-1-2!./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=style&index=0&id=392659be&scoped=true&lang=css ***! \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \"\\n.job-editor-number[data-v-392659be] {\\n display: flex;\\n}\\n.job-input-number[data-v-392659be] {\\n background-color: #F5F7FA;\\n color: #909399;\\n /* vertical-align: middle; */\\n /* display: table-cell; */\\n position: relative;\\n border: 1px solid #DCDFE6;\\n border-radius: 4px;\\n padding: 0 20px;\\n /* width: 1px; */\\n white-space: nowrap;\\n display: block;\\n border-top-right-radius: 0px;\\n border-bottom-right-radius: 0px;\\n line-height: 38px;\\n width: auto;\\n}\\n.el-input-number[data-v-392659be] {\\n width: 100px;\\n}\\n.el-input-number .el-input[data-v-392659be] {\\n width: 1000px;\\n}\\n\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack:///./src/components/views/JobManager.vue?./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--6-oneOf-1-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"); /***/ }), /***/ "./node_modules/vue-style-loader/index.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/views/JobManager.vue?vue&type=style&index=0&id=392659be&scoped=true&lang=css": /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--6-oneOf-1-2!./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=style&index=0&id=392659be&scoped=true&lang=css ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { eval("// style-loader: Adds some css to the DOM by adding a