更新
This commit is contained in:
7689
common/textdata.js
7689
common/textdata.js
File diff suppressed because it is too large
Load Diff
@@ -72,7 +72,11 @@
|
||||
computed: {
|
||||
...mapGetters(['auth', 'authInfo']),
|
||||
birthday() {
|
||||
if (!!this.authInfo.birthday) {
|
||||
return dateFormat(new Date(this.authInfo.birthday.replace(/\-/g, "/").replace('T', ' ')), "yyyy-MM");
|
||||
} else {
|
||||
return "暂无"
|
||||
}
|
||||
}
|
||||
},
|
||||
onShow() { },
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</picker>
|
||||
<picker :range="insureList" @change="insureChange" :value="indexBao">
|
||||
<!-- <picker :range="insureList" @change="insureChange" :value="indexBao">
|
||||
<view class="list">
|
||||
<view class="listLeft">
|
||||
<view class="name">
|
||||
@@ -157,7 +157,7 @@
|
||||
<image src="@/static/img/right.svg" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
</picker>
|
||||
</picker> -->
|
||||
<view v-if="auth.realNameState"></view>
|
||||
<view class="btn nocheck" v-else-if="loading">
|
||||
<view class="bottombtn">
|
||||
@@ -304,6 +304,7 @@
|
||||
},
|
||||
idNumberFilter,
|
||||
identityChange(val) {
|
||||
console.log("val",val);
|
||||
uni.showLoading();
|
||||
this.$store.dispatch('authLabor').then(() => {
|
||||
this.realIndex = val.detail.value;
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
<image v-else src="../../static/img/head.svg" mode=""></image>
|
||||
<view class="userRight">
|
||||
<view class="userTel" v-if="userInfo.user_name">
|
||||
{{phoneFilter(userInfo.user_name)}}
|
||||
{{ auth.authInfo.realName ? stringFilterNum(auth.authInfo.realName, 1) :
|
||||
phoneFilter(userInfo.user_name) }}
|
||||
</view>
|
||||
<view class="userTel" v-else> </view>
|
||||
<view class="userContent">
|
||||
@@ -103,7 +104,7 @@
|
||||
mapGetters
|
||||
} from 'vuex'
|
||||
import {
|
||||
phoneFilter
|
||||
phoneFilter, stringFilterNum
|
||||
} from '@/untils/format.js'
|
||||
import { labourUnionInfo } from '@/api/federation.js'
|
||||
export default {
|
||||
@@ -154,7 +155,7 @@
|
||||
phoneNumber: "18500206848"
|
||||
})
|
||||
},
|
||||
phoneFilter
|
||||
phoneFilter,stringFilterNum
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['userInfo', 'auth', 'authPass'])
|
||||
@@ -167,6 +168,7 @@
|
||||
height: 100%;
|
||||
background: #f6f6f6;
|
||||
}
|
||||
|
||||
.federation {
|
||||
height: 48rpx;
|
||||
border-radius: 10rpx;
|
||||
@@ -181,6 +183,7 @@
|
||||
background: url(../../static/img/my/mybanner.png) no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.forMembership {
|
||||
width: 140rpx;
|
||||
height: 50rpx;
|
||||
@@ -308,6 +311,7 @@
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/* .btn-out {
|
||||
background-color: #fefefe;
|
||||
margin-top: 20rpx;
|
||||
|
||||
@@ -9,9 +9,10 @@
|
||||
<view class="content">
|
||||
<view class="typeButtonWrapper">
|
||||
<view class="typeButtonLeft">
|
||||
|
||||
<view v-for="(item, index) in nonReactiveArray" :key="index" v-show="(activeTab!=2)&&(index==1||index==0)"
|
||||
:class="['typeButton', index == activeTab ? 'activeButton' : '']" @click="changeTab(index)">{{ item
|
||||
<view v-for="(item, index) in nonReactiveArray" :key="index"
|
||||
v-show="(activeTab != 2) && (index == activeTab)"
|
||||
:class="['typeButton', index == activeTab ? 'activeButton' : '']" @click="changeTab(index)">{{
|
||||
item
|
||||
}}</view>
|
||||
</view>
|
||||
<!-- 筛选 -->
|
||||
@@ -77,7 +78,9 @@
|
||||
完善技能
|
||||
</view>
|
||||
</view> -->
|
||||
<view v-for="(item, index) in policyContentList" :key="index" style="width: 90%;height: 100rpx;background-color: #fff;border-radius: 10rpx;margin:20rpx 5% 20rpx 5%;display: flex;align-items: center" @click="goPolicyInfo(item.id)">
|
||||
<view v-for="(item, index) in policyContentList" :key="index"
|
||||
style="width: 90%;height: 100rpx;background-color: #fff;border-radius: 10rpx;margin:20rpx 5% 20rpx 5%;display: flex;align-items: center"
|
||||
@click="goPolicyInfo(item.id)">
|
||||
<image :src="item.headPic" style="width: 60rpx;height: 60rpx;margin: 0 20rpx;"></image>
|
||||
<view style="font-size: 26rpx;">{{ item.articleTitle }}</view>
|
||||
</view>
|
||||
|
||||
@@ -45,7 +45,6 @@ const auth = {
|
||||
findAuth().then((res) => {
|
||||
const data = res.data.data;
|
||||
const authValue = data.authValue
|
||||
|
||||
commit('SET_AUTH_LABOR', convert(authValue[0]))
|
||||
commit('SET_AUTH_REALNAME', convert(authValue[1]))
|
||||
commit('SET_AUTH_BANKCARD', convert(authValue[2]))
|
||||
|
||||
@@ -75,6 +75,10 @@ export function dateFormat(date, format = 'yyyy-MM-dd') {
|
||||
return '';
|
||||
}
|
||||
|
||||
export function stringFilterNum(val,num) {
|
||||
return val.substring(0, num) + '**' + val.substring(7)
|
||||
}
|
||||
|
||||
export function phoneFilter(val) {
|
||||
return val.substring(0, 3) + '****' + val.substring(7)
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ module.exports = {
|
||||
port: 1887,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:8000', // 本地服务接口地址
|
||||
target: 'http://10.165.0.173:8000', // 本地服务接口地址
|
||||
ws: true,
|
||||
pathRewrite: {
|
||||
'^/api': '/'
|
||||
|
||||
Reference in New Issue
Block a user