Browse Source

通讯录

V1.0
dai 3 years ago
parent
commit
38c75bc6ea
  1. 13
      src/views/modules/base/organization/organization.vue
  2. 5
      src/views/modules/visual/command/index.vue

13
src/views/modules/base/organization/organization.vue

@ -1376,7 +1376,7 @@ export default {
//
async submitPeo () {
const url = "/gov/org/staff/addstaffv2"
const {peoForm:{orgType}} = this;
let params = {
orgType: this.peoForm.orgType,
name: this.peoForm.name,
@ -1385,7 +1385,7 @@ export default {
workType: this.peoForm.post,
roles: this.peoForm.duty,
newRoles: this.peoForm.newRoles,
orgId: this.currentAgencyId,
orgId: orgType=='agency' ? this.currentAgencyId : (orgType=='dept' ? this.currentDepartmentId : this.currentGridOrgId),
}
@ -1401,6 +1401,13 @@ export default {
this.getGridList()
this.getAgencyStaffListData()
this.insertFormRest()
if(orgType=='dept'){
this.getDepartmentStaffListData()
} else if(orgType=='grid'){
this.getGridStaffListData()
} else {
this.getAgencyStaffListData()
}
} else {
this.$message.error(msg)
}
@ -1648,6 +1655,7 @@ export default {
},
//
entryGrid (gridId) {
console.log(gridId)
this.gridStaffTableListData = []
this.departmentStaffTableListData = []
this.agencyStaffTableListData = []
@ -1663,6 +1671,7 @@ export default {
},
//
entryDepartment (row) {
console.log(row)
this.gridStaffTableListData = []
this.departmentStaffTableListData = []
this.agencyStaffTableListData = []

5
src/views/modules/visual/command/index.vue

@ -442,9 +442,12 @@ export default {
categoryKeys2() {
this.requestMapDot2();
},
searchName() {
searchName(val) {
this.showedSearchResult = false;
this.searchResult = iniSearchResult();
if (val == "") {
this.$refs.map.removeDotMarker();
}
},
},

Loading…
Cancel
Save