Browse Source

Merge branch 'feature/dev_zz_wgh' into dev

V1.0
HAHA 3 years ago
parent
commit
c8cfee1dad
  1. 28
      src/views/modules/base/organization/organization.vue

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

@ -2248,9 +2248,31 @@ export default {
async getOrgDetailsById () {
const url = '/gov/org/agency/agencydetail'
let params = {
agencyId: this.judgeOrgInfoLevel.id
}
const { data, code, msg } = await requestPost(url,params)
if(code === 0){
this.$message.success("修改成功")
this.modifyCityOrgPop = false
this.streetOrCommunity = false
this.getAgencyList()
this.getDepartmentList()
this.getGridList()
console.log('111111111111111111111111111111111111')
}else{
this.$message.error(msg)
}
},
//
async sunmitOrgUnitForm(){
const url = '/gov/org/department/editdepartment'
let params = {
code: this.OrgUnitDetailsForm.code,
contacts: this.OrgUnitDetailsForm.contacts,
departmentId: this.OrgUnitDetailsForm.departmentId,
departmentName: this.OrgUnitDetailsForm.departmentName,
mobile: this.OrgUnitDetailsForm.mobile
}
const { data, code, msg } = await requestPost(url, params)

Loading…
Cancel
Save