|
|
@ -1,45 +1,9 @@ |
|
|
|
<template> |
|
|
|
<div class="g-main"> |
|
|
|
<div class="m-search"> |
|
|
|
<!-- <el-collapse v-if="openSearch" |
|
|
|
v-model="activeNames"> |
|
|
|
<el-collapse-item v-for="item in searchList" |
|
|
|
:key="item.itemGroupId" |
|
|
|
:name="item.itemGroupId"> |
|
|
|
<template slot="title"> |
|
|
|
<div class="collapse-title">{{ item.groupName }}</div> |
|
|
|
</template> |
|
|
|
<resi-search v-if="searchList.length > 0" |
|
|
|
:ref="'resiSearch' + item.itemGroupId" |
|
|
|
:form-list="item.queryItemList" |
|
|
|
:column-name="defaultCategotyKey" |
|
|
|
:show-grid="item.groupName == '基础信息'" /> |
|
|
|
</el-collapse-item> |
|
|
|
</el-collapse> --> |
|
|
|
<!-- <template v-else> --> |
|
|
|
|
|
|
|
<!-- </template> --> |
|
|
|
<!-- <el-row v-if="openSearch" |
|
|
|
class="resi-search"> |
|
|
|
|
|
|
|
<el-col :span="24"> |
|
|
|
<el-button size="small" |
|
|
|
class="diy-button--blue" |
|
|
|
@click="handleSearchFrom">查询</el-button> |
|
|
|
<el-button style="margin-left:10px" |
|
|
|
size="small" |
|
|
|
class="diy-button--gray" |
|
|
|
@click="resetSearchForm">重置</el-button> |
|
|
|
</el-col> |
|
|
|
</el-row> --> |
|
|
|
<!-- <div class="resi-down" |
|
|
|
@click="handleOpenSearch"> |
|
|
|
<img v-if="openSearch" |
|
|
|
src="../../../assets/img/arrow-up.png" /> |
|
|
|
<img v-else |
|
|
|
src="../../../assets/img/arrow-down.png" /> |
|
|
|
</div> --> |
|
|
|
<resi-search ref="myResiSearch" /> |
|
|
|
<section :class="showSercahStatus?'m-form-box-height-auto':'m-form-box-height'"> |
|
|
|
<resi-search ref="myResiSearch" /> |
|
|
|
</section> |
|
|
|
<el-row class="resi-search"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-button |
|
|
@ -48,20 +12,29 @@ |
|
|
|
@click="handleSearchFrom" |
|
|
|
>智能查询</el-button |
|
|
|
> |
|
|
|
<el-button |
|
|
|
style="margin-left: 10px" |
|
|
|
size="small" |
|
|
|
plain |
|
|
|
class=" f-right5" |
|
|
|
@click="resetSearchForm" |
|
|
|
>重置</el-button> |
|
|
|
<el-button |
|
|
|
size="small" |
|
|
|
type="primary" |
|
|
|
@click="handleSearchFrom" |
|
|
|
>查询</el-button |
|
|
|
> |
|
|
|
<!-- --> |
|
|
|
<el-button |
|
|
|
style="margin-left: 10px" |
|
|
|
<el-button |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
plain |
|
|
|
style="margin-left: 10px" |
|
|
|
class=" f-right5" |
|
|
|
@click="resetSearchForm" |
|
|
|
>重置</el-button> |
|
|
|
@click="showSercahStatus = !showSercahStatus" |
|
|
|
> |
|
|
|
<i :class="showSercahStatus?'el-icon-arrow-up':'el-icon-arrow-down'"></i> |
|
|
|
{{showSercahStatus?'收起':'展开'}} |
|
|
|
</el-button> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</div> |
|
|
@ -87,7 +60,14 @@ |
|
|
|
plain |
|
|
|
>导出</el-button |
|
|
|
> |
|
|
|
|
|
|
|
<el-button |
|
|
|
v-if="btnAuths.ic_resi_export" |
|
|
|
style="margin-left: 10px" |
|
|
|
size="small" |
|
|
|
@click="" |
|
|
|
plain |
|
|
|
>核对</el-button |
|
|
|
> |
|
|
|
<!-- <el-button v-if="btnAuths.ic_resi_import" |
|
|
|
style="margin-left:10px" |
|
|
|
class="diy-button--blue" |
|
|
@ -495,6 +475,7 @@ export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
activeNames: [], |
|
|
|
showSercahStatus:false, |
|
|
|
diyDialog: false, |
|
|
|
openSearch: false, |
|
|
|
exportBtn: false, |
|
|
@ -1175,6 +1156,7 @@ export default { |
|
|
|
return |
|
|
|
} |
|
|
|
const _baseForm = JSON.parse(this.$refs.baseForm.submit_from()) |
|
|
|
console.log(_baseForm); |
|
|
|
_baseForm.partyFlag = parseInt(_baseForm.partyFlag) //党员 |
|
|
|
_baseForm.subsistenceAllowanceFlag = parseInt(_baseForm.subsistenceAllowanceFlag) //低保 |
|
|
|
_baseForm.ensureHouseFlag = parseInt(_baseForm.ensureHouseFlag) //保障房 |
|
|
@ -1234,6 +1216,7 @@ export default { |
|
|
|
_baseForm.specialDto.specialCategoryCode = specialCategoryCode |
|
|
|
} |
|
|
|
} |
|
|
|
console.log(_baseForm); |
|
|
|
this.submitAdd(_baseForm); |
|
|
|
}, |
|
|
|
handleDel(row) { |
|
|
@ -1273,6 +1256,7 @@ export default { |
|
|
|
this.dialogVisible = false; |
|
|
|
}, |
|
|
|
async submitAdd(arr) { |
|
|
|
console.log(arr); |
|
|
|
this.btnLoading = true; |
|
|
|
await this.$http |
|
|
|
.post(arr.resiId ? "actual/base/residentBaseInfo/update" : "/actual/base/residentBaseInfo/save", arr) |
|
|
|