style:权利人信息
Showing
7 changed files
with
72 additions
and
36 deletions
| 1 | /* | 1 | /* |
| 2 | * @Description: 企业银行接口 | 2 | * @Description: 企业银行接口 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-13 17:08:10 | 4 | * @LastEditTime: 2023-09-20 14:49:22 |
| 5 | */ | 5 | */ |
| 6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
| 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
| ... | @@ -108,4 +108,20 @@ export function editCompanyMaterialList (data, bsmCompany) { | ... | @@ -108,4 +108,20 @@ export function editCompanyMaterialList (data, bsmCompany) { |
| 108 | method: 'post', | 108 | method: 'post', |
| 109 | data | 109 | data |
| 110 | }) | 110 | }) |
| 111 | } | ||
| 112 | |||
| 113 | /** | ||
| 114 | * @description: 是否覆盖才材料信息 | ||
| 115 | * @author: renchao | ||
| 116 | */ | ||
| 117 | export function replace (bsmCompany, bsmSldy, bsmSlsq) { | ||
| 118 | return request({ | ||
| 119 | url: SERVER.SERVERAPI + '/rest/sys/company/replace', | ||
| 120 | method: 'get', | ||
| 121 | params: { | ||
| 122 | bsmCompany: bsmCompany, | ||
| 123 | bsmSldy: bsmSldy, | ||
| 124 | bsmSlsq: bsmSlsq | ||
| 125 | } | ||
| 126 | }) | ||
| 111 | } | 127 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
This diff is collapsed.
Click to expand it.
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-20 10:06:22 | 4 | * @LastEditTime: 2023-09-20 16:07:43 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <dialogBox | 7 | <dialogBox |
| ... | @@ -286,13 +286,12 @@ | ... | @@ -286,13 +286,12 @@ |
| 286 | </el-table-column> | 286 | </el-table-column> |
| 287 | <el-table-column label="操作" width="50"> | 287 | <el-table-column label="操作" width="50"> |
| 288 | <template slot-scope="scope"> | 288 | <template slot-scope="scope"> |
| 289 | <el-button type="text" @click="handlesQYSelect(scope.row)">使用</el-button> | 289 | <el-button type="text" @click="handleSelect(scope.row)">使用</el-button> |
| 290 | </template> | 290 | </template> |
| 291 | </el-table-column> | 291 | </el-table-column> |
| 292 | </el-table> | 292 | </el-table> |
| 293 | <el-pagination background layout="prev, pager, next,total" :total="tableDataQy.total" | 293 | <el-pagination background layout="prev, pager, next,total" :total="tableDataQy.total" |
| 294 | @current-change="handleQYCurrentChange"></el-pagination> | 294 | @current-change="handleQYCurrentChange"></el-pagination> |
| 295 | |||
| 296 | </div> | 295 | </div> |
| 297 | 296 | ||
| 298 | <div v-if="activeName==3" class="padding10"> | 297 | <div v-if="activeName==3" class="padding10"> |
| ... | @@ -327,7 +326,7 @@ | ... | @@ -327,7 +326,7 @@ |
| 327 | </el-table-column> | 326 | </el-table-column> |
| 328 | <el-table-column label="操作" width="50"> | 327 | <el-table-column label="操作" width="50"> |
| 329 | <template slot-scope="scope"> | 328 | <template slot-scope="scope"> |
| 330 | <el-button type="text" @click="handlesYHSelect(scope.row)">使用</el-button> | 329 | <el-button type="text" @click="handleSelect(scope.row)">使用</el-button> |
| 331 | </template> | 330 | </template> |
| 332 | </el-table-column> | 331 | </el-table-column> |
| 333 | </el-table> | 332 | </el-table> |
| ... | @@ -341,6 +340,7 @@ | ... | @@ -341,6 +340,7 @@ |
| 341 | import { mapGetters } from "vuex"; | 340 | import { mapGetters } from "vuex"; |
| 342 | import store from '@/store/index.js' | 341 | import store from '@/store/index.js' |
| 343 | import { getUuid } from "@/utils/operation.js" | 342 | import { getUuid } from "@/utils/operation.js" |
| 343 | import { replace } from "@/api/company.js" | ||
| 344 | import { getIdCardInfo } from '@/utils/operation.js' | 344 | import { getIdCardInfo } from '@/utils/operation.js' |
| 345 | import { queryQyByPage, queryYhByPage, addQy } from "@/api/xxba.js"; | 345 | import { queryQyByPage, queryYhByPage, addQy } from "@/api/xxba.js"; |
| 346 | import { dataYh, dataQy, sendThis } from "../../javascript/addQlrData"; | 346 | import { dataYh, dataQy, sendThis } from "../../javascript/addQlrData"; |
| ... | @@ -535,9 +535,31 @@ | ... | @@ -535,9 +535,31 @@ |
| 535 | * @param {*} val | 535 | * @param {*} val |
| 536 | * @author: renchao | 536 | * @author: renchao |
| 537 | */ | 537 | */ |
| 538 | handlesQYSelect (val) { | 538 | handleSelect (val) { |
| 539 | this.$emit("updateDetail", _.cloneDeep(val)); | 539 | let that = this |
| 540 | this.$emit("input", false); | 540 | let bsmSldy = window.currentSelect.bsmSldy ? window.currentSelect.bsmSldy : '' |
| 541 | this.$confirm('是否同步材料信息?', '提示', { | ||
| 542 | confirmButtonText: '确定', | ||
| 543 | cancelButtonText: '取消', | ||
| 544 | }).then(() => { | ||
| 545 | replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { | ||
| 546 | that.$emit("updateDetail", _.cloneDeep(val)); | ||
| 547 | that.$emit("input", false); | ||
| 548 | if (res.code == 200) { | ||
| 549 | that.$message({ | ||
| 550 | type: 'success', | ||
| 551 | message: '同步成功!' | ||
| 552 | }) | ||
| 553 | } else { | ||
| 554 | this.$message.error(res.message); | ||
| 555 | } | ||
| 556 | }) | ||
| 557 | }).catch(() => { | ||
| 558 | this.$message({ | ||
| 559 | type: 'info', | ||
| 560 | message: '已取消' | ||
| 561 | }) | ||
| 562 | }) | ||
| 541 | }, | 563 | }, |
| 542 | /** | 564 | /** |
| 543 | * @description: 银行信息搜索 | 565 | * @description: 银行信息搜索 |
| ... | @@ -570,15 +592,6 @@ | ... | @@ -570,15 +592,6 @@ |
| 570 | this.handleSearchQY() | 592 | this.handleSearchQY() |
| 571 | }, | 593 | }, |
| 572 | /** | 594 | /** |
| 573 | * @description: handlesYHSelect | ||
| 574 | * @param {*} val | ||
| 575 | * @author: renchao | ||
| 576 | */ | ||
| 577 | handlesYHSelect (val) { | ||
| 578 | this.$emit("updateDetail", _.cloneDeep(val)); | ||
| 579 | this.$emit("input", false); | ||
| 580 | }, | ||
| 581 | /** | ||
| 582 | * @description: 身份证打卡器 | 595 | * @description: 身份证打卡器 |
| 583 | * @author: renchao | 596 | * @author: renchao |
| 584 | */ | 597 | */ |
| ... | @@ -610,7 +623,9 @@ | ... | @@ -610,7 +623,9 @@ |
| 610 | */ | 623 | */ |
| 611 | closeDialog () { | 624 | closeDialog () { |
| 612 | this.$emit("input", false); | 625 | this.$emit("input", false); |
| 613 | this.$refs["ruleForm"].resetFields(); | 626 | this.$nextTick(() => { |
| 627 | this.$refs["ruleForm"].resetFields(); | ||
| 628 | }) | ||
| 614 | }, | 629 | }, |
| 615 | /** | 630 | /** |
| 616 | * @description: submitForm | 631 | * @description: submitForm | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-19 16:13:24 | 4 | * @LastEditTime: 2023-09-20 15:46:25 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
| ... | @@ -209,6 +209,7 @@ | ... | @@ -209,6 +209,7 @@ |
| 209 | * @author: renchao | 209 | * @author: renchao |
| 210 | */ | 210 | */ |
| 211 | batchUnitClick () { | 211 | batchUnitClick () { |
| 212 | window.currentSelect = {} | ||
| 212 | this.currentSelectProps.batchOperation = true; | 213 | this.currentSelectProps.batchOperation = true; |
| 213 | this.activeIndex = "-1"; | 214 | this.activeIndex = "-1"; |
| 214 | this.$parent.stepForm(0); | 215 | this.$parent.stepForm(0); |
| ... | @@ -230,6 +231,7 @@ | ... | @@ -230,6 +231,7 @@ |
| 230 | * @author: renchao | 231 | * @author: renchao |
| 231 | */ | 232 | */ |
| 232 | unitClick (index) { | 233 | unitClick (index) { |
| 234 | window.currentSelect = this.unitData[index] | ||
| 233 | if (this.unitData.length == 0) return | 235 | if (this.unitData.length == 0) return |
| 234 | this.currentSelectProps = this.unitData[index]; | 236 | this.currentSelectProps = this.unitData[index]; |
| 235 | this.currentSelectProps.batchOperation = false; | 237 | this.currentSelectProps.batchOperation = false; | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: workFrame左侧菜单列表-分割 | 2 | * @Description: workFrame左侧菜单列表-分割 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-19 16:15:15 | 4 | * @LastEditTime: 2023-09-20 15:33:05 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
| ... | @@ -218,6 +218,7 @@ | ... | @@ -218,6 +218,7 @@ |
| 218 | * @author: renchao | 218 | * @author: renchao |
| 219 | */ | 219 | */ |
| 220 | unitClick (index) { | 220 | unitClick (index) { |
| 221 | window.currentSelect = this.unitData[index] | ||
| 221 | this.activeHIndex = '-1' | 222 | this.activeHIndex = '-1' |
| 222 | this.currentSelectProps = this.aroundUnitData[index]; | 223 | this.currentSelectProps = this.aroundUnitData[index]; |
| 223 | this.currentSelectProps.issave = '1' | 224 | this.currentSelectProps.issave = '1' |
| ... | @@ -234,6 +235,7 @@ | ... | @@ -234,6 +235,7 @@ |
| 234 | * @author: renchao | 235 | * @author: renchao |
| 235 | */ | 236 | */ |
| 236 | handleAfterunitClick (index) { | 237 | handleAfterunitClick (index) { |
| 238 | window.currentSelect = this.unitData[index] | ||
| 237 | this.activeIndex = '-1' | 239 | this.activeIndex = '-1' |
| 238 | this.currentSelectProps = this.afterUnitData[index]; | 240 | this.currentSelectProps = this.afterUnitData[index]; |
| 239 | this.currentSelectProps.batchOperation = false; | 241 | this.currentSelectProps.batchOperation = false; | ... | ... |
| ... | @@ -204,7 +204,6 @@ | ... | @@ -204,7 +204,6 @@ |
| 204 | </el-radio-group> | 204 | </el-radio-group> |
| 205 | </el-form-item> | 205 | </el-form-item> |
| 206 | </el-col> | 206 | </el-col> |
| 207 | |||
| 208 | <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs != '0'"> | 207 | <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs != '0'"> |
| 209 | <el-form-item label="是否分别持证:"> | 208 | <el-form-item label="是否分别持证:"> |
| 210 | <el-radio-group | 209 | <el-radio-group |
| ... | @@ -373,7 +372,7 @@ | ... | @@ -373,7 +372,7 @@ |
| 373 | if (this.ruleForm.qlrList.length > 1) { | 372 | if (this.ruleForm.qlrList.length > 1) { |
| 374 | this.$message({ | 373 | this.$message({ |
| 375 | showClose: true, | 374 | showClose: true, |
| 376 | message: "共有方式:单独所有,权利人只能是一个人", | 375 | message: "共有方式:单独所有,抵押权人只能是一个人", |
| 377 | type: "error", | 376 | type: "error", |
| 378 | }); | 377 | }); |
| 379 | return false; | 378 | return false; |
| ... | @@ -384,7 +383,7 @@ | ... | @@ -384,7 +383,7 @@ |
| 384 | this.$message({ | 383 | this.$message({ |
| 385 | showClose: true, | 384 | showClose: true, |
| 386 | message: | 385 | message: |
| 387 | "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | 386 | "共有方式:共同所有,按份所有,其他所有,抵押权人必须是两个以上", |
| 388 | type: "error", | 387 | type: "error", |
| 389 | }); | 388 | }); |
| 390 | return false; | 389 | return false; |
| ... | @@ -439,7 +438,7 @@ | ... | @@ -439,7 +438,7 @@ |
| 439 | this.czr = ""; | 438 | this.czr = ""; |
| 440 | }, | 439 | }, |
| 441 | /** | 440 | /** |
| 442 | * @description: 更新权利人信息 | 441 | * @description: 更新抵押权人信息 |
| 443 | * @param {*} val | 442 | * @param {*} val |
| 444 | * @author: renchao | 443 | * @author: renchao |
| 445 | */ | 444 | */ | ... | ... |
| ... | @@ -143,17 +143,19 @@ | ... | @@ -143,17 +143,19 @@ |
| 143 | <el-row :gutter="10"> | 143 | <el-row :gutter="10"> |
| 144 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> | 144 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> |
| 145 | <el-form-item label="被担保主债权数额:"> | 145 | <el-form-item label="被担保主债权数额:"> |
| 146 | <el-input | 146 | <div style="display:flex"> |
| 147 | v-model="ruleForm.diyaq.bdbzzqse" | 147 | <el-input |
| 148 | :disabled="!viewEdit"></el-input> | 148 | v-model="ruleForm.diyaq.bdbzzqse" |
| 149 | <el-select v-model="ruleForm.diyaq.jedw" :disabled="!viewEdit"> | 149 | :disabled="!viewEdit"></el-input> |
| 150 | <el-option | 150 | <el-select style="width: 68px" v-model="ruleForm.diyaq.jedw" :disabled="!viewEdit"> |
| 151 | v-for="item in dictData['A57']" | 151 | <el-option |
| 152 | :key="item.dcode" | 152 | v-for="item in dictData['A57']" |
| 153 | :label="item.dname" | 153 | :key="item.dcode" |
| 154 | :value="item.dcode"> | 154 | :label="item.dname" |
| 155 | </el-option> | 155 | :value="item.dcode"> |
| 156 | </el-select> | 156 | </el-option> |
| 157 | </el-select> | ||
| 158 | </div> | ||
| 157 | </el-form-item> | 159 | </el-form-item> |
| 158 | </el-col> | 160 | </el-col> |
| 159 | 161 | ||
| ... | @@ -229,7 +231,7 @@ | ... | @@ -229,7 +231,7 @@ |
| 229 | <div class="triangle"></div> | 231 | <div class="triangle"></div> |
| 230 | </div> | 232 | </div> |
| 231 | <el-row :gutter="10"> | 233 | <el-row :gutter="10"> |
| 232 | <el-col :span="14"> | 234 | <el-col :span="12"> |
| 233 | <el-form-item label="共有方式:"> | 235 | <el-form-item label="共有方式:"> |
| 234 | <el-radio-group | 236 | <el-radio-group |
| 235 | :disabled="!viewEdit" | 237 | :disabled="!viewEdit" | ... | ... |
-
Please register or sign in to post a comment