Merge branch 'dev'
Showing
3 changed files
with
20 additions
and
15 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-22 16:19:59 | 4 | * @LastEditTime: 2023-08-22 16:43:41 |
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;"> |
... | @@ -151,7 +151,7 @@ | ... | @@ -151,7 +151,7 @@ |
151 | const maxWidth = 336; // 最大宽度限制 | 151 | const maxWidth = 336; // 最大宽度限制 |
152 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; | 152 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; |
153 | lines.forEach((line, index) => { | 153 | lines.forEach((line, index) => { |
154 | const y = 463 + (index * 30); // 每行文本的垂直位置 | 154 | const y = 463 + (index * 45); // 每行文本的垂直位置 |
155 | let currentLine = ''; | 155 | let currentLine = ''; |
156 | let arr = []; | 156 | let arr = []; |
157 | for (let word of line) { | 157 | for (let word of line) { |
... | @@ -169,9 +169,9 @@ | ... | @@ -169,9 +169,9 @@ |
169 | context.fillText(line, 129, y + (index * 20)); // 调整行高 | 169 | context.fillText(line, 129, y + (index * 20)); // 调整行高 |
170 | }) | 170 | }) |
171 | }) | 171 | }) |
172 | let lines1 = this.bdcqz.fj ? this.bdcqz.fj.split(' ') : []; | 172 | let lines1 = this.bdcqz.fj ? this.bdcqz.fj.split('\n') : []; |
173 | lines1.forEach((line, index) => { | 173 | lines1.forEach((line, index) => { |
174 | const y = 100 + (index * 27); // 每行文本的垂直位置 | 174 | const y = 100 + (index * 30); // 每行文本的垂直位置 |
175 | let currentLine = ''; | 175 | let currentLine = ''; |
176 | let arr = []; | 176 | let arr = []; |
177 | for (let word of line) { | 177 | for (let word of line) { |
... | @@ -186,7 +186,7 @@ | ... | @@ -186,7 +186,7 @@ |
186 | } | 186 | } |
187 | arr.push(currentLine); | 187 | arr.push(currentLine); |
188 | arr.forEach((line, index) => { | 188 | arr.forEach((line, index) => { |
189 | context.fillText(line, 580, y + (index * 20)); // 调整行高 | 189 | context.fillText(line, 580, y + (index * 16)); // 调整行高 |
190 | }) | 190 | }) |
191 | }) | 191 | }) |
192 | let lines3 = this.bdcqz.syqx ? this.bdcqz.syqx.split(' ') : []; | 192 | let lines3 = this.bdcqz.syqx ? this.bdcqz.syqx.split(' ') : []; |
... | @@ -381,7 +381,7 @@ | ... | @@ -381,7 +381,7 @@ |
381 | }) | 381 | }) |
382 | 382 | ||
383 | // fj | 383 | // fj |
384 | let lines1 = this.bdcqz.fj ? this.bdcqz.fj.split(' ') : []; | 384 | let lines1 = this.bdcqz.fj ? this.bdcqz.fj.split('\n') : []; |
385 | lines1.forEach((line, index) => { | 385 | lines1.forEach((line, index) => { |
386 | const y = 590 + (index * 27); // 每行文本的垂直位置 | 386 | const y = 590 + (index * 27); // 每行文本的垂直位置 |
387 | let currentLine = ''; | 387 | let currentLine = ''; | ... | ... |
... | @@ -164,7 +164,7 @@ | ... | @@ -164,7 +164,7 @@ |
164 | * @param {*} value | 164 | * @param {*} value |
165 | * @author: renchao | 165 | * @author: renchao |
166 | */ | 166 | */ |
167 | handleupdateDetail (value) { | 167 | handleupdateDetail (value) { |
168 | let arr = this.tableData.map(item => item.zjh) | 168 | let arr = this.tableData.map(item => item.zjh) |
169 | if (this.isaddupdate) { | 169 | if (this.isaddupdate) { |
170 | if (!arr.includes(value.zjh)) { | 170 | if (!arr.includes(value.zjh)) { |
... | @@ -174,7 +174,7 @@ | ... | @@ -174,7 +174,7 @@ |
174 | this.$message.error('证件号不能重复'); | 174 | this.$message.error('证件号不能重复'); |
175 | } | 175 | } |
176 | } else { | 176 | } else { |
177 | if (!arr.includes(value.zjh)) { | 177 | if (!arr.includes(value.zjh)||this.tableData[this.dataIndex].zjh==value.zjh) { |
178 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); | 178 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); |
179 | this.$emit('upDateQlrxxList', this.tableDataList) | 179 | this.$emit('upDateQlrxxList', this.tableDataList) |
180 | } else { | 180 | } else { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2023-08-22 16:29:23 | 4 | * @LastEditTime: 2023-08-22 16:43:52 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -178,7 +178,7 @@ | ... | @@ -178,7 +178,7 @@ |
178 | </el-col> | 178 | </el-col> |
179 | <el-col :span="5" v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 179 | <el-col :span="5" v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
180 | <el-form-item label="持证人:"> | 180 | <el-form-item label="持证人:"> |
181 | <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!viewEdit"> | 181 | <el-select v-model="czr" placeholder="持证人" :disabled="!viewEdit"> |
182 | <el-option | 182 | <el-option |
183 | v-for="(item,index) in czrOptions" | 183 | v-for="(item,index) in czrOptions" |
184 | :key="index" | 184 | :key="index" |
... | @@ -255,11 +255,15 @@ | ... | @@ -255,11 +255,15 @@ |
255 | ...res.result, | 255 | ...res.result, |
256 | ...res.result.qlxxdatas, | 256 | ...res.result.qlxxdatas, |
257 | }; | 257 | }; |
258 | this.ruleForm.qlrList.forEach((item, index) => { | 258 | this.ruleForm.qlrList.forEach((item) => { |
259 | if (item.sfczr == 1) { | 259 | if(item.sfczr==1){ |
260 | this.$set(this.ruleForm, "czr", item.zjh) | 260 | this.czr=item.sqrmc |
261 | } | 261 | } |
262 | }) | 262 | }) |
263 | //初始化发证方式,1:小证,2:大正 | ||
264 | this.ruleForm.slsq.fzfs == null | ||
265 | ? (this.ruleForm.slsq.fzfs = "1") | ||
266 | : this.ruleForm.slsq.fzfs; | ||
263 | this.czrOptions = this.ruleForm.qlrList; | 267 | this.czrOptions = this.ruleForm.qlrList; |
264 | } | 268 | } |
265 | }); | 269 | }); |
... | @@ -273,6 +277,7 @@ | ... | @@ -273,6 +277,7 @@ |
273 | disabled: true, | 277 | disabled: true, |
274 | tdytOption: [], | 278 | tdytOption: [], |
275 | czrOptions: [], | 279 | czrOptions: [], |
280 | czr:"", | ||
276 | ruleForm: { | 281 | ruleForm: { |
277 | flow: { | 282 | flow: { |
278 | ywh: "", | 283 | ywh: "", |
... | @@ -388,7 +393,7 @@ | ... | @@ -388,7 +393,7 @@ |
388 | item.sfczr = "1"; | 393 | item.sfczr = "1"; |
389 | }); | 394 | }); |
390 | } else { | 395 | } else { |
391 | if (!that.ruleForm.czr) { | 396 | if (!that.czr) { |
392 | that.$message({ | 397 | that.$message({ |
393 | showClose: true, | 398 | showClose: true, |
394 | message: "请选择持证人", | 399 | message: "请选择持证人", |
... | @@ -397,7 +402,7 @@ | ... | @@ -397,7 +402,7 @@ |
397 | return false; | 402 | return false; |
398 | } | 403 | } |
399 | this.ruleForm.qlrList.forEach((item, index) => { | 404 | this.ruleForm.qlrList.forEach((item, index) => { |
400 | if (item.zjh == this.ruleForm.czr) { | 405 | if (item.zjh == this.czr) { |
401 | item.sfczr = "1"; | 406 | item.sfczr = "1"; |
402 | } else { | 407 | } else { |
403 | item.sfczr = "0"; | 408 | item.sfczr = "0"; | ... | ... |
-
Please register or sign in to post a comment