瀏覽代碼

补充提交

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>