From 2a42ed8d4536ea97c464a12ca55f6a37107c14aa Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期日, 13 八月 2023 21:17:33 +0800 Subject: [PATCH] 婚姻 --- ruoyi-ui/src/views/marry/index.vue | 23 +++++++++++++++++++++-- 1 files changed, 21 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/marry/index.vue b/ruoyi-ui/src/views/marry/index.vue index 314a763..972d91d 100644 --- a/ruoyi-ui/src/views/marry/index.vue +++ b/ruoyi-ui/src/views/marry/index.vue @@ -322,12 +322,12 @@ <el-table-column label="濠氬Щ鐘舵��" prop="marryStatus" sortable width="100" align="center" > <template slot-scope="scope"> - <template v-if="!scope.row.isEdit"> + <template v-if="!scope.row.isEdit" > <span v-if="scope.row.marryStatus== 0">鏈</span> <span v-if="scope.row.marryStatus== 1">鍒濆</span> <span v-if="scope.row.marryStatus== 2">绂诲</span> <span v-if="scope.row.marryStatus== 3">鍐嶅</span></template> - <template v-else> <el-select v-model="scope.row.marryStatus" placeholder="璇烽�夋嫨"> + <template v-else> <el-select v-model="qianren" placeholder="璇烽�夋嫨"> <el-option label="鏈" value="0"></el-option> <el-option label="鍒濆" value="1"></el-option> <el-option label="绂诲" value="2"></el-option> @@ -817,6 +817,7 @@ this.mrs = '绂诲' else this.mrs = '鍐嶅'// this.isEdit=false + if(this.marryList.spouseMarryStatus == 0) this.smrs = '鏈' else if(this.marryList.spouseMarryStatus == 1) @@ -831,6 +832,16 @@ this.bear = '鍦ㄥ瓡' else if(this.marryList.bearStatus == 2) this.bear = '宸茬敓鑲�' + + if(this.marryList.oneBorn == 0) + this.onebear = '鍚�' + else if(this.marryList.oneBorn == 1) + this.onebear = '鏄�' + + if(this.marryList.handbookStatus == 0) + this.handsj = '鍚�' + else if (this.marryList.handbookStatus == 1) + this.handsj = '鏄�' }, @@ -876,6 +887,14 @@ }, editRow(row) { + if(this.oldSpouseList.marryStatus == 0) + this.qianren = '鏈' + else if(this.oldSpouseList.marryStatus == 1) + this.qianren = '鍒濆' + else if(this.oldSpouseList.marryStatus == 2) + this.qianren = '绂诲' + else + this.qianren = '鍐嶅'// this.isEdit=false this.$set(row, 'isEdit', true); this.$set(this.editStatus, row.id, true); }, -- Gitblit v1.9.1