From 149f8c929884c35f2f7260bc80651a69d5dbb4fb Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 01 十二月 2023 11:15:17 +0800 Subject: [PATCH] 11 --- src/views/project/donationdetails/index.vue | 32 +++++++++++++++++++++++++++++++- 1 files changed, 31 insertions(+), 1 deletions(-) diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue index c363abf..f43ff28 100644 --- a/src/views/project/donationdetails/index.vue +++ b/src/views/project/donationdetails/index.vue @@ -978,6 +978,13 @@ label-width="100px" label-position="right" > + <el-form-item label-width="100px" label="閫夋嫨鍣ㄥ畼"> + <el-checkbox-group v-model="organdecision"> + <el-checkbox v-for="item in organlist" :label="item"> + {{ item }} + </el-checkbox> + </el-checkbox-group> + </el-form-item> <el-row> <el-col :span="6"> <el-form-item label="瀛愬コ鏁伴噺" prop="kinshipChildrennum"> @@ -2325,11 +2332,30 @@ infoid: null }, affirmform: { - infoid: null + infoid: null, + organdecision: [] }, + organdecision: [], ethicform: { infoid: null }, + organlist: [ + "蹇冭剰", + "鍏ㄨ倽", + "宸﹁倽", + "鍙宠倽", + "宸﹁偩", + "鍙宠偩", + "鍏ㄨ偩", + "宸﹁偤", + "鍙宠偤", + "灏忚偁", + "鑵轰綋", + "閬椾綋", + "宸︾溂瑙掕啘", + "鍙崇溂瑙掕啘", + "鍏朵粬" + ], allocationstatuslist: [ { value: 0, label: "鏈垎閰�" }, { value: 1, label: "宸插垎閰�" }, @@ -2606,6 +2632,9 @@ listRelativesconfirmation(searchParam).then(response => { if (response.code == 200 && response.rows[0]) { this.affirmform = response.rows[0]; + if (this.affirmform.organdecision) { + this.organdecision = this.affirmform.organdecision.split(","); + } if (!this.affirmform) { this.affirmform = {}; this.affirmform.residenceprovincename = ""; @@ -2830,6 +2859,7 @@ }); } else if (this.actives == 2) { this.affirmform.infoid = this.infoid; + this.affirmform.organdecision = this.organdecision.join(","); this.$refs["affirmform"].validate(valid => { if (valid) { if (this.affirmform.id != null) { -- Gitblit v1.9.3