c574b40d by 蔡俊立

已办箱接口调取

1 parent 9eca0a30
......@@ -64,3 +64,11 @@ export function startBusinessFlow (data) {
data
})
}
// 已办箱列表查询接口
export function searchTaskDone (data) {
return request({
url: '/workBox/search/searchTaskDone',
method: 'post',
data
})
}
......
......@@ -57,6 +57,7 @@
import { mapGetters } from 'vuex'
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./ybxdata";
import { searchTaskDone} from "@/api/ywbl.js"
export default {
name: "ybx",
components: {},
......@@ -81,28 +82,29 @@ export default {
total: 2,
},
tableData: {
total: 0,
columns: datas.columns(),
data: [
{
ywly: "办事大厅",
lczt: "进行中",
ywh: "20200409146",
sqywmc: "预告买卖登记||首次登记",
qlr: "张三",
ywr: "绿地开发商",
zl: "C区沙尾金地名轩塔楼1栋101",
slsj: "2022-5-12",
slry: "窗口人员1",
zcsj: "2016-10-01 10:00:00",
},
],
data: [],
},
};
},
methods: {
// 初始化数据
fetchData () { },
init (e) {
this.fetchData()
},
// 列表渲染接口
fetchData () {
searchTaskDone({ ...this.queryForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.pageData.total = total;
this.tableData.data = records
}
})
},
queryClick () {
this.fetchData()
},
handleSort (name, sort) {
console.log(name, sort);
},
......
......@@ -16,12 +16,21 @@ class data extends filter {
width: '50'
},
{
prop: "ywly",
prop: "ywlymc",
label: "业务来源",
},
{
prop: "lczt",
label: "流程状态",
render: (h, scope) => {
switch (scope.row.lczt) {
case '1':
return <span>进行中</span>
case '2':
return <span>已结束</span>
case '3':
return <span>进行中</span>
}
}
},
{
prop: "ywh",
......@@ -32,11 +41,11 @@ class data extends filter {
label: "申请业务名称",
},
{
prop: "qlr",
prop: "qlrmc",
label: "权利人",
},
{
prop: "ywr",
prop: "ywrmc",
label: "义务人",
},
{
......