zouyu
2023-09-09 f2245cb7f6dfc7cd83ae257b235fc41e3c5cabab
src/views/laboratory/personnel/index.vue
@@ -4,19 +4,19 @@
         <div class="search-bar">
            <el-form ref="form" :inline="true">
               <el-form-item>
                  <el-input v-model="keyword" placeholder="请输入人员名称">
                  <el-input size="small" v-model="keyword" placeholder="请输入人员名称">
                     <i slot="prefix" class="el-input__icon el-icon-search" />
                  </el-input>
               </el-form-item>
               <el-form-item>
                  <el-button type="primary" @click="getData()">查询</el-button>
                  <el-button type="primary" plain @click="resetData()">重置</el-button>
                  <el-button size="small" type="primary" @click="getData()">查询</el-button>
                  <el-button size="small" type="primary" plain @click="resetData()">重置</el-button>
                  <!-- <el-button type="text">高级搜索<i class="el-icon-arrow-down el-icon--right" /></el-button> -->
               </el-form-item>
            </el-form>
         </div>
         <div class="serve-btn">
            <el-button type="primary" icon="el-icon-plus" @click="dialogFormVisible = true">新增人员</el-button>
            <el-button size="small" type="primary" icon="el-icon-plus" @click="dialogFormVisible = true">新增人员</el-button>
            <el-dialog :title="isUpdate == true ? '更新人员信息' : '新增人员'" :visible.sync="dialogFormVisible" width="30%">
               <el-form :model="form" ref="form" :rules="rules" style="padding-right: 50px;">
                  <el-form-item label="账号" :label-width="formLabelWidth" prop="account">
@@ -62,7 +62,7 @@
      </div>
      <div class="content-main">
         <div class="personner-table">
            <el-table ref="personnerlTable" height="calc(100vh - 240px)" border :cell-style="{ textAlign: 'left' }"
            <el-table ref="personnerlTable" height="calc(100vh - 250px)" border :cell-style="{ textAlign: 'left' }"
               :header-cell-style="{
            border: '0px',
            background: '#f5f7fa',
@@ -203,7 +203,7 @@
               }, ],
               roleId: [{
                  required: true,
                  message: "请输入权限(0或1)",
                  message: "请选择人员权限",
                  trigger: "blur"
               }, ],
            },