|
|
|
@ -114,6 +114,17 @@
|
|
|
|
loading.value = false
|
|
|
|
loading.value = false
|
|
|
|
if (res.status) {
|
|
|
|
if (res.status) {
|
|
|
|
tableData.value = res.data.list
|
|
|
|
tableData.value = res.data.list
|
|
|
|
|
|
|
|
if(BaseFileUrl.includes('172.31.68.39')){
|
|
|
|
|
|
|
|
const oldIp = '192.168.50.123';
|
|
|
|
|
|
|
|
const newIp = '172.31.68.39';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tableData.value.forEach(item => {
|
|
|
|
|
|
|
|
if (typeof item.pdf_url === 'string') {
|
|
|
|
|
|
|
|
item.pdf_url = item.pdf_url.replace(new RegExp(oldIp, 'g'), newIp);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
total = res.data.count
|
|
|
|
total = res.data.count
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
ElMessage.error(res.msg)
|
|
|
|
ElMessage.error(res.msg)
|
|
|
|
|