This website works better with JavaScript.
首頁
探索
說明
註冊
登入
liumin
/
NewZkgj
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
提交
dev
douzhuo
2 年之前
父節點
a6925d8172
當前提交
6eea3c9cc8
共有
2 個文件被更改
,包括
37 次插入
和
2 次删除
分割檢視
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
查看文件
@@ -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
查看文件
@@ -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…
取消
儲存