wangggziwen 1 月之前
父节点
当前提交
286786dbad
共有 1 个文件被更改,包括 10 次插入4 次删除
  1. 10 4
      ui/src/views/production/eoegcategory/index.vue

+ 10 - 4
ui/src/views/production/eoegcategory/index.vue

@@ -69,9 +69,9 @@
 
     <el-table v-loading="loading" :data="categoryList" @selection-change="handleSelectionChange" :height="clientHeight" border>
       <el-table-column type="selection" width="55" align="center" />
-      <el-table-column label="SAI类别编号" align="center" prop="saiCategoryId" :show-overflow-tooltip="true"/>
-      <el-table-column label="SAI类别名称" align="center" prop="saiCategoryName" :show-overflow-tooltip="true"/>
-      <el-table-column label="SAI类别描述" align="center" prop="saiCategoryDescription" :show-overflow-tooltip="true"/>
+      <el-table-column width="200" label="SAI类别编号" align="center" prop="saiCategoryId" :show-overflow-tooltip="true"/>
+      <el-table-column width="200" label="SAI类别名称" align="center" prop="saiCategoryName" :show-overflow-tooltip="true"/>
+      <el-table-column label="SAI类别描述" align="center" prop="saiCategoryDescription" :show-overflow-tooltip="false"/>
       <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
         <template slot-scope="scope">
           <el-button
@@ -107,7 +107,7 @@
           <el-input v-model="form.saiCategoryName" placeholder="请输入SAI类别名称" />
         </el-form-item>
         <el-form-item label="SAI类别描述" prop="saiCategoryDescription">
-          <el-input v-model="form.saiCategoryDescription" placeholder="请输入SAI类别描述" />
+          <el-input type="textarea" :rows="4" v-model="form.saiCategoryDescription" placeholder="请输入SAI类别描述" />
         </el-form-item>
       </el-form>
       <div slot="footer" class="dialog-footer">
@@ -342,3 +342,9 @@ export default {
   }
 };
 </script>
+
+<style scoped>
+  ::v-deep .el-table .cell {
+    white-space: pre-line;
+  }
+</style>