Commit 7f115337 by zhangxw

bug修复

1 parent a41d4105
...@@ -93,7 +93,6 @@ Page({ ...@@ -93,7 +93,6 @@ Page({
} catch (e) { } catch (e) {
query = {} query = {}
} }
console.log(query, '=========')
const { timeDimension, startDate, endDate } = query || {} const { timeDimension, startDate, endDate } = query || {}
this.setData({ this.setData({
detailInfo: query, detailInfo: query,
...@@ -186,12 +185,12 @@ Page({ ...@@ -186,12 +185,12 @@ Page({
}).then(res => { }).then(res => {
let { code, data, message } = res let { code, data, message } = res
if (code == 0) { if (code == 0) {
data.business = this.filterBusiness(data.business)
this.setData({ this.setData({
baseInfo: { baseInfo: {
...data, ...data,
name: data?.name || options?.employeeName, name: options?.employeeName,
phone: data?.phone || options?.employeePhone phone: options?.employeePhone,
business: this.filterBusiness(options?.business)
} }
}) })
} else { } else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!