|
|
@@ -437,7 +437,7 @@ export const actions = {
|
|
|
commit('option/REQUEST_STORE_STATUS_FAILURE', err)
|
|
|
})
|
|
|
},
|
|
|
- // 获取首页悬浮计数器
|
|
|
+ // 获取首页悬浮计数器交易金额
|
|
|
loadAllCount ({commit}, params) {
|
|
|
commit('count/REQUEST_ALLCOUNT')
|
|
|
return axios.get('/api/product/commoncount', {params})
|
|
|
@@ -446,6 +446,16 @@ export const actions = {
|
|
|
}, (err) => {
|
|
|
commit('count/GET_ALLCOUNT_FAILURE', err)
|
|
|
})
|
|
|
+ },
|
|
|
+ // 获取首页悬浮计数器询价单
|
|
|
+ loadInquirySheet ({commit}) {
|
|
|
+ commit('count/REQUEST_INQUIRYSHEET')
|
|
|
+ return axios.get('/inquiry/public/getPurcInquiryItemCount')
|
|
|
+ .then(res => {
|
|
|
+ commit('count/GET_INQUIRYSHEET_SUCCESS', res.data)
|
|
|
+ }, (err) => {
|
|
|
+ commit('count/GET_INQUIRYSHEET_FAILURE', err)
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
|