8a8cc8a5 by tianhaohao@pashanhoo.com

修改家庭房产

1 parent fe28a277
...@@ -78,6 +78,27 @@ export function getNewDate(type = 1) { ...@@ -78,6 +78,27 @@ export function getNewDate(type = 1) {
78 } 78 }
79 } 79 }
80 80
81 // 获取当前时间
82 /**
83 * @description: 获取当前时间
84 * @param {*} type
85 * @author: renchao
86 */
87 export function getDateToString(date,type) {
88 const now = new Date(date);
89 const year = now.getFullYear();
90 const month = String(now.getMonth() + 1).padStart(2, '0');
91 const day = String(now.getDate()).padStart(2, '0');
92 const hours = String(now.getHours()).padStart(2, '0');
93 const minutes = String(now.getMinutes()).padStart(2, '0');
94 const seconds = String(now.getSeconds()).padStart(2, '0');
95 if (type == 1) {
96 return `${year}${month}${day}日`
97 } else {
98 return `${year}${month}${day}${hours}${minutes}${seconds}秒`
99 }
100 }
101
81 export function getNewDatesh() { 102 export function getNewDatesh() {
82 const now = new Date(); 103 const now = new Date();
83 const year = now.getFullYear(); 104 const year = now.getFullYear();
......
...@@ -22,17 +22,17 @@ class data extends filter { ...@@ -22,17 +22,17 @@ class data extends filter {
22 ) 22 )
23 } 23 }
24 }, 24 },
25 { 25 // {
26 label: "查询类型", 26 // label: "查询类型",
27 render: (h, scope) => { 27 // render: (h, scope) => {
28 switch (scope.row.cxlx) { 28 // switch (scope.row.cxlx) {
29 case '1': 29 // case '1':
30 return <div>家庭房产</div> 30 // return <div>家庭房产</div>
31 case '2': 31 // case '2':
32 return <div>房屋明细</div> 32 // return <div>房屋明细</div>
33 } 33 // }
34 } 34 // }
35 }, 35 // },
36 { 36 {
37 prop: "cxbh", 37 prop: "cxbh",
38 label: "查询编号", 38 label: "查询编号",
...@@ -52,6 +52,17 @@ class data extends filter { ...@@ -52,6 +52,17 @@ class data extends filter {
52 { 52 {
53 prop: "ycqrgxmc", 53 prop: "ycqrgxmc",
54 label: "与产权人的关系", 54 label: "与产权人的关系",
55
56 render: (h, scope) => {
57 switch (scope.row.ycqrgx) {
58 case '1':
59 return <div>房屋权利人</div>
60 case '2':
61 return <div>产权利害关系人</div>
62 case '3':
63 return <div>委托人</div>
64 }
65 }
55 }, 66 },
56 { 67 {
57 prop: "qlrxm", 68 prop: "qlrxm",
......
...@@ -37,9 +37,9 @@ class data extends filter { ...@@ -37,9 +37,9 @@ class data extends filter {
37 render: (h, scope) => { 37 render: (h, scope) => {
38 switch (scope.row.cxlx) { 38 switch (scope.row.cxlx) {
39 case '1': 39 case '1':
40 return <div>家庭房产</div> 40 return <div>家庭房产查询</div>
41 case '2': 41 case '2':
42 return <div>房屋明细</div> 42 return <div>不动产明细查询</div>
43 } 43 }
44 } 44 }
45 }, 45 },
......