From c41f8c8a75c4475831e3c7e9cde7467d2fb39950 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 28 六月 2024 10:38:17 +0800
Subject: [PATCH] 提交一把

---
 company/src/components/base/BaseOpera.vue |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 46 insertions(+), 0 deletions(-)

diff --git a/company/src/components/base/BaseOpera.vue b/company/src/components/base/BaseOpera.vue
index 5d64137..f5c7aba 100644
--- a/company/src/components/base/BaseOpera.vue
+++ b/company/src/components/base/BaseOpera.vue
@@ -59,6 +59,52 @@
         }
       })
     },
+    getApplyTimeTitle (type, solutionType, model) {
+      if (type == 0) {
+        // 濡傛灉鏄捣鏈�
+        if (solutionType === 1) {
+          // 濡傛灉鏄鎵樻姇淇濈敵璇�
+          return [3].includes(model.unionApplyTbdStatus) ? '淇濋櫓鐢熸晥璧锋湡' : '鏈熸湜鐢熸晥璧锋湡'
+        } else {
+          // 濡傛灉鏄洿淇濈敵璇�
+          return model.status === 5 ? '淇濋櫓鐢熸晥璧锋湡' : '鏈熸湜鐢熸晥璧锋湡'
+        }
+      } else {
+        // 濡傛灉鏄鏈�
+        if (solutionType === 1) {
+          // 濡傛灉鏄鎵樻姇淇濈敵璇�
+          return [3].includes(model.unionApplyTbdStatus) ? '淇濋櫓鐢熸晥姝㈡湡' : '棰勮鐢熸晥姝㈡湡'
+        } else {
+          // 濡傛灉鏄洿淇濈敵璇�
+          return model.status === 5 ? '淇濋櫓鐢熸晥姝㈡湡' : '棰勮鐢熸晥姝㈡湡'
+        }
+      }
+    },
+    getChangApplyTimeTitle (changeType, model) {
+      if (changeType === 2) {
+        return model.status === 2 ? '鎵瑰崟鐢熸晥鏈�' : '鏈熸湜鎵瑰崟鐢熸晥鏈�'
+      } else if (changeType === 1) {
+        return model.status === 2 ? '鎵瑰鐢熸晥璧锋湡' : '鏈熸湜鎵瑰鐢熸晥璧锋湡'
+      } else {
+        return model.status === 2 ? '鎵瑰噺鐢熸晥璧锋湡' : '鏈熸湜鎵瑰噺鐢熸晥璧锋湡'
+      }
+    },
+    getUnionApplyTimeTitle (type, model) {
+      if (type === 1) {
+        return model.status === 3 ? '淇濋櫓鐢熸晥璧锋湡' : '鏈熸湜鐢熸晥璧锋湡'
+      } else {
+        return model.status === 3 ? '淇濋櫓鐢熸晥姝㈡湡' : '鏈熸湜鐢熸晥姝㈡湡'
+      }
+    },
+    getUnionChangTimeTitle (changeType, model) {
+      if (changeType === 2) {
+        return model.status === 2 ? '鎵瑰崟鐢熸晥鏈�' : '鏈熸湜鎵瑰崟鐢熸晥鏈�'
+      } else if (changeType === 1) {
+        return model.status === 2 ? '鎵瑰鐢熸晥璧锋湡' : '鏈熸湜鎵瑰鐢熸晥璧锋湡'
+      } else {
+        return model.status === 2 ? '鎵瑰噺鐢熸晥璧锋湡' : '鏈熸湜鎵瑰噺鐢熸晥璧锋湡'
+      }
+    },
     close () {
       this.visible = false
     },

--
Gitblit v1.9.3