0a835006 by renchao@pashanhoo.com

style:抵押

1 parent 67e2ce22
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-07 09:51:38
* @LastEditTime: 2023-09-11 09:53:42
-->
<template>
<div class="from-clues">
......@@ -70,17 +70,10 @@
label="状态"
width="100">
<template slot-scope="scope">
<a style='color:#3498db;' v-show="scope.row.djblzt==1">正在办理</a>
<span v-show="scope.row.zjgcdyzt==1">,在建工程抵押</span>
<span v-show="scope.row.ycfzt==1">,已预查封</span>
<span v-show="scope.row.ycfzt==1">,已预查封</span>
<span v-show="scope.row.cfzt==1">,已查封</span>
<span v-show="scope.row.diyizt==1">,已地役</span>
<span v-show="scope.row.yyzt==1">,异议中</span>
<span v-show="scope.row.xzzt==1">,已限制</span>
<span v-show="scope.row.ygmmzt==1">,已预告买卖</span>
<span v-show="scope.row.ygdyzt==1">,已预告抵押</span>
<span v-show="scope.row.dyzt==1">,已抵押</span>
<div>
<a style='color:#3498db;' v-show="scope.row.djblzt==1">{{yWstatus(scope.row)}}</a>
<span v-show="scope.row.djblzt !=1">{{yWstatus(scope.row)}}</span>
</div>
</template>
</el-table-column>
<el-table-column
......@@ -180,7 +173,7 @@
import { ywPopupDialog } from "@/utils/popup.js";
import { datas, sendThis } from "../javascript/selectFwbjDybgSplitMerge.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectFwsyq } from "@/api/ywsq.js";
import { selectFwsyq, selectDiyaq } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
export default {
mixins: [table, jump],
......@@ -207,6 +200,37 @@
sendThis(this)
},
methods: {
yWstatus (row) {
let text = "";
let keys = 0;
// 定义策略对象
const strategies = {
djblzt: "正在办理",
zjgcdyzt: "在建工程抵押",
ycfzt: "已预查封",
cfzt: "已查封",
diyizt: "已地役",
yyzt: "异议中",
xzzt: "已限制",
ygmmzt: "已预告买卖",
ygdyzt: "已预告抵押",
dyzt: "已抵押",
sfbl: "正在补录"
};
for (let key in row) {
if (row[key] === 1 && strategies[key]) {
keys++;
if (keys == 1) {
text += strategies[key];
} else {
text += ',' + strategies[key];
}
}
}
return text;
},
/**
* @description: clickChange
* @param {*} row
......@@ -222,12 +246,11 @@
getCurrentRow (row) {
this.radioVal = row.bdcdyh;
this.bdcdysz = [row]
selectFwsyq({ bdcdyh: this.radioVal, currentPage: 1, pageSize: 10, sqywbm: this.sqywInfo.djywbm }).then((res) => {
selectDiyaq({ bdcdyh: this.radioVal, currentPage: 1, pageSize: 10 }).then((res) => {
if (res.code === 200) {
this.tableData.dataList = res.result.records
this.bdcdysz = [this.bdcdysz[0], ...this.tableData.dataList]
}
console.log(this.bdcdysz, 'this.bdcdysz');
})
},
/**
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-07 10:13:50
* @LastEditTime: 2023-09-11 09:54:24
-->
<template>
<div class="from-clues">
......@@ -69,17 +69,10 @@
label="状态"
width="100">
<template slot-scope="scope">
<a style='color:#3498db;' v-show="scope.row.djblzt==1">正在办理</a>
<span v-show="scope.row.zjgcdyzt==1">,在建工程抵押</span>
<span v-show="scope.row.ycfzt==1">,已预查封</span>
<span v-show="scope.row.ycfzt==1">,已预查封</span>
<span v-show="scope.row.cfzt==1">,已查封</span>
<span v-show="scope.row.diyizt==1">,已地役</span>
<span v-show="scope.row.yyzt==1">,异议中</span>
<span v-show="scope.row.xzzt==1">,已限制</span>
<span v-show="scope.row.ygmmzt==1">,已预告买卖</span>
<span v-show="scope.row.ygdyzt==1">,已预告抵押</span>
<span v-show="scope.row.dyzt==1">,已抵押</span>
<div>
<a style='color:#3498db;' v-show="scope.row.djblzt==1">{{yWstatus(scope.row)}}</a>
<span v-show="scope.row.djblzt !=1">{{yWstatus(scope.row)}}</span>
</div>
</template>
</el-table-column>
<el-table-column
......@@ -188,7 +181,7 @@
import { ywPopupDialog } from "@/utils/popup.js";
import { datas, sendThis } from "../javascript/selectFwbjDybgSplitMerge.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectYgdj200 } from "@/api/ywsq.js";
import { selectYgdj200, selectDiyaq } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
export default {
mixins: [table, jump],
......@@ -215,6 +208,37 @@
sendThis(this)
},
methods: {
yWstatus (row) {
let text = "";
let keys = 0;
// 定义策略对象
const strategies = {
djblzt: "正在办理",
zjgcdyzt: "在建工程抵押",
ycfzt: "已预查封",
cfzt: "已查封",
diyizt: "已地役",
yyzt: "异议中",
xzzt: "已限制",
ygmmzt: "已预告买卖",
ygdyzt: "已预告抵押",
dyzt: "已抵押",
sfbl: "正在补录"
};
for (let key in row) {
if (row[key] === 1 && strategies[key]) {
keys++;
if (keys == 1) {
text += strategies[key];
} else {
text += ',' + strategies[key];
}
}
}
return text;
},
/**
* @description: clickChange
* @param {*} row
......@@ -230,7 +254,7 @@
getCurrentRow (row) {
this.radioVal = row.bdcdyh;
this.bdcdysz = [row]
selectYgdj200({ bdcdyh: this.radioVal, currentPage: 1, pageSize: 10, sqywbm: this.sqywInfo.djywbm }).then((res) => {
selectDiyaq({ bdcdyh: this.radioVal, currentPage: 1, pageSize: 10 }).then((res) => {
if (res.code === 200) {
this.tableData.dataList = res.result.records
this.bdcdysz = [this.bdcdysz[0], ...this.tableData.dataList]
......