|
@@ -63,7 +63,7 @@
|
|
|
<view class="list-box">
|
|
|
<!-- 扫描记录 -->
|
|
|
<u-cell-group :border="false">
|
|
|
- <u-cell-item title="VIN查询历史" @click="toAllRecord" :title-style="{fontSize:'1em'}" :value="userInfo&&userInfo.sysUserFlag == '0'?'':'全部'">
|
|
|
+ <u-cell-item title="VIN查询历史" @click="toAllRecord" :title-style="{fontSize:'1em'}" value="全部">
|
|
|
<u-icon slot="icon" size="38" color="#066cff" style="margin-right: 0.3em;" name="order"></u-icon>
|
|
|
</u-cell-item>
|
|
|
</u-cell-group>
|
|
@@ -142,6 +142,9 @@
|
|
|
}
|
|
|
},
|
|
|
onLoad() {
|
|
|
+ this.orderTodo = null
|
|
|
+ this.bondRecord = null
|
|
|
+ this.vinList = []
|
|
|
// 检测是否登录
|
|
|
this.$store.dispatch('checkLogin',()=>{
|
|
|
// 获取数据字典
|
|
@@ -337,11 +340,9 @@
|
|
|
},
|
|
|
// 查看扫描记录
|
|
|
toAllRecord(){
|
|
|
- if(this.userInfo.sysUserFlag == '1'){
|
|
|
- uni.navigateTo({
|
|
|
- url: this.hasLogin ? "/pages/vinRecord/vinRecord" : '/pages/login/login'
|
|
|
- })
|
|
|
- }
|
|
|
+ uni.navigateTo({
|
|
|
+ url: this.hasLogin ? "/pages/vinRecord/vinRecord" : '/pages/login/login'
|
|
|
+ })
|
|
|
},
|
|
|
toUser(){
|
|
|
if(this.hasLogin){
|