style:权利人信息模块功能的完善
Showing
4 changed files
with
46 additions
and
44 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-20 13:33:07 | 4 | * @LastEditTime: 2023-08-04 13:07:38 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <el-dialog :visible.sync="dialogVisible" v-if="dialogVisible" :width="width" :fullscreen="fullscreen" top="0" | 7 | <el-dialog :visible.sync="dialogVisible" v-if="dialogVisible" :width="width" :fullscreen="fullscreen" top="0" |
| ... | @@ -124,8 +124,8 @@ | ... | @@ -124,8 +124,8 @@ |
| 124 | */ | 124 | */ |
| 125 | closeDialog () { | 125 | closeDialog () { |
| 126 | this.key++ | 126 | this.key++ |
| 127 | this.$emit('input', false) | ||
| 128 | this.$emit('closeDialog') | 127 | this.$emit('closeDialog') |
| 128 | this.$emit('input', false) | ||
| 129 | } | 129 | } |
| 130 | }, | 130 | }, |
| 131 | } | 131 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-04 10:13:26 | 4 | * @LastEditTime: 2023-08-04 11:12:48 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -641,30 +641,30 @@ | ... | @@ -641,30 +641,30 @@ |
| 641 | } | 641 | } |
| 642 | this.ruleForm.qlrData[0].sfczr = "1"; | 642 | this.ruleForm.qlrData[0].sfczr = "1"; |
| 643 | } else { | 643 | } else { |
| 644 | //是否分别持证 | 644 | //是否分别持证 |
| 645 | if (this.ruleForm.sldy.sqfbcz == "1") { | 645 | if (this.ruleForm.sldy.sqfbcz == "1") { |
| 646 | //是 | 646 | //是 |
| 647 | this.ruleForm.qlrList.forEach((item, index) => { | 647 | this.ruleForm.qlrList.forEach((item, index) => { |
| 648 | item.sfczr = "1"; | 648 | item.sfczr = "1"; |
| 649 | }); | 649 | }); |
| 650 | } else { | ||
| 651 | if (!that.ruleForm.czr) { | ||
| 652 | that.$message({ | ||
| 653 | showClose: true, | ||
| 654 | message: "请选择持证人", | ||
| 655 | type: "error", | ||
| 656 | }); | ||
| 657 | return false; | ||
| 658 | } | ||
| 659 | this.ruleForm.qlrList.forEach((item, index) => { | ||
| 660 | if (item.zjh == this.ruleForm.czr) { | ||
| 661 | item.sfczr = "1"; | ||
| 662 | } else { | 650 | } else { |
| 663 | item.sfczr = "0"; | 651 | if (!that.ruleForm.czr) { |
| 652 | that.$message({ | ||
| 653 | showClose: true, | ||
| 654 | message: "请选择持证人", | ||
| 655 | type: "error", | ||
| 656 | }); | ||
| 657 | return false; | ||
| 658 | } | ||
| 659 | this.ruleForm.qlrList.forEach((item, index) => { | ||
| 660 | if (item.zjh == this.ruleForm.czr) { | ||
| 661 | item.sfczr = "1"; | ||
| 662 | } else { | ||
| 663 | item.sfczr = "0"; | ||
| 664 | } | ||
| 665 | }); | ||
| 664 | } | 666 | } |
| 665 | }); | 667 | } |
| 666 | } | ||
| 667 | } | ||
| 668 | save(this.ruleForm).then((res) => { | 668 | save(this.ruleForm).then((res) => { |
| 669 | if (res.code === 200) { | 669 | if (res.code === 200) { |
| 670 | this.$message({ | 670 | this.$message({ | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-27 09:03:56 | 4 | * @LastEditTime: 2023-08-04 13:08:20 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <dialogBox title="申请人信息" width="60%" isMain v-model="myValue" :isFullscreen="false" @submitForm="submitForm" | 7 | <dialogBox title="申请人信息" width="60%" isMain v-model="myValue" :isFullscreen="false" @submitForm="submitForm" |
| ... | @@ -42,7 +42,7 @@ | ... | @@ -42,7 +42,7 @@ |
| 42 | </el-form-item> | 42 | </el-form-item> |
| 43 | </el-col> | 43 | </el-col> |
| 44 | <el-col :span="8"> | 44 | <el-col :span="8"> |
| 45 | <el-form-item label="性别"> | 45 | <el-form-item label="性别" prop="xb"> |
| 46 | <el-select clearable v-model="ruleForm.xb" class="width100" placeholder="请选择"> | 46 | <el-select clearable v-model="ruleForm.xb" class="width100" placeholder="请选择"> |
| 47 | <el-option v-for="item in dictData['A43']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 47 | <el-option v-for="item in dictData['A43']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 48 | </el-option> | 48 | </el-option> |
| ... | @@ -52,17 +52,17 @@ | ... | @@ -52,17 +52,17 @@ |
| 52 | </el-row> | 52 | </el-row> |
| 53 | <el-row> | 53 | <el-row> |
| 54 | <el-col :span="8"> | 54 | <el-col :span="8"> |
| 55 | <el-form-item label="法人名称"> | 55 | <el-form-item label="法人名称" prop="frmc"> |
| 56 | <el-input v-model="ruleForm.frmc"></el-input> | 56 | <el-input v-model="ruleForm.frmc"></el-input> |
| 57 | </el-form-item> | 57 | </el-form-item> |
| 58 | </el-col> | 58 | </el-col> |
| 59 | <el-col :span="8"> | 59 | <el-col :span="8"> |
| 60 | <el-form-item label="国家/地区"> | 60 | <el-form-item label="国家/地区" prop="gj"> |
| 61 | <el-input v-model="ruleForm.gj"></el-input> | 61 | <el-input v-model="ruleForm.gj"></el-input> |
| 62 | </el-form-item> | 62 | </el-form-item> |
| 63 | </el-col> | 63 | </el-col> |
| 64 | <el-col :span="8"> | 64 | <el-col :span="8"> |
| 65 | <el-form-item label="户籍所在省市"> | 65 | <el-form-item label="户籍所在省市" prop="hjszss"> |
| 66 | <el-input v-model="ruleForm.hjszss"></el-input> | 66 | <el-input v-model="ruleForm.hjszss"></el-input> |
| 67 | </el-form-item> | 67 | </el-form-item> |
| 68 | </el-col> | 68 | </el-col> |
| ... | @@ -70,12 +70,12 @@ | ... | @@ -70,12 +70,12 @@ |
| 70 | 70 | ||
| 71 | <el-row> | 71 | <el-row> |
| 72 | <el-col :span="16"> | 72 | <el-col :span="16"> |
| 73 | <el-form-item label="地址"> | 73 | <el-form-item label="地址" prop="txdz"> |
| 74 | <el-input v-model="ruleForm.txdz"></el-input> | 74 | <el-input v-model="ruleForm.txdz"></el-input> |
| 75 | </el-form-item> | 75 | </el-form-item> |
| 76 | </el-col> | 76 | </el-col> |
| 77 | <el-col :span="8"> | 77 | <el-col :span="8"> |
| 78 | <el-form-item label="邮编"> | 78 | <el-form-item label="邮编" prop="yb"> |
| 79 | <el-input v-model="ruleForm.yb"></el-input> | 79 | <el-input v-model="ruleForm.yb"></el-input> |
| 80 | </el-form-item> | 80 | </el-form-item> |
| 81 | </el-col> | 81 | </el-col> |
| ... | @@ -83,17 +83,17 @@ | ... | @@ -83,17 +83,17 @@ |
| 83 | 83 | ||
| 84 | <el-row> | 84 | <el-row> |
| 85 | <el-col :span="8"> | 85 | <el-col :span="8"> |
| 86 | <el-form-item label="发证机关"> | 86 | <el-form-item label="发证机关" prop="fzjg"> |
| 87 | <el-input v-model="ruleForm.fzjg"></el-input> | 87 | <el-input v-model="ruleForm.fzjg"></el-input> |
| 88 | </el-form-item> | 88 | </el-form-item> |
| 89 | </el-col> | 89 | </el-col> |
| 90 | <el-col :span="8"> | 90 | <el-col :span="8"> |
| 91 | <el-form-item label="电子邮件"> | 91 | <el-form-item label="电子邮件" prop="dzyj"> |
| 92 | <el-input v-model="ruleForm.dzyj"></el-input> | 92 | <el-input v-model="ruleForm.dzyj"></el-input> |
| 93 | </el-form-item> | 93 | </el-form-item> |
| 94 | </el-col> | 94 | </el-col> |
| 95 | <el-col :span="8"> | 95 | <el-col :span="8"> |
| 96 | <el-form-item label="权利比例"> | 96 | <el-form-item label="权利比例" prop="qlbl"> |
| 97 | <el-input v-model="ruleForm.qlbl"></el-input> | 97 | <el-input v-model="ruleForm.qlbl"></el-input> |
| 98 | </el-form-item> | 98 | </el-form-item> |
| 99 | </el-col> | 99 | </el-col> |
| ... | @@ -101,12 +101,12 @@ | ... | @@ -101,12 +101,12 @@ |
| 101 | 101 | ||
| 102 | <el-row> | 102 | <el-row> |
| 103 | <el-col :span="8"> | 103 | <el-col :span="8"> |
| 104 | <el-form-item label="工作单位"> | 104 | <el-form-item label="工作单位" prop="gzdw"> |
| 105 | <el-input v-model="ruleForm.gzdw"></el-input> | 105 | <el-input v-model="ruleForm.gzdw"></el-input> |
| 106 | </el-form-item> | 106 | </el-form-item> |
| 107 | </el-col> | 107 | </el-col> |
| 108 | <el-col :span="16"> | 108 | <el-col :span="16"> |
| 109 | <el-form-item label="代理机构"> | 109 | <el-form-item label="代理机构" prop="dlrjg"> |
| 110 | <el-input v-model="ruleForm.dlrjg"></el-input> | 110 | <el-input v-model="ruleForm.dlrjg"></el-input> |
| 111 | </el-form-item> | 111 | </el-form-item> |
| 112 | </el-col> | 112 | </el-col> |
| ... | @@ -114,17 +114,17 @@ | ... | @@ -114,17 +114,17 @@ |
| 114 | 114 | ||
| 115 | <el-row> | 115 | <el-row> |
| 116 | <el-col :span="8"> | 116 | <el-col :span="8"> |
| 117 | <el-form-item label="联系电话"> | 117 | <el-form-item label="联系电话" prop="dlrdh"> |
| 118 | <el-input v-model="ruleForm.dlrdh" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input> | 118 | <el-input v-model="ruleForm.dlrdh" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
| 119 | </el-form-item> | 119 | </el-form-item> |
| 120 | </el-col> | 120 | </el-col> |
| 121 | <el-col :span="8"> | 121 | <el-col :span="8"> |
| 122 | <el-form-item label="代理人姓名"> | 122 | <el-form-item label="代理人姓名" prop="dlrmc"> |
| 123 | <el-input v-model="ruleForm.dlrmc"></el-input> | 123 | <el-input v-model="ruleForm.dlrmc"></el-input> |
| 124 | </el-form-item> | 124 | </el-form-item> |
| 125 | </el-col> | 125 | </el-col> |
| 126 | <el-col :span="8"> | 126 | <el-col :span="8"> |
| 127 | <el-form-item label="代理人证件类型"> | 127 | <el-form-item label="代理人证件类型" prop="dlrzjlx"> |
| 128 | <el-select clearable v-model="ruleForm.dlrzjlx" class="width100" placeholder="请选择"> | 128 | <el-select clearable v-model="ruleForm.dlrzjlx" class="width100" placeholder="请选择"> |
| 129 | <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 129 | <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 130 | </el-option> | 130 | </el-option> |
| ... | @@ -134,7 +134,7 @@ | ... | @@ -134,7 +134,7 @@ |
| 134 | </el-row> | 134 | </el-row> |
| 135 | <el-row> | 135 | <el-row> |
| 136 | <el-col :span="8"> | 136 | <el-col :span="8"> |
| 137 | <el-form-item label="代理人证件号"> | 137 | <el-form-item label="代理人证件号" prop="dlrzjh"> |
| 138 | <el-input v-model="ruleForm.dlrzjh" maxlength="20"></el-input> | 138 | <el-input v-model="ruleForm.dlrzjh" maxlength="20"></el-input> |
| 139 | </el-form-item> | 139 | </el-form-item> |
| 140 | </el-col> | 140 | </el-col> |
| ... | @@ -183,8 +183,8 @@ | ... | @@ -183,8 +183,8 @@ |
| 183 | sqrmc: [{ required: true, message: "姓名/名称", trigger: "blur" }], | 183 | sqrmc: [{ required: true, message: "姓名/名称", trigger: "blur" }], |
| 184 | zjzl: [{ required: true, message: "证件种类", trigger: "change" }], | 184 | zjzl: [{ required: true, message: "证件种类", trigger: "change" }], |
| 185 | zjh: [{ required: true, message: "证件号", trigger: "blur" }], | 185 | zjh: [{ required: true, message: "证件号", trigger: "blur" }], |
| 186 | }, | 186 | } |
| 187 | }; | 187 | } |
| 188 | }, | 188 | }, |
| 189 | watch: { | 189 | watch: { |
| 190 | value (val) { | 190 | value (val) { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-01 17:41:49 | 4 | * @LastEditTime: 2023-08-04 13:11:21 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div> | 7 | <div> |
| ... | @@ -189,6 +189,8 @@ | ... | @@ -189,6 +189,8 @@ |
| 189 | if (this.gyfs == '0' && this.tableDataList.length > 0) { | 189 | if (this.gyfs == '0' && this.tableDataList.length > 0) { |
| 190 | this.$message.warning("当前共有方式为单独所有,无法添加多个权利人") | 190 | this.$message.warning("当前共有方式为单独所有,无法添加多个权利人") |
| 191 | } else { | 191 | } else { |
| 192 | this.key++ | ||
| 193 | this.details = {} | ||
| 192 | this.dialog = true | 194 | this.dialog = true |
| 193 | this.isaddupdate = true | 195 | this.isaddupdate = true |
| 194 | } | 196 | } | ... | ... |
-
Please register or sign in to post a comment