This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
liumin
/
NewZkgj
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
提交
dev
douzhuo
2 years ago
parent
a6925d8172
commit
6eea3c9cc8
2 changed files
with
37 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+18
-1
pages/center/prohibited/details.vue
+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 | Violated
Status }}</text>
<text class="item">{{ userlistobj.
disposeStatus | Dispose
Status }}</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>
Write
Preview
Loading…
Cancel
Save