| | |
| | | Object.assign(params, this.query) |
| | | ).then((ress) => { |
| | | this.data = this.data.concat(ress.data.data.records); |
| | | }); |
| | | getListrek( |
| | | page.currentPage, |
| | | page.pageSize, |
| | | Object.assign(params, this.query) |
| | | ).then((resk) => { |
| | | this.data = this.data.concat(resk.data.data.records); |
| | | }); |
| | | getListrev( |
| | | page.currentPage, |
| | | page.pageSize, |
| | | Object.assign(params, this.query) |
| | | ).then((resv) => { |
| | | this.data = this.data.concat(resv.data.data.records); |
| | | // console.log(this.data); |
| | | if (this.data.length == 0) { |
| | | this.$store.commit("changecanDoIt", true); |
| | | } else { |
| | | if (this.data[0].type == 0 || this.data[0].type == 2) { |
| | | this.$store.commit("changecanDoIt", false); |
| | | } else { |
| | | this.$store.commit("changecanDoIt", true); |
| | | } |
| | | } |
| | | }); |
| | | }); |
| | | }); |
| | | }); |
| | | }, |
| | |
| | | columnU.push(column[k]); |
| | | } |
| | | |
| | | var columnXIAQU = []; |
| | | for (var k in column) { |
| | | if (column[k].prop == 'jurisdiction') { |
| | | continue; |
| | | } |
| | | columnXIAQU.push(column[k]); |
| | | } |
| | | |
| | | export var securityPermitcolumn = [//保安服务许可申请 |
| | | ...columnU |
| | | ] |
| | |
| | | |
| | | |
| | | export var cancellationOfFilingcolumn = [//自招保安单位备案撤销 |
| | | ...column, { |
| | | ...columnU, { |
| | | label: "撤销原因", |
| | | prop: "reason", |
| | | labelWidth: 160, |
| | |
| | | |
| | | |
| | | export var crossRegioncolumn = [//跨区域经营备案 |
| | | ...column |
| | | ...columnXIAQU |
| | | ] |
| | |
| | | dataCard: [], |
| | | out: true, |
| | | d: [], |
| | | page: { |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0, |
| | | }, |
| | | }; |
| | | }, |
| | | computed: { |
| | |
| | | }, |
| | | created() { |
| | | this.cc(); |
| | | var page = { |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0, |
| | | }; |
| | | this.onLoad(page); |
| | | this.onLoad(this.page); |
| | | this.dataCard = ourDatas; |
| | | }, |
| | | methods: { |
| | |
| | | getListrev(page.currentPage, page.pageSize, params).then((resv) => { |
| | | this.data = this.data.concat(resv.data.data.records); |
| | | console.log("已有申请数量", this.data.length); |
| | | if (this.data.length >= 1) { |
| | | // this.$store.commit("changehandle", false); |
| | | if (this.data.length == 0) { |
| | | this.$store.commit("changecanDoIt", true); |
| | | } else { |
| | | // this.$store.commit("changehandle", true); |
| | | this.$store.commit("changecanDoIt", false); |
| | | } |
| | | this.showCard = true; |
| | | this.data.forEach((item) => { |
| | | for (const key in this.dataCard) { |
| | | if (this.dataCard[key].type == item.ptype) { |
| | | if (this.dataCard[key].ptype == item.ptype) { |
| | | console.log("已申请名称", this.dataCard[key].menuName); |
| | | console.log("申请状态", this.dataCard[key].type); |
| | | if ( |
| | |
| | | this.dataCard[key].type == 2 |
| | | ) { |
| | | this.$store.commit("changecanDoIt", false); |
| | | } else { |
| | | this.$store.commit("changecanDoIt", true); |
| | | } |
| | | } |
| | | } |
| | |
| | | this.$store.commit("doitApprovalShow", true); |
| | | return; |
| | | } |
| | | this.onLoad(this.page); |
| | | this.$store.commit("changeuseWhere", val); |
| | | }, |
| | | }, |