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){ + + + + }, + }, }