Browse Source

提交

dev
douzhuo 2 years ago
parent
commit
6eea3c9cc8
2 changed files with 37 additions and 2 deletions
  1. +18
    -1
      pages/center/prohibited/details.vue
  2. +19
    -1
      pages/center/prohibited/index.vue

+ 18
- 1
pages/center/prohibited/details.vue View File

@@ -7,7 +7,7 @@
<text class="name">{{ userlistobj.agentName || '' }}</text>
<view class="status">
<text class="pointer"></text>
<text class="item">{{ userlistobj.violatedStatus | ViolatedStatus }}</text>
<text class="item">{{ userlistobj.disposeStatus | DisposeStatus }}</text>
</view>
</view>
<!-- 详细信息 -->
@@ -968,6 +968,23 @@
}
return str
},
// 处理状态
DisposeStatus(status) {
let str = '';
switch (status) {
case 0:
str = '待处理'
break;
case 1:
str = '有效违禁'
break;
case 2:
str = '无效违禁'
break;
}
return str
},
}
}
</script>


+ 19
- 1
pages/center/prohibited/index.vue View File

@@ -45,7 +45,7 @@
</view>
<view class="right">
<view class="">
{{ item.violatedStatus | ViolatedStatus }}
{{ item.violatedStatus | ViolatedStatus }}|{{ item.disposeStatus | DisposeStatus }}
</view>
</view>
</view>
@@ -440,6 +440,24 @@
}
return str
},
// DisposeStatus
DisposeStatus(status) {
let str = '';
switch (status) {
case 0:
str = '待处理'
break;
case 1:
str = '有效违禁'
break;
case 2:
str = '无效违禁'
break;
}
return str
},
}
}
</script>


Loading…
Cancel
Save