浏览代码

fix(用户管理):列表修改

sufan 5 月之前
父节点
当前提交
3f2097f27c
共有 3 个文件被更改,包括 13 次插入13 次删除
  1. 1 1
      src/views/userManagement/index.vue
  2. 11 11
      src/views/userManagement/indexTable.js
  3. 1 1
      vue.config.js

+ 1 - 1
src/views/userManagement/index.vue

@@ -7,7 +7,7 @@
           <div class="left" />
           <div class="right">
             <div>
-              <el-input v-model="search.mark" style="width: 250px" placeholder="用户ID/手机号码" clearable />
+              <el-input v-model="search.mark" style="width: 250px" placeholder="手机号码" clearable />
             </div>
             <div>
               <el-select v-model="search.useMoney" style="width: 100%" placeholder="在途支用" clearable>

+ 11 - 11
src/views/userManagement/indexTable.js

@@ -18,21 +18,21 @@ export default {
         label: '序号',
         index: true
       },
-      {
-        label: '用户ID',
-        prop: 'id',
-        showTooltip: true,
-        width: 70
-      },
+      // {
+      //   label: '用户ID',
+      //   prop: 'id',
+      //   showTooltip: true,
+      //   width: 70
+      // },
       {
         label: '用户名称',
         showTooltip: true,
-        width: '100',
+        // width: '100',
         prop: 'loginName'
       },
       {
         label: '登录手机号码',
-        width: '110',
+        // width: '110',
         prop: 'phone',
         render: (h, row) => {
           if (sessionStorage.getItem('showFlag') === 'true') {
@@ -44,14 +44,14 @@ export default {
       },
       {
         label: '注册时间',
-        width: '100',
+        // width: '100',
         prop: 'gmtCreate',
         showTooltip: true
       },
       {
         label: '企业地址',
         prop: 'enterpriseAddress',
-        width: '100',
+        // width: '100',
         showTooltip: true
       },
       {
@@ -80,7 +80,7 @@ export default {
       {
         label: '是否有在途支用',
         prop: 'useMoney',
-        width: '80',
+        width: '120',
         render: (h, row) => {
           return <span>{ row.useMoney ? '是' : '否' }</span>
         }

+ 1 - 1
vue.config.js

@@ -30,7 +30,7 @@ module.exports = {
   lintOnSave: process.env.NODE_ENV === 'development',
   productionSourceMap: false,
   devServer: {
-    port: port,
+    port: 9528,
     open: true,
     overlay: {
       warnings: false,