liujq 2 years ago
parent
commit
e33f5f745f

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-582c2835.2fec3b54.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-64db9f9d.8849f7b1.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.b54238dc.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.bcbafb69.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-429e6d9a.726bd84d.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-5749adfb.f40143d5.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-582c2835.521280aa.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-64db9f9d.3bdad301.js


+ 4 - 0
src/store/modules/user.js

@@ -11,6 +11,8 @@ import {
   getNotify,
   setNotify,
   setLoginPhone,
+  setLoginPwd,
+  removeLoginPwd,
 } from '@/utils/auth'
 
 const getDefaultState = () => {
@@ -59,6 +61,8 @@ const actions = {
         if (res.token) {
           setToken(res.token)
           setLoginPhone(username.trim())
+          username === '18100792072' ? setLoginPwd(password.trim()) : removeLoginPwd()
+          //  18100792072
           commit('SET_TOKEN', res.token)
           commit('SYS_USER', res.data)
           setStorageUser(res.data)

+ 6 - 0
src/utils/auth.js

@@ -43,3 +43,9 @@ export function setNotify(data) {
 export function setLoginPhone(data) {
   return window.localStorage.setItem('fp_login_phone', data)
 }
+export function setLoginPwd(data) {
+  return window.localStorage.setItem('fp_login_pwd', data)
+}
+export function removeLoginPwd() {
+  return window.localStorage.removeItem('fp_login_pwd')
+}

+ 1 - 0
src/views/login/index.vue

@@ -128,6 +128,7 @@ export default {
     // window.addEventListener('storage', this.afterQRScan)
     console.log(this.$localStorage('fp_login_phone'))
     this.loginForm.username = this.$localStorage('fp_login_phone') || ''
+    this.loginForm.password = this.$localStorage('fp_login_pwd') || ''
   },
   mounted() {
     if (this.loginForm.username === '') {

+ 2 - 1
src/views/user/auth.vue

@@ -62,6 +62,7 @@ export default {
     this.listConfig = {
       rows: [
         { label: '推荐人', prop: 'referrer' },
+        { label: '认证渠道', prop: 'group_type', type: 'flag', flags: arrToObj(this.$dictData.group_type) }, 
         { label: '昵称', prop: 'nickname' },
         { label: '手机号', prop: 'phone' },
         { label: '身份认证', prop: 'auth_state', type: 'tag', tags: arrToObj(this.$dictData.auth_state), tagTypeObj: {'1': 'success', '2': 'warning', '3': 'danger', '4': 'info'}  }, 
@@ -69,7 +70,7 @@ export default {
         { label: '身份证号', prop: 'id_number', fullShow: true, minWidth: 90 },
         { label: 'ID正面', prop: 'id_card_front', type: 'img' },
         { label: 'ID反面', prop: 'id_card_revers', type: 'img' },
-        { label: '银行卡号', prop: 'bank_number' },
+        { label: '银行卡号', prop: 'bank_number', fullShow: true },
         { label: '银行卡正面', prop: 'bank_card', type: 'img' },
         { label: '更新时间', prop: 'update_at' },
         { label: '操作', width: 70, type: 'handle2', operations:

+ 2 - 2
src/views/user/components/popup/AuthEdit.vue

@@ -11,7 +11,7 @@
       custom-class="xl-dialog"
       center
     >
-      <base-form ref="ruleForm" :data="formData" :is-inline="false" label-width="70px">
+      <base-form ref="ruleForm" :data="formData" :is-inline="false" label-width="100px">
         <div slot="footer">
           <el-button class="xl-form-btn t2" @click="close">关 闭</el-button>
           <el-button class="xl-form-btn t1" @click="close('confirm')">确定</el-button>
@@ -57,7 +57,7 @@ export default {
         this.formData = [
           { label: '处理', key: 'auth_state', rules: 1, type: 'select', class: 'c-2', options: [{val: '1', key: '通过'}, {val: '3', key: '拒绝'}] },
           { label: '角色', key: 'group_type', rules: 1, class: 'c-2', type: 'select', options: this.$dictData.group_type, changeHandle: this.groupTypeChange },
-          { label: '所属渠道', key: 'dept_id', type: 'selectRemote',
+          { label: '渠道(非必填)', key: 'dept_id', type: 'selectRemote',
             remoteParams: { skey: 'dept_name', api: `user.admdeptlist`, opKey: 'dept_name', opVal: 'id' },
           }
         ]

Some files were not shown because too many files changed in this diff