8a8cc8a5 by tianhaohao@pashanhoo.com

修改家庭房产

1 parent fe28a277
......@@ -78,6 +78,27 @@ export function getNewDate(type = 1) {
}
}
// 获取当前时间
/**
* @description: 获取当前时间
* @param {*} type
* @author: renchao
*/
export function getDateToString(date,type) {
const now = new Date(date);
const year = now.getFullYear();
const month = String(now.getMonth() + 1).padStart(2, '0');
const day = String(now.getDate()).padStart(2, '0');
const hours = String(now.getHours()).padStart(2, '0');
const minutes = String(now.getMinutes()).padStart(2, '0');
const seconds = String(now.getSeconds()).padStart(2, '0');
if (type == 1) {
return `${year}${month}${day}日`
} else {
return `${year}${month}${day}${hours}${minutes}${seconds}秒`
}
}
export function getNewDatesh() {
const now = new Date();
const year = now.getFullYear();
......
......@@ -22,17 +22,17 @@ class data extends filter {
)
}
},
{
label: "查询类型",
render: (h, scope) => {
switch (scope.row.cxlx) {
case '1':
return <div>家庭房产</div>
case '2':
return <div>房屋明细</div>
}
}
},
// {
// label: "查询类型",
// render: (h, scope) => {
// switch (scope.row.cxlx) {
// case '1':
// return <div>家庭房产</div>
// case '2':
// return <div>房屋明细</div>
// }
// }
// },
{
prop: "cxbh",
label: "查询编号",
......@@ -52,6 +52,17 @@ class data extends filter {
{
prop: "ycqrgxmc",
label: "与产权人的关系",
render: (h, scope) => {
switch (scope.row.ycqrgx) {
case '1':
return <div>房屋权利人</div>
case '2':
return <div>产权利害关系人</div>
case '3':
return <div>委托人</div>
}
}
},
{
prop: "qlrxm",
......
......@@ -37,9 +37,9 @@ class data extends filter {
render: (h, scope) => {
switch (scope.row.cxlx) {
case '1':
return <div>家庭房产</div>
return <div>家庭房产查询</div>
case '2':
return <div>房屋明细</div>
return <div>不动产明细查询</div>
}
}
},
......