| | |
| | | |
| | | handleRequest() { |
| | | this.getOrganizationSearch().then(res => { |
| | | if (res.code === '200') { |
| | | this.getPrentOrganization() |
| | | } |
| | | // if (res.code === '200') { |
| | | // this.getPrentOrganization() |
| | | // } |
| | | }) |
| | | }, |
| | | async getOrganizationSearch() { |
| | |
| | | return this.$message.info('当前用户无新增权限!') |
| | | } |
| | | |
| | | await this.getPrentOrganization() |
| | | |
| | | this.operation = operation |
| | | this.dialogVisible = true |
| | | |
| | |
| | | // this.dialogForm.OrgType = '生产线' |
| | | // } |
| | | this.$nextTick(() => { |
| | | this.changeRadio(this.dialogForm.OrgType) |
| | | this.dialogForm.OrgCode = row.org_code |
| | | this.dialogForm.OrgName = row.org_name |
| | | this.dialogForm.SupUnit = row.parent_id |