|
|
@ -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) |
|
|
|
|
|
|
|