You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.8 KiB
55 lines
1.8 KiB
8 months ago
|
import {icEventList} from "../../../../utils/api";
|
||
|
Component({
|
||
|
properties: {},
|
||
|
data: {
|
||
|
tableList: [],
|
||
|
tabValue: 'addressEvent',
|
||
|
data: {}
|
||
|
},
|
||
|
ready() {
|
||
|
this.getData()
|
||
|
},
|
||
|
methods: {
|
||
|
getData() {
|
||
|
let params = {
|
||
|
agencyId: "", // 代理商ID
|
||
|
deliveryStatus: "", // 交付状态
|
||
|
departId: "", // 部门ID
|
||
|
endTime: "", // 结束时间
|
||
|
eventContent: "", // 事件内容
|
||
|
firstIdList: [], // 第一个ID列表,可能是数组类型
|
||
|
handleStatus: "", // 处理状态
|
||
|
limitEndTime: "", // 限制结束时间
|
||
|
limitStartTime: "", // 限制开始时间
|
||
|
mobile: "", // 手机号
|
||
|
name: "", // 姓名
|
||
|
operationType: "", // 操作类型
|
||
|
pageNo: 1, // 页码,默认第一页
|
||
|
pageSize: "20", // 每页条数,作为字符串传递
|
||
|
selectType: "gjk", // 选择类型,可能是用于过滤
|
||
|
sourceType: "", // 来源类型
|
||
|
startTime: "", // 开始时间
|
||
|
status: "", // 状态
|
||
|
workOrderNum: "" // 工单号
|
||
|
}
|
||
|
icEventList(params).then(res => {
|
||
|
console.log(res,"sdkjldsf");
|
||
|
this.setData({
|
||
|
tableList: res.data.list
|
||
|
})
|
||
|
})
|
||
|
},
|
||
|
gotopage(e) {
|
||
|
console.log(e)
|
||
|
let data = e.currentTarget.dataset.obj
|
||
|
if (data.content) {
|
||
|
delete data.content
|
||
|
}
|
||
|
wx.navigateTo({
|
||
|
url: '/subpages/statistics/pages/problem/problem?type='+this.data.tabValue+'&data='+JSON.stringify(data)
|
||
|
})
|
||
|
}
|
||
|
},
|
||
|
|
||
|
});
|