lph 1 год назад
Родитель
Сommit
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>