|
@@ -750,7 +750,13 @@ export default {
|
|
|
getDeptList().then((res) => {
|
|
|
this.getdeptList = res.data;
|
|
|
});
|
|
|
- this.selectPeo1();
|
|
|
+ // this.selectPeo1();
|
|
|
+ // 获取执行单位列表
|
|
|
+ getDept2().then((res) => {
|
|
|
+ // console.log(res,2)
|
|
|
+ this.users = res.data;
|
|
|
+ // console.log(this.users);
|
|
|
+ });
|
|
|
},
|
|
|
methods: {
|
|
|
// 获取所有人员
|
|
@@ -844,12 +850,7 @@ export default {
|
|
|
},
|
|
|
// 到访单位选中触发
|
|
|
selectPeo1(val) {
|
|
|
- // 获取执行单位列表
|
|
|
- getDept2().then((res) => {
|
|
|
- // console.log(res,2)
|
|
|
- this.users = res.data;
|
|
|
- // console.log(this.users);
|
|
|
- });
|
|
|
+
|
|
|
this.queryParams.unitId = val.id;
|
|
|
// this.queryParams.peopleName = "";
|
|
|
// this.queryParams.unitName = val.label;
|