浏览代码

管理后台-样式

panyong 3 年之前
父节点
当前提交
7a4b7142a2

+ 1 - 1
htmldev/manage/src/views/business/oms/list/index.vue

@@ -35,7 +35,7 @@
               :max-height="vheight">
       <el-table-column label="订单ID" prop="id" width="80"></el-table-column>
       <el-table-column label="订单编号" prop="order_number" width="200"></el-table-column>
-      <el-table-column label="桌号" prop="place_number"></el-table-column>
+      <el-table-column label="桌号" prop="place_number" width="140"></el-table-column>
       <el-table-column label="点单用户" prop="order_user_name" width="160"></el-table-column>
       <el-table-column label="手机号" prop="order_user_phone" width="120"></el-table-column>
       <el-table-column label="商品数量" prop="product_num"></el-table-column>

+ 1 - 1
htmldev/manage/src/views/business/place/list/index.vue

@@ -27,7 +27,7 @@
               :max-height="vheight">
       <el-table-column label="ID" prop="id"></el-table-column>
       <el-table-column label="座位名称" prop="place_name" width="240"></el-table-column>
-      <el-table-column label="座位说明" prop="place_desc"></el-table-column>
+      <el-table-column label="座位说明" prop="place_desc" width="240"></el-table-column>
       <el-table-column label="座位类型">
         <template slot-scope="scope">
           <p>{{ ['正常', '临时'][scope.row.place_type] }}</p>

+ 1 - 1
htmldev/manage/src/views/ums/boss/index.vue

@@ -34,7 +34,7 @@
               border
               :max-height="vheight">
       <el-table-column label="ID" prop="id" width="80"></el-table-column>
-      <el-table-column label="头像">
+      <el-table-column label="头像" width="130">
         <template slot-scope="scope">
           <el-image style="width: 100px; height: 100px"
                     :src="scope.row.user_head_url"

+ 1 - 1
htmldev/manage/src/views/ums/customer/index.vue

@@ -33,7 +33,7 @@
               border
               :max-height="vheight">
       <el-table-column label="ID" prop="id" width="80"></el-table-column>
-      <el-table-column label="头像">
+      <el-table-column label="头像" width="130">
         <template slot-scope="scope">
           <el-image style="width: 100px; height: 100px"
                     :src="scope.row.user_head_url"

+ 1 - 1
htmldev/manage/src/views/ums/singer/index.vue

@@ -34,7 +34,7 @@
               border
               :max-height="vheight">
       <el-table-column label="ID" prop="id" width="80"></el-table-column>
-      <el-table-column label="头像">
+      <el-table-column label="头像" width="130">
         <template slot-scope="scope">
           <el-image style="width: 100px; height: 100px"
                     :src="scope.row.user_head_url"

+ 1 - 1
htmldev/manage/src/views/ums/worker/index.vue

@@ -34,7 +34,7 @@
               border
               :max-height="vheight">
       <el-table-column label="ID" prop="id" width="80"></el-table-column>
-      <el-table-column label="头像">
+      <el-table-column label="头像" width="130">
         <template slot-scope="scope">
           <el-image style="width: 100px; height: 100px"
                     :src="scope.row.user_head_url"

+ 9 - 8
htmldev/manage/src/views/user/index.vue

@@ -26,17 +26,18 @@
     </div>
     <el-table :data="tableData" stripe v-loading="tableLoading" fit class="marginT-10 order-table" border>
       <el-table-column label="工号" prop="id" width="60"></el-table-column>
-      <el-table-column label="账号" prop="user_name"></el-table-column>
-      <el-table-column label="姓名" prop="user_full_name"></el-table-column>
+      <el-table-column label="账号" prop="user_name" width="140"></el-table-column>
+      <el-table-column label="姓名" prop="user_full_name" width="140"></el-table-column>
       <el-table-column label="是否管理员" prop="is_admin"
-                       :formatter="row => row.is_admin == 1 ? '管理员' : '普通账号'"></el-table-column>
+                       :formatter="row => row.is_admin == 1 ? '管理员' : '普通账号'"
+                       width="120"></el-table-column>
       <el-table-column label="创建时间" prop="created_at" width="160"></el-table-column>
-      <el-table-column label="所属项目" prop="user_project_name"></el-table-column>
-      <el-table-column label="所属部门" prop="user_department_name"></el-table-column>
-      <el-table-column label="所属角色" prop="user_role_name"></el-table-column>
+      <el-table-column label="所属项目" prop="user_project_name" width="140"></el-table-column>
+      <el-table-column label="所属部门" prop="user_department_name" width="140"></el-table-column>
+      <el-table-column label="所属角色" prop="user_role_name" width="140"></el-table-column>
       <el-table-column label="手机号" prop="user_phone" width="110"></el-table-column>
-      <el-table-column label="邮箱" prop="user_email"></el-table-column>
-      <el-table-column label="操作" width="160">
+      <el-table-column label="邮箱" prop="user_email" width="200"></el-table-column>
+      <el-table-column label="操作" width="160" fixed="right">
         <template slot-scope="scope">
           <el-button type="text" @click="edit(scope.row)" v-permission="'user_list_edit'">编辑</el-button>
           <el-button type="text" @click="modPassword(scope.row)" v-permission="'user_list_del'">修改密码</el-button>