From 6eea3c9cc80cb19003a253be13963dd39e23037d Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Fri, 6 May 2022 20:47:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/center/prohibited/details.vue | 19 ++++++++++++++++++- pages/center/prohibited/index.vue | 20 +++++++++++++++++++- 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/pages/center/prohibited/details.vue b/pages/center/prohibited/details.vue index c5d032b..3c96ac3 100644 --- a/pages/center/prohibited/details.vue +++ b/pages/center/prohibited/details.vue @@ -7,7 +7,7 @@ {{ userlistobj.agentName || '' }} - {{ userlistobj.violatedStatus | ViolatedStatus }} + {{ userlistobj.disposeStatus | DisposeStatus }} @@ -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 + }, } } diff --git a/pages/center/prohibited/index.vue b/pages/center/prohibited/index.vue index 8d2e01a..01807d8 100644 --- a/pages/center/prohibited/index.vue +++ b/pages/center/prohibited/index.vue @@ -45,7 +45,7 @@ - {{ item.violatedStatus | ViolatedStatus }} + {{ item.violatedStatus | ViolatedStatus }}|{{ item.disposeStatus | DisposeStatus }} @@ -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 + }, } }