Browse Source

修改资讯管理的状态

lcmxs 1 year ago
parent
commit
5038168f79
1 changed files with 6 additions and 4 deletions
  1. 6 4
      src/views/COUNSELINGMESSAGE/index.vue

+ 6 - 4
src/views/COUNSELINGMESSAGE/index.vue

@@ -46,11 +46,13 @@
       </el-table-column>
       <el-table-column label="信息状态" align="center" prop="status">
         <template slot-scope="scope">
-          <span v-if="scope.row.status == 0"><el-tag type="info">草稿</el-tag></span>
+          <span v-if="scope.row.status == 0"><el-tag>草稿</el-tag></span>
           <span v-if="scope.row.status == 1"><el-tag type="warning">审核中</el-tag></span>
-          <span v-if="scope.row.status == 2"><el-tag type="danger">已审核</el-tag></span>
-          <span v-if="scope.row.status == 3"><el-tag type="success">已上报</el-tag></span>
-          <span v-if="scope.row.status == 4"><el-tag >已发布</el-tag></span>
+          <span v-if="scope.row.status == 2"><el-tag type="danger">审核驳回</el-tag></span>
+          <span v-if="scope.row.status == 3"><el-tag type="success">已审核</el-tag></span>
+          <span v-if="scope.row.status == 4"><el-tag type="success">已上报</el-tag></span>
+          <span v-if="scope.row.status == 5"><el-tag type="info">已发布</el-tag></span>
+          <span v-if="scope.row.status == 6"><el-tag>已下架</el-tag></span>
         </template>
       </el-table-column>