|
|
@ -113,25 +113,26 @@ |
|
|
|
@selection-change="selectionChange"> |
|
|
|
<el-table-column type="selection" |
|
|
|
fixed="left" |
|
|
|
align="center" |
|
|
|
align="left" |
|
|
|
:selectable="checkSelect" |
|
|
|
width="55" /> |
|
|
|
<el-table-column label="序号" |
|
|
|
type="index" |
|
|
|
fixed="left" |
|
|
|
align="center" |
|
|
|
align="left" |
|
|
|
width="50"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column v-for="item in tableHeader" |
|
|
|
:key="item.columnName" |
|
|
|
:prop="item.columnName" |
|
|
|
:label="item.label" |
|
|
|
align="center" |
|
|
|
align="left" |
|
|
|
:fixed="item.columnName == 'NAME' ? 'left' : false" |
|
|
|
:show-overflow-tooltip="true" |
|
|
|
:width="item.width || computedWidth(item.label, item.itemType)"> |
|
|
|
<!-- :width="item.itemType === 'radio' ? computedWidth(item.label) : 180" --> |
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<a v-if="item.columnName == 'NAME' && btnAuths.ic_resi_view" |
|
|
|
class="name-a" |
|
|
|
@click="handleLook(scope.row)"> |
|
|
@ -142,7 +143,7 @@ |
|
|
|
</el-table-column> |
|
|
|
<el-table-column fixed="right" |
|
|
|
label="操作" |
|
|
|
align="center" |
|
|
|
align="left" |
|
|
|
width="260"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<!-- <el-button @click="handleLook(scope.row)" |
|
|
@ -161,7 +162,7 @@ |
|
|
|
class="div-table-button--blue" |
|
|
|
size="small" |
|
|
|
type="text" |
|
|
|
icon="el-icon-edit">编辑</el-button> |
|
|
|
>编辑</el-button> |
|
|
|
<el-popconfirm v-if="btnAuths.ic_resi_del" |
|
|
|
title="删除之后无法回复,确认删除?" |
|
|
|
@onConfirm="handleDel(scope.row)"> |
|
|
@ -175,12 +176,10 @@ |
|
|
|
<el-button @click="handleChangeTransfer(scope.row)" |
|
|
|
type="text" |
|
|
|
class="div-table-button--blue" |
|
|
|
icon="el-icon-tickets" |
|
|
|
size="small">迁出登记</el-button> |
|
|
|
<el-button @click="handleDeath(scope.row)" |
|
|
|
class="div-table-button--blue" |
|
|
|
type="text" |
|
|
|
icon="el-icon-tickets" |
|
|
|
size="small">死亡登记</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
@ -225,7 +224,7 @@ |
|
|
|
:fixed="true" |
|
|
|
:form-list="formList" |
|
|
|
@changegroup="handleChangeGroup" /> |
|
|
|
<div v-if="dialogVisible" |
|
|
|
<!-- <div v-if="dialogVisible" |
|
|
|
class="resi-other"> |
|
|
|
<div class="tabs-other-info"> |
|
|
|
<el-tabs v-model="activeName" |
|
|
@ -243,7 +242,7 @@ |
|
|
|
</el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="resi-btns"> |
|
|
@ -260,10 +259,11 @@ |
|
|
|
|
|
|
|
<el-dialog :title="formName" |
|
|
|
:visible.sync="dialogEditVisible" |
|
|
|
width="80%" |
|
|
|
width="986px" |
|
|
|
top="5vh" |
|
|
|
height="750px" |
|
|
|
append-to-body |
|
|
|
class="dialog-h" |
|
|
|
top="5vh" |
|
|
|
:close-on-click-modal="false" |
|
|
|
:before-close="handlerEditCancle"> |
|
|
|
<div class="dialog-h-content scroll-h"> |
|
|
@ -963,7 +963,6 @@ export default { |
|
|
|
async handleChangeGroup (val) { |
|
|
|
console.log("changeguoprrrrr----", val); |
|
|
|
let { childGroup, value, partyInfo } = val; |
|
|
|
|
|
|
|
let hasT = false; |
|
|
|
let i = 0; |
|
|
|
let list = [...this.tabsList]; |
|
|
@ -973,7 +972,7 @@ export default { |
|
|
|
i = index; |
|
|
|
} |
|
|
|
}); |
|
|
|
if (value === 1 || value === "1") { |
|
|
|
if (value === true || value === "true") { |
|
|
|
// console.log('changegroup----999', value) |
|
|
|
if (!hasT) { |
|
|
|
childGroup.itemList.forEach(async (item) => { |
|
|
@ -1059,8 +1058,11 @@ export default { |
|
|
|
if (arr) this.submitEdit(arr); |
|
|
|
}, |
|
|
|
async handleSUbmit () { |
|
|
|
const arr = await this.formetForm(); |
|
|
|
if (arr) this.submitAdd(arr); |
|
|
|
// console.log(this,$refs.baseForm); |
|
|
|
// const arr = await this.formetForm(); |
|
|
|
// if (arr) this.submitAdd(arr); |
|
|
|
this.dialogVisible = false; |
|
|
|
|
|
|
|
}, |
|
|
|
handleDel (row) { |
|
|
|
let params = { |
|
|
@ -1096,10 +1098,10 @@ export default { |
|
|
|
this.dialogEditVisible = false; |
|
|
|
}, |
|
|
|
handlerCancle () { |
|
|
|
this.$refs.baseForm.resetForm(); |
|
|
|
this.tabsList.forEach((item) => { |
|
|
|
this.$refs["group" + item.groupId][0].resetForm(); |
|
|
|
}); |
|
|
|
// this.$refs.baseForm.resetForm(); |
|
|
|
// this.tabsList.forEach((item) => { |
|
|
|
// this.$refs["group" + item.groupId][0].resetForm(); |
|
|
|
// }); |
|
|
|
this.dialogVisible = false; |
|
|
|
}, |
|
|
|
async submitAdd (arr) { |
|
|
@ -1187,7 +1189,6 @@ export default { |
|
|
|
pageSize: this.pageSize, |
|
|
|
conditions: this.conditions, |
|
|
|
}; |
|
|
|
// debugger |
|
|
|
await this.$http |
|
|
|
.post("/epmetuser/icresiuser/listresi", params) |
|
|
|
.then(({ data: res }) => { |
|
|
@ -1224,6 +1225,8 @@ export default { |
|
|
|
this.$http |
|
|
|
.post("/epmetuser/icresiuser/detail", params) |
|
|
|
.then(({ data: res }) => { |
|
|
|
|
|
|
|
|
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
} else { |
|
|
@ -1367,7 +1370,6 @@ export default { |
|
|
|
return arr; |
|
|
|
}, |
|
|
|
async getFormList (type) { |
|
|
|
// debugger |
|
|
|
await this.$http |
|
|
|
.post("/oper/customize/icform/getcustomerform", { |
|
|
|
formCode: "resi_base_info", |
|
|
@ -1478,6 +1480,12 @@ export default { |
|
|
|
<style lang="scss" scoped> |
|
|
|
@import "@/assets/scss/modules/management/list-main.scss"; |
|
|
|
|
|
|
|
::v-deep .el-tabs__nav-next{ |
|
|
|
box-shadow: 2px 0px 9px 0px; |
|
|
|
} |
|
|
|
::v-deep .el-tabs__nav-prev{ |
|
|
|
box-shadow: -1px 0px 7px 0px; |
|
|
|
} |
|
|
|
.dialog-h { |
|
|
|
.el-dialog__body { |
|
|
|
position: relative; |
|
|
@ -1502,16 +1510,6 @@ export default { |
|
|
|
::v-deep .el-tabs__active-bar_active { |
|
|
|
background-color: #0055d7; |
|
|
|
} |
|
|
|
::v-deep .el-tabs__nav-next, |
|
|
|
::v-deep .el-tabs__nav-prev { |
|
|
|
// width: 12px; |
|
|
|
// height: 12px; |
|
|
|
color: rgba(30, 122, 254, 1); |
|
|
|
line-height: 20px; |
|
|
|
background: rgba(30, 122, 254, 0.2); |
|
|
|
// border-radius: 50%; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
::v-deep .el-tabs__item { |
|
|
|
// width: 50px; |
|
|
|