Jelajahi Sumber

开发者对接

threethousanddream 1 bulan lalu
induk
melakukan
a8d2aad3a0
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/views/system/develop.vue

+ 2 - 2
src/views/system/develop.vue

@@ -32,7 +32,7 @@
       <el-table :data="state.list" size="default" :header-row-style="{color:'#161616'}" height="100%">
         <el-table-column label="" width="60px">
           <template v-slot="{row}">
-            <el-checkbox v-model="row.select"></el-checkbox>
+            <el-checkbox v-model="row.select" :disabled="row.status===1"></el-checkbox>
           </template>
         </el-table-column>
         <el-table-column label="所属用户" prop="tenantName"></el-table-column>
@@ -58,7 +58,7 @@
         </el-table-column>
         <el-table-column label="操作" align="center" width="160px">
           <template v-slot="{row}">
-            <el-button type="text" @click="onApply(row)">审核</el-button>
+            <el-button type="text" @click="onApply(row)" v-if="row.status===1">审核</el-button>
             <el-button type="text" @click="onShowRecord(row)">审核详情</el-button>
           </template>
         </el-table-column>