epmet 工作端 小程序
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.

31 lines
741 B

import {potentialSatisfactionGroup} from "../../../../utils/statisticsApi";
Component({
properties: {},
data: {
unSolvedNum: 0,
unFinishNum: 0,
noServiceNum: 0,
},
lifetimes: {
ready() {
this.getData()
}
},
methods: {
gotopage({currentTarget: {dataset}}) {
const {url} = dataset;
wx.navigateTo({url})
},
getData() {
potentialSatisfactionGroup().then(({data}) => {
this.setData({
unSolvedNum: data.unSolvedNum,
unFinishNum: data.unFinishNum,
noServiceNum: data.noServiceNum,
})
})
}
}
});