fix: BUG修改
This commit is contained in:
parent
d8c9b5062f
commit
8c7e68e975
@ -21,7 +21,7 @@ NODE_ENV = 'development'
|
|||||||
# 七参数标准版(测试平台)
|
# 七参数标准版(测试平台)
|
||||||
# VITE_API_URL = 'http://182.90.224.237:15551'
|
# VITE_API_URL = 'http://182.90.224.237:15551'
|
||||||
# agjt
|
# 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='
|
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@ NODE_ENV = "production"
|
|||||||
# 七参数标准版(测试平台)
|
# 七参数标准版(测试平台)
|
||||||
# VITE_API_URL = 'http://182.90.224.237:15551'
|
# VITE_API_URL = 'http://182.90.224.237:15551'
|
||||||
# agjt
|
# 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='
|
VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url='
|
||||||
|
|||||||
@ -15,8 +15,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="over-time" v-if="item.overdueType"><span style="color: #e25f64">已逾期</span></div>
|
<div class="over-time" v-if="item.overdueType"><span style="color: #e25f64">已逾期</span></div>
|
||||||
<div class="name">
|
<div class="name">
|
||||||
整改结果:<span :style="{ color: item.status ? rectification[item.status - 1].color : '' }">{{
|
整改结果:<span :style="{ color: item.status ? statusNameFilter(item.status).color : '' }">{{
|
||||||
item.status ? rectification[item.status - 1].name : ""
|
item.status ? statusNameFilter(item.status).name : ""
|
||||||
}}</span>
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="name">检查人:{{ item.inspectManName || "" }}</div>
|
<div class="name">检查人:{{ item.inspectManName || "" }}</div>
|
||||||
@ -49,8 +49,8 @@ let rectification = ref([
|
|||||||
{ id: 1, name: "无需整改", color: "#a1accb" },
|
{ id: 1, name: "无需整改", color: "#a1accb" },
|
||||||
{ id: 2, name: "待整改", color: "#698ed2" },
|
{ id: 2, name: "待整改", color: "#698ed2" },
|
||||||
{ id: 3, name: "待复查", color: "#EEA959" },
|
{ id: 3, name: "待复查", color: "#EEA959" },
|
||||||
{ id: 4, name: "合格", color: "#82FBEA" },
|
{ id: 4, name: "待核验", color: "#a1accb" },
|
||||||
{ id: 5, name: "不合格", color: "#a1accb" }
|
{ id: 5, name: "合格", color: "#82FBEA" }
|
||||||
]);
|
]);
|
||||||
|
|
||||||
let list = ref([]);
|
let list = ref([]);
|
||||||
@ -61,7 +61,13 @@ let moreScroll = ref(true as any);
|
|||||||
|
|
||||||
let pageNo = ref(1 as any);
|
let pageNo = ref(1 as any);
|
||||||
let pageSize = ref(10 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 getSafeRecordList = async () => {
|
||||||
const res: any = await getQualityManageList({ projectSn: store.sn, pageNo: 1, pageSize: 10 });
|
const res: any = await getQualityManageList({ projectSn: store.sn, pageNo: 1, pageSize: 10 });
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user