Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
5 changed files
with
270 additions
and
269 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-04 13:29:47 | 4 | * @LastEditTime: 2023-08-16 16:45:42 |
| 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" |
| ... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
| 10 | <el-row> | 10 | <el-row> |
| 11 | <el-col :span="8"> | 11 | <el-col :span="8"> |
| 12 | <el-form-item label="权利人类型" prop="sqrlx"> | 12 | <el-form-item label="权利人类型" prop="sqrlx"> |
| 13 | <el-select clearable v-model="ruleForm.sqrlx" class="width100" placeholder="请选择"> | 13 | <el-select clearable v-model="ruleForm.sqrlx" class="width100" :disabled="!showButton" placeholder="请选择"> |
| 14 | <el-option v-for="item in dictData['A36']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 14 | <el-option v-for="item in dictData['A36']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 15 | </el-option> | 15 | </el-option> |
| 16 | </el-select> | 16 | </el-select> |
| ... | @@ -18,12 +18,12 @@ | ... | @@ -18,12 +18,12 @@ |
| 18 | </el-col> | 18 | </el-col> |
| 19 | <el-col :span="8"> | 19 | <el-col :span="8"> |
| 20 | <el-form-item label="姓名/名称" prop="sqrmc"> | 20 | <el-form-item label="姓名/名称" prop="sqrmc"> |
| 21 | <el-input v-model="ruleForm.sqrmc" maxlegth="15"></el-input> | 21 | <el-input v-model="ruleForm.sqrmc" maxlegth="15" :disabled="!showButton"></el-input> |
| 22 | </el-form-item> | 22 | </el-form-item> |
| 23 | </el-col> | 23 | </el-col> |
| 24 | <el-col :span="8"> | 24 | <el-col :span="8"> |
| 25 | <el-form-item label="证件种类" prop="zjzl"> | 25 | <el-form-item label="证件种类" prop="zjzl"> |
| 26 | <el-select clearable v-model="ruleForm.zjzl" class="width100" placeholder="请选择"> | 26 | <el-select clearable v-model="ruleForm.zjzl" :disabled="!showButton" class="width100" placeholder="请选择"> |
| 27 | <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 27 | <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 28 | </el-option> | 28 | </el-option> |
| 29 | </el-select> | 29 | </el-select> |
| ... | @@ -33,17 +33,17 @@ | ... | @@ -33,17 +33,17 @@ |
| 33 | <el-row> | 33 | <el-row> |
| 34 | <el-col :span="8"> | 34 | <el-col :span="8"> |
| 35 | <el-form-item label="证件号" prop="zjh"> | 35 | <el-form-item label="证件号" prop="zjh"> |
| 36 | <el-input v-model="ruleForm.zjh" maxlength="15" oninput="this.value=this.value.replace(/[^\X0-9]/g,'')"></el-input> | 36 | <el-input v-model="ruleForm.zjh" :disabled="!showButton" maxlength="15" oninput="this.value=this.value.replace(/[^\X0-9]/g,'')"></el-input> |
| 37 | </el-form-item> | 37 | </el-form-item> |
| 38 | </el-col> | 38 | </el-col> |
| 39 | <el-col :span="8"> | 39 | <el-col :span="8"> |
| 40 | <el-form-item label="联系电话" prop="dh"> | 40 | <el-form-item label="联系电话" prop="dh"> |
| 41 | <el-input v-model="ruleForm.dh" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input> | 41 | <el-input v-model="ruleForm.dh" :disabled="!showButton" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
| 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="份数" prop="fs"> | 45 | <el-form-item label="份数" prop="fs"> |
| 46 | <el-input v-model="ruleForm.fs" maxlength="8" oninput="value=value.replace(/[^\d]/g,'')"></el-input> | 46 | <el-input v-model="ruleForm.fs" :disabled="!showButton" maxlength="8" oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
| 47 | </el-form-item> | 47 | </el-form-item> |
| 48 | </el-col> | 48 | </el-col> |
| 49 | 49 | ||
| ... | @@ -51,17 +51,17 @@ | ... | @@ -51,17 +51,17 @@ |
| 51 | <el-row> | 51 | <el-row> |
| 52 | <el-col :span="8"> | 52 | <el-col :span="8"> |
| 53 | <el-form-item label="法人名称" prop="frmc"> | 53 | <el-form-item label="法人名称" prop="frmc"> |
| 54 | <el-input v-model="ruleForm.frmc"></el-input> | 54 | <el-input v-model="ruleForm.frmc" :disabled="!showButton"></el-input> |
| 55 | </el-form-item> | 55 | </el-form-item> |
| 56 | </el-col> | 56 | </el-col> |
| 57 | <el-col :span="8"> | 57 | <el-col :span="8"> |
| 58 | <el-form-item label="国家/地区" prop="gj"> | 58 | <el-form-item label="国家/地区" prop="gj"> |
| 59 | <el-input v-model="ruleForm.gj"></el-input> | 59 | <el-input v-model="ruleForm.gj" :disabled="!showButton"></el-input> |
| 60 | </el-form-item> | 60 | </el-form-item> |
| 61 | </el-col> | 61 | </el-col> |
| 62 | <el-col :span="8"> | 62 | <el-col :span="8"> |
| 63 | <el-form-item label="户籍所在省市" prop="hjszss"> | 63 | <el-form-item label="户籍所在省市" prop="hjszss"> |
| 64 | <el-input v-model="ruleForm.hjszss"></el-input> | 64 | <el-input v-model="ruleForm.hjszss" :disabled="!showButton"></el-input> |
| 65 | </el-form-item> | 65 | </el-form-item> |
| 66 | </el-col> | 66 | </el-col> |
| 67 | </el-row> | 67 | </el-row> |
| ... | @@ -69,12 +69,12 @@ | ... | @@ -69,12 +69,12 @@ |
| 69 | <el-row> | 69 | <el-row> |
| 70 | <el-col :span="16"> | 70 | <el-col :span="16"> |
| 71 | <el-form-item label="地址" prop="txdz"> | 71 | <el-form-item label="地址" prop="txdz"> |
| 72 | <el-input v-model="ruleForm.txdz"></el-input> | 72 | <el-input v-model="ruleForm.txdz" :disabled="!showButton"></el-input> |
| 73 | </el-form-item> | 73 | </el-form-item> |
| 74 | </el-col> | 74 | </el-col> |
| 75 | <el-col :span="8"> | 75 | <el-col :span="8"> |
| 76 | <el-form-item label="邮编" prop="yb"> | 76 | <el-form-item label="邮编" prop="yb"> |
| 77 | <el-input v-model="ruleForm.yb"></el-input> | 77 | <el-input v-model="ruleForm.yb" :disabled="!showButton"></el-input> |
| 78 | </el-form-item> | 78 | </el-form-item> |
| 79 | </el-col> | 79 | </el-col> |
| 80 | </el-row> | 80 | </el-row> |
| ... | @@ -82,17 +82,17 @@ | ... | @@ -82,17 +82,17 @@ |
| 82 | <el-row> | 82 | <el-row> |
| 83 | <el-col :span="8"> | 83 | <el-col :span="8"> |
| 84 | <el-form-item label="发证机关" prop="fzjg"> | 84 | <el-form-item label="发证机关" prop="fzjg"> |
| 85 | <el-input v-model="ruleForm.fzjg"></el-input> | 85 | <el-input v-model="ruleForm.fzjg" :disabled="!showButton"></el-input> |
| 86 | </el-form-item> | 86 | </el-form-item> |
| 87 | </el-col> | 87 | </el-col> |
| 88 | <el-col :span="8"> | 88 | <el-col :span="8"> |
| 89 | <el-form-item label="电子邮件" prop="dzyj"> | 89 | <el-form-item label="电子邮件" prop="dzyj"> |
| 90 | <el-input v-model="ruleForm.dzyj"></el-input> | 90 | <el-input v-model="ruleForm.dzyj" :disabled="!showButton"></el-input> |
| 91 | </el-form-item> | 91 | </el-form-item> |
| 92 | </el-col> | 92 | </el-col> |
| 93 | <el-col :span="8"> | 93 | <el-col :span="8"> |
| 94 | <el-form-item label="权利比例" prop="qlbl"> | 94 | <el-form-item label="权利比例" prop="qlbl"> |
| 95 | <el-input v-model="ruleForm.qlbl"></el-input> | 95 | <el-input v-model="ruleForm.qlbl" :disabled="!showButton"></el-input> |
| 96 | </el-form-item> | 96 | </el-form-item> |
| 97 | </el-col> | 97 | </el-col> |
| 98 | </el-row> | 98 | </el-row> |
| ... | @@ -100,12 +100,12 @@ | ... | @@ -100,12 +100,12 @@ |
| 100 | <el-row> | 100 | <el-row> |
| 101 | <el-col :span="8"> | 101 | <el-col :span="8"> |
| 102 | <el-form-item label="工作单位" prop="gzdw"> | 102 | <el-form-item label="工作单位" prop="gzdw"> |
| 103 | <el-input v-model="ruleForm.gzdw"></el-input> | 103 | <el-input v-model="ruleForm.gzdw" :disabled="!showButton"></el-input> |
| 104 | </el-form-item> | 104 | </el-form-item> |
| 105 | </el-col> | 105 | </el-col> |
| 106 | <el-col :span="16"> | 106 | <el-col :span="16"> |
| 107 | <el-form-item label="代理机构" prop="dlrjg"> | 107 | <el-form-item label="代理机构" prop="dlrjg"> |
| 108 | <el-input v-model="ruleForm.dlrjg"></el-input> | 108 | <el-input v-model="ruleForm.dlrjg" :disabled="!showButton"></el-input> |
| 109 | </el-form-item> | 109 | </el-form-item> |
| 110 | </el-col> | 110 | </el-col> |
| 111 | </el-row> | 111 | </el-row> |
| ... | @@ -113,17 +113,17 @@ | ... | @@ -113,17 +113,17 @@ |
| 113 | <el-row> | 113 | <el-row> |
| 114 | <el-col :span="8"> | 114 | <el-col :span="8"> |
| 115 | <el-form-item label="联系电话" prop="dlrdh"> | 115 | <el-form-item label="联系电话" prop="dlrdh"> |
| 116 | <el-input v-model="ruleForm.dlrdh" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input> | 116 | <el-input v-model="ruleForm.dlrdh" :disabled="!showButton" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
| 117 | </el-form-item> | 117 | </el-form-item> |
| 118 | </el-col> | 118 | </el-col> |
| 119 | <el-col :span="8"> | 119 | <el-col :span="8"> |
| 120 | <el-form-item label="代理人姓名" prop="dlrmc"> | 120 | <el-form-item label="代理人姓名" prop="dlrmc"> |
| 121 | <el-input v-model="ruleForm.dlrmc"></el-input> | 121 | <el-input v-model="ruleForm.dlrmc" :disabled="!showButton"></el-input> |
| 122 | </el-form-item> | 122 | </el-form-item> |
| 123 | </el-col> | 123 | </el-col> |
| 124 | <el-col :span="8"> | 124 | <el-col :span="8"> |
| 125 | <el-form-item label="代理人证件类型" prop="dlrzjlx"> | 125 | <el-form-item label="代理人证件类型" prop="dlrzjlx"> |
| 126 | <el-select clearable v-model="ruleForm.dlrzjlx" class="width100" placeholder="请选择"> | 126 | <el-select clearable v-model="ruleForm.dlrzjlx" :disabled="!showButton" class="width100" placeholder="请选择"> |
| 127 | <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 127 | <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 128 | </el-option> | 128 | </el-option> |
| 129 | </el-select> | 129 | </el-select> |
| ... | @@ -133,7 +133,7 @@ | ... | @@ -133,7 +133,7 @@ |
| 133 | <el-row> | 133 | <el-row> |
| 134 | <el-col :span="8"> | 134 | <el-col :span="8"> |
| 135 | <el-form-item label="性别" prop="xb"> | 135 | <el-form-item label="性别" prop="xb"> |
| 136 | <el-select clearable v-model="ruleForm.xb" class="width100" placeholder="请选择"> | 136 | <el-select clearable v-model="ruleForm.xb" :disabled="!showButton" class="width100" placeholder="请选择"> |
| 137 | <el-option v-for="item in dictData['A43']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 137 | <el-option v-for="item in dictData['A43']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 138 | </el-option> | 138 | </el-option> |
| 139 | </el-select> | 139 | </el-select> |
| ... | @@ -141,7 +141,7 @@ | ... | @@ -141,7 +141,7 @@ |
| 141 | </el-col> | 141 | </el-col> |
| 142 | <el-col :span="8"> | 142 | <el-col :span="8"> |
| 143 | <el-form-item label="代理人证件号" prop="dlrzjh"> | 143 | <el-form-item label="代理人证件号" prop="dlrzjh"> |
| 144 | <el-input v-model="ruleForm.dlrzjh" maxlength="20"></el-input> | 144 | <el-input v-model="ruleForm.dlrzjh" :disabled="!showButton" maxlength="20"></el-input> |
| 145 | </el-form-item> | 145 | </el-form-item> |
| 146 | </el-col> | 146 | </el-col> |
| 147 | </el-row> | 147 | </el-row> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-16 11:22:21 | 4 | * @LastEditTime: 2023-08-16 17:02:36 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> |
| ... | @@ -30,6 +30,7 @@ | ... | @@ -30,6 +30,7 @@ |
| 30 | }, | 30 | }, |
| 31 | data () { | 31 | data () { |
| 32 | return { | 32 | return { |
| 33 | key: 0, | ||
| 33 | noData: false, | 34 | noData: false, |
| 34 | imgSrc: require('@/image/bdcqz/bdcqzs2.jpg'), | 35 | imgSrc: require('@/image/bdcqz/bdcqzs2.jpg'), |
| 35 | bdczmSrc: require('@/image/bdcqz/bdczm.jpg'), | 36 | bdczmSrc: require('@/image/bdcqz/bdczm.jpg'), |
| ... | @@ -133,9 +134,9 @@ | ... | @@ -133,9 +134,9 @@ |
| 133 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 129, 97); | 134 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 129, 97); |
| 134 | context.fillText(this.bdcqz.gyqk ? this.bdcqz.gyqk : '', 129, 136); | 135 | context.fillText(this.bdcqz.gyqk ? this.bdcqz.gyqk : '', 129, 136); |
| 135 | 136 | ||
| 136 | this.bdcqz.bdcdyh = this.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.bdcqz.bdcdyh.slice(6, 12) + ' ' + | 137 | this.bdcdyh = this.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.bdcqz.bdcdyh.slice(6, 12) + ' ' + |
| 137 | this.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length) | 138 | this.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length) |
| 138 | context.fillText(this.bdcqz.bdcdyh ? this.bdcqz.bdcdyh : '', 129, 223); | 139 | context.fillText(this.bdcdyh ? this.bdcdyh : '', 129, 223); |
| 139 | 140 | ||
| 140 | 141 | ||
| 141 | 142 | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-16 16:29:35 | 4 | * @LastEditTime: 2023-08-16 16:44:04 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div> | 7 | <div> |
| ... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
| 51 | width: '50', | 51 | width: '50', |
| 52 | renderHeader: (h, scope) => { | 52 | renderHeader: (h, scope) => { |
| 53 | return <div> { | 53 | return <div> { |
| 54 | this.disabled ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i> | 54 | !this.disabled ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i> |
| 55 | } | 55 | } |
| 56 | </div> | 56 | </div> |
| 57 | }, | 57 | }, |
| ... | @@ -59,7 +59,7 @@ | ... | @@ -59,7 +59,7 @@ |
| 59 | return ( | 59 | return ( |
| 60 | <div> | 60 | <div> |
| 61 | { | 61 | { |
| 62 | this.disabled ? <span>{scope.$index + 1}</span> : | 62 | !this.disabled ? <span>{scope.$index + 1}</span> : |
| 63 | <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i> | 63 | <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i> |
| 64 | } | 64 | } |
| 65 | </div> | 65 | </div> |
| ... | @@ -211,7 +211,6 @@ | ... | @@ -211,7 +211,6 @@ |
| 211 | }); | 211 | }); |
| 212 | }, | 212 | }, |
| 213 | 213 | ||
| 214 | // 身份证读取 | ||
| 215 | /** | 214 | /** |
| 216 | * @description: 身份证读取 | 215 | * @description: 身份证读取 |
| 217 | * @param {*} row | 216 | * @param {*} row | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-14 12:58:35 | 4 | * @LastEditTime: 2023-08-16 16:36:31 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="slxx"> | 7 | <div class="slxx"> |
| ... | @@ -11,8 +11,7 @@ | ... | @@ -11,8 +11,7 @@ |
| 11 | ref="ruleForm" | 11 | ref="ruleForm" |
| 12 | :label-position="flag ? 'top' : ''" | 12 | :label-position="flag ? 'top' : ''" |
| 13 | :inline="flag" | 13 | :inline="flag" |
| 14 | label-width="130px" | 14 | label-width="130px"> |
| 15 | > | ||
| 16 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> | 15 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> |
| 17 | <div class="slxx_title title-block"> | 16 | <div class="slxx_title title-block"> |
| 18 | 受理信息 | 17 | 受理信息 |
| ... | @@ -66,8 +65,7 @@ | ... | @@ -66,8 +65,7 @@ |
| 66 | v-for="item in dictData['A7']" | 65 | v-for="item in dictData['A7']" |
| 67 | :key="item.dcode" | 66 | :key="item.dcode" |
| 68 | :label="item.dname" | 67 | :label="item.dname" |
| 69 | :value="item.dcode" | 68 | :value="item.dcode"></el-option> |
| 70 | ></el-option> | ||
| 71 | </el-select> | 69 | </el-select> |
| 72 | </div> | 70 | </div> |
| 73 | </el-form-item> | 71 | </el-form-item> |
| ... | @@ -124,7 +122,7 @@ | ... | @@ -124,7 +122,7 @@ |
| 124 | </el-form-item> | 122 | </el-form-item> |
| 125 | </el-col> | 123 | </el-col> |
| 126 | <el-col :span="5"> | 124 | <el-col :span="5"> |
| 127 | <el-form-item label="发证方式:"> | 125 | <el-form-item label="发证方式:" :disabled="!viewEdit"> |
| 128 | <el-radio-group v-model="ruleForm.slsq.fzfs"> | 126 | <el-radio-group v-model="ruleForm.slsq.fzfs"> |
| 129 | <el-radio label="1">小证</el-radio> | 127 | <el-radio label="1">小证</el-radio> |
| 130 | <el-radio label="2">大证</el-radio> | 128 | <el-radio label="2">大证</el-radio> |
| ... | @@ -140,10 +138,9 @@ | ... | @@ -140,10 +138,9 @@ |
| 140 | <el-col :span="12" v-if="ruleForm.sldyList.length>0"> | 138 | <el-col :span="12" v-if="ruleForm.sldyList.length>0"> |
| 141 | <el-form-item label="共有方式:"> | 139 | <el-form-item label="共有方式:"> |
| 142 | <el-radio-group | 140 | <el-radio-group |
| 143 | :disabled="!ableOperation" | 141 | :disabled="!viewEdit" |
| 144 | @change="showCZInfo" | 142 | @change="showCZInfo" |
| 145 | v-model="ruleForm.sldyList[0].gyfs" | 143 | v-model="ruleForm.sldyList[0].gyfs"> |
| 146 | > | ||
| 147 | <el-radio label="0">单独所有</el-radio> | 144 | <el-radio label="0">单独所有</el-radio> |
| 148 | <el-radio label="1">共同共有</el-radio> | 145 | <el-radio label="1">共同共有</el-radio> |
| 149 | <el-radio label="2">按份所有</el-radio> | 146 | <el-radio label="2">按份所有</el-radio> |
| ... | @@ -154,7 +151,9 @@ | ... | @@ -154,7 +151,9 @@ |
| 154 | 151 | ||
| 155 | <el-col :span="6" v-if="ruleForm.sldyList[0].gyfs!=0"> | 152 | <el-col :span="6" v-if="ruleForm.sldyList[0].gyfs!=0"> |
| 156 | <el-form-item label="是否分别持证:"> | 153 | <el-form-item label="是否分别持证:"> |
| 157 | <el-radio-group v-model="ruleForm.sldyList[0].sqfbcz" :disabled="!ableOperation"> | 154 | <el-radio-group |
| 155 | v-model="ruleForm.sldyList[0].sqfbcz" | ||
| 156 | :disabled="!viewEdit"> | ||
| 158 | <el-radio :label="1">是</el-radio> | 157 | <el-radio :label="1">是</el-radio> |
| 159 | <el-radio :label="0">否</el-radio> | 158 | <el-radio :label="0">否</el-radio> |
| 160 | </el-radio-group> | 159 | </el-radio-group> |
| ... | @@ -162,22 +161,24 @@ | ... | @@ -162,22 +161,24 @@ |
| 162 | </el-col> | 161 | </el-col> |
| 163 | <el-col :span="6" v-if="ruleForm.sldyList[0].gyfs!=0"> | 162 | <el-col :span="6" v-if="ruleForm.sldyList[0].gyfs!=0"> |
| 164 | <el-form-item label="持证人:"> | 163 | <el-form-item label="持证人:"> |
| 165 | <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation"> | 164 | <el-select |
| 165 | v-model="ruleForm.czr" | ||
| 166 | placeholder="持证人" | ||
| 167 | :disabled="!viewEdit"> | ||
| 166 | <el-option | 168 | <el-option |
| 167 | v-for="item in czrOptions" | 169 | v-for="item in czrOptions" |
| 168 | :key="item.zjh" | 170 | :key="item.zjh" |
| 169 | :label="item.sqrmc" | 171 | :label="item.sqrmc" |
| 170 | :value="item.zjh" | 172 | :value="item.zjh"></el-option> |
| 171 | ></el-option> | ||
| 172 | </el-select> | 173 | </el-select> |
| 173 | </el-form-item> | 174 | </el-form-item> |
| 174 | </el-col> | 175 | </el-col> |
| 175 | </el-row> | 176 | </el-row> |
| 176 | <qlrCommonTable | 177 | <qlrCommonTable |
| 178 | :disabled="viewEdit" | ||
| 177 | @upDateQlrxxList="upDateQlrxxList" | 179 | @upDateQlrxxList="upDateQlrxxList" |
| 178 | :tableData="ruleForm.qlrList" | 180 | :tableData="ruleForm.qlrList" |
| 179 | :gyfs="ruleForm.sldyList[0].gyfs" | 181 | :gyfs="ruleForm.sldyList[0].gyfs" /> |
| 180 | /> | ||
| 181 | <div class="slxx_title title-block"> | 182 | <div class="slxx_title title-block"> |
| 182 | 登记原因 | 183 | 登记原因 |
| 183 | <div class="triangle"></div> | 184 | <div class="triangle"></div> |
| ... | @@ -190,14 +191,14 @@ | ... | @@ -190,14 +191,14 @@ |
| 190 | type="textarea" | 191 | type="textarea" |
| 191 | maxlength="500" | 192 | maxlength="500" |
| 192 | show-word-limit | 193 | show-word-limit |
| 193 | :disabled="!ableOperation" | 194 | :disabled="!viewEdit" |
| 194 | v-model="ruleForm.fdcq2List[0].djyy" | 195 | v-model="ruleForm.fdcq2List[0].djyy"> |
| 195 | ></el-input> | 196 | </el-input> |
| 196 | </el-form-item> | 197 | </el-form-item> |
| 197 | </el-col> | 198 | </el-col> |
| 198 | </el-row> | 199 | </el-row> |
| 199 | </div> | 200 | </div> |
| 200 | <el-row class="btn" v-if="ableOperation"> | 201 | <el-row class="btn" v-if="viewEdit"> |
| 201 | <el-form-item> | 202 | <el-form-item> |
| 202 | <el-button type="primary" @click="onSubmit">保存</el-button> | 203 | <el-button type="primary" @click="onSubmit">保存</el-button> |
| 203 | </el-form-item> | 204 | </el-form-item> |
| ... | @@ -206,253 +207,253 @@ | ... | @@ -206,253 +207,253 @@ |
| 206 | </div> | 207 | </div> |
| 207 | </template> | 208 | </template> |
| 208 | <script> | 209 | <script> |
| 209 | import ywmix from "@/views/ywbl/mixin/index"; | 210 | import ywmix from "@/views/ywbl/mixin/index"; |
| 210 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 211 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
| 211 | import { | 212 | import { |
| 212 | BatchInit, | 213 | BatchInit, |
| 213 | Init, | 214 | Init, |
| 214 | saveBatchData, | 215 | saveBatchData, |
| 215 | saveData, | 216 | saveData, |
| 216 | } from "@/api/workflow/fwsyqFlow.js"; | 217 | } from "@/api/workflow/fwsyqFlow.js"; |
| 217 | import { mapGetters } from "vuex"; | 218 | import { mapGetters } from "vuex"; |
| 218 | export default { | 219 | export default { |
| 219 | mixins: [ywmix], | 220 | mixins: [ywmix], |
| 220 | computed: { | 221 | computed: { |
| 221 | ...mapGetters(["dictData", "flag"]), | 222 | ...mapGetters(["dictData", "flag"]), |
| 222 | }, | ||
| 223 | components: { qlrCommonTable }, | ||
| 224 | |||
| 225 | // 更新义务人信息 | ||
| 226 | /** | ||
| 227 | * @description: 更新义务人信息 | ||
| 228 | * @param {*} val | ||
| 229 | * @author: renchao | ||
| 230 | */ | ||
| 231 | upDateYwrxxList(val) { | ||
| 232 | this.ruleForm.ywrList = _.cloneDeep(val); | ||
| 233 | }, | ||
| 234 | data() { | ||
| 235 | return { | ||
| 236 | disabled: true, | ||
| 237 | tdytOption: [], | ||
| 238 | ruleForm: { | ||
| 239 | cfdjList: [], //查封登记 | ||
| 240 | diyaqList: [], //抵押权 | ||
| 241 | fdcq2List: [], //房屋信息集合 | ||
| 242 | qlrList: [], //权利人 | ||
| 243 | ywrList: [], //义务人 | ||
| 244 | qlxxList: [], //权利信息集合 | ||
| 245 | sldyList: [], //受理不动产单元集合 | ||
| 246 | slsq: {}, //受理申请流程明细 | ||
| 247 | flow: {}, //受理申请流程明细 | ||
| 248 | sqrList: [], //申请人 | ||
| 249 | ssQlxxList: [], //上手权利信息 | ||
| 250 | user: {}, //用户 | ||
| 251 | zdjbxx: {}, //宗地基本信息 | ||
| 252 | }, | ||
| 253 | czrOptions: [], | ||
| 254 | //传递参数 | ||
| 255 | propsParam: this.$attrs, | ||
| 256 | //表单是否可操作 | ||
| 257 | ableOperation: true, | ||
| 258 | rules: {}, | ||
| 259 | gyfs: "", | ||
| 260 | bsmSlsq: this.$route.query.bsmSlsq, //受理申请标识码 | ||
| 261 | splicingFdcq2: { | ||
| 262 | //前端根据后台数组组装展示内容 | ||
| 263 | tdxz:"",//土地性质 | ||
| 264 | fwxz: "", //房屋性质 | ||
| 265 | fwjg: "", //房屋结构 | ||
| 266 | jzmj: "", //建筑面积 | ||
| 267 | zts: "", //房屋总套数 | ||
| 268 | }, | ||
| 269 | }; | ||
| 270 | }, | ||
| 271 | mounted(callbackfn, thisArg) { | ||
| 272 | this.ableOperation = this.$parent.currentSelectTab.ableOperation; | ||
| 273 | this.propsParam = this.$attrs; | ||
| 274 | var formdata = new FormData(); | ||
| 275 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | ||
| 276 | formdata.append("djlx", this.propsParam.djlx); | ||
| 277 | formdata.append("bsmSlsq", this.bsmSlsq); | ||
| 278 | formdata.append("isEdit", this.ableOperation); | ||
| 279 | BatchInit(formdata).then((res) => { | ||
| 280 | if (res.code == 200) { | ||
| 281 | this.ruleForm = res.result; | ||
| 282 | this.czrOptions = this.ruleForm.qlrList; | ||
| 283 | this.gyfs = this.ruleForm.sldyList[0].gyfs; | ||
| 284 | this.splicingFdcq2Info(); | ||
| 285 | } | ||
| 286 | }); | ||
| 287 | }, | ||
| 288 | methods: { | ||
| 289 | //组装房地产权通用信息 | ||
| 290 | /** | ||
| 291 | * @description: 组装房地产权通用信息 | ||
| 292 | * @author: renchao | ||
| 293 | */ | ||
| 294 | splicingFdcq2Info() { | ||
| 295 | let fdcq2List = this.ruleForm.fdcq2List; | ||
| 296 | let fwxzArr = []; | ||
| 297 | let fwjgArr = []; | ||
| 298 | let jzmj = 0; | ||
| 299 | fdcq2List.forEach((fdcq2) => { | ||
| 300 | fwxzArr.push(fdcq2.fwxzmc); | ||
| 301 | fwjgArr.push(fdcq2.fwjgmc); | ||
| 302 | jzmj += parseFloat(fdcq2.jzmj); | ||
| 303 | }); | ||
| 304 | //将数据转为字符串 | ||
| 305 | //房屋性质 | ||
| 306 | let fwxz = Array.from(new Set(fwxzArr)).join(","); | ||
| 307 | //房屋结构 | ||
| 308 | let fwjg = Array.from(new Set(fwjgArr)).join(","); | ||
| 309 | this.splicingFdcq2.fwxz = fwxz; | ||
| 310 | this.splicingFdcq2.fwjg = fwjg; | ||
| 311 | this.splicingFdcq2.jzmj = jzmj == null ? 0 : jzmj; | ||
| 312 | this.splicingFdcq2.zts = fdcq2List.length; | ||
| 313 | }, | ||
| 314 | /** | ||
| 315 | * @description: 更新权利人信息 | ||
| 316 | * @param {*} val | ||
| 317 | * @author: renchao | ||
| 318 | */ | ||
| 319 | upDateQlrxxList(val) { | ||
| 320 | this.ruleForm.qlrList = _.cloneDeep(val); | ||
| 321 | this.czrOptions = this.ruleForm.qlrList; | ||
| 322 | }, | ||
| 323 | /** | ||
| 324 | * @description: showCZInfo | ||
| 325 | * @author: renchao | ||
| 326 | */ | ||
| 327 | showCZInfo() { | ||
| 328 | // console.log(this.ruleForm.slsq.gyfs); | ||
| 329 | }, | 223 | }, |
| 224 | components: { qlrCommonTable }, | ||
| 225 | |||
| 330 | // 更新义务人信息 | 226 | // 更新义务人信息 |
| 331 | /** | 227 | /** |
| 332 | * @description: 更新义务人信息 | 228 | * @description: 更新义务人信息 |
| 333 | * @param {*} val | 229 | * @param {*} val |
| 334 | * @author: renchao | 230 | * @author: renchao |
| 335 | */ | 231 | */ |
| 336 | upDateYwrxxList(val) { | 232 | upDateYwrxxList (val) { |
| 337 | this.ruleForm.ywrList = _.cloneDeep(val); | 233 | this.ruleForm.ywrList = _.cloneDeep(val); |
| 338 | }, | 234 | }, |
| 339 | /** | 235 | data () { |
| 340 | * @description: onSubmit | 236 | return { |
| 341 | * @author: renchao | 237 | disabled: true, |
| 342 | */ | 238 | tdytOption: [], |
| 343 | onSubmit() { | 239 | ruleForm: { |
| 344 | if (this.ruleForm.sldyList[0].gyfs == "0") { | 240 | cfdjList: [], //查封登记 |
| 345 | if (this.ruleForm.qlrList.length > 1) { | 241 | diyaqList: [], //抵押权 |
| 346 | this.$message({ | 242 | fdcq2List: [], //房屋信息集合 |
| 347 | showClose: true, | 243 | qlrList: [], //权利人 |
| 348 | message: "共有方式:单独所有,权利人只能是一个人", | 244 | ywrList: [], //义务人 |
| 349 | type: "error", | 245 | qlxxList: [], //权利信息集合 |
| 350 | }); | 246 | sldyList: [], //受理不动产单元集合 |
| 351 | return false; | 247 | slsq: {}, //受理申请流程明细 |
| 352 | } | 248 | flow: {}, //受理申请流程明细 |
| 353 | } else { | 249 | sqrList: [], //申请人 |
| 354 | if (this.ruleForm.qlrList.length <= 1) { | 250 | ssQlxxList: [], //上手权利信息 |
| 355 | this.$message({ | 251 | user: {}, //用户 |
| 356 | showClose: true, | 252 | zdjbxx: {}, //宗地基本信息 |
| 357 | message: | 253 | }, |
| 358 | "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | 254 | czrOptions: [], |
| 359 | type: "error", | 255 | //传递参数 |
| 360 | }); | 256 | propsParam: this.$attrs, |
| 361 | return false; | 257 | //表单是否可操作 |
| 258 | viewEdit: true, | ||
| 259 | rules: {}, | ||
| 260 | gyfs: "", | ||
| 261 | bsmSlsq: this.$route.query.bsmSlsq, //受理申请标识码 | ||
| 262 | splicingFdcq2: { | ||
| 263 | //前端根据后台数组组装展示内容 | ||
| 264 | tdxz: "",//土地性质 | ||
| 265 | fwxz: "", //房屋性质 | ||
| 266 | fwjg: "", //房屋结构 | ||
| 267 | jzmj: "", //建筑面积 | ||
| 268 | zts: "", //房屋总套数 | ||
| 269 | }, | ||
| 270 | }; | ||
| 271 | }, | ||
| 272 | mounted (callbackfn, thisArg) { | ||
| 273 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; | ||
| 274 | this.propsParam = this.$attrs; | ||
| 275 | var formdata = new FormData(); | ||
| 276 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | ||
| 277 | formdata.append("djlx", this.propsParam.djlx); | ||
| 278 | formdata.append("bsmSlsq", this.bsmSlsq); | ||
| 279 | formdata.append("isEdit", this.viewEdit); | ||
| 280 | BatchInit(formdata).then((res) => { | ||
| 281 | if (res.code == 200) { | ||
| 282 | this.ruleForm = res.result; | ||
| 283 | this.czrOptions = this.ruleForm.qlrList; | ||
| 284 | this.gyfs = this.ruleForm.sldyList[0].gyfs; | ||
| 285 | this.splicingFdcq2Info(); | ||
| 362 | } | 286 | } |
| 363 | } | 287 | }); |
| 364 | saveBatchData(this.ruleForm).then((res) => { | 288 | }, |
| 365 | if (res.code === 200) { | 289 | methods: { |
| 366 | this.$message({ | 290 | //组装房地产权通用信息 |
| 367 | showClose: true, | 291 | /** |
| 368 | message: "保存成功!", | 292 | * @description: 组装房地产权通用信息 |
| 369 | type: "success", | 293 | * @author: renchao |
| 370 | }); | 294 | */ |
| 371 | this.$store.dispatch("user/refreshPage", true); | 295 | splicingFdcq2Info () { |
| 296 | let fdcq2List = this.ruleForm.fdcq2List; | ||
| 297 | let fwxzArr = []; | ||
| 298 | let fwjgArr = []; | ||
| 299 | let jzmj = 0; | ||
| 300 | fdcq2List.forEach((fdcq2) => { | ||
| 301 | fwxzArr.push(fdcq2.fwxzmc); | ||
| 302 | fwjgArr.push(fdcq2.fwjgmc); | ||
| 303 | jzmj += parseFloat(fdcq2.jzmj); | ||
| 304 | }); | ||
| 305 | //将数据转为字符串 | ||
| 306 | //房屋性质 | ||
| 307 | let fwxz = Array.from(new Set(fwxzArr)).join(","); | ||
| 308 | //房屋结构 | ||
| 309 | let fwjg = Array.from(new Set(fwjgArr)).join(","); | ||
| 310 | this.splicingFdcq2.fwxz = fwxz; | ||
| 311 | this.splicingFdcq2.fwjg = fwjg; | ||
| 312 | this.splicingFdcq2.jzmj = jzmj == null ? 0 : jzmj; | ||
| 313 | this.splicingFdcq2.zts = fdcq2List.length; | ||
| 314 | }, | ||
| 315 | /** | ||
| 316 | * @description: 更新权利人信息 | ||
| 317 | * @param {*} val | ||
| 318 | * @author: renchao | ||
| 319 | */ | ||
| 320 | upDateQlrxxList (val) { | ||
| 321 | this.ruleForm.qlrList = _.cloneDeep(val); | ||
| 322 | this.czrOptions = this.ruleForm.qlrList; | ||
| 323 | }, | ||
| 324 | /** | ||
| 325 | * @description: showCZInfo | ||
| 326 | * @author: renchao | ||
| 327 | */ | ||
| 328 | showCZInfo () { | ||
| 329 | // console.log(this.ruleForm.slsq.gyfs); | ||
| 330 | }, | ||
| 331 | // 更新义务人信息 | ||
| 332 | /** | ||
| 333 | * @description: 更新义务人信息 | ||
| 334 | * @param {*} val | ||
| 335 | * @author: renchao | ||
| 336 | */ | ||
| 337 | upDateYwrxxList (val) { | ||
| 338 | this.ruleForm.ywrList = _.cloneDeep(val); | ||
| 339 | }, | ||
| 340 | /** | ||
| 341 | * @description: onSubmit | ||
| 342 | * @author: renchao | ||
| 343 | */ | ||
| 344 | onSubmit () { | ||
| 345 | if (this.ruleForm.sldyList[0].gyfs == "0") { | ||
| 346 | if (this.ruleForm.qlrList.length > 1) { | ||
| 347 | this.$message({ | ||
| 348 | showClose: true, | ||
| 349 | message: "共有方式:单独所有,权利人只能是一个人", | ||
| 350 | type: "error", | ||
| 351 | }); | ||
| 352 | return false; | ||
| 353 | } | ||
| 372 | } else { | 354 | } else { |
| 373 | this.$message({ | 355 | if (this.ruleForm.qlrList.length <= 1) { |
| 374 | showClose: true, | 356 | this.$message({ |
| 375 | message: res.message, | 357 | showClose: true, |
| 376 | type: "error", | 358 | message: |
| 377 | }); | 359 | "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", |
| 360 | type: "error", | ||
| 361 | }); | ||
| 362 | return false; | ||
| 363 | } | ||
| 378 | } | 364 | } |
| 379 | }); | 365 | saveBatchData(this.ruleForm).then((res) => { |
| 366 | if (res.code === 200) { | ||
| 367 | this.$message({ | ||
| 368 | showClose: true, | ||
| 369 | message: "保存成功!", | ||
| 370 | type: "success", | ||
| 371 | }); | ||
| 372 | this.$store.dispatch("user/refreshPage", true); | ||
| 373 | } else { | ||
| 374 | this.$message({ | ||
| 375 | showClose: true, | ||
| 376 | message: res.message, | ||
| 377 | type: "error", | ||
| 378 | }); | ||
| 379 | } | ||
| 380 | }); | ||
| 381 | }, | ||
| 380 | }, | 382 | }, |
| 381 | }, | 383 | }; |
| 382 | }; | ||
| 383 | </script> | 384 | </script> |
| 384 | <style scoped lang="scss"> | 385 | <style scoped lang="scss"> |
| 385 | @import "~@/styles/public.scss"; | 386 | @import "~@/styles/public.scss"; |
| 386 | 387 | ||
| 387 | /deep/.el-form { | 388 | /deep/.el-form { |
| 388 | display: flex; | 389 | display: flex; |
| 389 | flex-direction: column; | 390 | flex-direction: column; |
| 390 | height: calc(100vh - 130px); | 391 | height: calc(100vh - 130px); |
| 391 | } | 392 | } |
| 392 | 393 | ||
| 393 | /deep/.el-form-item__label { | 394 | /deep/.el-form-item__label { |
| 394 | padding: 0; | 395 | padding: 0; |
| 395 | } | 396 | } |
| 396 | 397 | ||
| 397 | /deep/.el-radio { | 398 | /deep/.el-radio { |
| 398 | margin-right: 10px; | 399 | margin-right: 10px; |
| 399 | } | 400 | } |
| 400 | 401 | ||
| 401 | /deep/.el-select { | 402 | /deep/.el-select { |
| 402 | width: 100%; | 403 | width: 100%; |
| 403 | } | 404 | } |
| 404 | 405 | ||
| 405 | /deep/.el-form-item { | 406 | /deep/.el-form-item { |
| 406 | margin-bottom: 8px; | 407 | margin-bottom: 8px; |
| 407 | } | 408 | } |
| 408 | 409 | ||
| 409 | .marginBot0 { | 410 | .marginBot0 { |
| 410 | margin-bottom: 0 !important; | 411 | margin-bottom: 0 !important; |
| 411 | } | 412 | } |
| 412 | 413 | ||
| 413 | .slxx { | 414 | .slxx { |
| 414 | box-sizing: border-box; | 415 | box-sizing: border-box; |
| 415 | } | 416 | } |
| 416 | 417 | ||
| 417 | .slxx_con { | 418 | .slxx_con { |
| 418 | flex: 1; | 419 | flex: 1; |
| 419 | height: 100%; | 420 | height: 100%; |
| 420 | background-color: #ffffff; | 421 | background-color: #ffffff; |
| 421 | overflow-y: auto; | 422 | overflow-y: auto; |
| 422 | padding-right: 3px; | 423 | padding-right: 3px; |
| 423 | overflow-x: hidden; | 424 | overflow-x: hidden; |
| 424 | } | 425 | } |
| 425 | 426 | ||
| 426 | .submit_btn { | 427 | .submit_btn { |
| 427 | height: 50px; | 428 | height: 50px; |
| 428 | } | 429 | } |
| 429 | 430 | ||
| 430 | .slxx_title { | 431 | .slxx_title { |
| 431 | border-bottom: 1px solid $borderColor; | 432 | border-bottom: 1px solid $borderColor; |
| 432 | padding-left: 10px; | 433 | padding-left: 10px; |
| 433 | padding-bottom: 5px; | 434 | padding-bottom: 5px; |
| 434 | margin-bottom: 10px; | 435 | margin-bottom: 10px; |
| 435 | margin-top: 5px; | 436 | margin-top: 5px; |
| 436 | font-size: 16px; | 437 | font-size: 16px; |
| 437 | font-weight: 500; | 438 | font-weight: 500; |
| 438 | color: #4a4a4a; | 439 | color: #4a4a4a; |
| 439 | } | 440 | } |
| 440 | 441 | ||
| 441 | .btn { | 442 | .btn { |
| 442 | text-align: center; | 443 | text-align: center; |
| 443 | padding-top: 10px; | 444 | padding-top: 10px; |
| 444 | height: 36px; | 445 | height: 36px; |
| 445 | background-color: #ffffff; | 446 | background-color: #ffffff; |
| 446 | padding: 5px 0; | 447 | padding: 5px 0; |
| 447 | } | 448 | } |
| 448 | 449 | ||
| 449 | .textArea { | 450 | .textArea { |
| 450 | /deep/.el-textarea__inner { | 451 | /deep/.el-textarea__inner { |
| 451 | min-height: 90px !important; | 452 | min-height: 90px !important; |
| 453 | } | ||
| 452 | } | 454 | } |
| 453 | } | ||
| 454 | 455 | ||
| 455 | /deep/.el-form-item__label { | 456 | /deep/.el-form-item__label { |
| 456 | padding-bottom: 0px; | 457 | padding-bottom: 0px; |
| 457 | } | 458 | } |
| 458 | </style> | 459 | </style> | ... | ... |
| ... | @@ -175,7 +175,7 @@ | ... | @@ -175,7 +175,7 @@ |
| 175 | <div class="triangle"></div> | 175 | <div class="triangle"></div> |
| 176 | </div> | 176 | </div> |
| 177 | <el-row :gutter="10"> | 177 | <el-row :gutter="10"> |
| 178 | <el-col :span="14" v-if="ruleForm.qlxx"> | 178 | <el-col :span="12" v-if="ruleForm.qlxx"> |
| 179 | <el-form-item label="共有方式:"> | 179 | <el-form-item label="共有方式:"> |
| 180 | <el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldy.gyfs"> | 180 | <el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldy.gyfs"> |
| 181 | <el-radio label="0">单独所有</el-radio> | 181 | <el-radio label="0">单独所有</el-radio> | ... | ... |
-
Please register or sign in to post a comment