diff --git a/pages.json b/pages.json
index 7513ae2..c79f61c 100644
--- a/pages.json
+++ b/pages.json
@@ -232,6 +232,18 @@
"navigationBarTitleText": "吊装作业申请"
}
},
+ {
+ "path": "pages/eight_assignments/electricity/apply",
+ "style": {
+ "navigationBarTitleText": "临时用电作业申请"
+ }
+ },
+ {
+ "path": "pages/eight_assignments/cut_road/apply",
+ "style": {
+ "navigationBarTitleText": "断路作业申请"
+ }
+ },
{
"path": "pages/map/index",
"style": {
diff --git a/pages/eight_assignments/blind_board/apply.vue b/pages/eight_assignments/blind_board/apply.vue
index 08b907f..a261dce 100644
--- a/pages/eight_assignments/blind_board/apply.vue
+++ b/pages/eight_assignments/blind_board/apply.vue
@@ -72,7 +72,7 @@
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/eight_assignments/electricity/apply.vue b/pages/eight_assignments/electricity/apply.vue
new file mode 100644
index 0000000..847adec
--- /dev/null
+++ b/pages/eight_assignments/electricity/apply.vue
@@ -0,0 +1,262 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/eight_assignments/high_work/apply.vue b/pages/eight_assignments/high_work/apply.vue
index db22945..71bf479 100644
--- a/pages/eight_assignments/high_work/apply.vue
+++ b/pages/eight_assignments/high_work/apply.vue
@@ -25,7 +25,7 @@
-
+
-
+
-
+
+
+ {{ item.QUESTION }}
+ {{ item.TEXT_INFO || item.ANSWER }}
+
+
+
+
+ {{ item1.TEXT_INFO }}:{{ item1.ANSWER }}
+
+
@@ -66,7 +76,7 @@ export default {
let resData = await getTaskInfo({EW_RU_TASK_ID: taskId})
this.form = resData.list.form
this.jobs = resData.list.jobs
- this.questionnaires = resData.list.questionnaires[0]
+ this.questionnaires = resData.list.simpleQues[0]
},
async fnSubmit() {
let CORP_ID = ''
@@ -82,7 +92,7 @@ export default {
CORP_ID,
EW_RU_JOB_ID: this.jobId,
})
- }
+ },
},
}
diff --git a/utils/submitHomeworkProcess.js b/utils/submitHomeworkProcess.js
index a190960..5267c01 100644
--- a/utils/submitHomeworkProcess.js
+++ b/utils/submitHomeworkProcess.js
@@ -29,7 +29,8 @@ const processFormData = async (formData, formItems) => {
const {CODE} = await setTaskFile({formData: {type: 0}, name: 'files', filePath: currentItem[j].url})
codeList.push(CODE)
}
- obj.ITEM_VALUE = codeList
+ obj.ITEM_VALUE = ''
+ obj.picList = codeList
} else {
throw Error('图片和视频只支持数组')
}
@@ -41,7 +42,8 @@ const processFormData = async (formData, formItems) => {
for (let j = 0; j < currentItem.length; j++) {
itemList.push(await processFormData(currentItem[j], formItem.listStructure))
}
- obj.ITEM_VALUE = JSON.stringify(itemList)
+ obj.ITEM_VALUE = ''
+ obj.list = itemList
} else {
throw Error('动态表单只支持数组')
}