Commit c110518a authored by 罗超's avatar 罗超

1

parent 13c86e49
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
:src="photo" :src="photo"
class="headimg" class="headimg"
/> />
<view class="name1">饭粒汪</view> <view class="name1">{{mallName}}</view>
</view> </view>
<view <view
style=" style="
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
>30日</view >30日</view
> >
</view> </view>
<view style="height: 100rpx"></view> <view style="height: 20rpx"></view>
<canvas <canvas
canvas-id="canvasColumn" canvas-id="canvasColumn"
id="canvasColumn" id="canvasColumn"
...@@ -224,6 +224,7 @@ export default { ...@@ -224,6 +224,7 @@ export default {
data() { data() {
return { return {
photo:"",//头像 photo:"",//头像
mallName:"",
array: [ array: [
{ {
name: "支付金额", name: "支付金额",
...@@ -302,7 +303,7 @@ export default { ...@@ -302,7 +303,7 @@ export default {
canvasId: canvasId, canvasId: canvasId,
type: "line", type: "line",
fontSize: 11, fontSize: 11,
padding: [5, 15, 15, 15], padding: [15, 15, 15, 15],
legend: { legend: {
show: false, show: false,
position: "top", position: "top",
...@@ -322,7 +323,6 @@ export default { ...@@ -322,7 +323,6 @@ export default {
gridType: "dash", gridType: "dash",
itemCount: 4, itemCount: 4,
labelCount: chartData.categories.length, labelCount: chartData.categories.length,
scrollShow: true,
scrollAlign: "right", scrollAlign: "right",
dashLength: 8, dashLength: 8,
gridColor: "#FFFFFF", gridColor: "#FFFFFF",
...@@ -516,7 +516,9 @@ export default { ...@@ -516,7 +516,9 @@ export default {
}); });
this.getBasicData(); this.getBasicData();
this.photo=uni.getStorageSync('mall_UserInfo')?.Photo this.photo=uni.getStorageSync('mall_UserInfo')?.Photo
this.mallName=uni.getStorageSync('mall_UserInfo').MallName
this.getOrderNumber(); this.getOrderNumber();
}, },
}; };
</script> </script>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</view> </view>
</view> </view>
<view class="searchBox flex-between"> <view class="searchBox flex-between">
<view class="search flex-center" @click="jumpSearch"> <view class="search flex-center" @click="goOrderSearch">
<u-icon name="search"></u-icon> <u-icon name="search"></u-icon>
<view>搜索</view> <view>搜索</view>
</view> </view>
...@@ -324,14 +324,9 @@ export default { ...@@ -324,14 +324,9 @@ export default {
}; };
}, },
methods: { methods: {
jumpSearch(){
uni.navigateTo({
url: '/pages/MallMange/orderSearch'
});
},
goOrderSearch(){ goOrderSearch(){
uni.navigateTo({ uni.navigateTo({
url: '/pages/MallMange/orderSearch?orderType='+this.orderType url: '/pages/MallMange/orderSearch?type='+this.orderType
}); });
}, },
//筛选时间 //筛选时间
......
...@@ -5,10 +5,13 @@ ...@@ -5,10 +5,13 @@
<u-search v-if="orderType==1" placeholder="请输入订单号" style="width:600rpx" bg-color="#fff" height="60" <u-search v-if="orderType==1" placeholder="请输入订单号" style="width:600rpx" bg-color="#fff" height="60"
:show-action="false" v-model="msg1.OrderNo"></u-search> :show-action="false" v-model="msg1.OrderNo"></u-search>
<u-search v-if="orderType==2" placeholder="请输入订单号" style="width:600rpx" bg-color="#fff" height="60" <u-search v-if="orderType==2" placeholder="请输入订单号" style="width:600rpx" bg-color="#fff" height="60"
:show-action="false" @change="getList2()" v-model="msg2.ReOrderNo"></u-search> :show-action="false" v-model="msg2.ReOrderNo"></u-search>
</view> </view>
<view class="flex-center"> <view class="flex-center" v-if="orderType==1" @click="getList1">
取消 搜索1
</view>
<view class="flex-center" v-if="orderType==2" @click="getList2">
搜索2
</view> </view>
</view> </view>
<view v-if="orderList.length > 0" <view v-if="orderList.length > 0"
...@@ -191,6 +194,10 @@ ...@@ -191,6 +194,10 @@
this.readMsg.Id = options.Id; this.readMsg.Id = options.Id;
this.getOrderRead(); this.getOrderRead();
} }
console.log(1,options)
if(options.type){
this.orderType=parseInt(options.type)
}
}, },
}; };
</script> </script>
......
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