yrik 4 년 전
부모
커밋
ef37c431df
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      ruoyi-ui/src/views/tool/gen/editTable.vue

+ 5 - 5
ruoyi-ui/src/views/tool/gen/editTable.vue

@@ -1,7 +1,7 @@
 <template>
   <el-card>
-    <el-row type="flex" v-if="activeName=='cloum'" justify="space-between" style="margin: 10px 0;">
-      <el-col :span="1.5" style="display: flex; align-items: center;">
+    <el-row type="flex"  justify="space-between" style="margin: 10px 0;">
+      <el-col :span="1.5" v-if="activeName=='cloum' || activeName=='basic' " style="display: flex; align-items: center;">
         <el-form label-width="100px" style="display: flex; align-items: center;">
           <el-form-item style="text-align: center;margin-left:-100px;margin-top:0; margin-bottom: 0;">
             <el-button type="primary" @click="submitForm()">保存</el-button>
@@ -9,12 +9,12 @@
           </el-form-item>
         </el-form>
       </el-col>
-      <el-row type="flex" :gutter="10" justify="end">
+      <el-row type="flex" :gutter="10" justify="end" v-if="activeName=='cloum'">
         <el-col :span="1.5" style="display: flex; align-items: center;">
-          <el-button type="warning" plain icon="el-icon-plus" size="mini" @click="handleAdd" v-hasPermi="['system:post:add']">新增</el-button>
+          <el-button type="warning" plain icon="el-icon-plus"  @click="handleAdd" v-hasPermi="['system:post:add']">新增</el-button>
         </el-col>
         <el-col :span="1.5" style="display: flex; align-items: center;">
-          <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
+          <el-button type="danger" plain icon="el-icon-delete"  :disabled="multiple" @click="handleDelete"
             v-hasPermi="['system:post:remove']">删除</el-button>
         </el-col>
         <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> -->