功能:重建指尖管理师规划系统

This commit is contained in:
xiaowang
2026-06-04 16:39:06 +08:00
parent 73483e7b0c
commit 677890f518
413 changed files with 9602 additions and 795 deletions
@@ -0,0 +1,30 @@
const mock = require('../../utils/mock')
Page({
data: {
id: '',
employee: {}
},
onLoad(options) {
const id = options.id || mock.artists[0].id
const artist = mock.artists.find(item => String(item.id) === String(id)) || mock.artists[0]
this.setData({
id,
employee: {
...artist,
monthOrders: 32,
monthAmount: 5800,
avgAmount: 181
}
})
},
go(event) {
wx.navigateTo({ url: `${event.currentTarget.dataset.url}?id=${this.data.id}` })
},
back() {
wx.navigateBack()
}
})