fix: 解决冲突
This commit is contained in:
commit
af72b5bc31
@ -67,7 +67,7 @@ export default new Vuex.Store({
|
||||
// FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //正式环境
|
||||
// // WORKFLOWURL: 'http://47.93.215.234:19998/#/workspace/forms',//鞍钢平台工作流地址(弃用)
|
||||
// // WORKFLOWURL: 'http://47.93.215.234:19098/#/workspace/forms',//鞍钢测试平台工作流地址(弃用)
|
||||
// // WORKFLOWURL: 'http://42.180.188.17:19998/#/workspace/forms',//鞍钢平台工作流地址
|
||||
// WORKFLOWURL: 'http://42.180.188.17:19998/#/workspace/forms',//鞍钢平台工作流地址
|
||||
// WORKFLOWURL: "http://42.180.188.17:19098/#/workspace/forms", //鞍钢测试平台工作流地址
|
||||
//---------------------------------------------------------------------------------------------
|
||||
// BASEURL: baseUrl
|
||||
|
||||
@ -674,15 +674,22 @@ export default {
|
||||
if (res.result) {
|
||||
console.log(res.result.records, 1);
|
||||
this.tableData = res.result.records.map((item) => {
|
||||
const firemanAndCertificateNo =
|
||||
item.firemanAndCertificateNo.includes("[") &&
|
||||
item.firemanAndCertificateNo.includes("]")
|
||||
? JSON.parse(item.firemanAndCertificateNo).join("、")
|
||||
: item.firemanAndCertificateNo;
|
||||
return {
|
||||
...item,
|
||||
firemanAndCertificateNo,
|
||||
};
|
||||
if(item.firemanAndCertificateNo){
|
||||
const firemanAndCertificateNo =
|
||||
item.firemanAndCertificateNo.includes("[") &&
|
||||
item.firemanAndCertificateNo.includes("]")
|
||||
? JSON.parse(item.firemanAndCertificateNo).join("、")
|
||||
: item.firemanAndCertificateNo;
|
||||
return {
|
||||
...item,
|
||||
firemanAndCertificateNo,
|
||||
};
|
||||
}else{
|
||||
return {
|
||||
...item,
|
||||
firemanAndCertificateNo: ''
|
||||
}
|
||||
}
|
||||
});
|
||||
this.total = res.result.total;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user