Commit 6d625904 by zhangxw

订单审批添加场景参数

1 parent 04ee604b
......@@ -138,6 +138,7 @@ Page({
getList() {
let { pageNum, nothing, filterObj, sellerName, endStr, startStr } = this.data
let userInfo = wx.$util.getUserInfo()
if (nothing) return
wx.$util.showLoading()
let params = {
......@@ -147,7 +148,8 @@ Page({
pageNum,
pageSize: 10,
applyStartDateStr: startStr,
applyEndDateStr: endStr
applyEndDateStr: endStr,
sceneType: userInfo?.sceneType
}
api.getOrderApplyList(params).then(res => {
wx.$util.hideLoading()
......
......@@ -299,8 +299,9 @@ Page({
// 获取订单待审核角标数量
getWaitAudit() {
let { compensationMenus } = this.data
let userInfo = wx.$util.getUserInfo()
let index = compensationMenus.findIndex(e => e.name == '订单审核')
getOrderWaitForAudit({}).then(res => {
getOrderWaitForAudit({sceneType: userInfo.sceneType }).then(res => {
let { code, data } = res
if (code == 0) {
this.setData({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!