From e1c9f595b7073a24d263442cbbfedc98e352ab20 Mon Sep 17 00:00:00 2001 From: "@jyuhsin" <729757837@qq.com> Date: Wed, 17 Dec 2025 11:15:57 +0800 Subject: [PATCH] commit --- .../zhgh/dayofficework/ghkh/xghsh.html | 2 +- .../platform/zhgh/dayofficework/ghkh/zp.html | 43 ++++++++++++++++--- 2 files changed, 37 insertions(+), 8 deletions(-) diff --git a/src/main/resources/views/platform/zhgh/dayofficework/ghkh/xghsh.html b/src/main/resources/views/platform/zhgh/dayofficework/ghkh/xghsh.html index 61a8fd0..a503e11 100644 --- a/src/main/resources/views/platform/zhgh/dayofficework/ghkh/xghsh.html +++ b/src/main/resources/views/platform/zhgh/dayofficework/ghkh/xghsh.html @@ -4,7 +4,7 @@ layout("/layouts/platform.html"){ diff --git a/src/main/resources/views/platform/zhgh/dayofficework/ghkh/zp.html b/src/main/resources/views/platform/zhgh/dayofficework/ghkh/zp.html index 87cfb02..7d374fc 100644 --- a/src/main/resources/views/platform/zhgh/dayofficework/ghkh/zp.html +++ b/src/main/resources/views/platform/zhgh/dayofficework/ghkh/zp.html @@ -2,7 +2,9 @@ layout("/layouts/platform.html"){ #-->
@@ -166,6 +168,16 @@ layout("/layouts/platform.html"){ + + + + @@ -190,7 +202,8 @@ layout("/layouts/platform.html"){ - + @@ -365,6 +378,12 @@ layout("/layouts/platform.html"){ }, methods: { + tableRowClassName({row, rowIndex}) { + if(row.zp?.updateStatus === true) { + return 'warning-row'; + } + return ''; + }, goBack() { this.pageData() this.$refs.guava.index() @@ -453,9 +472,14 @@ layout("/layouts/platform.html"){ for (let j = 0; j < n.bzs.length; j++) { const b = n.bzs[j] params.push({ - "zb_id": this.formData.id, "nr_id": n.id, - "bz_id": b.id, "clnr": b.zp?.clnr, "zpf": b.zp?.zpf, "files": b.zp?.files, - "id": b.zp?.id ? b.zp?.id : null + "zb_id": this.formData.id, + "nr_id": n.id, + "bz_id": b.id, + "clnr": b.zp?.clnr, + "zpf": b.zp?.zpf, + "files": b.zp?.files, + "id": b.zp?.id ? b.zp?.id : null, + "updateStatus": b.zp?.updateStatus }) if(v === 'submit' && valid === true) { if(b.isEvidence === true && !b.zp?.files) { @@ -675,8 +699,13 @@ layout("/layouts/platform.html"){ n.bzs.forEach(b => { if (b.zp) { zp = { - "zb_id": this.formData.id, "nr_id": n.id, - "bz_id": b.id, "clnr": b.zp.clnr, "zpf": b.zpf, "files": b.zp.files + "zb_id": this.formData.id, + "nr_id": n.id, + "bz_id": b.id, + "clnr": b.zp.clnr, + "zpf": b.zpf, + "files": b.zp.files, + "updateStatus": b.zp?.updateStatus } } else { zp = {"zb_id": this.formData.id, "nr_id": n.id, "bz_id": b.id, "zpf": b.zpf}