Commit ca5e901e by chenwq

技师

1 parent 57731243
......@@ -72,8 +72,8 @@ Page({
}
let params = {
...formData,
merchantId: customerInfo.merchantId,
merchantName: customerInfo.merchantName
merchantId: customerInfo.serviceCenterMerchantId,
merchantName: customerInfo.serviceCenterMerchantName
}
let validObj = wx.$util.checkRule(formData, constantData.formRule)
if (validObj) {
......@@ -176,12 +176,12 @@ Page({
roleName: '技师'
}
mineServiceApi.getTechnicianList(params).then(res => {
let { data, total } = res
let { data, count } = res
this.setData({
technicianList: pageCof.pageNum == 1 ? (data || []) : technicianList.concat(data),
['pageCof.pageNum']: pageCof.pageNum + 1,
triggered: false,
total
total: count
})
if (isReset) {
this.setData({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!