From 75f1f8dfa1c53f38f66c384ef151012aca5905c1 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期三, 26 六月 2024 10:33:37 +0800 Subject: [PATCH] 提交一把 --- company/src/components/base/BaseOpera.vue | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/company/src/components/base/BaseOpera.vue b/company/src/components/base/BaseOpera.vue index 5d64137..8c8ffaf 100644 --- a/company/src/components/base/BaseOpera.vue +++ b/company/src/components/base/BaseOpera.vue @@ -59,6 +59,36 @@ } }) }, + 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 ? '鎵瑰噺鐢熸晥璧锋湡' : '鏈熸湜鎵瑰噺鐢熸晥璧锋湡' + } + }, close () { this.visible = false }, -- Gitblit v1.9.3