Browse Source

动态删除

gks 1 year ago
parent
commit
fa0992b829
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/COUNSELINGMESSAGE/index.vue

+ 1 - 0
src/views/COUNSELINGMESSAGE/index.vue

@@ -63,6 +63,7 @@
           <el-button v-if="scope.row.status == 3" size="mini" type="text"  @click="handleDownOrUp(scope.row)">上报</el-button>
           <el-button v-if="scope.row.status == 6 || scope.row.status == 4" size="mini" type="text" @click="handleDownOrUp(scope.row)">发布</el-button>
           <el-button v-if="scope.row.status == 0 || scope.row.status == 2 || scope.row.status == 3 || scope.row.status == 4 || scope.row.status == 6" size="mini" type="text" @click="handleUpdate(scope.row)">修改</el-button>
+          <el-button v-if="scope.row.status != 5 && scope.row.status != 2 && scope.row.status != 4" size="mini" type="text" @click="handleDelete(scope.row)">删除</el-button>
         </template>
       </el-table-column>
     </el-table>