diff --git a/main.js b/main.js
index ad6598f..30bcb2b 100644
--- a/main.js
+++ b/main.js
@@ -21,7 +21,7 @@ Vue.component('uni-td',uniTd)
Vue.use(uView)
Vue.config.productionTip = false
// Vue.prototype.$filePath = 'https://qgqy.qhdsafety.com/file/'
-Vue.prototype.$filePath = 'https://skqhdg.porthebei.com:9004/file/'
+Vue.prototype.$filePath = 'https://wwag.qhdsafety.com/file/'
App.mpType = 'app'
const app = new Vue({
diff --git a/pages.json b/pages.json
index 5ff0bb1..26bd729 100644
--- a/pages.json
+++ b/pages.json
@@ -204,6 +204,12 @@
"navigationBarTitleText": "待办"
}
},
+ {
+ "path": "pages/eight_assignments/completed_list",
+ "style": {
+ "navigationBarTitleText": "已办"
+ }
+ },
{
"path": "pages/eight_assignments/technological_process",
"style": {
diff --git a/pages/eight_assignments/completed_list.vue b/pages/eight_assignments/completed_list.vue
new file mode 100644
index 0000000..d90c1b2
--- /dev/null
+++ b/pages/eight_assignments/completed_list.vue
@@ -0,0 +1,84 @@
+
+
+
+
+
+ 申请人:{{ item.jobName }}
+
+
+ 作业编号:{{ item.id }}
+
+
+ 作业分公司:{{ item.corpName }}
+
+
+ 申请时间:{{ item.createdTime }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/eight_assignments/confined_space/apply.vue b/pages/eight_assignments/confined_space/apply.vue
index 1ed9287..9332414 100644
--- a/pages/eight_assignments/confined_space/apply.vue
+++ b/pages/eight_assignments/confined_space/apply.vue
@@ -177,7 +177,7 @@ export default {
onLoad(options) {
this.form.CORP_ID = options.CORPINFO_ID
this.form.CORP_NAME = options.CORP_NAME
- this.form.type = options.type
+ this.type = options.type
},
methods: {
async fnGetConfinedSpaceSelectList() {
diff --git a/pages/eight_assignments/select_review_personnel.vue b/pages/eight_assignments/select_review_personnel.vue
index c55a8d6..d0d563e 100644
--- a/pages/eight_assignments/select_review_personnel.vue
+++ b/pages/eight_assignments/select_review_personnel.vue
@@ -165,6 +165,7 @@ export default {
this.form[key_id] = event.DEPARTMENT_ID
this.form[value + '_USER_ID' + guid] = ''
this.form[value + '_USER_NAME' + guid] = ''
+ this.picker.columnsAll[value] = []
this.fnGetUserList(event, value)
}
},
diff --git a/pages/eight_assignments/subordinate_index.vue b/pages/eight_assignments/subordinate_index.vue
index 2322e1f..106f5d1 100644
--- a/pages/eight_assignments/subordinate_index.vue
+++ b/pages/eight_assignments/subordinate_index.vue
@@ -26,12 +26,12 @@ export default {
{
img: require('../../static/icon-apps/i10.png'),
title: '待办',
- url: '/pages/eight_assignments/to_do_list'
+ url: '/pages/eight_assignments/to_do_list',
},
{
img: require('../../static/icon-apps/i11.png'),
title: '已办',
- url: '/pages/eight_assignments/completed_list'
+ url: '/pages/eight_assignments/completed_list',
},
],
type: '',
diff --git a/pages/eight_assignments/to_do_list.vue b/pages/eight_assignments/to_do_list.vue
index cfe4fbc..bc44a81 100644
--- a/pages/eight_assignments/to_do_list.vue
+++ b/pages/eight_assignments/to_do_list.vue
@@ -9,10 +9,13 @@
作业编号:{{ item.id }}
- 作业分公司:{{ item.taskName }}
+ 作业分公司:{{ item.corpName }}
- 申请时间:{{ item.taskName }}
+ 申请时间:{{ item.createdTime }}
+
+
+ 当前步骤:{{ item.taskName }}
diff --git a/pages/eight_assignments/view_info.vue b/pages/eight_assignments/view_info.vue
index 7eda71f..a25350c 100644
--- a/pages/eight_assignments/view_info.vue
+++ b/pages/eight_assignments/view_info.vue
@@ -10,8 +10,19 @@
-
+
+
+
+ 部门:{{item.DEPARTMENT_NAME}}
+ 人员:{{item.USER_NAME}}
+
+
+ 审批意见:{{item.APPROVAL_OPINIONS}}
+ 审批意见:{{item.APPROVAL_TIME}}
+
+
+
+
@@ -48,7 +59,7 @@ export default {
async fnGetData(taskId) {
let resData = await getTaskInfo({EW_RU_TASK_ID: taskId})
this.form = resData.list.form
- this.jobs = resData.list.jobs.reverse()
+ this.jobs = resData.list.jobs
},
async fnSubmit() {
await resolveNextOperation({
diff --git a/uni_modules/cc-defineStep/components/cc-defineStep/cc-defineStep.vue b/uni_modules/cc-defineStep/components/cc-defineStep/cc-defineStep.vue
index 86cfaab..3344255 100644
--- a/uni_modules/cc-defineStep/components/cc-defineStep/cc-defineStep.vue
+++ b/uni_modules/cc-defineStep/components/cc-defineStep/cc-defineStep.vue
@@ -10,8 +10,8 @@
{{ item.desc }}
- {{ item.isNow == 1 ? "✓" : '' }}
+ :style="{background: item.STEP_FLAG === '1'?colors:'#ccc',borderColor: item.STEP_FLAG === '1'?colors:'#ccc'}">
+ {{ item.STEP_FLAG === '1' ? "✓" : '' }}
diff --git a/utils/submitHomeworkProcess.js b/utils/submitHomeworkProcess.js
index 7c1ed9a..595768c 100644
--- a/utils/submitHomeworkProcess.js
+++ b/utils/submitHomeworkProcess.js
@@ -70,7 +70,7 @@ const endCurrentPersonnelTechnologicalProcess = async ({EW_RU_TASK_ID}) => {
// EW_RU_JOB_ID当前操作节点的人员id
export const resolveNextOperation = async ({EW_RU_TASK_ID, CORP_ID, TYPE, EW_RU_JOB_ID}, isLastStep = true) => {
if (isLastStep) {
- const {info} = await getCurrentNextOperation({EW_RU_TASK_ID})
+ const {info} = await getCurrentNextOperation({EW_RU_TASK_ID, EW_RU_JOB_ID})
// 选人
if (info.chooseNextFlag === '1') {
uni.navigateTo({