guarantee-lsq há 2 anos atrás
pai
commit
27b67b863a

+ 2 - 2
src/utils/dict.js

@@ -317,8 +317,8 @@ DictCache.TYPE = {
   // 隐患管理
   PROFESSOR_TYPE: 'PROFESSOR_TYPE',
   CHECK_LEVEL: 'CHECK_LEVEL',
-  HIDDEN_DANGER_STATUS: 'HIDDEN_DANGER_STATUS'
-
+  HIDDEN_DANGER_STATUS: 'HIDDEN_DANGER_STATUS',
+  SB_CHANGE_LOG_TYPE: 'SB_CHANGE_LOG_TYPE'
 }
 DictCache.CODE = {
 

+ 3 - 1
src/views/sb/change-log/modules/SbChangeLogSelectModal.vue

@@ -100,6 +100,7 @@ export default {
       // 查询参数
       queryParam: {},
       extraQueryParam: {},
+      changeMap: {},
       // 表头
       columns: [
         {
@@ -125,7 +126,7 @@ export default {
           title: '记录类型',
           dataIndex: 'changeType',
           customRender: (text, record, index) => {
-            return this.BaseTool.Amount.formatter(text)
+            return this.changeMap[text]
           }
         },
         {
@@ -178,6 +179,7 @@ export default {
   },
   created () {
     // 下拉框map
+    this.changeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SB_CHANGE_LOG_TYPE)
   },
   methods: {
     tableOption () {