|
@ -7,7 +7,7 @@ |
|
|
class="diy-button--reset" |
|
|
class="diy-button--reset" |
|
|
size="small" |
|
|
size="small" |
|
|
:loading="yhymLoading" |
|
|
:loading="yhymLoading" |
|
|
@click="handleYhymInfo">补全一户一码信息</el-button> |
|
|
@click="handleYhymInfo">补全一房一码信息</el-button> |
|
|
<el-button style="" |
|
|
<el-button style="" |
|
|
class="diy-button--add" |
|
|
class="diy-button--add" |
|
|
size="small" |
|
|
size="small" |
|
@ -206,7 +206,7 @@ |
|
|
size="small" |
|
|
size="small" |
|
|
:disabled="yihuyimaDisabled" |
|
|
:disabled="yihuyimaDisabled" |
|
|
:loading="exportBtn" |
|
|
:loading="exportBtn" |
|
|
@click="handleExportYihuyima()">导出一户一码</el-button> |
|
|
@click="handleExportYihuyima()">导出一房一码</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<span slot="footer" class="dialog-footer"> |
|
|
<span slot="footer" class="dialog-footer"> |
|
|
<el-button @click="dialogVisible = false">取 消</el-button> |
|
|
<el-button @click="dialogVisible = false">取 消</el-button> |
|
@ -240,7 +240,7 @@ export default { |
|
|
|
|
|
|
|
|
showImportBtn: false,//是否显示操作按钮,根据登录人所属组织判断 |
|
|
showImportBtn: false,//是否显示操作按钮,根据登录人所属组织判断 |
|
|
roleList: [],//角色列表 |
|
|
roleList: [],//角色列表 |
|
|
showYhymInfo: false, // 是否显示补全一户一码信息按钮 |
|
|
showYhymInfo: false, // 是否显示补全一房一码信息按钮 |
|
|
yhymLoading: false, |
|
|
yhymLoading: false, |
|
|
|
|
|
|
|
|
agencyObj: {},//树所选的组织对象 |
|
|
agencyObj: {},//树所选的组织对象 |
|
@ -282,7 +282,7 @@ export default { |
|
|
|
|
|
|
|
|
async loadTable (fromTree, treeObj) { |
|
|
async loadTable (fromTree, treeObj) { |
|
|
console.log(111, this.staffAgencyId) |
|
|
console.log(111, this.staffAgencyId) |
|
|
// 是否显示补全一户一码信息按钮 |
|
|
// 是否显示补全一房一码信息按钮 |
|
|
this.roleList = localStorage.getItem('roleList') |
|
|
this.roleList = localStorage.getItem('roleList') |
|
|
if (this.roleList.indexOf('root_manager') > -1 || this.roleList.indexOf('manager') > -1) { |
|
|
if (this.roleList.indexOf('root_manager') > -1 || this.roleList.indexOf('manager') > -1) { |
|
|
this.showYhymInfo = true |
|
|
this.showYhymInfo = true |
|
@ -372,7 +372,7 @@ export default { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
// 补全一户一码点击事件 |
|
|
// 补全一房一码点击事件 |
|
|
async handleYhymInfo () { |
|
|
async handleYhymInfo () { |
|
|
this.yhymLoading = true |
|
|
this.yhymLoading = true |
|
|
const url = "/gov/org/house/createBatchHouseCodeAndUrl" |
|
|
const url = "/gov/org/house/createBatchHouseCodeAndUrl" |
|
@ -687,13 +687,13 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 导出一户一码 |
|
|
// 导出一房一码 |
|
|
|
|
|
|
|
|
handleExportYihuyima () { |
|
|
handleExportYihuyima () { |
|
|
this.exportBtn = true |
|
|
this.exportBtn = true |
|
|
this.yihuyimaDisabled = true |
|
|
this.yihuyimaDisabled = true |
|
|
let title = this.agencyObj.label |
|
|
let title = this.agencyObj.label |
|
|
title = title + '-一户一码' |
|
|
title = title + '-一房一码' |
|
|
let url = "/gov/org/house/downloadZip" |
|
|
let url = "/gov/org/house/downloadZip" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|