From fa0b195ec1820434d28b4e338a7497e20d31ea54 Mon Sep 17 00:00:00 2001 From: gyj Date: Thu, 25 Apr 2024 17:58:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95bug?= =?UTF-8?q?=E5=8F=8A=E4=BA=BA=E8=84=B8=E6=A0=B8=E5=AE=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/login.js | 3 +- src/store/modules/user.js | 3 +- .../caseManagement/components/addCase.vue | 15 ++- .../components/caseFilingDetailsPage.vue | 32 +++++- .../caseManagement/components/mediation.vue | 3 +- .../components/mediationApplications.vue | 10 +- .../caseManagement/components/timeConfirm.vue | 3 +- src/views/login.vue | 101 +++++++++++++----- 8 files changed, 127 insertions(+), 43 deletions(-) diff --git a/src/api/login.js b/src/api/login.js index d75a3f7..bfb7866 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -107,9 +107,10 @@ export function selectIdentityAuthenticaEIDtoken() { }) } // H5轮询获取E证通Token状态 -export function selectPCEIDtokenStatus() { +export function selectPCEIDtokenStatus(data) { return request({ url: '/identityAuthentication/selectPCEIDtokenStatus', method: 'get', + params:data }) } diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 16bcf07..195d4bb 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -73,13 +73,14 @@ const user = { }, // 退出系统 - LogOut({ commit, state }) { + LogOut({ commit, state, dispatch }) { return new Promise((resolve, reject) => { logout(state.token).then(() => { commit('SET_TOKEN', '') commit('SET_ROLES', []) commit('SET_PERMISSIONS', []) removeToken() + dispatch('tagsView/delAllViews', null, { root: true }) resolve() }).catch(error => { reject(error) diff --git a/src/views/caseManagement/components/addCase.vue b/src/views/caseManagement/components/addCase.vue index 3761333..b26c819 100644 --- a/src/views/caseManagement/components/addCase.vue +++ b/src/views/caseManagement/components/addCase.vue @@ -80,7 +80,7 @@ - +
{{ item.annexName }} @@ -88,6 +88,15 @@
+ + +
+
+ {{ item.annexName }} +
+
+
+
达成调解 @@ -861,6 +870,7 @@ export default { getUserInfoList: {}, applicationFlag: null, showmediate: false, + labelShowMediate:false, showEvidence: false,//是否显示证据 mediationApplication: false, formZipData: {}, @@ -1012,6 +1022,7 @@ export default { } this.activeName = "first"; this.showmediate = false; + this.labelShowMediate = false; this.showEvidence = false; this.mediationApplication = false; this.getTemplateFn(); @@ -1087,6 +1098,8 @@ export default { this.showmediate = true } else if (item.annexType == 3) { this.mediationApplication = true + } else if(item.annexType == 13){ + this.labelShowMediate = true } }); diff --git a/src/views/caseManagement/components/caseFilingDetailsPage.vue b/src/views/caseManagement/components/caseFilingDetailsPage.vue index aebed59..3c8ec93 100644 --- a/src/views/caseManagement/components/caseFilingDetailsPage.vue +++ b/src/views/caseManagement/components/caseFilingDetailsPage.vue @@ -29,7 +29,17 @@
-->
- {{ item.annexName }} + + 签署前调解书: +
+ {{ item.annexName }} +
+
+
+ 签署后调解书: +
+ {{ item.annexName }} +
@@ -89,13 +99,22 @@
- +
{{ item.annexName }}
+
+ + +
+
+ {{ item.annexName }} +
+
+
@@ -683,8 +702,13 @@ export default { }); }, /** 查看证据 */ - fileDetil(val) { - window.open(this.fileURL + val); + fileDetil(val,flag) { + if(flag==1){ + window.open(this.fileURL + val); + }else if(flag==2){ + this.$router.push({ path: '/onlyoffice', query: { id: val, flag: 0 } }) + } + }, /** 文件上传地址 */ UploadUrl() { diff --git a/src/views/caseManagement/components/mediation.vue b/src/views/caseManagement/components/mediation.vue index 4d2c028..a67a62d 100644 --- a/src/views/caseManagement/components/mediation.vue +++ b/src/views/caseManagement/components/mediation.vue @@ -266,6 +266,7 @@ export default { }, /** 发起会议 */ openmeeting() { + this.mediationVisable = false window.open( // `http://localhost:8080/#/home?name=${this.user}&id=${this.formData.id}&userId=${this.userId}&roomId=${this.formData.roomId}&type=tiaojie&token=${getToken()}` `https://txroom.xayunmei.com/#/home?name=${this.user}&id=${this.formData.id}&userId=${this.userId}&roomId=${this.formData.roomId}&type=tiaojie&token=${getToken()}` @@ -340,8 +341,6 @@ export default { id: this.mediationData.id, caseFlowId: this.mediationData.caseFlowId, attachList: this.attachList, - sealFlag:this.sealFlag, - mediaResult: this.formData.mediaResult, } } else { if(this.formData.mediaResult != 1){ diff --git a/src/views/caseManagement/components/mediationApplications.vue b/src/views/caseManagement/components/mediationApplications.vue index 66555df..65fa7d9 100644 --- a/src/views/caseManagement/components/mediationApplications.vue +++ b/src/views/caseManagement/components/mediationApplications.vue @@ -79,11 +79,6 @@ export default { }, beforeUpload(flie, fileList) { - const isLt2M = flie.size / 1024 / 1024 < 50; // 小于50MB - if (!isLt2M) { - this.$message.error('上传的文件大小不能超过 50MB!'); - } - return isLt2M; function getFileExtension(filename) { const parts = filename.split('.'); return parts.length > 1 ? parts.pop() : ''; @@ -96,6 +91,11 @@ export default { } this.filedata.caseId = this.mediationLise.id this.fileList = fileList; + const isLt2M = flie.size / 1024 / 1024 < 50; // 小于50MB + if (!isLt2M) { + this.$message.error('上传的文件大小不能超过 50MB!'); + } + return isLt2M; }, handlSuccess(res, file) { if (res.code == 200) { diff --git a/src/views/caseManagement/components/timeConfirm.vue b/src/views/caseManagement/components/timeConfirm.vue index ea340ca..898738f 100644 --- a/src/views/caseManagement/components/timeConfirm.vue +++ b/src/views/caseManagement/components/timeConfirm.vue @@ -87,10 +87,11 @@ export default { this.createRoomIdFn({ caseId: this.timeConfirmData.id }) - if (this.formLabelAlign.name == '') { + if (!this.formLabelAlign.name) { Message.error('请选择时间'); return } + console.log(this.formLabelAlign.name) this.formLabelAlign.name = moment( this.formLabelAlign.name ).format("YYYY-MM-DD HH:mm:ss"); diff --git a/src/views/login.vue b/src/views/login.vue index d4d2713..9deed56 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -81,24 +81,46 @@ 登 录 中...
- 立即注册 - + + 立即注册
-
+
+ 扫码人脸核验
-
+
- + +
+ + + 是 + 否 + + +