diff --git a/pages.json b/pages.json index 527a655..7564802 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 85ab3c2..f98c2ee 100644 --- a/pages/application/hotwork/home.vue +++ b/pages/application/hotwork/home.vue @@ -22,6 +22,15 @@ 申请 + + + + {{count.COUNTANALYZE}} + + + 气体分析 + + @@ -90,15 +99,7 @@ 完工验收 - - - - {{count.COUNTANALYZE}} - - - 气体分析 - - + 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 @@ + + + + +