39c11b72 by renchao@pashanhoo.com

style:业务申请状态方法的提取

1 parent b5408fce
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-25 17:05:49
* @LastEditTime: 2023-07-14 16:24:26
*/
import store from '@/store'
// table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器
......@@ -44,4 +44,29 @@ export default class filter {
getDictData (val) {
return store.getters.dictData[val]
}
// 状态
yWstatus (row) {
let text = "";
// 定义策略对象
const strategies = {
djblzt: "正在办理",
zjgcdyzt: ",在建工程抵押",
ycfzt: ",已预查封",
cfzt: ",已查封",
diyizt: ",已地役",
yyzt: ",异议中",
xzzt: ",已限制",
ygmmzt: ",已预告买卖",
ygdyzt: ",已预告抵押",
dyzt: ",已抵押"
};
for (let key in row) {
if (row[key] === 1 && strategies[key]) {
text += strategies[key];
}
}
return text;
}
}
\ No newline at end of file
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:36:52
* @LastEditTime: 2023-07-14 16:59:26
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -38,8 +38,8 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
{/* <a v-on:click="doSomething"></a> */}
<a style='color:#3498db;' v-show={scope.row.qlblzt == 1} >正在办理</a>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
</div>
)
}
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:36:58
* @LastEditTime: 2023-07-14 16:59:31
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -38,8 +38,9 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
{/* <a v-on:click="doSomething"></a> */}
<a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
{/* <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>
......@@ -49,7 +50,7 @@ class data extends filter {
<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>
<span v-show={scope.row.dyzt == 1}>,已抵押</span> */}
</div>
)
}
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:37:01
* @LastEditTime: 2023-07-14 16:59:35
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -38,8 +38,9 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
{/* <a v-on:click="doSomething"></a> */}
<a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
{/* <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>
......@@ -49,7 +50,7 @@ class data extends filter {
<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>
<span v-show={scope.row.dyzt == 1}>,已抵押</span> */}
</div>
)
}
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:37:05
* @LastEditTime: 2023-07-14 16:59:38
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -37,8 +37,9 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
{/* <a v-on:click="doSomething"></a> */}
<a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
{/* <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>
......@@ -48,7 +49,7 @@ class data extends filter {
<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>
<span v-show={scope.row.dyzt == 1}>,已抵押</span> */}
</div>
)
}
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:37:14
* @LastEditTime: 2023-07-14 16:59:43
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -38,8 +38,9 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
{/* <a v-on:click="doSomething"></a> */}
<a icon="el-icon-discover" style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
{/* <a icon="el-icon-discover" style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<span icon="el-icon-discover" v-show={scope.row.zjgcdyzt == 1}>在建工程抵押</span>
<span icon="el-icon-discover" v-show={scope.row.ycfzt == 1}>,已预查封</span>
<span icon="el-icon-discover" v-show={scope.row.ycfzt == 1}>,已预查封</span>
......@@ -49,7 +50,7 @@ class data extends filter {
<span icon="el-icon-discover" v-show={scope.row.xzzt == 1}>,已限制</span>
<span icon="el-icon-discover" v-show={scope.row.ygmmzt == 1}>,已预告买卖</span>
<span icon="el-icon-discover" v-show={scope.row.ygdyzt == 1}>,已预告抵押</span>
<span icon="el-icon-discover" v-show={scope.row.dyzt == 1}>,已抵押</span>
<span icon="el-icon-discover" v-show={scope.row.dyzt == 1}>,已抵押</span> */}
</div>
)
}
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:37:18
* @LastEditTime: 2023-07-14 16:59:46
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -38,18 +38,8 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
{/* <a v-on:click="doSomething"></a> */}
<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>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
</div>
)
}
......
......@@ -33,9 +33,8 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
{/* <a v-on:click="doSomething"></a> */}
<a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<span v-show={scope.row.sfbl == 1}>,正在补录</span>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
</div>
)
}
......@@ -68,7 +67,7 @@ class data extends filter {
)
}
},
{
prop: "qllxmc",
label: "权利类型",
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:37:22
* @LastEditTime: 2023-07-14 16:59:53
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -37,8 +37,9 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
{/* <a v-on:click="doSomething"></a> */}
<a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
{/* <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>
......@@ -48,7 +49,7 @@ class data extends filter {
<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>
<span v-show={scope.row.dyzt == 1}>,已抵押</span> */}
</div>
)
}
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-26 14:02:59
* @LastEditTime: 2023-07-14 16:59:57
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -36,8 +36,9 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
{/* <a v-on:click="doSomething"></a> */}
<a style='color:#3498db;' v-show={scope.row.zt == 1} >正在办理</a>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
{/* <a style='color:#3498db;' v-show={scope.row.zt == 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>
......@@ -47,16 +48,16 @@ class data extends filter {
<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>
<span v-show={scope.row.dyzt == 1}>,已抵押</span> */}
</div>
)
}
},
},
{
label: "测绘类型",
render: (h, scope) => {
return (
<div>
<div>
<span v-show={scope.row.scyclx == 0}>预测</span>
<span v-show={scope.row.scyclx == 1}>实测</span>
</div>
......@@ -78,7 +79,7 @@ class data extends filter {
{
prop: "showFwyt",
label: "房屋用途",
},
},
{
prop: "szc",
label: "所在层",
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:37:24
*/
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-14 17:00:00
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -38,7 +38,9 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
{/* <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>
......@@ -48,7 +50,7 @@ class data extends filter {
<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>
<span v-show={scope.row.dyzt == 1}>,已抵押</span> */}
</div>
)
}
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-15 16:23:57
* @LastEditTime: 2023-07-14 17:00:04
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -33,7 +33,9 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
{/* <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>
......@@ -43,7 +45,7 @@ class data extends filter {
<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>
<span v-show={scope.row.dyzt == 1}>,已抵押</span> */}
</div>
)
}
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-26 13:57:47
* @LastEditTime: 2023-07-14 17:00:07
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -37,8 +37,9 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
{/* <a v-on:click="doSomething"></a> */}
<a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
{/* <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>
......@@ -48,7 +49,7 @@ class data extends filter {
<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>
<span v-show={scope.row.dyzt == 1}>,已抵押</span> */}
</div>
)
}
......
/*
* @Description: 土地所有权对象处理
* @Autor: ssq
* @LastEditTime: 2023年06月28日 11:08:58
*/
/*
* @Description: 土地所有权对象处理
* @Autor: ssq
* @LastEditTime: 2023-07-14 17:00:11
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -38,7 +38,9 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
{/* <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>
......@@ -48,7 +50,7 @@ class data extends filter {
<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>
<span v-show={scope.row.dyzt == 1}>,已抵押</span> */}
</div>
)
}
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:37:39
* @LastEditTime: 2023-07-14 17:00:15
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -38,8 +38,9 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
{/* <a v-on:click="doSomething"></a> */}
<a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
{/* <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>
......@@ -49,7 +50,7 @@ class data extends filter {
<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>
<span v-show={scope.row.dyzt == 1}>,已抵押</span> */}
</div>
)
}
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:37:47
* @LastEditTime: 2023-07-14 17:00:21
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -38,8 +38,9 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
{/* <a v-on:click="doSomething"></a> */}
<a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
{/* <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>
......@@ -49,7 +50,7 @@ class data extends filter {
<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>
<span v-show={scope.row.dyzt == 1}>,已抵押</span> */}
</div>
)
}
......