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)=>{