From 43aa148f9d4bd773276855c1324373c31ea43bb3 Mon Sep 17 00:00:00 2001
From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com>
Date: Thu, 12 Sep 2024 10:05:49 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sgzb-screen/config/prod.env.js | 2 +-
.../picking/auditing/component/home1.vue | 27 +++++++++----------
2 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/sgzb-screen/config/prod.env.js b/sgzb-screen/config/prod.env.js
index 172a0d7e..f1743bef 100644
--- a/sgzb-screen/config/prod.env.js
+++ b/sgzb-screen/config/prod.env.js
@@ -3,7 +3,7 @@ var testUrl = '112.29.103.165:21624/'
// var testUrl = '192.168.0.14:21624/'
// var testUrl = '192.168.0.166:8080'
module.exports = {
- NODE_ENV: '"production"',
+ NODE_ENV: 'production',
//post用当前域名
// API_ROOT: '"http://' + testUrl + '/iot"'
// API_ROOT: '/',
diff --git a/sgzb-ui/src/views/claimAndreturn/picking/auditing/component/home1.vue b/sgzb-ui/src/views/claimAndreturn/picking/auditing/component/home1.vue
index 61e3cccc..bf5093ab 100644
--- a/sgzb-ui/src/views/claimAndreturn/picking/auditing/component/home1.vue
+++ b/sgzb-ui/src/views/claimAndreturn/picking/auditing/component/home1.vue
@@ -185,10 +185,10 @@
:show-overflow-tooltip="true"
/>
{
- switch (item.typeId) {
- case '0':
- item.typeId = '内部单位';
- break;
- case '1':
- item.typeId = '外部单位';
- break;
- }
+ res.data.rows.forEach((item) => {
+ switch (item.typeId) {
+ case '0':
+ item.typeId = '内部单位'
+ break
+ case '1':
+ item.typeId = '外部单位'
+ break
+ }
})
this.leaseAuditList = res.data.rows
// this.leaseAuditList.forEach((item,index)=>{