ff9da1c6 by renchao@pashanhoo.com

style:权利人信息模块功能的完善

1 parent 2f882a79
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-11 08:58:31
* @LastEditTime: 2023-08-14 11:16:12
-->
<template>
<div class="container">
......@@ -12,8 +12,7 @@
<li
@click="operation(item)"
v-for="(item, index) in leftButtonList"
:key="index"
>
:key="index">
<svg-icon class="icon" :icon-class="item.icon" />
<span class="iconName">{{ item.name }}</span>
</li>
......@@ -22,17 +21,11 @@
<li
@click="operation(item)"
v-for="(item, index) in rightButtonList"
:key="index"
>
:key="index">
<svg-icon class="icon" :icon-class="item.icon" />
<span class="iconName">{{ item.name }}</span>
</li>
</ul>
<!-- <NoticeBar
class="NoticeBar"
:noticeList="noticeList"
v-if="noticeList.length > 0"
/> -->
</div>
<!-- 内容框架 -->
<div class="containerFrame">
......@@ -52,22 +45,19 @@
<el-tabs
v-model="tabName"
:before-leave="beforeLeave"
@tab-click="handleClick"
>
@tab-click="handleClick">
<el-tab-pane
:label="item.name"
:name="item.value"
v-for="item in tabList"
:key="item.value"
>
:key="item.value">
</el-tab-pane>
</el-tabs>
<component
:key="fresh"
:is="componentTag"
v-bind="currentSelectProps"
/>
v-bind="currentSelectProps" />
</div>
</div>
</div>
......@@ -76,26 +66,26 @@
</div>
</template>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "./workFrame.scss";
@import "~@/styles/mixin.scss";
@import "./workFrame.scss";
</style>
<script>
import WorkFlow from "./mixin/index";
import { getForm } from "./flowform";
import { getStepFormInfo } from "@/api/workFlow.js";
import NoticeBar from "@/components/NoticeBar/index";
// import ProcessViewer from "./components/processViewer.vue";
import WorkFlow from "./mixin/index";
import { getForm } from "./flowform";
import { getStepFormInfo } from "@/api/workFlow.js";
import NoticeBar from "@/components/NoticeBar/index";
// import ProcessViewer from "./components/processViewer.vue";
import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue";
import qllxDailog from "./djbBook/components/qllxDailog";
import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue";
import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js";
// 登记簿数据信息
import { addRepairRecord } from "@/api/djbRepair.js";
// 获取权利类型数组
import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue";
import qllxDailog from "./djbBook/components/qllxDailog";
import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue";
import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js";
// 登记簿数据信息
import { addRepairRecord } from "@/api/djbRepair.js";
// 获取权利类型数组
import { getBdcqljqtsx } from "@/api/djbDetail.js";
export default {
import { getBdcqljqtsx } from "@/api/djbDetail.js";
export default {
components: {
selectBdc,
NoticeBar,
......@@ -103,7 +93,7 @@ export default {
qllxDailog,
},
mixins: [WorkFlow],
data() {
data () {
return {
bsmSlsq: this.$route.query.bsmSlsq,
//当前流程所在环节
......@@ -139,7 +129,7 @@ export default {
ableOperation: false,
};
},
mounted() {
mounted () {
// this.getleftMenubl()
},
......@@ -149,7 +139,7 @@ export default {
* @param {*} qllx
* @author: renchao
*/
stepForm(qllx) {
stepForm (qllx) {
this.oneSelectProps.qllx = qllx;
if (this.$refs.Menu.supplementarylist.length) {
getStepFormInfo(this.oneSelectProps).then((res) => {
......@@ -179,7 +169,7 @@ export default {
* @param {*} val
* @author: renchao
*/
getCurrentSelectProps(val) {
getCurrentSelectProps (val) {
this.bsmRepair = val.bsmRepair;
if (val.bdcdyid) {
this.oneSelectProps = val;
......@@ -200,7 +190,7 @@ export default {
* @description: 获取渲染登记簿列表
* @author: renchao
*/
getdjblist() {
getdjblist () {
getBdcqljqtsx({
bdcdyid: this.currentSelectProps.bdcdyid,
bdcdyh: this.currentSelectProps.bdcdyh,
......@@ -234,7 +224,7 @@ export default {
* @param {*} handleClick
* @author: renchao
*/
handleClick(a) {
handleClick (a) {
let p = Object.keys(this.tabList[0]).filter(
(item) => item == "ableOperation"
);
......@@ -250,7 +240,7 @@ export default {
* @author: renchao
*/
beforeLeave(activeName) {
beforeLeave (activeName) {
if (activeName && activeName != 0) this.getFromRouter(activeName);
},
//切换选项卡内容组件
......@@ -259,7 +249,7 @@ export default {
* @param {*} tabname
* @author: renchao
*/
getFromRouter(tabname) {
getFromRouter (tabname) {
this.componentTag = getForm(tabname);
},
changeywh () {
......@@ -272,7 +262,7 @@ export default {
* @param {*} del
* @author: renchao
*/
addRepairRecord(row, del) {
addRepairRecord (row, del) {
let from = {
bsmQlxx: "",
bsmSlsq: this.bsmSlsq,
......@@ -324,13 +314,13 @@ export default {
// this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true)
// }
},
};
};
</script>
<style scoped lang="scss">
.rightContainer {
.rightContainer {
position: relative;
}
.count {
}
.count {
font-size: 14px;
position: absolute;
right: 25px;
......@@ -340,5 +330,5 @@ export default {
font-weight: 600;
color: #3498db;
}
}
}
</style>
......
......@@ -132,14 +132,11 @@
* @author: renchao
*/
getCurrentSelectProps (val) {
console.log(val, 'valvalvalval');
this.currentSelectProps = val
getZdInfo(val.bdcdyid).then(res => {
this.bsmZd = res?.result[0]?.bsmZd
})
// getZdInfo(val.bdcdyid).then(res => {
// this.bsmZd = res?.result[0]?.bsmZd
// })
},
/**
* @description: beforeunloadHandler
......
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 2023-08-14 10:58:48
* @LastEditTime: 2023-08-14 11:23:50
-->
<template>
<div class="slxx">
......@@ -117,14 +117,14 @@
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="5">
<!-- <el-col :span="5">
<el-form-item label="发证方式:">
<el-radio-group v-model="ruleForm.slsq.fzfs" :disabled="!ableOperation">
<el-radio label="1">小证</el-radio>
<el-radio label="2">大证</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-col> -->
<el-col :span="5" v-show="ruleForm.sldy.gyfs != '0'">
<el-form-item label="是否分别持证:">
<el-radio-group
......@@ -253,7 +253,6 @@
}
},
methods: {
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
......@@ -261,10 +260,8 @@
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
......@@ -272,6 +269,8 @@
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
/**
* @description: showCZInfo
......
......@@ -320,7 +320,7 @@
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
......@@ -331,6 +331,7 @@
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
this.czrOptions = this.ruleForm.qlrList;
},
/**
* @description: 更新权利人信息
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-08-14 10:27:21
* @LastEditTime: 2023-08-14 12:48:45
-->
<template>
<div class="slxx">
......@@ -359,7 +359,6 @@
}
});
},
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
......@@ -367,10 +366,8 @@
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
......@@ -378,6 +375,8 @@
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
// 更新权利人信息
/**
......
......@@ -265,7 +265,6 @@
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
/**
......@@ -275,6 +274,8 @@
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
this.czrOptions = this.ruleForm.qlrList;
this.key++
},
/**
* @description: onSubmit
......
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 2023-08-14 11:11:09
* @LastEditTime: 2023-08-14 12:49:48
-->
<template>
<div class="slxx">
......@@ -306,7 +306,6 @@
};
},
methods: {
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
......@@ -314,8 +313,6 @@
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
// 更新权利人信息
/**
......@@ -325,6 +322,8 @@
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
// 更新权利人信息
/**
......
......@@ -319,7 +319,6 @@
});
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
......@@ -328,6 +327,7 @@
upDateQlrxxList (val) {
if (!_.isEqual(val, this.ruleForm.qlrList)) {
this.ruleForm.qlrList = _.cloneDeep(val);
this.czrOptions = this.ruleForm.qlrList
}
},
// 更新义务人信息
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-04 09:54:32
* @LastEditTime: 2023-08-14 11:21:48
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -50,8 +50,8 @@ class data extends filter {
},
{
prop: "qllxmc",
width: '100',
showOverflowTooltip: true,
width: '100',
label: "权利类型",
},
{
......