flat: 暂存

This commit is contained in:
Apcallover
2024-04-18 14:30:35 +08:00
parent 6eb0768977
commit a044630563
6 changed files with 514 additions and 502 deletions

View File

@@ -1,324 +1,328 @@
<template> <template>
<view class="body"> <view class="body">
<view class="head"> <view class="head">
<view class="userTitle"> <view class="userTitle">
<image v-if="userInfo.avatar" :src="userInfo.avatar" mode=""></image> <image v-if="userInfo.avatar" :src="userInfo.avatar" mode=""></image>
<image v-else src="../../static/img/head.svg" mode=""></image> <image v-else src="../../static/img/head.svg" mode=""></image>
<view class="userRight"> <view class="userRight">
<view class="userTel" v-if="userInfo.user_name"> <view class="userTel" v-if="userInfo.user_name">
{{ auth.authInfo.realName ? auth.authInfo.realName : {{ auth.authInfo.realName ? auth.authInfo.realName :
phoneFilter(userInfo.user_name) }} phoneFilter(userInfo.user_name) }}
</view> </view>
<view class="userTel" v-else> </view> <view class="userTel" v-else> </view>
<view class="userContent"> <view class="userContent">
<view style="margin-right: 40rpx;">实名认证{{ auth.realNameState ? '已认证' : '未认证' }}</view> <view style="margin-right: 40rpx;">实名认证{{ auth.realNameState ? '已认证' : '未认证' }}</view>
<!-- <view>银行卡核验{{auth.bankCardState?'已认证':'未认证'}}</view> --> <!-- <view>银行卡核验{{auth.bankCardState?'已认证':'未认证'}}</view> -->
</view> </view>
</view> </view>
</view> </view>
<view class="centerBar"> <view class="centerBar">
<view class="BarList" @click="go('/pageMy/my/resume/index')"> <view class="BarList" @click="go('/pageMy/my/resume/index')">
<image src="../../static/img/resumeMy.svg" mode=""></image> <image src="../../static/img/resumeMy.svg" mode=""></image>
我的简历 我的简历
</view> </view>
<view class="BarList" @click="go('/pageMy/myProject/myProject')"> <view class="BarList" @click="go('/pageMy/myProject/myProject')">
<image src="../../static/img/job.svg" mode=""></image> <image src="../../static/img/job.svg" mode=""></image>
我的申请 我的申请
</view> </view>
<view class="BarList" @click="go('/pageMy/myProject/myCollection')"> <view class="BarList" @click="go('/pageMy/myProject/myCollection')">
<image src="../../static/img/salary.svg" mode=""></image> <image src="../../static/img/salary.svg" mode=""></image>
我的收藏 我的收藏
</view> </view>
<view class="BarList" @click="go('/pageMy/myProject/browsingHistory')"> <view class="BarList" @click="go('/pageMy/myProject/browsingHistory')">
<image src="../../static/img/contract.png" mode=""></image> <image src="../../static/img/contract.png" mode=""></image>
浏览记录 浏览记录
</view> </view>
<!-- <view class="BarList" @click="go('/pageMy/myProject/browsingHistory')"> <!-- <view class="BarList" @click="go('/pageMy/myProject/browsingHistory')">
<image src="../../static/img/contract.png" mode=""></image> <image src="../../static/img/contract.png" mode=""></image>
我要招工 我要招工
</view> --> </view> -->
</view> </view>
</view> </view>
<view style="height: 104rpx;"></view> <view style="height: 104rpx;"></view>
<!-- <view class="federation"> <!-- <view class="federation">
<view>新业态职工工会联合会</view> <view>新业态职工工会联合会</view>
<view v-if="!federationStatus" class="forMembership" @click="go('/pageMy/federation/forMembership/Notice')">申请入会</view> <view v-if="!federationStatus" class="forMembership" @click="go('/pageMy/federation/forMembership/Notice')">申请入会</view>
<view v-else class="forMembership" @click="go('/pageMy/federation/vip/information')">已加入</view> <view v-else class="forMembership" @click="go('/pageMy/federation/vip/information')">已加入</view>
</view> --> </view> -->
<view class="btn"> <view class="btn">
<view class="btnList" @click="go('/pages/recruit/recruit')"> <view class="btnList" @click="go('/pages/recruit/recruit')">
<image src="../../static/img/zhao_gong.png" mode=""></image> <image src="../../static/img/zhao_gong.png" mode=""></image>
我要招工 我要招工
<image src="../../static/img/right.svg" mode=""></image> <image src="../../static/img/right.svg" mode=""></image>
</view> </view>
<view class="btnList" @click="go('/pageMy/setUserBase/index')"> <view class="btnList" @click="go('/pageMy/setUserBase/index')">
<image src="../../static/img/ID.svg" mode=""></image> <image src="../../static/img/ID.svg" mode=""></image>
认证信息 认证信息
<image src="../../static/img/right.svg" mode=""></image> <image src="../../static/img/right.svg" mode=""></image>
</view> </view>
<view class="btnList" @click="navTo('/pageMy/setUserBase/mailbox')"> <view class="btnList" @click="navTo('/pageMy/setUserBase/mailbox')">
<image src="../../static/img/evaluate.png" mode=""></image> <image src="../../static/img/evaluate.png" mode=""></image>
咨询信箱 咨询信箱
<image src="../../static/img/right.svg" mode=""></image> <image src="../../static/img/right.svg" mode=""></image>
</view> </view>
<view class="btnList" @click="go('')"> <view class="btnList" @click="go('')">
<image src="../../static/img/phone.svg" mode=""></image> <image src="../../static/img/phone.svg" mode=""></image>
问卷调查 问卷调查
<image src="../../static/img/right.svg" mode=""></image> <image src="../../static/img/right.svg" mode=""></image>
</view> </view>
<view class="btnList" @click="navTo('/pageMy/setUserBase/complain')"> <view class="btnList" @click="navTo('/pageMy/setUserBase/complain')">
<image src="../../static/img/vip.svg" mode=""></image> <image src="../../static/img/vip.svg" mode=""></image>
投诉建议 投诉建议
<image src="../../static/img/right.svg" mode=""></image> <image src="../../static/img/right.svg" mode=""></image>
</view> </view>
<!-- <view class="btnList" @click="go('/pageMy/apply/applications')"> <!-- <view class="btnList" @click="go('/pageMy/apply/applications')">
<image src="../../static/img/apply.png" mode=""></image> <image src="../../static/img/apply.png" mode=""></image>
我的申请 我的申请
<image src="../../static/img/right.svg" mode=""></image> <image src="../../static/img/right.svg" mode=""></image>
</view> --> </view> -->
<!-- <view class="btnList" @click="go('/pageMy/help/help')"> <!-- <view class="btnList" @click="go('/pageMy/help/help')">
<image src="../../static/img/help.svg" mode=""></image> <image src="../../static/img/help.svg" mode=""></image>
帮助与反馈 帮助与反馈
<image src="../../static/img/right.svg" mode=""></image> <image src="../../static/img/right.svg" mode=""></image>
</view> --> </view> -->
<!-- <view class="btnList" @click="go('/pageMy/my/set')"> <!-- <view class="btnList" @click="go('/pageMy/my/set')">
<image src="../../static/img/set.svg" mode=""></image> <image src="../../static/img/set.svg" mode=""></image>
设置 设置
<image src="../../static/img/right.svg" mode=""></image> <image src="../../static/img/right.svg" mode=""></image>
</view> --> </view> -->
</view> </view>
<!-- <view class="btn-out" @click="logout"> <!-- <view class="btn-out" @click="logout">
退出登录 退出登录
</view> --> </view> -->
<view class="bottom" @click="makePhoneCall"> <view class="bottom" @click="makePhoneCall">
<view>德阳市人社局 电话0838-2505580</view> <view>德阳市人社局 电话0838-2505580</view>
<view>地址德阳市旌阳区天山南路1段-102</view> <view>地址德阳市旌阳区天山南路1段-102</view>
</view> </view>
<cs-button></cs-button> <cs-button></cs-button>
</view> </view>
</template> </template>
<script> <script>
import { import {
mapGetters mapGetters
} from 'vuex' } from 'vuex'
import { import {
phoneFilter, stringFilterNum phoneFilter,
} from '@/untils/format.js' stringFilterNum
import { labourUnionInfo } from '@/api/federation.js' } from '@/untils/format.js'
export default { import {
data() { labourUnionInfo
return { } from '@/api/federation.js'
federationStatus: false export default {
} data() {
}, return {
onLoad() { federationStatus: false
if (this.$store.state.user.token && this.authPass) { }
this.$store.dispatch('getVipCode') },
} onLoad() {
}, // if (this.$store.state.user.token && this.authPass) {
onShow() { // this.$store.dispatch('getVipCode')
if (!this.$store.state.user.token) { // }
uni.redirectTo({ },
url: '/pages/login/login' onShow() {
}) if (!this.$store.state.user.token) {
} else { uni.redirectTo({
uni.$emit('newsReadChange') url: '/pages/login/login'
this.$store.dispatch('refreshAuthState') })
} } else {
// this.labourUnionInfoInit() uni.$emit('newsReadChange')
}, this.$store.dispatch('refreshAuthState')
methods: { }
labourUnionInfoInit() { // this.labourUnionInfoInit()
labourUnionInfo().then(e => { },
this.federationStatus = e.data.data.joined methods: {
}) labourUnionInfoInit() {
}, labourUnionInfo().then(e => {
// logout() { this.federationStatus = e.data.data.joined
// this.$store.dispatch('LogOut').then(() => { })
// // uni.reLaunch({ },
// // url: '/pages/login/login' // logout() {
// // }) // this.$store.dispatch('LogOut').then(() => {
// this.$store.dispatch('clearAuthState') // // uni.reLaunch({
// this.$store.dispatch('endRefreshNewsTimer') // // url: '/pages/login/login'
// location.href = "https://dy12333.org.cn/h5/" // // })
// }) // this.$store.dispatch('clearAuthState')
// }, // this.$store.dispatch('endRefreshNewsTimer')
go(url) { // location.href = "https://dy12333.org.cn/h5/"
uni.navigateTo({ // })
url // },
}) go(url) {
}, uni.navigateTo({
makePhoneCall: function () { url
uni.makePhoneCall({ })
phoneNumber: "18500206848" },
}) makePhoneCall: function() {
}, uni.makePhoneCall({
phoneFilter,stringFilterNum phoneNumber: "18500206848"
}, })
computed: { },
...mapGetters(['userInfo', 'auth', 'authPass']) phoneFilter,
} stringFilterNum
} },
</script> computed: {
...mapGetters(['userInfo', 'auth', 'authPass'])
<style> }
page { }
height: 100%; </script>
background: #f6f6f6;
} <style>
page {
.federation { height: 100%;
height: 48rpx; background: #f6f6f6;
border-radius: 10rpx; }
padding: 28rpx 30rpx;
margin: 30rpx; .federation {
font-size: 32rpx; height: 48rpx;
font-weight: 400; border-radius: 10rpx;
color: #6F5931; padding: 28rpx 30rpx;
display: flex; margin: 30rpx;
justify-content: space-between; font-size: 32rpx;
align-items: center; font-weight: 400;
background: url(../../static/img/my/mybanner.png) no-repeat; color: #6F5931;
background-size: cover; display: flex;
} justify-content: space-between;
align-items: center;
.forMembership { background: url(../../static/img/my/mybanner.png) no-repeat;
width: 140rpx; background-size: cover;
height: 50rpx; }
background: linear-gradient(112deg, #EFE0BC 0%, #D29A5A 100%, #DDBA88 100%);
box-shadow: 0px 0px 2px 1px rgba(231, 174, 85, 0.39); .forMembership {
border-radius: 25rpx; width: 140rpx;
font-size: 26rpx; height: 50rpx;
font-weight: 400; background: linear-gradient(112deg, #EFE0BC 0%, #D29A5A 100%, #DDBA88 100%);
color: #6F5931; box-shadow: 0px 0px 2px 1px rgba(231, 174, 85, 0.39);
line-height: 48rpx; border-radius: 25rpx;
text-align: center; font-size: 26rpx;
} font-weight: 400;
color: #6F5931;
.bottom { line-height: 48rpx;
font-family: PingFangSC-Regular; text-align: center;
font-size: 24rpx; }
color: #999999;
/* position: absolute; */ .bottom {
/* bottom: 120rpx; */ font-family: PingFangSC-Regular;
/* width: 100%; */ font-size: 24rpx;
margin: 120rpx 0; color: #999999;
text-align: center; /* position: absolute; */
} /* bottom: 120rpx; */
/* width: 100%; */
.btnList image:last-child { margin: 120rpx 0;
width: 19rpx; text-align: center;
height: 32rpx; }
margin-left: auto;
margin-right: 0; .btnList image:last-child {
} width: 19rpx;
height: 32rpx;
.btnList image { margin-left: auto;
width: 52rpx; margin-right: 0;
height: 52rpx; }
margin-right: 10rpx;
} .btnList image {
width: 52rpx;
.btnList { height: 52rpx;
font-family: PingFangSC-Regular; margin-right: 10rpx;
font-size: 32rpx; }
color: #333333;
display: flex; .btnList {
align-items: center; font-family: PingFangSC-Regular;
justify-content: flex-start; font-size: 32rpx;
padding: 30rpx 20rpx; color: #333333;
} display: flex;
align-items: center;
.btn { justify-content: flex-start;
width: 690rpx; padding: 30rpx 20rpx;
margin: 0 auto; }
border-radius: 15rpx;
background: #fefefe; .btn {
} width: 690rpx;
margin: 0 auto;
.BarList { border-radius: 15rpx;
font-family: PingFangSC-Regular; background: #fefefe;
font-size: 28rpx; }
color: #666666;
float: left; .BarList {
width: 25%; font-family: PingFangSC-Regular;
text-align: center; font-size: 28rpx;
padding: 30rpx 0rpx; color: #666666;
} float: left;
width: 25%;
.BarList image { text-align: center;
width: 52rpx; padding: 30rpx 0rpx;
height: 52rpx; }
display: block;
margin: 0 auto; .BarList image {
} width: 52rpx;
height: 52rpx;
.centerBar { display: block;
width: 690rpx; margin: 0 auto;
background-color: #fefefe; }
border-radius: 15rpx;
overflow: hidden; .centerBar {
position: absolute; width: 690rpx;
bottom: -70rpx; background-color: #fefefe;
left: 30rpx; border-radius: 15rpx;
} overflow: hidden;
position: absolute;
.userContent { bottom: -70rpx;
font-family: PingFangSC-Regular; left: 30rpx;
font-size: 26rpx; }
color: #FFFFFF;
display: flex; .userContent {
} font-family: PingFangSC-Regular;
font-size: 26rpx;
.userTel { color: #FFFFFF;
font-family: PingFangSC-Medium; display: flex;
font-size: 36rpx; }
color: #FFFFFF;
} .userTel {
font-family: PingFangSC-Medium;
.userRight { font-size: 36rpx;
float: left; color: #FFFFFF;
height: 50rpx; }
line-height: 50rpx;
} .userRight {
float: left;
.userTitle image { height: 50rpx;
width: 100rpx; line-height: 50rpx;
height: 100rpx; }
margin-right: 20rpx;
float: left; .userTitle image {
border-radius: 200rpx; width: 100rpx;
background-color: rgba(255, 255, 255, .3); height: 100rpx;
} margin-right: 20rpx;
float: left;
.userTitle { border-radius: 200rpx;
padding: 0 30rpx; background-color: rgba(255, 255, 255, .3);
} }
.head { .userTitle {
background-color: #1B66FF; padding: 0 30rpx;
width: 100%; }
height: 200rpx;
padding-top: 200rpx; .head {
position: relative; background-color: #1B66FF;
} width: 100%;
height: 200rpx;
.body { padding-top: 200rpx;
background: #f6f6f6; position: relative;
height: 100%; }
position: relative;
overflow: auto; .body {
} background: #f6f6f6;
height: 100%;
/* .btn-out { position: relative;
background-color: #fefefe; overflow: auto;
margin-top: 20rpx; }
padding: 20rpx 0;
text-align: center; /* .btn-out {
font-family: PingFangSC-Regular; background-color: #fefefe;
font-size: 32rpx; margin-top: 20rpx;
color: #F46161; padding: 20rpx 0;
} */ text-align: center;
</style> font-family: PingFangSC-Regular;
font-size: 32rpx;
color: #F46161;
} */
</style>

View File

@@ -63,10 +63,10 @@
if (resData.data.data) { if (resData.data.data) {
resolve() resolve()
} else { } else {
this.$api.msg('您未申请开通该功能,请联系工作人员') // this.$api.msg('您未申请开通该功能,请联系工作人员')
// this.navTo( this.navTo(
// '/pages/recruit/subPage/enterpriceCertification/enterpriceCertification' '/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
// ) )
} }
} else { } else {
reject() reject()

View File

@@ -66,7 +66,7 @@
</UploadIdNumber> </UploadIdNumber>
</u-form-item> </u-form-item>
<u-form-item labelWidth="100" prop="authUrlId"> <u-form-item labelWidth="100" prop="authUrlId">
<UploadIdNumber v-model="formData.authUrlId" backImg="/static/img/idcard.png"> <UploadIdNumber v-model="formData.authUrlId" backImg="/static/img/businessLicense.jpg">
</UploadIdNumber> </UploadIdNumber>
</u-form-item> </u-form-item>
</view> </view>

View File

@@ -1,8 +1,8 @@
<template> <template>
<view class="content"> <view class="content">
<u-upload :fileList="ImgUrl" @afterRead="afterRead" :deletable="true" @delete="deletePic" name="6" :maxCount="1" <u-upload :fileList="ImgUrl" @afterRead="afterRead" :deletable="true" @delete="deletePic" name="6" :maxCount="1"
width="280" height="150"> :width="width" :height="height">
<image :src="backImg" mode="widthFix" style="width: 280px;height: 150px;"></image> <image :src="backImg" mode="widthFix" :style="`width: ${width}px;height: ${height}px;`"></image>
</u-upload> </u-upload>
</view> </view>
</template> </template>
@@ -21,7 +21,15 @@
value: { value: {
type: String, type: String,
default: null default: null
} },
width: {
type: Number,
default: 250
},
height: {
type: Number,
default: 150
},
}, },
computed: { computed: {
ImgUrl(val) { ImgUrl(val) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

View File

@@ -1,170 +1,170 @@
import { import {
findAuth, findAuth,
cheakValue, cheakValue,
insure insure
} from '@/api/auth.js' } from '@/api/auth.js'
import { import {
getStore, getStore,
setStore setStore
} from '@/untils/store.js' } from '@/untils/store.js'
import { import {
realName realName
} from '@/api/auth.js' } from '@/api/auth.js'
const convert = (v) => { const convert = (v) => {
return v === '1' return v === '1'
} }
const auth = { const auth = {
state: { state: {
laborState: getStore({ laborState: getStore({
name: 'laborState' name: 'laborState'
}) || false, }) || false,
realNameState: getStore({ realNameState: getStore({
name: 'realNameState' name: 'realNameState'
}) || false, }) || false,
bankCardState: getStore({ bankCardState: getStore({
name: 'bankCardState' name: 'bankCardState'
}) || false, }) || false,
insureState: getStore({ insureState: getStore({
name: 'insureState' name: 'insureState'
}) || false, }) || false,
authInfo: getStore({ authInfo: getStore({
name: 'authInfo' name: 'authInfo'
}) || [], }) || [],
loginType: 0, // 0 loginType: 0, // 0
}, },
actions: { actions: {
//刷新token //刷新token
refreshAuthState({ refreshAuthState({
commit, commit,
dispatch dispatch
}) { }) {
// authValue 身份信息|实名认证|银行卡认证|社保信息 // authValue 身份信息|实名认证|银行卡认证|社保信息
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
findAuth().then((res) => { findAuth().then((res) => {
const data = res.data.data; const data = res.data.data;
const authValue = data.authValue const authValue = data.authValue
commit('SET_AUTH_LABOR', convert(authValue[0])) commit('SET_AUTH_LABOR', convert(authValue[0]))
commit('SET_AUTH_REALNAME', convert(authValue[1])) commit('SET_AUTH_REALNAME', convert(authValue[1]))
commit('SET_AUTH_BANKCARD', convert(authValue[2])) commit('SET_AUTH_BANKCARD', convert(authValue[2]))
commit('SET_AUTH_INSURE', convert(authValue[3])) commit('SET_AUTH_INSURE', convert(authValue[3]))
commit('SET_AUTH_INFO', data) commit('SET_AUTH_INFO', data)
dispatch('getVipCode') // dispatch('getVipCode')
resolve() resolve()
}).catch(reject) }).catch(reject)
}) })
}, },
authRealName({ authRealName({
commit, commit,
dispatch dispatch
}, { }, {
name, name,
idNumber idNumber
}) { }) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
realName(name, idNumber).then(() => { realName(name, idNumber).then(() => {
commit('SET_AUTH_REALNAME', true) commit('SET_AUTH_REALNAME', true)
commit('UPDATE_AUTH_REALNAME', { commit('UPDATE_AUTH_REALNAME', {
realName: name, realName: name,
idNumber: idNumber idNumber: idNumber
}) })
dispatch('getVipCode') // dispatch('getVipCode')
resolve() resolve()
}).catch(reject) }).catch(reject)
}) })
}, },
authLabor({ authLabor({
commit, commit,
dispatch dispatch
}) { }) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
cheakValue(1).then(resp => { cheakValue(1).then(resp => {
commit('SET_AUTH_LABOR', true) commit('SET_AUTH_LABOR', true)
resolve() resolve()
}).catch(reject) }).catch(reject)
}) })
}, },
authInsure({ authInsure({
commit, commit,
dispatch dispatch
}, data) { }, data) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
insure(data).then(resp => { insure(data).then(resp => {
commit('SET_AUTH_INSURE', true) commit('SET_AUTH_INSURE', true)
commit('UPDATE_AUTH_INSURE_TYPE', data) commit('UPDATE_AUTH_INSURE_TYPE', data)
resolve() resolve()
}).catch(reject) }).catch(reject)
}) })
}, },
clearAuthState({ clearAuthState({
commit commit
}) { }) {
commit('SET_AUTH_LABOR', '') commit('SET_AUTH_LABOR', '')
commit('SET_AUTH_REALNAME', '') commit('SET_AUTH_REALNAME', '')
commit('SET_AUTH_BANKCARD', '') commit('SET_AUTH_BANKCARD', '')
commit('SET_AUTH_INSURE', '') commit('SET_AUTH_INSURE', '')
commit('SET_AUTH_INFO', '') commit('SET_AUTH_INFO', '')
} }
}, },
mutations: { mutations: {
changeLoginType(state, payload) { changeLoginType(state, payload) {
state.loginType = payload state.loginType = payload
}, },
SET_AUTH_LABOR: (state, status) => { SET_AUTH_LABOR: (state, status) => {
state.laborState = status state.laborState = status
setStore({ setStore({
name: 'laborState', name: 'laborState',
content: state.laborState content: state.laborState
}) })
}, },
SET_AUTH_REALNAME: (state, status) => { SET_AUTH_REALNAME: (state, status) => {
state.realNameState = status state.realNameState = status
setStore({ setStore({
name: 'realNameState', name: 'realNameState',
content: state.realNameState content: state.realNameState
}) })
}, },
SET_AUTH_BANKCARD: (state, status) => { SET_AUTH_BANKCARD: (state, status) => {
state.bankCardState = status state.bankCardState = status
setStore({ setStore({
name: 'bankCardState', name: 'bankCardState',
content: state.bankCardState content: state.bankCardState
}) })
}, },
SET_AUTH_INSURE: (state, status) => { SET_AUTH_INSURE: (state, status) => {
state.insureState = status state.insureState = status
setStore({ setStore({
name: 'insureState', name: 'insureState',
content: state.insureState content: state.insureState
}) })
}, },
SET_AUTH_INFO: (state, data) => { SET_AUTH_INFO: (state, data) => {
state.authInfo = data state.authInfo = data
setStore({ setStore({
name: 'authInfo', name: 'authInfo',
content: state.authInfo content: state.authInfo
}) })
}, },
UPDATE_AUTH_INSURE_TYPE: (state, type) => { UPDATE_AUTH_INSURE_TYPE: (state, type) => {
state.authInfo.bakValue = type state.authInfo.bakValue = type
setStore({ setStore({
name: 'authInfo', name: 'authInfo',
content: state.authInfo content: state.authInfo
}) })
}, },
UPDATE_AUTH_REALNAME: (state, { UPDATE_AUTH_REALNAME: (state, {
realName, realName,
idNumber idNumber
}) => { }) => {
state.authInfo.realName = realName state.authInfo.realName = realName
state.authInfo.idNumber = idNumber state.authInfo.idNumber = idNumber
setStore({ setStore({
name: 'authInfo', name: 'authInfo',
content: state.authInfo content: state.authInfo
}) })
} }
} }
} }
export default auth export default auth