From 50c0c246b38efe6c7d86155285444a3c904f66f2 Mon Sep 17 00:00:00 2001 From: liujun Date: Mon, 18 Nov 2024 17:25:15 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81bug=E4=BF=AE=E5=A4=8D=EF=BC=9A?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E4=BD=BF=E7=94=A8=E5=AE=9A=E4=BD=8D=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/eight_assignments/blind_board/apply.vue | 39 ++++--------------- .../eight_assignments/break_ground/apply.vue | 4 +- .../confined_space/apply.vue | 4 +- pages/eight_assignments/cut_road/apply.vue | 4 +- pages/eight_assignments/electricity/apply.vue | 4 +- pages/eight_assignments/high_work/apply.vue | 4 +- pages/eight_assignments/hoisting/apply.vue | 4 +- .../hot_work/select_position.vue | 4 +- 8 files changed, 21 insertions(+), 46 deletions(-) diff --git a/pages/eight_assignments/blind_board/apply.vue b/pages/eight_assignments/blind_board/apply.vue index acb3827..14bbba1 100644 --- a/pages/eight_assignments/blind_board/apply.vue +++ b/pages/eight_assignments/blind_board/apply.vue @@ -192,12 +192,7 @@ export default { CORP_NAME: [{ type: 'string', required: true, message: '请选择作业分公司', trigger: ['blur', 'change'] }], WORK_TYPE_NAME: [{ type: 'string', required: true, message: '请选择作业类别', trigger: ['blur', 'change'] }], NAME: [{ type: 'string', required: true, message: '请输入设备管道名称', trigger: ['blur', 'change'] }], - BOARD_INSTALL_TIME: [{ - type: 'string', - required: true, - message: '请选择实际作业开始时间', - trigger: ['blur', 'change'] - }], + BOARD_INSTALL_TIME: [{type: 'string', required: true, message: '请选择实际作业开始时间', trigger: ['blur', 'change']}], WORK_END_DATE: [{ type: 'string', required: true, message: '请选择作业结束时间', trigger: ['blur', 'change'] }], WORK_USER: [{ type: 'string', required: true, message: '请输入作业人', trigger: ['blur', 'change'] }], WORK_LONGITUDE: [{ type: 'string', required: true, message: '请输入经度', trigger: ['blur', 'change'] }], @@ -205,30 +200,10 @@ export default { MEDIUM: [{ type: 'string', required: true, message: '请输入介质', trigger: ['blur', 'change'] }], TEMPERATURE: [{ type: 'string', required: true, message: '请输入温度', trigger: ['blur', 'change'] }], PRESSURE: [{ type: 'string', required: true, message: '请输入压力', trigger: ['blur', 'change'] }], - BOARD_PATH: [{ - type: 'array', - required: true, - message: '请上传盲板抽堵位置图', - trigger: ['blur', 'change'] - }], - SPECIAL_WORK: [{ - type: 'string', - required: true, - message: '请输入关联的其他特殊作业及安全作业票编号', - trigger: ['blur', 'change'] - }], - RISK_IDENTIFICATION: [{ - type: 'string', - required: true, - message: '请输入风险辨识结果', - trigger: ['blur', 'change'] - }], - SIGN: [{ - type: 'string', - required: true, - message: '请签字', - trigger: ['blur', 'change'] - }], + BOARD_PATH: [{type: 'array', required: true, message: '请上传盲板抽堵位置图', trigger: ['blur', 'change']}], + SPECIAL_WORK: [{type: 'string', required: true, message: '请输入关联的其他特殊作业及安全作业票编号', trigger: ['blur', 'change']}], + RISK_IDENTIFICATION: [{type: 'string', required: true, message: '请输入风险辨识结果', trigger: ['blur', 'change']}], + SIGN: [{type: 'string', required: true, message: '请签字', trigger: ['blur', 'change']}], }, picker: { show: false, @@ -295,8 +270,8 @@ export default { url: '/pages/map/index', events: { acceptLocationData: (event) => { - this.form.WORK_LONGITUDE = event.data.longitue; - this.form.WORK_LATITUDE = event.data.latitude; + this.form.WORK_LONGITUDE = event.data.longitue.toString(); + this.form.WORK_LATITUDE = event.data.latitude.toString(); } }, }) diff --git a/pages/eight_assignments/break_ground/apply.vue b/pages/eight_assignments/break_ground/apply.vue index 884c242..d5e3aee 100644 --- a/pages/eight_assignments/break_ground/apply.vue +++ b/pages/eight_assignments/break_ground/apply.vue @@ -214,8 +214,8 @@ export default { url: '/pages/map/index', events: { acceptLocationData: (event) => { - this.form.WORK_LONGITUDE = event.data.longitue; - this.form.WORK_LATITUDE = event.data.latitude; + this.form.WORK_LONGITUDE = event.data.longitue.toString(); + this.form.WORK_LATITUDE = event.data.latitude.toString(); } }, }) diff --git a/pages/eight_assignments/confined_space/apply.vue b/pages/eight_assignments/confined_space/apply.vue index 232e272..d4b37dc 100644 --- a/pages/eight_assignments/confined_space/apply.vue +++ b/pages/eight_assignments/confined_space/apply.vue @@ -220,8 +220,8 @@ export default { url: '/pages/map/index', events: { acceptLocationData: (event) => { - this.form.WORK_LONGITUDE = event.data.longitue; - this.form.WORK_LATITUDE = event.data.latitude; + this.form.WORK_LONGITUDE = event.data.longitue.toString(); + this.form.WORK_LATITUDE = event.data.latitude.toString(); } }, }) diff --git a/pages/eight_assignments/cut_road/apply.vue b/pages/eight_assignments/cut_road/apply.vue index dada838..bb3d4d3 100644 --- a/pages/eight_assignments/cut_road/apply.vue +++ b/pages/eight_assignments/cut_road/apply.vue @@ -214,8 +214,8 @@ export default { url: '/pages/map/index', events: { acceptLocationData: (event) => { - this.form.WORK_LONGITUDE = event.data.longitue; - this.form.WORK_LATITUDE = event.data.latitude; + this.form.WORK_LONGITUDE = event.data.longitue.toString(); + this.form.WORK_LATITUDE = event.data.latitude.toString(); } }, }) diff --git a/pages/eight_assignments/electricity/apply.vue b/pages/eight_assignments/electricity/apply.vue index f2b9c24..8acb5b0 100644 --- a/pages/eight_assignments/electricity/apply.vue +++ b/pages/eight_assignments/electricity/apply.vue @@ -238,8 +238,8 @@ export default { url: '/pages/map/index', events: { acceptLocationData: (event) => { - this.form.WORK_LONGITUDE = event.data.longitue; - this.form.WORK_LATITUDE = event.data.latitude; + this.form.WORK_LONGITUDE = event.data.longitue.toString(); + this.form.WORK_LATITUDE = event.data.latitude.toString(); } }, }) diff --git a/pages/eight_assignments/high_work/apply.vue b/pages/eight_assignments/high_work/apply.vue index b063a4f..edc6d29 100644 --- a/pages/eight_assignments/high_work/apply.vue +++ b/pages/eight_assignments/high_work/apply.vue @@ -220,8 +220,8 @@ export default { url: '/pages/map/index', events: { acceptLocationData: (event) => { - this.form.WORK_LONGITUDE = event.data.longitue; - this.form.WORK_LATITUDE = event.data.latitude; + this.form.WORK_LONGITUDE = event.data.longitue.toString(); + this.form.WORK_LATITUDE = event.data.latitude.toString(); } }, }) diff --git a/pages/eight_assignments/hoisting/apply.vue b/pages/eight_assignments/hoisting/apply.vue index 19fe2cc..983c723 100644 --- a/pages/eight_assignments/hoisting/apply.vue +++ b/pages/eight_assignments/hoisting/apply.vue @@ -239,8 +239,8 @@ export default { url: '/pages/map/index', events: { acceptLocationData: (event) => { - this.form.WORK_LONGITUDE = event.data.longitue; - this.form.WORK_LATITUDE = event.data.latitude; + this.form.WORK_LONGITUDE = event.data.longitue.toString(); + this.form.WORK_LATITUDE = event.data.latitude.toString(); } }, }) diff --git a/pages/eight_assignments/hot_work/select_position.vue b/pages/eight_assignments/hot_work/select_position.vue index 5a39e9c..113915e 100644 --- a/pages/eight_assignments/hot_work/select_position.vue +++ b/pages/eight_assignments/hot_work/select_position.vue @@ -64,8 +64,8 @@ export default { url: '/pages/map/index', events: { acceptLocationData: (event) => { - this.form.WORK_LONGITUDE = event.data.longitue; - this.form.WORK_LATITUDE = event.data.latitude; + this.form.WORK_LONGITUDE = event.data.longitue.toString(); + this.form.WORK_LATITUDE = event.data.latitude.toString(); } }, })