bb659e38 by 蔡俊立

待办箱 进度查询

1 parent 6b3cb24b
...@@ -107,6 +107,15 @@ export default { ...@@ -107,6 +107,15 @@ export default {
107 searchTaskToDo({ ...this.queryForm, ...this.pageData }).then(res => { 107 searchTaskToDo({ ...this.queryForm, ...this.pageData }).then(res => {
108 if (res.code === 200) { 108 if (res.code === 200) {
109 let { total, records } = res.result 109 let { total, records } = res.result
110 let str = ''
111 records.forEach(item=>{
112 if(item.qlrmc.length!=0){
113 item.qlrmcStr = String(item.qlrmc)
114 }
115 if(item.ywrmc.length!=0){
116 item.ywrmcStr = String(item.ywrmc)
117 }
118 })
110 this.tableData.total = total; 119 this.tableData.total = total;
111 this.tableData.data = records 120 this.tableData.data = records
112 } 121 }
......
...@@ -53,14 +53,24 @@ class data extends filter { ...@@ -53,14 +53,24 @@ class data extends filter {
53 width:'220' 53 width:'220'
54 }, 54 },
55 { 55 {
56 prop: "qlrmc",
57 label: "权利人", 56 label: "权利人",
58 width:'70' 57 render: (h, scope) => {
58 return (
59 <div>
60 <span>{scope.row.qlrmcStr}</span>
61 </div>
62 )
63 }
59 }, 64 },
60 { 65 {
61 prop: "ywrmc",
62 label: "义务人", 66 label: "义务人",
63 width:'70' 67 render: (h, scope) => {
68 return (
69 <div>
70 <span>{scope.row.ywrmcStr}</span>
71 </div>
72 )
73 }
64 }, 74 },
65 { 75 {
66 prop: "zl", 76 prop: "zl",
...@@ -79,10 +89,16 @@ class data extends filter { ...@@ -79,10 +89,16 @@ class data extends filter {
79 width:'80' 89 width:'80'
80 }, 90 },
81 { 91 {
82 prop: "zrsj",
83 label: "转入时间", 92 label: "转入时间",
84 sortable: 'custom', 93 sortable: 'custom',
85 width:'160' 94 width:'160',
95 render: (h, scope) => {
96 return (
97 <div>
98 <span>{scope.row.zrsj[0]}</span>
99 </div>
100 )
101 }
86 }, 102 },
87 { 103 {
88 label: '操作', 104 label: '操作',
......
...@@ -100,6 +100,12 @@ export default { ...@@ -100,6 +100,12 @@ export default {
100 str = String(item.userNameList) 100 str = String(item.userNameList)
101 item.blStatus = item.zbhj + '('+ str.replace(/,/g,"+") + ')' 101 item.blStatus = item.zbhj + '('+ str.replace(/,/g,"+") + ')'
102 } 102 }
103 if(item.qlrmc.length!=0){
104 item.qlrmcStr = String(item.qlrmc)
105 }
106 if(item.ywrmc.length!=0){
107 item.ywrmcStr = String(item.ywrmc)
108 }
103 }) 109 })
104 this.pageData.total = total; 110 this.pageData.total = total;
105 this.tableData.data = records 111 this.tableData.data = records
......
...@@ -57,12 +57,24 @@ class data extends filter { ...@@ -57,12 +57,24 @@ class data extends filter {
57 label: "申请业务名称", 57 label: "申请业务名称",
58 }, 58 },
59 { 59 {
60 prop: "qlrmc",
61 label: "权利人", 60 label: "权利人",
61 render: (h, scope) => {
62 return (
63 <div>
64 <span>{scope.row.qlrmcStr}</span>
65 </div>
66 )
67 }
62 }, 68 },
63 { 69 {
64 prop: "ywrmc",
65 label: "义务人", 70 label: "义务人",
71 render: (h, scope) => {
72 return (
73 <div>
74 <span>{scope.row.ywrmcStr}</span>
75 </div>
76 )
77 }
66 }, 78 },
67 { 79 {
68 prop: "zl", 80 prop: "zl",
......