| | |
| | | toOperationTable() { |
| | | this.$router.push({ |
| | | path: |
| | | "/securityUnitOperation/operationTable?jurisdiction =" + |
| | | "/securityUnitOperation/operationTable?jurisdiction=" + |
| | | this.value2 + |
| | | "&enterpriseName =" + |
| | | this.enterpriseName |
| | | "&enterpriseName=" + |
| | | this.enterpriseName + |
| | | "&jurisdiction1=" + |
| | | this.value1 |
| | | }); |
| | | }, |
| | | getFenju() { |
| | |
| | | getCompanys({ jurisdiction: this.value1 }).then(res => { |
| | | if (res.data.code === 200) { |
| | | this.options2 = res.data.data; |
| | | debugger |
| | | this.value2 = this.options2[0] ? this.options2[0].departmentid : ""; |
| | | this.enterpriseName = this.options2[0] ? this.options2[0].enterpriseName : ""; |
| | | this.enterpriseName = this.options2[0] |
| | | ? this.options2[0].enterpriseName |
| | | : ""; |
| | | this.changeCompanys(); |
| | | } |
| | | }); |
| | |
| | | }, |
| | | changeCompanys() { |
| | | this.options2.forEach(item => { |
| | | if (item.value === this.value2) { |
| | | if (item.departmentid === this.value2) { |
| | | this.enterpriseName = item.enterpriseName; |
| | | } |
| | | }); |