| | |
| | | ], |
| | | servicesList: [], |
| | | companyName: "", |
| | | loading: true |
| | | loading: true, |
| | | deptid: "" |
| | | }; |
| | | }, |
| | | computed: { |
| | |
| | | let param = {}; |
| | | param["jurisdiction"] = params["jurname"] || ""; |
| | | param["fid"] = params["fwname"] || ""; |
| | | param["deptid"] = params["deptid"] || "1425365559645601794"; |
| | | param["deptid"] = this.deptid || ""; |
| | | param["current"] = page.currentPage; |
| | | param["size"] = page.pageSize; |
| | | selectDis(param).then(res => { |
| | |
| | | }); |
| | | }, |
| | | getLocationParams() { |
| | | // let url = window.location.href; |
| | | // let urlArr = url.split("?")[1].split("&"); |
| | | // var object = new Object(); |
| | | // for (var i = 0; i < urlArr.length; i++) { |
| | | // let mm = urlArr[i].split("="); |
| | | // object[decodeURIComponent(mm[0])] = decodeURIComponent(mm[1]); |
| | | // } |
| | | // let jurisdiction = object["jurisdiction1"] || ""; |
| | | // let enterpriseName = object["enterpriseName"] || ""; |
| | | // let obj = { jurisdiction: jurisdiction, enterpriseName: enterpriseName }; |
| | | // this.onLoad(this.page, obj); |
| | | let url = window.location.href; |
| | | let urlArr = url.split("?")[1].split("&"); |
| | | var object = new Object(); |
| | | for (var i = 0; i < urlArr.length; i++) { |
| | | let mm = urlArr[i].split("="); |
| | | object[decodeURIComponent(mm[0])] = decodeURIComponent(mm[1]); |
| | | } |
| | | const deptid = object["departmentid"] || ""; |
| | | let jurisdiction = object["jurisdiction"] || ""; |
| | | let obj = { jurisdiction: jurisdiction, deptid: deptid }; |
| | | this.onLoad(this.page, obj); |
| | | this.onLoad(this.page, this.query); |
| | | } |
| | | }, |