Explorar o código

已失效的不可上架和编辑

DESKTOP-SVI9JE1\muzen %!s(int64=2) %!d(string=hai) anos
pai
achega
2d229d2631
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/views/operation/activity/index.vue

+ 2 - 2
src/views/operation/activity/index.vue

@@ -46,9 +46,9 @@
           <el-button type="text" v-if="scope.row.status === 0" @click="getChange(scope.row.id, 1, '下架')"
             v-hasPermi="['operation:activity:down']">下架</el-button>
           <span v-else style="margin: 0 10px">
-            <el-button v-if="scope.row.status !== 2" type="text" @click="getDetail(scope.row)"
+            <el-button v-if="scope.row.activityState !== 2" type="text" @click="getDetail(scope.row)"
               v-hasPermi="['operation:activity:edit']">编辑</el-button>
-            <el-button type="text" @click="getChange(scope.row.id, 0, '上架')"
+            <el-button v-if="scope.row.activityState !== 2" type="text" @click="getChange(scope.row.id, 0, '上架')"
               v-hasPermi="['operation:activity:up']">上架</el-button>
             <el-button type="delete" @click="getDelete(scope.row)"
               v-hasPermi="['operation:activity:delete']">删除</el-button>