230320a303 9 月之前
父節點
當前提交
4a11ba15a6

文件差異過大導致無法顯示
+ 0 - 0
dist/index.html


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.d5477896.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.e9bd71a2.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-19f7a3e5.27645f97.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-19f7a3e5.44321acf.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-7441b538.41fcf2bc.js


+ 3 - 0
src/api/zt.js

@@ -4,6 +4,9 @@
 import { getRequest, getRequestNoSort } from '@/utils/request'
 
 export default {
+  admwechatuserlist: params => { // 用户管理 - 列表
+    return getRequest('/adm/wechat/user/list', params)
+  },
   admverify1list: params => { // 项目包 -  列表
     return getRequest('/adm/verify1/list', params)
   },

+ 20 - 20
src/router/index.js

@@ -90,26 +90,26 @@ export let moreRoutes = [
       }
     ]
   },
-  // {
-  //   path: '/user',
-  //   component: Layout,
-  //   redirect: '/user/app',
-  //   meta: { title: '用户管理', icon: 'dashboard' },
-  //   children: [
-  //     // {
-  //     //   path: 'app',
-  //     //   name: 'UserApp',
-  //     //   component: () => import('@/views/user/app'),
-  //     //   meta: { title: '用户管理', affix: true }
-  //     // },
-  //     {
-  //       path: 'index',
-  //       name: 'UserIndex',
-  //       component: () => import('@/views/user/index'),
-  //       meta: { title: '后台用户管理', affix: true }
-  //     },
-  //   ]
-  // },
+  {
+    path: '/user',
+    component: Layout,
+    redirect: '/user/app',
+    meta: { title: '用户管理', icon: 'dashboard' },
+    children: [
+      {
+        path: 'app',
+        name: 'UserApp',
+        component: () => import('@/views/user/app'),
+        meta: { title: '用户管理', affix: true }
+      },
+      // {
+      //   path: 'index',
+      //   name: 'UserIndex',
+      //   component: () => import('@/views/user/index'),
+      //   meta: { title: '后台用户管理', affix: true }
+      // },
+    ]
+  },
 ]
 function formatStr (str) {
   let newStr = ''

+ 52 - 52
src/views/user/app.vue

@@ -49,7 +49,7 @@ export default {
   mixins: [baseTable],
   data() {
     return {
-      apiStr: 'user.admwechatuserlist',
+      apiStr: 'zt.admwechatuserlist',
       searchForm: null,
       isDtlShow: false,
       curObj: {},
@@ -61,12 +61,12 @@ export default {
     tableData2() {
       const arr = [...this.tableData]
       arr.map(item => {
-        const fpUser = window.sessionStorage.getItem('fp_user') ? JSON.parse(window.sessionStorage.getItem('fp_user')) : {}
-        if (fpUser.username === 'admin') {
-          item.phones = item.phone
-        } else {
-          item.phones = item.phone.substring(0, 7) + '****'
-        }
+        // const fpUser = window.sessionStorage.getItem('fp_user') ? JSON.parse(window.sessionStorage.getItem('fp_user')) : {}
+        // if (fpUser.username === 'admin') {
+        //   item.phones = item.phone
+        // } else {
+        //   item.phones = item.phone.substring(0, 7) + '****'
+        // }
       })
       return arr
     }
@@ -78,54 +78,54 @@ export default {
         { label: '头像', prop: 'avatar', type: 'img' },
         { label: '昵称', prop: 'nickname' },
         { label: '成长值', prop: 'integral', sortable: 'custom' },
-        { label: '手机号', prop: 'phones' },
+        { label: '手机号', prop: 'phone' },
         { label: '注册时间', prop: 'create_at' },
-        { label: '禁言状态', prop: 'is_gag', type: 'tag', tags: arrToObj(this.$dictData.sys_yesno), tagTypeObj: {'2': 'success', '1': 'danger'} },
-        { label: '销售', prop: 'is_sale', type: 'tag', tags: arrToObj(this.$dictData.sys_yesno), tagTypeObj: {'2': 'info', '1': 'primary'} },
-        { label: '渠道', prop: 'is_partner', type: 'tag', tags: arrToObj(this.$dictData.sys_yesno), tagTypeObj: {'2': 'info', '1': 'primary'} },
-        { label: '备注', prop: 'tag', type: 'input', width: 100},
+        // { label: '禁言状态', prop: 'is_gag', type: 'tag', tags: arrToObj(this.$dictData.sys_yesno), tagTypeObj: {'2': 'success', '1': 'danger'} },
+        // { label: '销售', prop: 'is_sale', type: 'tag', tags: arrToObj(this.$dictData.sys_yesno), tagTypeObj: {'2': 'info', '1': 'primary'} },
+        // { label: '渠道', prop: 'is_partner', type: 'tag', tags: arrToObj(this.$dictData.sys_yesno), tagTypeObj: {'2': 'info', '1': 'primary'} },
+        // { label: '备注', prop: 'tag', type: 'input', width: 100},
         { label: '操作', width: 260, type: 'handle2', operations:
           [
-            { label: '保存标签', func: this.saveHandle, btnType: 'primary' },
-            { label: '成长值编辑', func: this.openPopup, btnType: 'success' },
-            { label: '成长值明细', func: this.openPDPopup, btnType: 'success' },
-            { labelFor: 'is_gag', func: this.disHandle,
-              labelConfig: {
-                texts: {
-                  1: '解禁',
-                  2: '禁言'
-                },
-                btnTypes: {
-                  1: 'success',
-                  2: 'danger'
-                }
-              }
-            },
-            { labelFor: 'is_sale', func: this.isSaleHandle,
-              labelConfig: {
-                texts: {
-                  1: '销售取消',
-                  2: '设成销售'
-                },
-                btnTypes: {
-                  1: 'danger',
-                  2: 'info'
-                }
-              }
-            },
-            { labelFor: 'is_partner', func: this.isPartnerHandle,
-              labelConfig: {
-                texts: {
-                  1: '渠道取消',
-                  2: '设成渠道'
-                },
-                btnTypes: {
-                  1: 'danger',
-                  2: 'info'
-                }
-              }
-            },
-            { label: '删除', func: this.delHandle, btnType: 'danger' },
+            // { label: '保存标签', func: this.saveHandle, btnType: 'primary' },
+            // { label: '成长值编辑', func: this.openPopup, btnType: 'success' },
+            // { label: '成长值明细', func: this.openPDPopup, btnType: 'success' },
+            // { labelFor: 'is_gag', func: this.disHandle,
+            //   labelConfig: {
+            //     texts: {
+            //       1: '解禁',
+            //       2: '禁言'
+            //     },
+            //     btnTypes: {
+            //       1: 'success',
+            //       2: 'danger'
+            //     }
+            //   }
+            // },
+            // { labelFor: 'is_sale', func: this.isSaleHandle,
+            //   labelConfig: {
+            //     texts: {
+            //       1: '销售取消',
+            //       2: '设成销售'
+            //     },
+            //     btnTypes: {
+            //       1: 'danger',
+            //       2: 'info'
+            //     }
+            //   }
+            // },
+            // { labelFor: 'is_partner', func: this.isPartnerHandle,
+            //   labelConfig: {
+            //     texts: {
+            //       1: '渠道取消',
+            //       2: '设成渠道'
+            //     },
+            //     btnTypes: {
+            //       1: 'danger',
+            //       2: 'info'
+            //     }
+            //   }
+            // },
+            // { label: '删除', func: this.delHandle, btnType: 'danger' },
           ]
         }
       ]

+ 3 - 3
src/views/user/components/searchForm/App.vue

@@ -18,9 +18,9 @@ export default {
       searchData: [
         { label: '手机号', key: 'phone' },
         { label: '昵称', key: 'nickname' },
-        { label: '备注', key: 'tag' },
-        { label: '是否置业经理', key: 'is_sale', type: 'select', class: 'c-3', options: this.$dictData.sys_yesno },
-        { label: '是否开启推送', key: 'is_notice', type: 'select', class: 'c-3', options: this.$dictData.sys_yesno },
+        // { label: '备注', key: 'tag' },
+        // { label: '是否置业经理', key: 'is_sale', type: 'select', class: 'c-3', options: this.$dictData.sys_yesno },
+        // { label: '是否开启推送', key: 'is_notice', type: 'select', class: 'c-3', options: this.$dictData.sys_yesno },
       ]
     }
   },

部分文件因文件數量過多而無法顯示