From 8d6977cfb17102b6acb9d13701ff66d7524ad3b2 Mon Sep 17 00:00:00 2001 From: fangjiakai <450850793@qq.com> Date: Fri, 19 Jan 2024 18:01:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E7=81=AB=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 2 +- pages/application/hotwork/home.vue | 23 +- .../hotwork-apply/hotwork-apply-detail.vue | 10 +- .../hotwork/hotwork-list/index.vue | 460 ++++++++++++++++++ 4 files changed, 482 insertions(+), 13 deletions(-) create mode 100644 pages/application/hotwork/hotwork-list/index.vue diff --git a/pages.json b/pages.json index 1fbb35c..30cc769 100644 --- a/pages.json +++ b/pages.json @@ -984,7 +984,7 @@ "style": {} }, { - "path": "pages/application/hotwork/hotwork-apply/hotwork-apply-list", + "path": "pages/application/hotwork/hotwork-list/index", "style": {} }, { diff --git a/pages/application/hotwork/home.vue b/pages/application/hotwork/home.vue index 97fcf29..2c0a6f1 100644 --- a/pages/application/hotwork/home.vue +++ b/pages/application/hotwork/home.vue @@ -12,7 +12,7 @@ 动火作业审批管理 - + {{count.COUNTBACK}} @@ -22,6 +22,15 @@ 申请 + + + + {{count.COUNTANALYZE}} + + + 气体分析 + + @@ -90,15 +99,7 @@ 完工验收 - - - - {{count.COUNTANALYZE}} - - - 气体分析 - - + @@ -193,7 +194,7 @@ title:"加载中..." });//加载中动画 uni.request({ - url: basePath +'/app/hotwork/countCheck', + url: basePath +'/app/hotwork/checkWorkCount', method: 'POST', dataType: 'json', header: { diff --git a/pages/application/hotwork/hotwork-apply/hotwork-apply-detail.vue b/pages/application/hotwork/hotwork-apply/hotwork-apply-detail.vue index 401623b..49952b1 100644 --- a/pages/application/hotwork/hotwork-apply/hotwork-apply-detail.vue +++ b/pages/application/hotwork/hotwork-apply/hotwork-apply-detail.vue @@ -929,6 +929,13 @@ formData.OPERATOR=loginUser.USER_ID formData.ACTION_USER=loginUser.NAME formData.APPLY_STATUS=STATUS + if(this.pd.WORK_LEVEL == '特级'){ + formData.TASK_ID=1 + }else if(this.pd.WORK_LEVEL == '一级'){ + formData.TASK_ID=2 + }else if(this.pd.WORK_LEVEL == '二级'){ + formData.TASK_ID=3 + } this.buttonloading = true uni.request({ url: basePath + "app/hotwork/"+_this.msg, @@ -941,7 +948,8 @@ ...formData, CORPINFO_ID:loginUser.CORPINFO_ID, USER_ID:loginUser.USER_ID, - }, + STEP_ID : STATUS + }, success: (res) => { uni.showToast({ icon:'none', diff --git a/pages/application/hotwork/hotwork-list/index.vue b/pages/application/hotwork/hotwork-list/index.vue new file mode 100644 index 0000000..f4a0600 --- /dev/null +++ b/pages/application/hotwork/hotwork-list/index.vue @@ -0,0 +1,460 @@ + + + + +