Commit 76305235 by zhangxw

个人看板ai分析修改

1 parent 0665b671
// packageCrew/pages/peopleOverview/peopleOverview.js // packageCrew/pages/peopleOverview/peopleOverview.js
import api from '~/api/crew/index' import api from '~/api/crew/index'
const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/miniprogram/supervisor-miniprogram/' const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/miniprogram/supervisor-miniprogram/'
import dayjs from 'dayjs'
Page({ Page({
/** /**
...@@ -154,10 +155,10 @@ Page({ ...@@ -154,10 +155,10 @@ Page({
this.setData({AILoading: true}) this.setData({AILoading: true})
api.getAIAnslyseData({ api.getAIAnslyseData({
type: 4, type: 4,
timeDimension: options.timeDimension + 1, timeDimension: 1,
storeManagerPhone: options.employeePhone, storeManagerPhone: options.employeePhone,
startDate: options.startDate, startDate: dayjs().subtract(1, 'day').format('YYYY-MM-DD'),
endDate: options.endDate endDate: dayjs().subtract(1, 'day').format('YYYY-MM-DD')
}).then(res => { }).then(res => {
this.setData({AILoading: false}) this.setData({AILoading: false})
let { code, data, message } = res let { code, data, message } = res
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!