更新
This commit is contained in:
9409
common/textdata.js
9409
common/textdata.js
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,7 @@
|
||||
姓名
|
||||
</view>
|
||||
<view class="user_Right">
|
||||
{{auth.authInfo.realName}}
|
||||
{{ auth.authInfo.realName }}
|
||||
</view>
|
||||
</view>
|
||||
<view class="userBaseList">
|
||||
@@ -14,7 +14,7 @@
|
||||
性别
|
||||
</view>
|
||||
<view class="user_Right">
|
||||
{{auth.authInfo.sex===1?'男':'女'}}
|
||||
{{ auth.authInfo.sex === 1 ? '男' : '女' }}
|
||||
</view>
|
||||
</view>
|
||||
<view class="userBaseList">
|
||||
@@ -22,7 +22,7 @@
|
||||
出生年月
|
||||
</view>
|
||||
<view class="user_Right">
|
||||
{{birthday}}
|
||||
{{ birthday }}
|
||||
</view>
|
||||
</view>
|
||||
<view class="userBaseList">
|
||||
@@ -30,7 +30,7 @@
|
||||
手机号
|
||||
</view>
|
||||
<view class="user_Right">
|
||||
{{auth.authInfo.telphone}}
|
||||
{{ auth.authInfo.telphone }}
|
||||
</view>
|
||||
</view>
|
||||
<view class="userBaseList">
|
||||
@@ -53,88 +53,92 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
userInfo
|
||||
} from '@/api/resume.js';
|
||||
import {
|
||||
dateFormat
|
||||
} from "../../untils/format.js";
|
||||
import {
|
||||
mapGetters
|
||||
} from 'vuex'
|
||||
import {
|
||||
userInfo
|
||||
} from '@/api/resume.js';
|
||||
import {
|
||||
dateFormat
|
||||
} from "../../untils/format.js";
|
||||
import {
|
||||
mapGetters
|
||||
} from 'vuex'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
userInfo: {}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['auth', 'authInfo']),
|
||||
birthday() {
|
||||
return dateFormat(new Date(this.authInfo.birthday.replace(/\-/g, "/").replace('T',' ')), "yyyy-MM");
|
||||
}
|
||||
},
|
||||
onShow() {},
|
||||
methods: {
|
||||
goSetUserBase: function() {
|
||||
uni.navigateTo({
|
||||
url: '../setUserBase/index'
|
||||
})
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
userInfo: {}
|
||||
}
|
||||
},
|
||||
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() { },
|
||||
methods: {
|
||||
goSetUserBase: function () {
|
||||
uni.navigateTo({
|
||||
url: '../setUserBase/index'
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.nothingText text {
|
||||
color: #1B66FF;
|
||||
}
|
||||
.nothingText text {
|
||||
color: #1B66FF;
|
||||
}
|
||||
|
||||
.nothingText {
|
||||
text-align: center;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28rpx;
|
||||
color: #666666;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.nothingText {
|
||||
text-align: center;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28rpx;
|
||||
color: #666666;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.nothing {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 400rpx;
|
||||
height: 200rpx;
|
||||
margin-top: 50%;
|
||||
}
|
||||
.nothing {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 400rpx;
|
||||
height: 200rpx;
|
||||
margin-top: 50%;
|
||||
}
|
||||
|
||||
.user_Right {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28rpx;
|
||||
color: #999999;
|
||||
}
|
||||
.user_Right {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28rpx;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.user_left {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 32rpx;
|
||||
color: #333333;
|
||||
}
|
||||
.user_left {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 32rpx;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.userBaseList {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 30rpx;
|
||||
padding-left: 0;
|
||||
border-bottom: 1rpx solid #dddddd;
|
||||
}
|
||||
.userBaseList {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 30rpx;
|
||||
padding-left: 0;
|
||||
border-bottom: 1rpx solid #dddddd;
|
||||
}
|
||||
|
||||
.userBase {
|
||||
background-color: #fefefe;
|
||||
padding-left: 30rpx;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.userBase {
|
||||
background-color: #fefefe;
|
||||
padding-left: 30rpx;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
|
||||
page {
|
||||
background-color: #fff;
|
||||
}
|
||||
page {
|
||||
background-color: #fff;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -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;
|
||||
|
||||
388
pages/my/my.vue
388
pages/my/my.vue
@@ -6,11 +6,12 @@
|
||||
<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">
|
||||
<view style="margin-right: 40rpx;">实名认证:{{auth.realNameState?'已认证':'未认证'}}</view>
|
||||
<view style="margin-right: 40rpx;">实名认证:{{ auth.realNameState ? '已认证' : '未认证' }}</view>
|
||||
<!-- <view>银行卡核验:{{auth.bankCardState?'已认证':'未认证'}}</view> -->
|
||||
</view>
|
||||
</view>
|
||||
@@ -99,216 +100,219 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
mapGetters
|
||||
} from 'vuex'
|
||||
import {
|
||||
phoneFilter
|
||||
} from '@/untils/format.js'
|
||||
import {labourUnionInfo} from '@/api/federation.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
federationStatus: false
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
if (this.$store.state.user.token && this.authPass) {
|
||||
this.$store.dispatch('getVipCode')
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
if (!this.$store.state.user.token) {
|
||||
uni.redirectTo({
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
} else {
|
||||
uni.$emit('newsReadChange')
|
||||
this.$store.dispatch('refreshAuthState')
|
||||
}
|
||||
// this.labourUnionInfoInit()
|
||||
},
|
||||
methods: {
|
||||
labourUnionInfoInit(){
|
||||
labourUnionInfo().then(e=>{
|
||||
this.federationStatus = e.data.data.joined
|
||||
})
|
||||
},
|
||||
// logout() {
|
||||
// this.$store.dispatch('LogOut').then(() => {
|
||||
// // uni.reLaunch({
|
||||
// // url: '/pages/login/login'
|
||||
// // })
|
||||
// this.$store.dispatch('clearAuthState')
|
||||
// this.$store.dispatch('endRefreshNewsTimer')
|
||||
// location.href = "https://dy12333.org.cn/h5/"
|
||||
// })
|
||||
// },
|
||||
go(url) {
|
||||
uni.navigateTo({
|
||||
url
|
||||
})
|
||||
},
|
||||
makePhoneCall: function() {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: "18500206848"
|
||||
})
|
||||
},
|
||||
phoneFilter
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['userInfo', 'auth', 'authPass'])
|
||||
import {
|
||||
mapGetters
|
||||
} from 'vuex'
|
||||
import {
|
||||
phoneFilter, stringFilterNum
|
||||
} from '@/untils/format.js'
|
||||
import { labourUnionInfo } from '@/api/federation.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
federationStatus: false
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
if (this.$store.state.user.token && this.authPass) {
|
||||
this.$store.dispatch('getVipCode')
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
if (!this.$store.state.user.token) {
|
||||
uni.redirectTo({
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
} else {
|
||||
uni.$emit('newsReadChange')
|
||||
this.$store.dispatch('refreshAuthState')
|
||||
}
|
||||
// this.labourUnionInfoInit()
|
||||
},
|
||||
methods: {
|
||||
labourUnionInfoInit() {
|
||||
labourUnionInfo().then(e => {
|
||||
this.federationStatus = e.data.data.joined
|
||||
})
|
||||
},
|
||||
// logout() {
|
||||
// this.$store.dispatch('LogOut').then(() => {
|
||||
// // uni.reLaunch({
|
||||
// // url: '/pages/login/login'
|
||||
// // })
|
||||
// this.$store.dispatch('clearAuthState')
|
||||
// this.$store.dispatch('endRefreshNewsTimer')
|
||||
// location.href = "https://dy12333.org.cn/h5/"
|
||||
// })
|
||||
// },
|
||||
go(url) {
|
||||
uni.navigateTo({
|
||||
url
|
||||
})
|
||||
},
|
||||
makePhoneCall: function () {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: "18500206848"
|
||||
})
|
||||
},
|
||||
phoneFilter,stringFilterNum
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['userInfo', 'auth', 'authPass'])
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
page {
|
||||
height: 100%;
|
||||
background: #f6f6f6;
|
||||
}
|
||||
.federation{
|
||||
height: 48rpx;
|
||||
border-radius: 10rpx;
|
||||
padding: 28rpx 30rpx;
|
||||
margin: 30rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 400;
|
||||
color: #6F5931;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background: url(../../static/img/my/mybanner.png) no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
.forMembership{
|
||||
width: 140rpx;
|
||||
height: 50rpx;
|
||||
background: linear-gradient(112deg, #EFE0BC 0%, #D29A5A 100%, #DDBA88 100%);
|
||||
box-shadow: 0px 0px 2px 1px rgba(231, 174, 85, 0.39);
|
||||
border-radius: 25rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 400;
|
||||
color: #6F5931;
|
||||
line-height: 48rpx;
|
||||
text-align: center;
|
||||
}
|
||||
page {
|
||||
height: 100%;
|
||||
background: #f6f6f6;
|
||||
}
|
||||
|
||||
.bottom {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
/* position: absolute; */
|
||||
/* bottom: 120rpx; */
|
||||
/* width: 100%; */
|
||||
margin: 120rpx 0;
|
||||
text-align: center;
|
||||
}
|
||||
.federation {
|
||||
height: 48rpx;
|
||||
border-radius: 10rpx;
|
||||
padding: 28rpx 30rpx;
|
||||
margin: 30rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 400;
|
||||
color: #6F5931;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background: url(../../static/img/my/mybanner.png) no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.btnList image:last-child {
|
||||
width: 19rpx;
|
||||
height: 32rpx;
|
||||
margin-left: auto;
|
||||
margin-right: 0;
|
||||
}
|
||||
.forMembership {
|
||||
width: 140rpx;
|
||||
height: 50rpx;
|
||||
background: linear-gradient(112deg, #EFE0BC 0%, #D29A5A 100%, #DDBA88 100%);
|
||||
box-shadow: 0px 0px 2px 1px rgba(231, 174, 85, 0.39);
|
||||
border-radius: 25rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 400;
|
||||
color: #6F5931;
|
||||
line-height: 48rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.btnList image {
|
||||
width: 52rpx;
|
||||
height: 52rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.bottom {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
/* position: absolute; */
|
||||
/* bottom: 120rpx; */
|
||||
/* width: 100%; */
|
||||
margin: 120rpx 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.btnList {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 32rpx;
|
||||
color: #333333;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
padding: 30rpx 20rpx;
|
||||
}
|
||||
.btnList image:last-child {
|
||||
width: 19rpx;
|
||||
height: 32rpx;
|
||||
margin-left: auto;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.btn {
|
||||
width: 690rpx;
|
||||
margin: 0 auto;
|
||||
border-radius: 15rpx;
|
||||
background: #fefefe;
|
||||
}
|
||||
.btnList image {
|
||||
width: 52rpx;
|
||||
height: 52rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
|
||||
.BarList {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28rpx;
|
||||
color: #666666;
|
||||
float: left;
|
||||
width: 25%;
|
||||
text-align: center;
|
||||
padding: 30rpx 0rpx;
|
||||
}
|
||||
.btnList {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 32rpx;
|
||||
color: #333333;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
padding: 30rpx 20rpx;
|
||||
}
|
||||
|
||||
.BarList image {
|
||||
width: 52rpx;
|
||||
height: 52rpx;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.btn {
|
||||
width: 690rpx;
|
||||
margin: 0 auto;
|
||||
border-radius: 15rpx;
|
||||
background: #fefefe;
|
||||
}
|
||||
|
||||
.centerBar {
|
||||
width: 690rpx;
|
||||
background-color: #fefefe;
|
||||
border-radius: 15rpx;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
bottom: -70rpx;
|
||||
left: 30rpx;
|
||||
}
|
||||
.BarList {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28rpx;
|
||||
color: #666666;
|
||||
float: left;
|
||||
width: 25%;
|
||||
text-align: center;
|
||||
padding: 30rpx 0rpx;
|
||||
}
|
||||
|
||||
.userContent {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 26rpx;
|
||||
color: #FFFFFF;
|
||||
display: flex;
|
||||
}
|
||||
.BarList image {
|
||||
width: 52rpx;
|
||||
height: 52rpx;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.userTel {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-size: 36rpx;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
.centerBar {
|
||||
width: 690rpx;
|
||||
background-color: #fefefe;
|
||||
border-radius: 15rpx;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
bottom: -70rpx;
|
||||
left: 30rpx;
|
||||
}
|
||||
|
||||
.userRight {
|
||||
float: left;
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
.userContent {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 26rpx;
|
||||
color: #FFFFFF;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.userTitle image {
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
margin-right: 20rpx;
|
||||
float: left;
|
||||
border-radius: 200rpx;
|
||||
background-color: rgba(255, 255, 255, .3);
|
||||
}
|
||||
.userTel {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-size: 36rpx;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.userTitle {
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.userRight {
|
||||
float: left;
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
|
||||
.head {
|
||||
background-color: #1B66FF;
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
padding-top: 200rpx;
|
||||
position: relative;
|
||||
}
|
||||
.userTitle image {
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
margin-right: 20rpx;
|
||||
float: left;
|
||||
border-radius: 200rpx;
|
||||
background-color: rgba(255, 255, 255, .3);
|
||||
}
|
||||
|
||||
.body {
|
||||
background: #f6f6f6;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
}
|
||||
/* .btn-out {
|
||||
.userTitle {
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
|
||||
.head {
|
||||
background-color: #1B66FF;
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
padding-top: 200rpx;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.body {
|
||||
background: #f6f6f6;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/* .btn-out {
|
||||
background-color: #fefefe;
|
||||
margin-top: 20rpx;
|
||||
padding: 20rpx 0;
|
||||
|
||||
@@ -9,10 +9,11 @@
|
||||
<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>
|
||||
<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>
|
||||
<!-- 筛选 -->
|
||||
<!-- <view class="screenButton" @click="showPopUp = true">
|
||||
@@ -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>
|
||||
@@ -99,7 +102,7 @@ import {
|
||||
recommendMission,
|
||||
nearMission
|
||||
} from '@/api/mission.js';
|
||||
import {getPolicyContent} from '@/api/newIndex.js'
|
||||
import { getPolicyContent } from '@/api/newIndex.js'
|
||||
import {
|
||||
getcoder
|
||||
} from "@/api/map.js";
|
||||
@@ -149,7 +152,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad: function (option) {
|
||||
if(option.tabIndex) {
|
||||
if (option.tabIndex) {
|
||||
this.activeTab = option.tabIndex
|
||||
}
|
||||
this.getData()
|
||||
@@ -249,9 +252,9 @@ export default {
|
||||
url: '../mapSeach/mapSeach'
|
||||
})
|
||||
},
|
||||
getPolicy(){
|
||||
getPolicyContent(1).then(res=>{
|
||||
this.policyContentList=res.data.data.records
|
||||
getPolicy() {
|
||||
getPolicyContent(1).then(res => {
|
||||
this.policyContentList = res.data.data.records
|
||||
})
|
||||
},
|
||||
changeTab: function (e) {
|
||||
@@ -270,16 +273,16 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
goPolicyInfo(data){
|
||||
if(data){
|
||||
goPolicyInfo(data) {
|
||||
if (data) {
|
||||
// var val=encodeURIComponent(data)
|
||||
|
||||
uni.navigateTo({
|
||||
url:`/pages/user/policyContent?id=${data}`
|
||||
url: `/pages/user/policyContent?id=${data}`
|
||||
})
|
||||
|
||||
}
|
||||
else{
|
||||
else {
|
||||
// uni.showToast({
|
||||
// title:'暂无内容',
|
||||
// icon:'none'
|
||||
@@ -396,8 +399,8 @@ export default {
|
||||
closePopUp() {
|
||||
this.showPopUp = false
|
||||
},
|
||||
subMitPopUp({submitData,areaModal,industryModal}) {
|
||||
console.log(submitData,areaModal,industryModal,"------确定");
|
||||
subMitPopUp({ submitData, areaModal, industryModal }) {
|
||||
console.log(submitData, areaModal, industryModal, "------确定");
|
||||
this.showPopUp = false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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