Commit b21a87e9 by 张立顺

Merge branch 'dev_v4.17.0' into dev_v4.17.1

2 parents 2fa87c95 99e1ca16
......@@ -134,7 +134,9 @@ module.exports = {
},
// 获取订单信息
getWorkList(data) {
return api.post('dj.api.smartcarlife.order.search', data)
params = data || {}
params.sceneType = 1
return api.post('dj.api.smartcarlife.order.search', params)
},
// 获取园区店开通的场景入口
getYqMerchantSceneConfigAPI(data) {
......
......@@ -196,7 +196,7 @@ Page({
quotationUpgrade(para).then(res => {
wx.$util.hideLoading()
let { code, data } = res
code == 0 && wx.$router.reLaunch('CarQuotationPay', { data, id })
code == 0 && wx.$router.redirectTo('CarQuotationPay', { data, id })
})
}
})
......@@ -219,7 +219,7 @@ Page({
wx.$util.hideLoading()
console.log(res, 'res')
let { code, data } = res
code == 0 && wx.$router.reLaunch('CarQuotationPay', { data, id })
code == 0 && wx.$router.redirectTo('CarQuotationPay', { data, id })
})
}
})
......@@ -161,6 +161,7 @@ Page({
.then(res => {
let { data, message } = res
if (data) {
app.globalData.YQorderSetting = null
wx.$util.setUserInfo(data.loginUserInfoList[0])
app.globalData.YQorderSetting = null
// console.log(data.loginUserInfoList[0])
......
......@@ -4,9 +4,11 @@ import api from '~/utils/request/request.js'
module.exports = {
/** 工单列表 */
getWorkList(data) {
let params = data || {}
params.sceneType = 1
return api.post('dj.api.smartcarlife.order.search', {
pageSize: 10,
...data
...params
})
},
......@@ -74,6 +76,8 @@ module.exports = {
/** 根据订单状态统计订单数*/
statByStatus(data) {
data = data || {}
data.sceneType = 1
return api.post('dj.api.smartcarlife.order.statByStatus', data)
},
......@@ -96,8 +100,8 @@ module.exports = {
notUpgradeOrder(data) {
return api.post('dj.api.smartcarlife.order.notUpgrade.batchInsert', data)
},
/** 批量新建预录工单 */
createPrerecordedOrderBatch(data) {
/** 批量新建预录工单 */
createPrerecordedOrderBatch(data) {
return api.post('dj.api.smartcarlife.order.preliminaryOrder.batch', data)
},
/** 新建预录工单 */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!