소스 검색

补充提交

lph 1 년 전
부모
커밋
99369cb1e1
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      ruoyi-ui/src/views/bpmprocess/index.vue

+ 6 - 0
ruoyi-ui/src/views/bpmprocess/index.vue

@@ -570,6 +570,12 @@ export default {
     handleFileExport() {
       exportFileProcess(this.ids).then(() => {});
     },
+    // 获取字典对应label
+    getDictLabel(value, dictLsit = []) {
+      return dictLsit.find((item) => {
+        return item.value == value;
+      })?.label;
+    },
   },
 };
 </script>