Browse Source

修复显示详情信息出现的报错

RuoYi 3 years ago
parent
commit
13a5bf8585
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/views/monitor/job/index.vue
  2. 1 1
      src/views/monitor/operlog/index.vue

+ 1 - 1
src/views/monitor/job/index.vue

@@ -348,7 +348,7 @@ function getList() {
 }
 /** 任务组名字典翻译 */
 function jobGroupFormat(row, column) {
-  return proxy.selectDictLabel(sys_job_group, row.jobGroup);
+  return proxy.selectDictLabel(sys_job_group.value, row.jobGroup);
 }
 /** 取消按钮 */
 function cancel() {

+ 1 - 1
src/views/monitor/operlog/index.vue

@@ -238,7 +238,7 @@ function getList() {
 }
 /** 操作日志类型字典翻译 */
 function typeFormat(row, column) {
-  return selectDictLabel(sys_oper_type, row.businessType);
+  return proxy.selectDictLabel(sys_oper_type.value, row.businessType);
 }
 /** 搜索按钮操作 */
 function handleQuery() {