From ae327449a3b243396a13a384be018c30d5441571 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Sat, 20 Apr 2024 10:23:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E9=80=80=E6=96=99=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/utils/globalUrl.js | 4 +-- .../claimAndRefund/receive/agreement.vue | 30 +++++++++++-------- .../claimAndRefund/receive/receiveApply.vue | 4 +-- .../claimAndRefund/receive/receiveManage.vue | 2 ++ .../receiveByCq/receiveApply.vue | 4 +-- .../receiveByCq/receiveApplyAddByCq.vue | 2 +- .../receiveByCq/receiveManage.vue | 2 ++ .../claimAndRefund/return/returnApplyAdd.vue | 4 +-- .../return/returnApplyAddByCq.vue | 4 +-- sgzb-ui/src/views/dashboard.vue | 2 +- sgzb-ui/src/views/stquery/leaseRecord.vue | 5 ++-- 11 files changed, 35 insertions(+), 28 deletions(-) diff --git a/sgzb-ui/src/utils/globalUrl.js b/sgzb-ui/src/utils/globalUrl.js index d84343c3..c5a6e866 100644 --- a/sgzb-ui/src/utils/globalUrl.js +++ b/sgzb-ui/src/utils/globalUrl.js @@ -1,6 +1,6 @@ -// const qrUrl = 'http://192.168.0.14:21624/qrCode/qrCodePage?qrCode='; //测试 -const qrUrl = 'http://112.29.103.165:21626/qrCode/qrCodePage?qrCode='; //重庆 +const qrUrl = 'http://192.168.0.14:21624/qrCode/qrCodePage?qrCode='; //测试 +// const qrUrl = 'http://112.29.103.165:21626/qrCode/qrCodePage?qrCode='; //重庆 // const qrUrl = 'http://112.29.103.165:21624/qrCode/qrCodePage?qrCode='; //宁夏 // const qrUrl = 'https://z.csgmall.com.cn/gl/qrCode/qrCodePage?qrCode='; //南网 diff --git a/sgzb-ui/src/views/claimAndRefund/receive/agreement.vue b/sgzb-ui/src/views/claimAndRefund/receive/agreement.vue index 25b63cb1..963866f0 100644 --- a/sgzb-ui/src/views/claimAndRefund/receive/agreement.vue +++ b/sgzb-ui/src/views/claimAndRefund/receive/agreement.vue @@ -600,21 +600,25 @@ export default { typeof response.data.fileName === "string" ) { try { - let [urlArr, nameArr] = [ - response.data.fileUrl, - response.data.fileName - ].map(str => str.split(",")); + if(response.data.fileUrl!=''){ + let [urlArr, nameArr] = [ + response.data.fileUrl, + response.data.fileName + ].map(str => str.split(",")); - if (urlArr.length !== nameArr.length) { - return; + if (urlArr.length !== nameArr.length) { + return; + } + console.log(urlArr) + let fileList = urlArr.map((url, i) => ({ + name: nameArr[i], + url: `${this.uploadUrl}${url}` + })); + console.log(fileList) + this.fileList = fileList; + this.checkUrlList = urlArr; + this.checkUrlNameList = nameArr; } - let fileList = urlArr.map((url, i) => ({ - name: nameArr[i], - url: `${this.uploadUrl}${url}` - })); - this.fileList = fileList; - this.checkUrlList = urlArr; - this.checkUrlNameList = nameArr; } catch (error) { console.error("处理合同照片时发生错误:", error); } diff --git a/sgzb-ui/src/views/claimAndRefund/receive/receiveApply.vue b/sgzb-ui/src/views/claimAndRefund/receive/receiveApply.vue index 668b429a..faa467ad 100644 --- a/sgzb-ui/src/views/claimAndRefund/receive/receiveApply.vue +++ b/sgzb-ui/src/views/claimAndRefund/receive/receiveApply.vue @@ -415,9 +415,9 @@ /** 重置按钮操作 */ resetQuery() { this.queryParams.time = [] - this.queryParams.unitId = null - this.queryParams.proId = null this.resetForm('queryForm') + this.GetUnitData() + this.GetProData() this.handleQuery() }, diff --git a/sgzb-ui/src/views/claimAndRefund/receive/receiveManage.vue b/sgzb-ui/src/views/claimAndRefund/receive/receiveManage.vue index d4052392..aae30d96 100644 --- a/sgzb-ui/src/views/claimAndRefund/receive/receiveManage.vue +++ b/sgzb-ui/src/views/claimAndRefund/receive/receiveManage.vue @@ -614,6 +614,8 @@ resetQuery() { this.queryParams.time = [] this.resetForm('queryForm') + this.GetUnitData() + this.GetProData() this.handleQuery() }, handleNotice() { diff --git a/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveApply.vue b/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveApply.vue index 92b8915d..547b7de1 100644 --- a/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveApply.vue +++ b/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveApply.vue @@ -431,9 +431,9 @@ /** 重置按钮操作 */ resetQuery() { this.queryParams.time = [] - this.queryParams.unitId = null - this.queryParams.proId = null this.resetForm('queryForm') + this.GetUnitData() + this.GetProData() this.handleQuery() }, diff --git a/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveApplyAddByCq.vue b/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveApplyAddByCq.vue index dfd1af0b..5e1f7cfe 100644 --- a/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveApplyAddByCq.vue +++ b/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveApplyAddByCq.vue @@ -618,7 +618,7 @@ export default { if(res.code == 200){ this.$message({ type:'success', - message: '申请成功' + message: res.msg }) this.$tab.closeOpenPage({ path: "/claimAndRefund/receiveByCq/receiveApply"}); } diff --git a/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveManage.vue b/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveManage.vue index 2873702d..3178c2a8 100644 --- a/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveManage.vue +++ b/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveManage.vue @@ -488,6 +488,8 @@ export default { resetQuery() { this.queryParams.time = [] this.resetForm('queryForm') + this.GetUnitData() + this.GetProData() this.handleQuery() }, handleNotice() { diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue b/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue index 4522cd20..c14464b7 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue @@ -682,7 +682,7 @@ export default { } const res = await submitRefuseBackApply(params) if (res.code == 200) { - this.$message({ type: 'success', message: '申请成功'}) + this.$message({ type: 'success', message: res.msg}) setTimeout(() => { this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApply"}); }, 1000) @@ -697,7 +697,7 @@ export default { } const res = await submitBackApplyApi(params) if (res.code == 200) { - this.$message({ type: 'success', message: '申请成功'}) + this.$message({ type: 'success', message: res.msg}) setTimeout(() => { this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApply"}); }, 1000) diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnApplyAddByCq.vue b/sgzb-ui/src/views/claimAndRefund/return/returnApplyAddByCq.vue index 8e7a2d42..5e3e6fc0 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnApplyAddByCq.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnApplyAddByCq.vue @@ -671,7 +671,7 @@ export default { } const res = await submitRefuseBackApply(params) if (res.code == 200) { - this.$message({ type: 'success', message: '申请成功'}) + this.$message({ type: 'success', message: res.msg}) setTimeout(() => { this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApplyByCq"}); }, 1000) @@ -686,7 +686,7 @@ export default { } const res = await submitBackApplyApi(params) if (res.code == 200) { - this.$message({ type: 'success', message: '申请成功'}) + this.$message({ type: 'success', message: res.msg}) setTimeout(() => { this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApplyByCq"}); }, 1000) diff --git a/sgzb-ui/src/views/dashboard.vue b/sgzb-ui/src/views/dashboard.vue index 4f6f40d3..2248c53d 100644 --- a/sgzb-ui/src/views/dashboard.vue +++ b/sgzb-ui/src/views/dashboard.vue @@ -16,7 +16,7 @@ }, methods: { openNewWindow() { - window.open('http://112.29.103.165:21626/index01.html?token='+localStorage.getItem('token'), '_blank'); + window.open('http://192.168.0.14:21624/index01.html?token='+localStorage.getItem('token'), '_blank'); } } }; diff --git a/sgzb-ui/src/views/stquery/leaseRecord.vue b/sgzb-ui/src/views/stquery/leaseRecord.vue index a13a7b1f..968042dc 100644 --- a/sgzb-ui/src/views/stquery/leaseRecord.vue +++ b/sgzb-ui/src/views/stquery/leaseRecord.vue @@ -223,9 +223,8 @@ export default { resetQuery() { this.dateRange = []; this.resetForm("queryForm"); - this.queryParams.time = null; - this.queryParams.unitId = null; - this.queryParams.proId = null; + this.getUnitList(); + this.getProList(); this.handleQuery(); },