93385dc2 by xiaomiao

--no commit message

1 parent 0a75f0ce
......@@ -13,7 +13,7 @@
ref="ruleForm"
:label-position="flag ? 'top' : ''"
:inline="flag"
label-width="127px"
label-width="145px"
>
<div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
<div class="slxx_title title-block">
......@@ -39,9 +39,37 @@
</el-row>
<div class="slxx_title title-block">
查封不动产情况
<div>请选择查封不动产信息,请选择上手权利信息</div>
<div class="triangle"></div>
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="抵押不动产信息:">
<select-table v-model="ruleForm.ztQlxx" :table-width="550" :tableData="ztQlxxList"
:props="props" @change="ztQlxxchange">
<el-table-column prop="qllxmc" width="130" label="权利类型"></el-table-column>
<el-table-column prop="bdcqzh" width="160" label="不动产权证书"></el-table-column>
<el-table-column prop="qlrmc" label="权利人"></el-table-column>
<el-table-column prop="mjmc" label="面积"></el-table-column>
<el-table-column prop="ytmc" label="用途"></el-table-column>
<el-table-column prop="zl" label="坐落"></el-table-column>
</select-table>
</el-form-item>
</el-col>
<el-col :span="8" v-if="ssqlxxshow">
<el-form-item label="上手权利信息:">
<select-table v-model="ruleForm.ssQlxx" :table-width="550" :tableData="ssQlxxList"
:props="props" @change="ssQlxxchange">
<el-table-column prop="qllxmc" width="130" label="权利类型"></el-table-column>
<el-table-column prop="bdcqzh" width="160" label="不动产权证书"></el-table-column>
<el-table-column prop="qlrmc" label="权利人"></el-table-column>
<el-table-column prop="mjmc" label="面积"></el-table-column>
<el-table-column prop="ytmc" label="用途"></el-table-column>
<el-table-column prop="zl" label="坐落"></el-table-column>
</select-table>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
<el-col :span="8">
<el-form-item label="权利人:">
......@@ -94,7 +122,7 @@
</el-col>
</el-row>
<div class="slxx_title title-block">
房地产权(独幢、层、套、间房屋)
查封登记信息
<div class="triangle"></div>
</div>
<el-row :gutter="10">
......@@ -115,14 +143,14 @@
</el-col>
</el-row>
<el-row :gutter="10">
<!-- <el-col :span="8">
<el-col :span="8">
<el-form-item label="权利类型:">
<el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="登记类型:">
<el-select v-model="ruleForm.qlxx.djlx">
<el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
<el-option
v-for="item in dictData['A21']"
:key="item.dcode"
......@@ -141,7 +169,7 @@
<el-form-item label="不动产权证号:">
<el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
</el-form-item>
</el-col> -->
</el-col>
<el-col :span="8">
<el-form-item label="登记机构:">
<el-input v-model="ruleForm.qlxx.djjg"></el-input>
......@@ -263,18 +291,6 @@
:gyfs="ruleForm.qlxx.gyfs"
/>
<div>
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div>
</div>
<ywrCommonTable
v-if="ruleForm.ywrData"
:tableData="ruleForm.ywrData"
:key="key"
@upDateQlrxxList="upDateYwrxxList"
/>
</div>
</div>
<el-row class="btn">
<el-form-item>
......@@ -286,12 +302,13 @@
</template>
<script>
import { mapGetters } from "vuex";
import { init, save } from "@/api/djbbl.js";
import { init,getSsQlxx, getZtQlxx, save } from "@/api/djbbl.js";
import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
import tdytTable from "@/views/workflow/components/tdytTable";
import selectTable from "@/components/selectTable/index.vue";
export default {
components: { qlrCommonTable, ywrCommonTable, tdytTable },
components: { qlrCommonTable, ywrCommonTable, tdytTable,selectTable },
computed: {
...mapGetters(["dictData", "flag"]),
},
......@@ -301,11 +318,18 @@ export default {
propsParam: this.$attrs,
key: 0,
isShow: false,
ssqlxxshow:true,
disabled: true,
czrOptions: [],
ruleForm: {},
//传递参数\
rules: {},
props: {
label: "bdcqzh",
value: "bdcdyid"
},
ssQlxxList: [],
ztQlxxList: [],
};
},
created() {
......@@ -313,28 +337,53 @@ export default {
},
mounted() {},
methods: {
ztQlxxchange (val) {
this.ruleForm.ztQlxx = val
},
ssQlxxchange (val) {
this.ruleForm.ssQlxx = val
},
djlxchange(val){
if(val==null||val==100){
this.ssqlxxshow=false
}else{
this.ssqlxxshow=true
}
},
loadData() {
console.log("查封登记", this.propsParam);
this.propsParam.isEdit = this.$parent.isEdit;
init(this.propsParam).then((res) => {
if (res.code == 200) {
this.ruleForm = res.result;
console.log("this.ruleForm", this.ruleForm);
this.isShow = true;
let djlx= this.ruleForm.qlxx.djlx
if(djlx==null||djlx==100){
this.ssqlxxshow=false
}
}
});
//获取主体信息
getSsQlxx({ bdcdyid: this.propsParam.bdcdyid, qllx: this.propsParam.qllx }).then((res) => {
if (res.code == 200) {
this.ssQlxxList = res.result;
}
});
//获取上手信息
getZtQlxx({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
if (res.code == 200) {
this.ztQlxxList = res.result;
}
});
},
// 更新土地用途信息
upDateTdytxxList(val) {
console.log("VAL", val);
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
// 更新权利人信息
upDateQlrxxList(val) {
console.log("val", val);
this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
console.log("this.ruleForm.qlrData", this.ruleForm.qlrData);
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
......@@ -344,7 +393,6 @@ export default {
this.key++;
},
onSubmit() {
console.log("this.ruleForm大信息", this.ruleForm);
if (this.ruleForm.qlrData.length == 0) {
this.$message({
showClose: true,
......
......@@ -38,6 +38,8 @@
</el-row>
<div class="slxx_title title-block">
抵押不动产情况
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="抵押不动产信息:">
......@@ -53,7 +55,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="8" v-if="ssqlxxshow">
<el-form-item label="上手权利信息:">
<select-table v-model="ruleForm.ssQlxx" :table-width="550" :tableData="ssQlxxList"
:props="props" @change="ssQlxxchange">
......@@ -67,8 +69,7 @@
</el-form-item>
</el-col>
</el-row>
<div class="triangle"></div>
</div>
<el-row :gutter="10" v-if="ruleForm.ztQlxx!=null">
<el-col :span="8">
<el-form-item label="权利人:">
......@@ -149,7 +150,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="登记类型:">
<el-select v-model="ruleForm.qlxx.djlx">
<el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
<el-option
v-for="item in djlxlist"
:key="item.dcode"
......@@ -403,7 +404,7 @@
:key="key"
:gyfs="ruleForm.qlxx.gyfs" />
<div>
<div v-if="ruleForm.ywrData && ruleForm.ywrData.length > 0">
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div>
......@@ -412,7 +413,8 @@
v-if="ruleForm.ywrData"
:tableData="ruleForm.ywrData"
:key="key"
@upDateQlrxxList="upDateYwrxxList" />
@upDateQlrxxList="upDateYwrxxList"
/>
</div>
</div>
<el-row class="btn">
......@@ -446,6 +448,7 @@
key: 0,
isShow: false,
disabled: true,
ssqlxxshow:true,
czrOptions: [],
ruleForm: {},
//传递参数
......@@ -496,6 +499,7 @@
created () {
this.loadData();
},
methods: {
ztQlxxchange (val) {
this.ruleForm.ztQlxx = val
......@@ -503,12 +507,26 @@
ssQlxxchange (val) {
this.ruleForm.ssQlxx = val
},
djlxchange(val){
if(val==null||val==100){
this.ssqlxxshow=false
}else{
this.ssqlxxshow=true
}
},
loadData () {
this.propsParam.isEdit = this.$parent.isEdit;
init(this.propsParam).then((res) => {
if (res.code == 200) {
this.ruleForm = res.result;
this.isShow = true;
let djlx= this.ruleForm.qlxx.djlx
if(djlx==null||djlx==100){
this.ssqlxxshow=false
}
}
});
//获取主体信息
......@@ -532,7 +550,6 @@
// 更新权利人信息
upDateQlrxxList (val) {
this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
console.log("this.ruleForm.qlrData", this.ruleForm.qlrData);
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
......
......@@ -13,7 +13,7 @@
ref="ruleForm"
:label-position="flag ? 'top' : ''"
:inline="flag"
label-width="127px">
label-width="145px">
<div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
<div class="slxx_title title-block">
补录信息
......@@ -37,7 +37,7 @@
</el-col>
</el-row>
<div class="slxx_title title-block">
房地产权(独幢、层、套、间房屋)
地役权信息
<div class="triangle"></div>
</div>
<el-row :gutter="10">
......@@ -303,27 +303,22 @@
mounted () { },
methods: {
loadData () {
console.log("地役权", this.propsParam);
this.propsParam.isEdit=this.$parent.isEdit
init(this.propsParam).then((res) => {
if (res.code == 200) {
this.ruleForm = res.result;
console.log("this.ruleForm", this.ruleForm);
this.isShow = true;
}
});
},
// 更新土地用途信息
upDateTdytxxList (val) {
console.log("VAL", val);
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
// 更新权利人信息
upDateQlrxxList (val) {
console.log("val", val);
this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
console.log("this.ruleForm.qlrData", this.ruleForm.qlrData);
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
......@@ -333,7 +328,6 @@
this.key++;
},
onSubmit () {
console.log("this.ruleForm大信息", this.ruleForm);
if (this.ruleForm.qlrData.length == 0) {
this.$message({
showClose: true,
......
......@@ -13,7 +13,7 @@
ref="ruleForm"
:label-position="flag ? 'top' : ''"
:inline="flag"
label-width="127px"
label-width="145px"
>
<div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
<div class="slxx_title title-block">
......@@ -314,14 +314,14 @@
:gyfs="ruleForm.qlxx.gyfs"
/>
<div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0">
<div v-if="ruleForm.ywrData && ruleForm.ywrData.length > 0">
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div>
</div>
<qlrCommonTable
v-if="ruleForm.ywrList"
:tableData="ruleForm.ywrList"
v-if="ruleForm.ywrData"
:tableData="ruleForm.ywrData"
:key="key"
@upDateQlrxxList="upDateYwrxxList"
/>
......@@ -419,7 +419,7 @@ export default {
},
// 更新义务人信息
upDateYwrxxList(val) {
this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val));
this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
this.key++;
},
onSubmit() {
......
......@@ -13,7 +13,7 @@
ref="ruleForm"
:label-position="flag ? 'top' : ''"
:inline="flag"
label-width="127px"
label-width="145px"
>
<div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
<div class="slxx_title title-block">
......@@ -238,14 +238,14 @@
:gyfs="ruleForm.qlxx.gyfs"
/>
<div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0">
<div v-if="ruleForm.ywrData && ruleForm.ywrData.length > 0">
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div>
</div>
<qlrCommonTable
v-if="ruleForm.ywrList"
:tableData="ruleForm.ywrList"
<ywrCommonTable
v-if="ruleForm.ywrData"
:tableData="ruleForm.ywrData"
:key="key"
@upDateQlrxxList="upDateYwrxxList"
:viewtype="$route.query.viewtype"
......@@ -327,32 +327,27 @@ export default {
}else{
this.tdxz=null
}
console.log("this.ruleForm", this.ruleForm);
this.isShow = true;
}
});
},
// 更新土地用途信息
upDateTdytxxList(val) {
console.log("VAL", val);
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
// 更新权利人信息
upDateQlrxxList(val) {
console.log("val", val);
this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
console.log("this.ruleForm.qlrData", this.ruleForm.qlrData);
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
// 更新义务人信息
upDateYwrxxList(val) {
this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val));
this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
this.key++;
},
onSubmit() {
console.log("this.ruleForm大信息", this.ruleForm);
if (this.ruleForm.qlrData.length == 0) {
this.$message({
showClose: true,
......
......@@ -13,7 +13,7 @@
ref="ruleForm"
:label-position="flag ? 'top' : ''"
:inline="flag"
label-width="127px"
label-width="145px"
>
<div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
<div class="slxx_title title-block">
......@@ -38,7 +38,7 @@
</el-col>
</el-row>
<div class="slxx_title title-block">
预告买卖登记信息
预告登记信息
<div class="triangle"></div>
</div>
<el-row :gutter="10">
......@@ -277,7 +277,7 @@
:gyfs="ruleForm.qlxx.gyfs"
/>
<div>
<div v-if="ruleForm.ywrData && ruleForm.ywrData.length > 0">
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div>
......@@ -344,22 +344,18 @@ export default {
init(this.propsParam).then((res) => {
if (res.code == 200) {
this.ruleForm = res.result;
console.log("this.ruleForm", this.ruleForm);
this.isShow = true;
}
});
},
// 更新土地用途信息
upDateTdytxxList(val) {
console.log("VAL", val);
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
// 更新权利人信息
upDateQlrxxList(val) {
console.log("val", val);
this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
console.log("this.ruleForm.qlrData", this.ruleForm.qlrData);
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
......@@ -369,7 +365,6 @@ export default {
this.key++;
},
onSubmit() {
console.log("this.ruleForm大信息", this.ruleForm);
if (this.ruleForm.qlrData.length == 0) {
this.$message({
showClose: true,
......
......@@ -13,7 +13,7 @@
ref="ruleForm"
:label-position="flag ? 'top' : ''"
:inline="flag"
label-width="127px"
label-width="145px"
>
<div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
<div class="slxx_title title-block">
......@@ -38,7 +38,7 @@
</el-col>
</el-row>
<div class="slxx_title title-block">
房地产权(独幢、层、套、间房屋)
异议登记信息
<div class="triangle"></div>
</div>
<el-row :gutter="10">
......@@ -189,8 +189,7 @@
:key="key"
:gyfs="ruleForm.qlxx.gyfs"
/>
<div>
<div v-if="ruleForm.ywrData && ruleForm.ywrData.length > 0">
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div>
......@@ -257,22 +256,18 @@ export default {
init(this.propsParam).then((res) => {
if (res.code == 200) {
this.ruleForm = res.result;
console.log("this.ruleForm", this.ruleForm);
this.isShow = true;
}
});
},
// 更新土地用途信息
upDateTdytxxList(val) {
console.log("VAL", val);
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
// 更新权利人信息
upDateQlrxxList(val) {
console.log("val", val);
this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
console.log("this.ruleForm.qlrData", this.ruleForm.qlrData);
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
......@@ -282,7 +277,6 @@ export default {
this.key++;
},
onSubmit() {
console.log("this.ruleForm大信息", this.ruleForm);
if (this.ruleForm.qlrData.length == 0) {
this.$message({
showClose: true,
......
......@@ -101,7 +101,7 @@
getSpyjList(formdata).then((res) => {
this.$endLoading()
if (res.code === 200 && res.result) {
console.log("this.tableData this.tableData this.tableData ",this.tableData );
this.tableData = res.result ? res.result : []
console.log("this.tableDatathis.tableDatathis.tableDatathis.tableData",this.tableData);
if (res.result.length == 0) {
......
......@@ -131,6 +131,7 @@ export default {
},
]);
if( that.tableDataList.length>0){
console.log("that.tableDataList",that.tableDataList);
this.tdyt=that.tableDataList[0].yt?that.tableDataList[0].yt:null
}else{
this.tdyt=null
......@@ -138,6 +139,7 @@ export default {
} else {
that.tableDataList = _.cloneDeep(val);
if( that.tableDataList.length>0){
console.log("that.tableDataList",that.tableDataList);
this.tdyt=that.tableDataList[0].yt?that.tableDataList[0].yt:null
}else{
this.tdyt=null
......