c574b40d by 蔡俊立

已办箱接口调取

1 parent 9eca0a30
...@@ -64,3 +64,11 @@ export function startBusinessFlow (data) { ...@@ -64,3 +64,11 @@ export function startBusinessFlow (data) {
64 data 64 data
65 }) 65 })
66 } 66 }
67 // 已办箱列表查询接口
68 export function searchTaskDone (data) {
69 return request({
70 url: '/workBox/search/searchTaskDone',
71 method: 'post',
72 data
73 })
74 }
......
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
57 import { mapGetters } from 'vuex' 57 import { mapGetters } from 'vuex'
58 import table from "@/utils/mixin/table"; 58 import table from "@/utils/mixin/table";
59 import { datas, sendThis } from "./ybxdata"; 59 import { datas, sendThis } from "./ybxdata";
60 import { searchTaskDone} from "@/api/ywbl.js"
60 export default { 61 export default {
61 name: "ybx", 62 name: "ybx",
62 components: {}, 63 components: {},
...@@ -81,28 +82,29 @@ export default { ...@@ -81,28 +82,29 @@ export default {
81 total: 2, 82 total: 2,
82 }, 83 },
83 tableData: { 84 tableData: {
85 total: 0,
84 columns: datas.columns(), 86 columns: datas.columns(),
85 data: [ 87 data: [],
86 {
87 ywly: "办事大厅",
88 lczt: "进行中",
89 ywh: "20200409146",
90 sqywmc: "预告买卖登记||首次登记",
91 qlr: "张三",
92 ywr: "绿地开发商",
93 zl: "C区沙尾金地名轩塔楼1栋101",
94 slsj: "2022-5-12",
95 slry: "窗口人员1",
96 zcsj: "2016-10-01 10:00:00",
97 },
98
99 ],
100 }, 88 },
101 }; 89 };
102 }, 90 },
103 methods: { 91 methods: {
104 // 初始化数据 92 init (e) {
105 fetchData () { }, 93 this.fetchData()
94 },
95 // 列表渲染接口
96 fetchData () {
97 searchTaskDone({ ...this.queryForm, ...this.pageData }).then(res => {
98 if (res.code === 200) {
99 let { total, records } = res.result
100 this.pageData.total = total;
101 this.tableData.data = records
102 }
103 })
104 },
105 queryClick () {
106 this.fetchData()
107 },
106 handleSort (name, sort) { 108 handleSort (name, sort) {
107 console.log(name, sort); 109 console.log(name, sort);
108 }, 110 },
......
...@@ -16,12 +16,21 @@ class data extends filter { ...@@ -16,12 +16,21 @@ class data extends filter {
16 width: '50' 16 width: '50'
17 }, 17 },
18 { 18 {
19 prop: "ywly", 19 prop: "ywlymc",
20 label: "业务来源", 20 label: "业务来源",
21 }, 21 },
22 { 22 {
23 prop: "lczt",
24 label: "流程状态", 23 label: "流程状态",
24 render: (h, scope) => {
25 switch (scope.row.lczt) {
26 case '1':
27 return <span>进行中</span>
28 case '2':
29 return <span>已结束</span>
30 case '3':
31 return <span>进行中</span>
32 }
33 }
25 }, 34 },
26 { 35 {
27 prop: "ywh", 36 prop: "ywh",
...@@ -32,11 +41,11 @@ class data extends filter { ...@@ -32,11 +41,11 @@ class data extends filter {
32 label: "申请业务名称", 41 label: "申请业务名称",
33 }, 42 },
34 { 43 {
35 prop: "qlr", 44 prop: "qlrmc",
36 label: "权利人", 45 label: "权利人",
37 }, 46 },
38 { 47 {
39 prop: "ywr", 48 prop: "ywrmc",
40 label: "义务人", 49 label: "义务人",
41 }, 50 },
42 { 51 {
......