网格员选择器优化

This commit is contained in:
yanran200730
2022-01-26 11:26:01 +08:00
parent d37554d317
commit 2d45ddf2be

View File

@@ -252,6 +252,7 @@ export default {
girdInfoList: [],
girdMemberType: "",
id: "",
wxUserId: '',
introduction: "",
isGirdMember: "",
mail: "",
@@ -377,6 +378,7 @@ export default {
this.forms.name = val[0].name;
this.forms.phone = val[0].phone;
this.forms.userId = val[0].sysUserId
this.forms.wxUserId = val[0].id
},
getCheckedTree() {
if (!this.$refs.tree.getCheckedNodes().length) {
@@ -461,10 +463,11 @@ export default {
...res.data,
girdInfoList: res.data.girdInfoList || []
};
this.user = [{
this.users = [{
name: res.data.name,
phone: res.data.phone,
userId: res.data.id
userId: res.data.id,
id: res.data.wxUserId
}]
this.girdInfoStr = ''
this.photoList = [{ url: this.forms.photo }];