From c80c8b6515550d68971a9b81c9adcc7f0fc0db07 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Thu, 19 Jun 2025 15:13:49 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.testing | 2 +- .../pro-tabs/bns-kkFile-preview.vue | 48 ++++++++++--------- .../pro-tabs/bns-person-approval-tabs.vue | 1 + src/components/pro-tabs/bns-timeline-tabs.vue | 6 ++- src/utils/bonus.js | 3 +- src/views/IndexPage/index_other.vue | 3 +- .../components/hazardApprove.vue | 4 +- .../extensionRequestApproval/index.vue | 2 +- src/views/pro/admissionRequest/index.vue | 4 +- src/views/pro/apply/supervisorEnterApply.vue | 41 ++++++---------- .../index.vue | 2 +- .../outsourcingPro/editOutsourcingPro.vue | 2 +- src/views/pro/supervisor/admission/index.vue | 4 +- src/views/pro/supervisor/exit/index.vue | 2 +- .../supervisorPersonManage/addPersonnel.vue | 9 +++- .../pro/supervisorPersonManage/index.vue | 24 +++++++++- 16 files changed, 90 insertions(+), 67 deletions(-) diff --git a/.env.testing b/.env.testing index 4f71557..498ca15 100644 --- a/.env.testing +++ b/.env.testing @@ -4,7 +4,7 @@ VUE_APP_TITLE = 可视化管控平台 NODE_ENV = production # 生产环境配置 -ENV = 'testing' +ENV = testing VUE_APP_ENV = 'testing' diff --git a/src/components/pro-tabs/bns-kkFile-preview.vue b/src/components/pro-tabs/bns-kkFile-preview.vue index 46e2107..fa4cee3 100644 --- a/src/components/pro-tabs/bns-kkFile-preview.vue +++ b/src/components/pro-tabs/bns-kkFile-preview.vue @@ -4,7 +4,7 @@
{{ loadingMessage }}
- 下载 + 下载 @@ -22,18 +22,18 @@ export default { type: Object, default: () => { return { - filePreviewUrl: '' + filePreviewUrl: '', } - } + }, }, fileType: { type: String, - default: '' // docx: word + default: '', // docx: word }, lookType: { type: String, - default: 'normal' - } + default: 'normal', + }, }, data() { return { @@ -44,7 +44,7 @@ export default { filePreviewPath: '', file: '', loading: true, - loadingMessage: 'Loading...' + loadingMessage: 'Loading...', } }, created() { @@ -127,19 +127,21 @@ export default { fillInComments() { this.$prompt('请填写意见', '提示', { confirmButtonText: '确定', - cancelButtonText: '取消' - }).then(({ value }) => { - this.$message({ - type: 'success', - message: '填写成功' - }) - this.$emit('fillInComments', value) - }).catch(() => { - this.$message({ - type: 'info', - message: '取消输入' - }) + cancelButtonText: '取消', }) + .then(({ value }) => { + this.$message({ + type: 'success', + message: '填写成功', + }) + this.$emit('fillInComments', value) + }) + .catch(() => { + this.$message({ + type: 'info', + message: '取消输入', + }) + }) }, download() { if (this.fileType === 'docx') { @@ -148,14 +150,14 @@ export default { console.log('🚀 ~ download ~ this.fileUploadPath:', this.fileUploadPath) } downloadFile(this.fileUploadPath, this.$props.items.fileName) - } + }, }, watch: { items: { handler: 'setParam', - immediate: true - } - } + immediate: true, + }, + }, }