Commit cdbd67c6 authored by liucheng's avatar liucheng

Merge branch 'master' into 'dev'

Master

See merge request !51
parents 20b7aa10 f3c68630
...@@ -114,7 +114,7 @@ export const seleyhkbgdc = (data) => { ...@@ -114,7 +114,7 @@ export const seleyhkbgdc = (data) => {
data data
}) })
} }
//银行卡变更导出 //档次变更导出
export const seledcbgdc = (data) => { export const seledcbgdc = (data) => {
return axios({ return axios({
url: '/baseInfo/getUpdateGrade', url: '/baseInfo/getUpdateGrade',
...@@ -185,3 +185,19 @@ export const updatePassword = (data)=>{ ...@@ -185,3 +185,19 @@ export const updatePassword = (data)=>{
}) })
} }
// //
//参保注销导出
export const selecbzxdc = (data) => {
return axios({
url: '/baseInfo/getInsuranceCancel',
method: 'post',
data
})
};
//补缴保费导出
export const selebjbfdc = (data) => {
return axios({
url: '/baseInfo/getSupPayment',
method: 'post',
data
})
};
...@@ -25,12 +25,16 @@ import receivePersonnel from "@/views/Myvue/receivePersonnel"; ...@@ -25,12 +25,16 @@ import receivePersonnel from "@/views/Myvue/receivePersonnel";
import AllbaseInfo from "@/views/Myvue/allbaseInfo" import AllbaseInfo from "@/views/Myvue/allbaseInfo"
import PayInfo from "@/views/Myvue/payInfo" import PayInfo from "@/views/Myvue/payInfo"
import application from "@/views/Myvue/application" import application from "@/views/Myvue/application"
import importByExcel from "@/views/Myvue/importByExcel" import importByExcel from "@/views/Myvue/importByExcel";
import treatmentApplicationAudit from "@/views/Myvue/treatmentApplicationAudit" import treatmentApplicationAudit from "@/views/Myvue/treatmentApplicationAudit";
import insuranceCancellationAudit from "@/views/Myvue/insuranceCancellationAudit" import insuranceCancellationAudit from "@/views/Myvue/insuranceCancellationAudit";
import supPaymentAudit from "@/views/Myvue/supPaymentAudit" import supPaymentAudit from "@/views/Myvue/supPaymentAudit";
import traRelationsAudit from "@/views/Myvue/traRelationsAudit" import traRelationsAudit from "@/views/Myvue/traRelationsAudit";
import upgradeReoAudit from "@/views/Myvue/upgradeReoAudit" import upgradeReoAudit from "@/views/Myvue/upgradeReoAudit";
import drcbzx from "@/views/Myvue/drcbzx";
import drbjbf from "@/views/Myvue/drbjbf";
import drtsyw from "@/views/Myvue/drtsyw";
Vue.use(Router) Vue.use(Router)
...@@ -77,27 +81,27 @@ const router = new Router({ ...@@ -77,27 +81,27 @@ const router = new Router({
}, },
{ {
path:"/Output_1", path:"/Output_1",
name:"参保登记", name:"参保登记导出",
component: drcbdj component: drcbdj
}, },
{ {
path:"/modifyall", path:"/modifyAllExport",
name:"所有变更", name:"所有变更导出",
component: drxxbg component: drxxbg
}, },
{ {
path:"/modifybankcard", path:"/modifyBanExport",
name:"银行卡变更", name:"银行卡变更导出",
component: dryhkbg component: dryhkbg
}, },
{ {
path:"/modifygrade", path:"/modifyGraExport",
name:"档次变更", name:"档次变更导出",
component: drdcbg component: drdcbg
}, },
{ {
path:"/treatmentApplication", path:"/treatmentAppExport",
name:"待遇申请", name:"待遇申请导出",
component: drdysq component: drdysq
}, },
{ {
...@@ -160,6 +164,21 @@ const router = new Router({ ...@@ -160,6 +164,21 @@ const router = new Router({
name:"关系转移审核", name:"关系转移审核",
component: traRelationsAudit component: traRelationsAudit
}, },
{
path:"/insCanExport",
name:"参保注销导出",
component: drcbzx
},
{
path:"/supPayExport",
name:"补缴保费导出",
component: drbjbf
},
{
path:"/speBusExport",
name:"特殊业务导出",
component: drtsyw
},
] ]
}, },
{ {
......
<template>
<div>
<el-table
v-loading.fullscreen.lock="loading"
:data="tableData"
style="width: 100%"
>
<el-table-column
prop="idcard"
label="身份证号码"
min-width="20%">
</el-table-column>
<el-table-column
prop="name"
label="姓名"
min-width="20%">
</el-table-column>
<el-table-column
prop="bankAccount"
label="银行账号"
min-width="20%">
</el-table-column>
<el-table-column
prop="bank"
label="所属银行"
min-width="20%">
</el-table-column>
<el-table-column label="操作"
min-width="20%">
<template slot-scope="scope">
<el-button
size="mini"
type="primary"
@click="toPdf(scope.$index, scope.row)">导出pdf
</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination
class="pone"
:page-size='10'
layout="total, prev, pager, next, jumper"
:total="totals"
:current-page.sync="PageNum"
@current-change="current_change"
>
</el-pagination>
<!-- <el-button type="success" @click="toexcel" style="margin:50px">全部导出</el-button>-->
</div>
</template>
<script>
import {Loading} from 'element-ui';
import {baseUrl} from "../../utils/global"
import axios from "axios"
import Cookies from "js-cookie";
export default {
data() {
return {
PageNum: 1,
totals: 0,
tableData: [],
loading: false
}
},
methods: {
toPdf(s, d) {
this.loading = true;
console.log(d)
axios.get(baseUrl + '/exportPdf/supPayment?id=' + d.eventId, {
headers: {
"token": Cookies.get("token")
},
responseType: 'blob' //告诉服务器我们需要的响应格式
})
.then(res => {
let a = document.createElement("a");
let blob = new Blob([res.data], {
type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
});
a.href = URL.createObjectURL(blob); //生成一个url
a.download = "西充县城乡居民社会养老保险补缴申请表" + Date.now() + ".pdf";
a.click();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
this.loading = false;
})
.catch(err => {
console.log(err);
this.loading = false;
});
},
current_change(s) {
var data = {
"pageNum": s,
"pageSize": 10
}
Loading.service();
this.$api.getlist.selebjbfdc(data).then((res) => {
let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
});
if (res.code == 200) {
this.tableData = res.data.content
this.totals = res.data.totalSize
}
}).catch((res) => {
});
},
// toexcel() {
// this.loading = true;
// axios.get(baseUrl + '/exportExcel/updateBankCard', {
// headers: {
// "token": Cookies.get("token")
// },
// responseType: 'blob' //告诉服务器我们需要的响应格式
// })
// .then(res => {
// let a = document.createElement("a");
// let blob = new Blob([res.data], {
// type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
// });
// a.href = URL.createObjectURL(blob); //生成一个url
// a.download = "补缴保费表" + Date.now() + ".xlsx";
// a.click();
// // let objectUrl = URL.createObjectURL(blob); //生成一个url
// // window.location.href = objectUrl; //浏览器打开这个url
// this.loading = false;
// })
// .catch(err => {
// console.log(err);
// this.loading = false;
// });
// // this.$api.getlist.dccc().then((res) => {
// // let loadingInstance = Loading.service();
// // this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
// // loadingInstance.close();
// // });
// // if(res.code==200){
// // this.tableData=res.data.result
// // this.totals=res.data.total
// // }
//
// // }).catch((res) => {
//
// // });
// }
},
created() {
var data = {
"pageNum": 1,
"pageSize": 10
}
Loading.service();
this.$api.getlist.selebjbfdc(data).then((res) => {
let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
});
if (res.code == 200) {
this.tableData = res.data.content
this.totals = res.data.totalSize
}
}).catch((res) => {
});
},
}
</script>
<template>
<div>
<el-table
v-loading.fullscreen.lock="loading"
:data="tableData"
style="width: 100%"
>
<el-table-column
prop="idcard"
label="身份证号码"
min-width="15%">
</el-table-column>
<el-table-column
prop="name"
label="姓名"
min-width="10%">
</el-table-column>
<el-table-column
prop="bankAccount"
label="终止原因"
min-width="10%">
</el-table-column>
<el-table-column
prop="bank"
label="个人账户余额"
min-width="10%">
</el-table-column>
<el-table-column
prop="bank"
label="合计发放金额"
min-width="15%">
</el-table-column>
<el-table-column
prop="bank"
label="发放账户"
min-width="15%">
</el-table-column>
<el-table-column
prop="bank"
label="指定受益人或法定继承人"
min-width="15%">
</el-table-column>
<el-table-column
prop="bank"
label="与终止人关系"
min-width="10%">
</el-table-column>
<el-table-column label="操作"
min-width="15%">
<template slot-scope="scope">
<el-button
size="mini"
type="primary"
@click="toPdf(scope.$index, scope.row)">导出pdf
</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination
class="pone"
:page-size='10'
layout="total, prev, pager, next, jumper"
:total="totals"
:current-page.sync="PageNum"
@current-change="current_change"
>
</el-pagination>
<!-- <el-button type="success" @click="toexcel" style="margin:50px">全部导出</el-button>-->
</div>
</template>
<script>
import {Loading} from 'element-ui';
import {baseUrl} from "../../utils/global"
import axios from "axios"
import Cookies from "js-cookie";
export default {
data() {
return {
PageNum: 1,
totals: 0,
tableData: [],
loading: false
}
},
methods: {
toPdf(s, d) {
this.loading = true;
console.log(d)
axios.get(baseUrl + '/exportPdf/insuranceCancel?id=' + d.eventId, {
headers: {
"token": Cookies.get("token")
},
responseType: 'blob' //告诉服务器我们需要的响应格式
})
.then(res => {
let a = document.createElement("a");
let blob = new Blob([res.data], {
type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
});
a.href = URL.createObjectURL(blob); //生成一个url
a.download = "西充县城乡居民社会养老保险终止注销登记表" + Date.now() + ".pdf";
a.click();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
this.loading = false;
})
.catch(err => {
console.log(err);
this.loading = false;
});
},
current_change(s) {
var data = {
"pageNum": s,
"pageSize": 10
}
Loading.service();
this.$api.getlist.selecbzxdc(data).then((res) => {
let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
});
if (res.code == 200) {
this.tableData = res.data.content
this.totals = res.data.totalSize
}
}).catch((res) => {
});
},
// toexcel() {
// this.loading = true;
// axios.get(baseUrl + '/exportExcel/updateBankCard', {
// headers: {
// "token": Cookies.get("token")
// },
// responseType: 'blob' //告诉服务器我们需要的响应格式
// })
// .then(res => {
// let a = document.createElement("a");
// let blob = new Blob([res.data], {
// type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
// });
// a.href = URL.createObjectURL(blob); //生成一个url
// a.download = "参保注销表" + Date.now() + ".xlsx";
// a.click();
// // let objectUrl = URL.createObjectURL(blob); //生成一个url
// // window.location.href = objectUrl; //浏览器打开这个url
// this.loading = false;
// })
// .catch(err => {
// console.log(err);
// this.loading = false;
// });
// // this.$api.getlist.dccc().then((res) => {
// // let loadingInstance = Loading.service();
// // this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
// // loadingInstance.close();
// // });
// // if(res.code==200){
// // this.tableData=res.data.result
// // this.totals=res.data.total
// // }
//
// // }).catch((res) => {
//
// // });
// }
},
created() {
var data = {
"pageNum": 1,
"pageSize": 10
}
Loading.service();
this.$api.getlist.selecbzxdc(data).then((res) => {
let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
});
if (res.code == 200) {
this.tableData = res.data.content
this.totals = res.data.totalSize
}
}).catch((res) => {
});
},
}
</script>
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
methods: { methods: {
toPdf(s, d) { toPdf(s, d) {
console.log(d) console.log(d)
axios.get(baseUrl + '/exportPdf/specialAudit?id=' + d.eventId, { axios.get(baseUrl + '/exportPdf/receivingAudit?id=' + d.eventId, {
headers: { headers: {
"token": Cookies.get("token") "token": Cookies.get("token")
}, },
......
<template>
<div>
<el-table
v-loading.fullscreen.lock="loading"
:data="tableData"
style="width: 100%"
>
<el-table-column
prop="idcard"
label="身份证号码"
min-width="20%">
</el-table-column>
<el-table-column
prop="name"
label="姓名"
min-width="20%">
</el-table-column>
<el-table-column
prop="bankAccount"
label="银行账号"
min-width="20%">
</el-table-column>
<el-table-column
prop="bank"
label="所属银行"
min-width="20%">
</el-table-column>
<el-table-column label="操作"
min-width="20%">
<template slot-scope="scope">
<el-button
size="mini"
type="primary"
@click="toPdf(scope.$index, scope.row)">导出pdf
</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination
class="pone"
:page-size='10'
layout="total, prev, pager, next, jumper"
:total="totals"
:current-page.sync="PageNum"
@current-change="current_change"
>
</el-pagination>
<!-- <el-button type="success" @click="toexcel" style="margin:50px">全部导出</el-button>-->
</div>
</template>
<script>
import {Loading} from 'element-ui';
import {baseUrl} from "../../utils/global"
import axios from "axios"
import Cookies from "js-cookie";
export default {
data() {
return {
PageNum: 1,
totals: 0,
tableData: [],
loading: false
}
},
methods: {
toPdf(s, d) {
this.loading = true;
console.log(d)
axios.get(baseUrl + '/exportPdf/specialAudit?id=' + d.eventId, {
headers: {
"token": Cookies.get("token")
},
responseType: 'blob' //告诉服务器我们需要的响应格式
})
.then(res => {
let a = document.createElement("a");
let blob = new Blob([res.data], {
type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
});
a.href = URL.createObjectURL(blob); //生成一个url
a.download = "西充县城乡居民社会养老保险特殊人群待遇审核表" + Date.now() + ".pdf";
a.click();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
this.loading = false;
})
.catch(err => {
console.log(err);
this.loading = false;
});
},
current_change(s) {
var data = {
"pageNum": s,
"pageSize": 10
}
Loading.service();
this.$api.getlist.seleyhkbgdc(data).then((res) => {
let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
});
if (res.code == 200) {
this.tableData = res.data.content
this.totals = res.data.totalSize
}
}).catch((res) => {
});
},
toexcel() {
this.loading = true;
axios.get(baseUrl + '/exportExcel/updateBankCard', {
headers: {
"token": Cookies.get("token")
},
responseType: 'blob' //告诉服务器我们需要的响应格式
})
.then(res => {
let a = document.createElement("a");
let blob = new Blob([res.data], {
type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
});
a.href = URL.createObjectURL(blob); //生成一个url
a.download = "特殊业务表" + Date.now() + ".xlsx";
a.click();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
this.loading = false;
})
.catch(err => {
console.log(err);
this.loading = false;
});
// this.$api.getlist.dccc().then((res) => {
// let loadingInstance = Loading.service();
// this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
// loadingInstance.close();
// });
// if(res.code==200){
// this.tableData=res.data.result
// this.totals=res.data.total
// }
// }).catch((res) => {
// });
}
},
created() {
var data = {
"pageNum": 1,
"pageSize": 10
}
Loading.service();
this.$api.getlist.seleyhkbgdc(data).then((res) => {
let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close();
});
if (res.code == 200) {
this.tableData = res.data.content
this.totals = res.data.totalSize
}
}).catch((res) => {
});
},
}
</script>
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
// 关闭当前标签 // 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close"); let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) { for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "参保注销审核 ") { if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "参保注销审核 ") {
closeAll[j].click(); closeAll[j].click();
return; return;
} }
...@@ -307,7 +307,7 @@ ...@@ -307,7 +307,7 @@
// 关闭当前标签 // 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close"); let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) { for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "参保注销审核 ") { if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "参保注销审核 ") {
closeAll[j].click(); closeAll[j].click();
return; return;
} }
......
...@@ -155,7 +155,14 @@ export default { ...@@ -155,7 +155,14 @@ export default {
message: res.message message: res.message
}); });
} }
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "参保登记审核 ") {
closeAll[j].click();
return;
}
}
}).catch((res) => { }).catch((res) => {
let loadingInstance = Loading.service(); let loadingInstance = Loading.service();
that.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 that.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
...@@ -209,7 +216,14 @@ export default { ...@@ -209,7 +216,14 @@ export default {
message: res.message message: res.message
}); });
} }
// 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "参保登记审核 ") {
closeAll[j].click();
return;
}
}
}).catch((res) => { }).catch((res) => {
let loadingInstance = Loading.service(); let loadingInstance = Loading.service();
that.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 that.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
......
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
// 关闭当前标签 // 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close"); let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) { for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "补缴保费审核 ") { if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "补缴保费审核 ") {
closeAll[j].click(); closeAll[j].click();
return; return;
} }
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,7 @@
// 关闭当前标签 // 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close"); let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) { for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "补缴保费审核 ") { if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "补缴保费审核 ") {
closeAll[j].click(); closeAll[j].click();
return; return;
} }
......
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
// 关闭当前标签 // 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close"); let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) { for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "关系转移审核 ") { if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "关系转移审核 ") {
closeAll[j].click(); closeAll[j].click();
return; return;
} }
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
// 关闭当前标签 // 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close"); let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) { for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "关系转移审核 ") { if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "关系转移审核 ") {
closeAll[j].click(); closeAll[j].click();
return; return;
} }
......
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
// 关闭当前标签 // 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close"); let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) { for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "待遇申请审核 ") { if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "待遇申请审核 ") {
closeAll[j].click(); closeAll[j].click();
return; return;
} }
...@@ -237,7 +237,7 @@ ...@@ -237,7 +237,7 @@
// 关闭当前标签 // 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close"); let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) { for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "待遇申请审核 ") { if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "待遇申请审核 ") {
closeAll[j].click(); closeAll[j].click();
return; return;
} }
......
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
// 关闭当前标签 // 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close"); let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) { for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "升档改办审核 ") { if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "升档改办审核 ") {
closeAll[j].click(); closeAll[j].click();
return; return;
} }
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
// 关闭当前标签 // 关闭当前标签
let closeAll = document.querySelectorAll(".el-icon-close"); let closeAll = document.querySelectorAll(".el-icon-close");
for(let j = 0, len = closeAll.length; j < len; j++) { for(let j = 0, len = closeAll.length; j < len; j++) {
if (closeAll[j].previousSibling.innerText === "升档改办审核 ") { if (closeAll[j].previousSibling != null && closeAll[j].previousSibling.innerText === "升档改办审核 ") {
closeAll[j].click(); closeAll[j].click();
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment