Kaynağa Gözat

科室质控列表上方位置调整

liyanyan 1 ay önce
ebeveyn
işleme
db4e66d6e9

+ 4 - 4
src/views/recordsRoom/qc/components/TableBox.vue

@@ -1,15 +1,15 @@
 <template>
     <div>
-      <el-row style="margin-bottom: 15px;">
-        <el-button type="primary" @click="toExamine">批量审核</el-button>
-        <el-button @click="onRevoke">撤销审核</el-button>
+      <el-row style="margin-bottom: 15px;width: 100%;" type="flex" justify="end" align="middle">
         <el-switch
           v-model="status"
-          style="margin-left: 20px;"
+          style="margin-right: 20px;"
           :active-value="1"
           :inactive-value="0"
           inactive-text="是否自动质控" @change="updateQualityControl">
         </el-switch>
+        <el-button type="primary" @click="toExamine">批量审核</el-button>
+        <el-button @click="onRevoke">撤销审核</el-button>
       </el-row>
       <el-table :row-class-name="tableRowClassName" v-loading="loading" :data="data" style="width: 100%" @selection-change="handleSelectionChange">
         <el-table-column type="selection" width="55"></el-table-column>