|
|
@ -1,5 +1,5 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<view> |
|
|
|
<view :class="[{oh: !per}]"> |
|
|
|
<view class="filter"> |
|
|
|
<view class="filter"> |
|
|
|
<uni-search-bar class="search" radius="30" placeholder="请输入学校名称,商务经理,订单号" v-model="keyword" clearButton="auto" cancelButton="none" /> |
|
|
|
<uni-search-bar class="search" radius="30" placeholder="请输入学校名称,商务经理,订单号" v-model="keyword" clearButton="auto" cancelButton="none" /> |
|
|
|
<view :class="['sort', sort]" @click="switchSort"></view> |
|
|
|
<view :class="['sort', sort]" @click="switchSort"></view> |
|
|
@ -60,6 +60,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<uni-icons class="plus" type="plus-filled" size="60" color="#007eff" @click="$util.to('/order/orderDetail/orderDetail')"></uni-icons> |
|
|
|
<uni-icons class="plus" type="plus-filled" size="60" color="#007eff" @click="$util.to('/order/orderDetail/orderDetail')"></uni-icons> |
|
|
|
<filter-popup :data="filterData" :form.sync="filterForm" v-model="popup" title="全部筛选" height="1104rpx" @finsh="subFinsh"></filter-popup> |
|
|
|
<filter-popup :data="filterData" :form.sync="filterForm" v-model="popup" title="全部筛选" height="1104rpx" @finsh="subFinsh"></filter-popup> |
|
|
|
|
|
|
|
<view v-if="!per" class="per-mask">功能升级中,敬请期待...</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
@ -69,6 +70,7 @@ |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
|
|
|
|
per: true, // 是否有权限 |
|
|
|
popup: false, |
|
|
|
popup: false, |
|
|
|
//筛选表单数据 |
|
|
|
//筛选表单数据 |
|
|
|
filterData: [ |
|
|
|
filterData: [ |
|
|
@ -143,6 +145,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
onShow() { |
|
|
|
onShow() { |
|
|
|
|
|
|
|
this.per = true |
|
|
|
// 清除产品缓存 |
|
|
|
// 清除产品缓存 |
|
|
|
try { |
|
|
|
try { |
|
|
|
uni.removeStorageSync('orderForm') |
|
|
|
uni.removeStorageSync('orderForm') |
|
|
@ -153,8 +156,11 @@ |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
// 初始化权限 |
|
|
|
// 初始化权限 |
|
|
|
initRole() { |
|
|
|
initRole() { |
|
|
|
this.tabs = [] |
|
|
|
|
|
|
|
const auth = uni.getStorageSync('auth') |
|
|
|
const auth = uni.getStorageSync('auth') |
|
|
|
|
|
|
|
if (!auth.includes('订单')) { |
|
|
|
|
|
|
|
this.per = false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.tabs = [] |
|
|
|
auth.includes('订单:我的订单') && this.tabs.push({ |
|
|
|
auth.includes('订单:我的订单') && this.tabs.push({ |
|
|
|
name: '我的订单', |
|
|
|
name: '我的订单', |
|
|
|
id: 0 |
|
|
|
id: 0 |
|
|
@ -309,4 +315,7 @@ |
|
|
|
color: #bdbdbd; |
|
|
|
color: #bdbdbd; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.oh { |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|