| | |
| | | webSocket: null, |
| | | defaultKeys: [], |
| | | deptList: [], |
| | | groupingList: [], |
| | | value1: "", |
| | | pacName: "", |
| | | hides: false, |
| | |
| | | this.title = "添加体检单位信息维护"; |
| | | }, |
| | | idFn1(value) { |
| | | console.log(value) |
| | | if (value) { |
| | | this.form.dictCompId = value; |
| | | this.CompanyList.forEach((item) => { |
| | |
| | | this.queryParams.company = item.cnName; |
| | | } |
| | | }); |
| | | Deptlist(value).then((response) => { |
| | | this.deptList = response.data; |
| | | }); |
| | | } |
| | | }, |
| | | idFn2(value) { |
| | | let data = { |
| | | deptId: value, |
| | | dwId: this.form.dictCompId, |
| | | }; |
| | | getDwAndDwDept(data).then((response) => { |
| | | // 部门名称 |
| | | this.groupingList = response.data; |
| | | |
| | | }); |
| | | }, |
| | | dateChangebirthday2(val) { |
| | | this.startTime = val; |
| | |
| | | }); |
| | | } |
| | | }, |
| | | idFn1(value) { |
| | | console.log(value) |
| | | if (value) { |
| | | this.form.dictCompId = value; |
| | | this.CompanyList.forEach((item) => { |
| | | if (item.drugManufacturerId == this.form.dictCompId) { |
| | | this.form.compName = item.cnName; |
| | | this.queryParams.company = item.cnName; |
| | | } |
| | | }); |
| | | Deptlist(value).then((response) => { |
| | | this.deptList = response.data; |
| | | }); |
| | | } |
| | | }, |
| | | idFn2(value) { |
| | | let data = { |
| | | deptId: value, |
| | | dwId: this.form.dictCompId, |
| | | }; |
| | | getDwAndDwDept(data).then((response) => { |
| | | // 部门名称 |
| | | this.groupingList = response.data; |
| | | |
| | | }); |
| | | }, |
| | | |
| | | // 表单重置 |
| | | reset() { |
| | | this.form = { |