diff --git a/.env.development b/.env.development index 52a9877..3b065fe 100644 --- a/.env.development +++ b/.env.development @@ -21,7 +21,7 @@ NODE_ENV = 'development' # 七参数标准版(测试平台) # VITE_API_URL = 'http://182.90.224.237:15551' # agjt -VITE_API_URL = 'http://angang.xingzong.tech:9809' +VITE_API_URL = 'http://47.93.215.234:9809' # 上传 VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url=' diff --git a/.env.production b/.env.production index 9032c00..9467bd1 100644 --- a/.env.production +++ b/.env.production @@ -21,7 +21,7 @@ NODE_ENV = "production" # 七参数标准版(测试平台) # VITE_API_URL = 'http://182.90.224.237:15551' # agjt -VITE_API_URL = 'http://angang.xingzong.tech:9809' +VITE_API_URL = 'http://47.93.215.234:9809' # 打包 VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url=' diff --git a/src/views/sevenLargeScreen/qualityControl/qualityManagement/rightBoxQ.vue b/src/views/sevenLargeScreen/qualityControl/qualityManagement/rightBoxQ.vue index e5299f7..7c76422 100644 --- a/src/views/sevenLargeScreen/qualityControl/qualityManagement/rightBoxQ.vue +++ b/src/views/sevenLargeScreen/qualityControl/qualityManagement/rightBoxQ.vue @@ -15,8 +15,8 @@
已逾期
- 整改结果:{{ - item.status ? rectification[item.status - 1].name : "" + 整改结果:{{ + item.status ? statusNameFilter(item.status).name : "" }}
检查人:{{ item.inspectManName || "" }}
@@ -49,8 +49,8 @@ let rectification = ref([ { id: 1, name: "无需整改", color: "#a1accb" }, { id: 2, name: "待整改", color: "#698ed2" }, { id: 3, name: "待复查", color: "#EEA959" }, - { id: 4, name: "合格", color: "#82FBEA" }, - { id: 5, name: "不合格", color: "#a1accb" } + { id: 4, name: "待核验", color: "#a1accb" }, + { id: 5, name: "合格", color: "#82FBEA" } ]); let list = ref([]); @@ -61,7 +61,13 @@ let moreScroll = ref(true as any); let pageNo = ref(1 as any); let pageSize = ref(10 as any); - +// 名称筛选 +const statusNameFilter = (status:any):any => { + let findItem = rectification.value.find((item:any) => { + return item.id == status + }) + return findItem; +} // 获取安全管理记录列表 const getSafeRecordList = async () => { const res: any = await getQualityManageList({ projectSn: store.sn, pageNo: 1, pageSize: 10 });