Commit 0a2b8eb2 by zhangzhen

功能优化

parent 545b9f01
import http from "@/common/vmeitime-http/index.js"
export const getStoreManageList=(data)=>{
let url=`/store/manageList`
return http.get(url,data)
}
export const getDataStatistics=(data)=>{
let url=`/order/statistics`
return http.post(url,data)
}
\ No newline at end of file
...@@ -68,3 +68,4 @@ export const orderCancelPay=(data)=>{ ...@@ -68,3 +68,4 @@ export const orderCancelPay=(data)=>{
let url=`/order/cancelPay?orderNo=${data.orderNo}` let url=`/order/cancelPay?orderNo=${data.orderNo}`
return http.post(url) return http.post(url)
} }
...@@ -232,6 +232,14 @@ ...@@ -232,6 +232,14 @@
"navigationBarTitleText": "会员等级详情", "navigationBarTitleText": "会员等级详情",
"enablePullDownRefresh" : false "enablePullDownRefresh" : false
} }
},
{
"path" : "dataStatistics/index",
"style": {
"navigationBarTitleText": "门店数据统计",
"navigationStyle": "custom",
"enablePullDownRefresh" : false
}
} }
] ]
} }
......
...@@ -304,6 +304,14 @@ ...@@ -304,6 +304,14 @@
<text class="text-gray">设备控制</text> <text class="text-gray">设备控制</text>
</view> </view>
</view> </view>
<view v-if="userInfo.isManage" class="item-box" @tap="onNavByPath('dataStatistics')">
<view class="icon-img">
<image :src="assetsPath+'/user/tool_3.png'" mode="scaleToFill"></image>
</view>
<view class="text-box">
<text class="text-gray">数据统计</text>
</view>
</view>
</view> </view>
</view> </view>
</view> </view>
...@@ -461,7 +469,8 @@ ...@@ -461,7 +469,8 @@
cleanRecord:"/pages/cleanRecord/index", cleanRecord:"/pages/cleanRecord/index",
couponList:"/pages/couponList/index", couponList:"/pages/couponList/index",
equityDetail:"/setting/rule/rule?keyData=user_equity_details", equityDetail:"/setting/rule/rule?keyData=user_equity_details",
levelDetail:"/setting/levelDetail/index" levelDetail:"/setting/levelDetail/index",
dataStatistics: "/setting/dataStatistics/index"
}, },
list:'', list:'',
consumerMemberStatus:false, consumerMemberStatus:false,
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
</template> </template>
<script> <script>
import {login} from "@/api/index.js"; import {login,dictList} from "@/api/index.js";
import {getDictItem} from "@/utils/tools.js" import {getDictItem} from "@/utils/tools.js"
import fNavbar from '@/components/module/f-navbar/f-navbar'; import fNavbar from '@/components/module/f-navbar/f-navbar';
import {getOrderInfoByNo,orderRefund,openDoor,noLoginOpenDoor,noLoginGetOrderInfo} from "@/api/order.js" import {getOrderInfoByNo,orderRefund,openDoor,noLoginOpenDoor,noLoginGetOrderInfo} from "@/api/order.js"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment