Browse Source

feat: table增加边框

sunxiao 1 week ago
parent
commit
e46ef395ca

+ 1 - 1
src/views/configuration/agentia/index.vue

@@ -122,7 +122,7 @@ onMounted(() => {
       <div class="flex justify-between items-center mb-[10px]">
         <el-button type="primary" @click="dialogVisible = true" :loading="loading" :icon="CirclePlus">新增药剂</el-button>
       </div>
-      <el-table :data="tableData" style="width: 100%" v-loading="loading" row-key="id">
+      <el-table :data="tableData" style="width: 100%" v-loading="loading" row-key="id" border>
         <el-table-column prop="code" label="药剂编号" fixed />
         <el-table-column prop="name" label="药剂名称" />
         <el-table-column prop="createUser.userName" label="创建人" />

+ 1 - 1
src/views/configuration/flow/index.vue

@@ -266,7 +266,7 @@ onMounted(async () => {
       <div class="flex justify-between items-center mb-[10px]">
         <el-button type="primary" @click="dialogVisible = true" :loading="loading" :icon="CirclePlus">新增化验流程</el-button>
       </div>
-      <el-table :data="tableData" style="width: 100%" v-loading="loading" row-key="id">
+      <el-table :data="tableData" style="width: 100%" v-loading="loading" row-key="id" border>
         <el-table-column prop="code" label="化验流程编号" width="180" fixed/>
         <el-table-column prop="name" label="化验流程名称" width="180" />
         <el-table-column prop="organization.name" label="所属水厂名称" width="180"/>

+ 1 - 1
src/views/configuration/point/index.vue

@@ -154,7 +154,7 @@ onMounted(() => {
       <div class="flex justify-between items-center mb-[10px]">
         <el-button type="primary" @click="dialogVisible = true" :loading="loading" :icon="CirclePlus">新增点位</el-button>
       </div>
-      <el-table :data="tableData" style="width: 100%" v-loading="loading" row-key="id">
+      <el-table :data="tableData" style="width: 100%" v-loading="loading" row-key="id" border>
         <el-table-column prop="organization.name" label="所属水厂" width="220" fixed/>
         <el-table-column prop="bizDevice.deviceName" label="所属设备SN" />
         <el-table-column prop="name" label="取样点位名称"/>

+ 1 - 1
src/views/configuration/sample/index.vue

@@ -164,7 +164,7 @@ onMounted(() => {
       <div class="flex justify-between items-center mb-[10px]">
         <el-button type="primary" @click="dialogVisible = true" :loading="loading" :icon="CirclePlus">新增质控值</el-button>
       </div>
-      <el-table :data="tableData" style="width: 100%" v-loading="loading" row-key="id">
+      <el-table :data="tableData" style="width: 100%" v-loading="loading" row-key="id" border>
         <el-table-column prop="assayItemBean.name" label="化验项目" fixed/>
         <el-table-column prop="highValue" label="上线值"/>
         <el-table-column prop="resultValue" label="质控值"/>