@@ -111,6 +111,7 @@
// 校验是否有历史巡店记录
// type VIDEO_INSPECTION:视频巡店、SPOT_INSPECTION:现场巡店、POINT_INSPECTION:点检任务
queryCurrentTaskUsing({ storeId: item.id, type: 'SPOT_INSPECTION' }).then(res => {
+ console.log(res,'----')
if(res.status == 200){
if(res.data){ // 为true有历史巡店记录
clzConfirm({
@@ -11,7 +11,7 @@
</view>
<view class="content-item">
<text>性别</text>
- <view>{{pageData.sex}}</view>
+ <view>{{pageData.sex|fiterSex}}</view>
<text>角色</text>
@@ -50,6 +50,9 @@
},
// 角色
filters: {
+ fiterSex(val){
+ return ['女','男'][val]
+ },
filterRoles(val){
if(val){
let arr = []