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
......@@ -67,4 +67,5 @@ export const noLoginGetOrderInfo=(orderNo)=>{
export const orderCancelPay=(data)=>{
let url=`/order/cancelPay?orderNo=${data.orderNo}`
return http.post(url)
}
\ No newline at end of file
}
......@@ -232,6 +232,14 @@
"navigationBarTitleText": "会员等级详情",
"enablePullDownRefresh" : false
}
},
{
"path" : "dataStatistics/index",
"style": {
"navigationBarTitleText": "门店数据统计",
"navigationStyle": "custom",
"enablePullDownRefresh" : false
}
}
]
}
......
......@@ -304,6 +304,14 @@
<text class="text-gray">设备控制</text>
</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>
......@@ -461,7 +469,8 @@
cleanRecord:"/pages/cleanRecord/index",
couponList:"/pages/couponList/index",
equityDetail:"/setting/rule/rule?keyData=user_equity_details",
levelDetail:"/setting/levelDetail/index"
levelDetail:"/setting/levelDetail/index",
dataStatistics: "/setting/dataStatistics/index"
},
list:'',
consumerMemberStatus:false,
......
......@@ -172,7 +172,7 @@
</template>
<script>
import {login} from "@/api/index.js";
import {login,dictList} from "@/api/index.js";
import {getDictItem} from "@/utils/tools.js"
import fNavbar from '@/components/module/f-navbar/f-navbar';
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