From dc9d85c7abf2f940f086ad5e3dcf89e46da7cefd Mon Sep 17 00:00:00 2001 From: water_xu Date: Tue, 9 Jul 2024 15:44:12 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=96=B9=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E5=AE=A1=E6=89=B9=20-=20=E5=AE=8C=E5=96=84=E4=BA=8B?= =?UTF-8?q?=E5=8A=A1=E5=A4=84=E7=90=86=E6=9C=BA=E5=88=B6=E4=BB=A5=E5=8F=8A?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E5=A4=B1=E8=B4=A5=E7=9A=84=E5=8F=8B=E5=A5=BD?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xgf/flow/components/sendUtil.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/xgf/flow/components/sendUtil.vue b/src/views/xgf/flow/components/sendUtil.vue index 01ec759..ac30511 100644 --- a/src/views/xgf/flow/components/sendUtil.vue +++ b/src/views/xgf/flow/components/sendUtil.vue @@ -292,7 +292,11 @@ export default { } upload('/xgf/user/approveMax', formData) .then((data) => { - this.$message.success('推送成功') + if (data.errorMessage == ''){ + this.$message.success('推送成功') + }else { + this.$message.error(data.errorMessage) + } this.visible = false this.$emit('refresh', '') this.handleClose() From 2183c0f914517a8d9c15a8cae16797b2a27c63eb Mon Sep 17 00:00:00 2001 From: water_xu Date: Fri, 12 Jul 2024 14:21:34 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E7=AE=A1=E7=90=86=20-=20?= =?UTF-8?q?=E8=A1=8C=E4=B8=9A=E8=B5=84=E8=B4=A8=E5=9B=BE=E7=89=87=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../information/qualifications/components/edit.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/views/corpInfo/information/qualifications/components/edit.vue b/src/views/corpInfo/information/qualifications/components/edit.vue index 8ec6e4c..f17ae67 100644 --- a/src/views/corpInfo/information/qualifications/components/edit.vue +++ b/src/views/corpInfo/information/qualifications/components/edit.vue @@ -86,7 +86,15 @@ export default { NAME: [{ required: true, message: '名称不能为空', trigger: 'blur' }], VALIDITYTIME: [{ required: true, message: '证书有效期不能为空', trigger: 'blur' }], NUMBER: [{ required: true, message: '证书编号不能为空', trigger: 'blur' }], - FILE: [{ required: true, message: '图片不能为空', trigger: 'blur' }] + FILE: [ + { validator: (rule, value, callback) => { + if (this.certificate_files.length > 0) { + callback() + } else { + callback(new Error('图片不能为空')) + } + }, trigger: 'blur' } + ] } } }, @@ -191,6 +199,8 @@ export default { if (!isImage) { this.$message.error('上传图片只能是 JPG、JPEG、PNG 格式!') fileList.pop() + } else { + this.beforeFileUpload(file) } }, handlePictureCardPreview(file) { From aa8d744fcfb9b106ef3eeba2a7ab4e913b23b6a2 Mon Sep 17 00:00:00 2001 From: water_xu Date: Mon, 15 Jul 2024 16:12:21 +0800 Subject: [PATCH 3/8] =?UTF-8?q?=E9=9A=90=E6=82=A3=E6=B2=BB=E7=90=86=20-=20?= =?UTF-8?q?=E4=B8=80=E8=88=AC=E9=9A=90=E6=82=A3=E5=8F=B0=E8=B4=A6=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=9D=A1=E4=BB=B6=E5=A2=9E=E5=8A=A0=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=96=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/hiddenApi/publicMethod/list.vue | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/views/hiddenApi/publicMethod/list.vue b/src/views/hiddenApi/publicMethod/list.vue index 6d1ab62..76168b7 100644 --- a/src/views/hiddenApi/publicMethod/list.vue +++ b/src/views/hiddenApi/publicMethod/list.vue @@ -101,6 +101,14 @@ /> + + + + + + + + @@ -271,7 +279,8 @@ export default { state: '', // 隐患状态 hiddenpart: '', // 隐患部位 hiddenType: '', // 隐患类型 - creatorUserDept: ''// 隐患发现部门 + creatorUserDept: '', // 隐患发现部门 + isrelevant: '' // 是否相关方 }, /** 条件中的字段,没有放在form表单中,是因为怕动态加载中出现问题 **/ sourceList: [ @@ -281,6 +290,10 @@ export default { { ID: '5', NAME: '安全环保检查(企业端)' }, { ID: '6', NAME: '消防检查' } ], + isrelevantList: [ + { ID: '1', NAME: '是' }, + { ID: '2', NAME: '否' } + ], statusList: [ { ID: '1', NAME: '未整改' }, { ID: '2', NAME: '已整改' }, From 06a234831966419c41f09a3b64c29e45e1c5c2ad Mon Sep 17 00:00:00 2001 From: water_xu Date: Wed, 17 Jul 2024 19:32:07 +0800 Subject: [PATCH 4/8] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E7=AE=A1=E7=90=86=20-=20?= =?UTF-8?q?=E8=A1=8C=E4=B8=9A=E8=B5=84=E8=B4=A8=E5=8E=BB=E6=8E=89=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E4=B8=8D=E8=83=BD=E4=B8=BA=E7=A9=BA=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../information/qualifications/components/edit.vue | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/views/corpInfo/information/qualifications/components/edit.vue b/src/views/corpInfo/information/qualifications/components/edit.vue index f17ae67..ecd971b 100644 --- a/src/views/corpInfo/information/qualifications/components/edit.vue +++ b/src/views/corpInfo/information/qualifications/components/edit.vue @@ -85,16 +85,7 @@ export default { rules: { NAME: [{ required: true, message: '名称不能为空', trigger: 'blur' }], VALIDITYTIME: [{ required: true, message: '证书有效期不能为空', trigger: 'blur' }], - NUMBER: [{ required: true, message: '证书编号不能为空', trigger: 'blur' }], - FILE: [ - { validator: (rule, value, callback) => { - if (this.certificate_files.length > 0) { - callback() - } else { - callback(new Error('图片不能为空')) - } - }, trigger: 'blur' } - ] + NUMBER: [{ required: true, message: '证书编号不能为空', trigger: 'blur' }] } } }, From 5505de7f301a88693e95b8e377d322076cb60b41 Mon Sep 17 00:00:00 2001 From: liujun Date: Mon, 22 Jul 2024 14:03:40 +0800 Subject: [PATCH 5/8] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E5=A4=8D=E6=B6=88?= =?UTF-8?q?=E9=98=B2=E7=82=B9=E4=BD=8D=E6=89=AB=E7=A0=81=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=AD=A3=E5=B8=B8=E6=98=BE=E7=A4=BA=E7=82=B9=E4=BD=8D=E4=BF=A1?= =?UTF-8?q?=E6=81=AFH5bug=E4=BF=AE=E5=A4=8D=202=E3=80=81=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../firefighting/points/components/list.vue | 15 +++++---- .../meteorologicalMonitoringDisplay/index.vue | 32 +++++++++++++++++++ 2 files changed, 40 insertions(+), 7 deletions(-) create mode 100644 src/views/meteorologicalMonitoring/meteorologicalMonitoringDisplay/index.vue diff --git a/src/views/firefighting/points/components/list.vue b/src/views/firefighting/points/components/list.vue index a16744e..d28bce7 100644 --- a/src/views/firefighting/points/components/list.vue +++ b/src/views/firefighting/points/components/list.vue @@ -246,13 +246,14 @@ export default { handleShowQr(ROW) { this.dialogFormShow = true this.qrInfo = ROW - // this.qrcodeStr = this.config.weburlWaiwang + 'static/qrcode/views/bsbw/point_list.html?id=' + ROW.FIRE_POINT_ID - const json = { - MANAGER_TYPE: 'fireListManager', - FIRE_POINT_ID: ROW.FIRE_POINT_ID - } - const jsonStr = JSON.stringify(json) - this.qrcodeStr = jsonStr + // 2024-07-22 齐金城确认后,将代码还原,如果不还原则无法显示H5页面和。created by liu jun + this.qrcodeStr = this.config.weburlWaiwang + 'static/qrcode/views/bsbw/point_list.html?id=' + ROW.FIRE_POINT_ID + // const json = { + // MANAGER_TYPE: 'fireListManager', + // FIRE_POINT_ID: ROW.FIRE_POINT_ID + // } + // const jsonStr = JSON.stringify(json) + // this.qrcodeStr = jsonStr }, handleEdit(FIRE_POINT_ID) { this.$parent.FIRE_POINT_ID = FIRE_POINT_ID diff --git a/src/views/meteorologicalMonitoring/meteorologicalMonitoringDisplay/index.vue b/src/views/meteorologicalMonitoring/meteorologicalMonitoringDisplay/index.vue new file mode 100644 index 0000000..efcee40 --- /dev/null +++ b/src/views/meteorologicalMonitoring/meteorologicalMonitoringDisplay/index.vue @@ -0,0 +1,32 @@ +