提交 Salon 小程序现有调整
This commit is contained in:
@@ -25,7 +25,7 @@ function scheduleSummary(item) {
|
||||
|
||||
Page({
|
||||
data: {
|
||||
types: ['订单数据', '客户数据', '员工数据'],
|
||||
types: ['订单数据', '客户数据', '美甲师数据'],
|
||||
type: '订单数据',
|
||||
startDate: dateUtil.formatDate(dateUtil.startOfMonth(new Date())),
|
||||
endDate: dateUtil.formatDate(new Date()),
|
||||
@@ -56,7 +56,7 @@ Page({
|
||||
try {
|
||||
if (this.data.type === '客户数据') {
|
||||
await this.loadCustomerPreview()
|
||||
} else if (this.data.type === '员工数据') {
|
||||
} else if (this.data.type === '美甲师数据') {
|
||||
await this.loadEmployeePreview()
|
||||
} else {
|
||||
await this.loadOrderPreview()
|
||||
@@ -117,7 +117,7 @@ Page({
|
||||
status: Number(item.status) === 0 ? '停用' : '启用'
|
||||
}))
|
||||
this.setData({
|
||||
previewColumns: ['员工', '手机号', '排班', '状态'],
|
||||
previewColumns: ['美甲师', '手机号', '排班', '状态'],
|
||||
previewRows: rows
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user