Browse Source

1、隐藏某些字段列

hezhihong 1 year ago
parent
commit
a17a1c466c
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/views/IMPORTANTPROJECT/index.vue

+ 5 - 4
src/views/IMPORTANTPROJECT/index.vue

@@ -80,11 +80,11 @@
       @selection-change="handleSelectionChange"
     >
       <el-table-column type="selection" width="55" align="center" />
-      <el-table-column label="重点项目数据	主键" align="center" prop="id">
+      <!-- <el-table-column label="重点项目数据	主键" align="center" prop="id"> -->
         <!-- <template slot-scope="scope">
           <dict-tag :options="dict.type.${column.dictType}" :value="scope.row.id"/>
         </template> -->
-      </el-table-column>
+      <!-- </el-table-column> -->
       <el-table-column label="项目名称 " align="center" prop="xmmc">
         <!-- <template slot-scope="scope">
           <dict-tag :options="dict.type.${column.dictType}" :value="scope.row.xmmc"/>
@@ -149,16 +149,17 @@
           <dict-tag :options="dict.type.${column.dictType}" :value="scope.row.updateBy"/>
         </template> -->
       </el-table-column>
-      <el-table-column label="部门主键" align="center" prop="deptId">
+      <!-- <el-table-column label="部门主键" align="center" prop="deptId"> -->
         <!-- <template slot-scope="scope">
           <dict-tag :options="dict.type.${column.dictType}" :value="scope.row.deptId"/>
         </template> -->
-      </el-table-column>
+      <!-- </el-table-column> -->
       <el-table-column
         fixed="right"
         label="操作"
         align="center"
         class-name="small-padding fixed-width"
+        width="130"
       >
         <template slot-scope="scope">
           <el-button