From abe76cdd3248dbd32d9beceea65a4e7fb7219788 Mon Sep 17 00:00:00 2001 From: zhaoyu Date: Wed, 27 Dec 2023 16:33:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E8=A7=92=E6=A0=87=E4=BB=A5=E5=8F=8A?= =?UTF-8?q?=E4=BA=8C=E6=AC=A1=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../key-project-out/list.vue | 2 +- .../keyProjectApply.vue | 52 ++++++++++++++----- 2 files changed, 41 insertions(+), 13 deletions(-) diff --git a/pages/key-project-management/key-project-out/list.vue b/pages/key-project-management/key-project-out/list.vue index c3d0729..f36f529 100644 --- a/pages/key-project-management/key-project-out/list.vue +++ b/pages/key-project-management/key-project-out/list.vue @@ -16,7 +16,7 @@ {{ item.CORP_NAME }} - + 属地:{{item.prvinceName}}-{{item.cityName}}-{{item.countryName}} diff --git a/pages/key-project-management/positioning_management/keyProjectApply.vue b/pages/key-project-management/positioning_management/keyProjectApply.vue index e07f342..ecaa265 100644 --- a/pages/key-project-management/positioning_management/keyProjectApply.vue +++ b/pages/key-project-management/positioning_management/keyProjectApply.vue @@ -12,14 +12,14 @@ { - this.fnBack() - }, 1000) + console.log(state) + var content = ''; + if(state === '1'){ + content = '确定同意开工吗?' + }else if(state === '2'){ + content = '确定同意结束吗?' + } + uni.showModal({ + title: '提示', + cancelText: '确认', + confirmText: '取消', + content: content, + success: (res) => { + console.log(res) + if (res.cancel) { + setKeyProjectsState({ + OUTSOURCED_ID: this.OUTSOURCED_ID, + OPERATOR: this.userInfo.USER_ID, //修改人 + STATE:state + }); + uni.$u.toast('提交成功') + setTimeout(() => { + this.fnBack() + }, 1000) + } + } + }) }, + endUpdate(state){ + + + + }, + }, }