zs 6 月之前
父節點
當前提交
77ca31336d
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/views/center/sign.vue

+ 4 - 4
src/views/center/sign.vue

@@ -2,12 +2,12 @@
   <div class="index">
     <el-row>
       <el-col :span="24" class="main animate__animated animate__backInRight" v-loading="loading">
-        <el-col :span="24" class="one">
+        <!-- <el-col :span="24" class="one">
           <el-radio-group size="large" v-model="searchForm.type">
             <el-radio-button label="活动报名" value="1" />
             <el-radio-button label="大赛报名" value="2" />
           </el-radio-group>
-        </el-col>
+        </el-col> -->
         <el-col :span="24" class="two">
           <el-table :data="list" style="width: 100%" size="large" :header-cell-style="{ backgroundColor: '#edf3ff' }">
             <template #empty>
@@ -22,7 +22,7 @@
             </el-table-column>
             <el-table-column align="center" label="操作" width="180">
               <template #default="{ row }">
-                <el-link :underline="false" type="primary" size="mini" @click="toEdit(row)" style="margin-right: 10px">修改报名信息</el-link>
+                <el-link :underline="false" v-if="row.status != '1'" type="primary" size="mini" @click="toEdit(row)" style="margin-right: 10px">修改报名信息</el-link>
               </template>
             </el-table-column>
           </el-table>
@@ -110,7 +110,7 @@ let skip = 0
 let limit = inject('limit')
 const total = ref(0)
 const currentPage = ref(1)
-const searchForm = ref({ type: '1' })
+// const searchForm = ref({ type: '1' })
 const dialog = ref({ type: '1', show: false, title: '修改报名信息' })
 const ruleFormRef = ref()
 const form = ref({})