3772b55d by 杨炀

no message

1 parent 78423ea5
......@@ -36,7 +36,27 @@ export default {
}
},
onShow: function() {
console.log('App Show');
// if(firstload&&!this.globalData.isLogin){
// console.log('App Show');
// uni.redirectTo({
// url: '/login/login'
// })
// }
if(firstload){
getInfo().then(() => {
this.globalData.isLogin = true;
let firstLoadCallback = getApp().firstLoadCallback;
if (firstLoadCallback) {
firstLoadCallback();
}
}).catch(() => {
uni.redirectTo({
url: '/login/login'
})
})
}
},
onHide: function() {
console.log('App Hide');
......
......@@ -54,7 +54,8 @@ function getCodeImg() {
// 代退图形认证的获取手机验证码
function getSmsCode(data) {
return request({
url: '/captchaSmsWithCaptchaImage',
url: '/captchaSmsWithCaptchaImage',
// url: '/captchaSmsWithCaptchaImageForMiniApp',
method: 'post',
params: data
})
......
......@@ -55,7 +55,11 @@ page {
.nodata{padding:10vh 0; box-sizing: border-box; text-align: center;
image{width: 300rpx;height: 300rpx;display: block; margin:0 auto;}
image{width: 300rpx;height: 300rpx;display: none; margin:0 auto;
border-radius: 100px;
opacity: 0.08;
filter: grayscale(1);
}
text{font-size: 24rpx; text-align: center; display: inline-block;color: #a8b3c7;}
button{display: inline;border-radius: 35rpx;padding:10rpx 30rpx;box-sizing: border-box;font-size: 30rpx;
border: none!important;}
......
......@@ -5,11 +5,11 @@
// staging 会员系统
// const baseUrl_api = "http://22yidpjzjifv.ngrok.xiaomiqiu123.top/stage-api/";
// const baseUrl_api = "http://123.60.96.243/stage-api/";
// const baseUrl_api = 'http://192.168.1.97:8787'
// const baseUrl_api = 'http://192.168.1.130:8787'
// const baseUrl_api = 'https://ztx.itechtop.cn/stage-api'
const baseUrl_api = 'https://tkcn.19wk.cn:8443/stage-api'
// const baseUrl_api = 'https://tkcn.19wk.cn:8443/stage-api'
// const baseUrl_api = 'https://newsystem.taekwondo.org.cn/stage-api'
const baseUrl_api = 'https://system.taekwondo.org.cn/stage-api'
export default {
baseUrl_api
}
......
......@@ -33,7 +33,7 @@
原有效期
<view>{{item.content?.validityTime.slice(0,10)}}</view>
</view>
<view>
<view :class="item.content.validityTime?'':'w50'">
年限
<view>{{item.content.renewYear}}</view>
</view>
......
......@@ -19,7 +19,7 @@
<text v-if="item.status == 3" class="text-warning">审核撤回</text>
</view>
<view class="date">提交日期:{{item.content.commitTime}}</view>
<view class="date" v-if="item.content.validityTime">原有效期:{{item.content.validityTime}}</view>
<view class="date" v-if="item.content.validityTime">原有效期:{{item.content.validityTime?.slice(0,10)}}</view>
<view class="text-primary" v-if="item.content?.wfCode">{{item.content?.wfCode}}</view>
<view class="name mt0" style="width: 100%;" @click="goDetail(item)">{{item.content?.certName}}</view>
<view class="flexbox" @click="goDetail(item)">
......
......@@ -15,15 +15,13 @@
<image class="icon" v-else :src="config.baseUrl_api+'/fs/static/member/dx.png'" />
</view>
<view class="w100">
<view class="name">{{n.name}} </view>
<view class="name">{{n.name}} <text v-if="n.memCode">({{n.memCode}})</text></view>
<view class="flexbox" style="padding: 0">
<view v-if="n.memCode">会员号
<text>{{n.memCode}}</text>
<view class="date">到期时间
<text v-if="n.validityDate">{{n.validityDate?.slice(0,10)}}</text>
<text v-else>--</text>
</view>
<view class="date" v-if="n.validityDate">到期时间
<text>{{n.validityDate?.slice(0,10)}}</text>
</view>
<view class="date">团体类型
<view class="date w50">团体类型
<text v-if="n.deptType == 2">一级协会</text>
<text v-if="n.deptType == 3">直属协会</text>
<text v-if="n.deptType == 4">二级协会</text>
......
......@@ -14,7 +14,7 @@
</view>
<view class="date" @click="goDetail(item)" v-if="item.payTime">
<uni-icons type="calendar-filled" size="16" color="#AD181F"></uni-icons>
<text>{{item.payTime}} 缴费</text>
<text>{{item.payTime?.slice(0,10)}} 缴费</text>
</view>
<view class="text-primary" v-if="item.wfCode">{{item.wfCode}}</view>
<view class="name mt0" @click="goDetail(item)">{{item.finalDocName}}</view>
......
......@@ -4,19 +4,29 @@
<uni-list>
<uni-list-item title="所属协会">
<template v-slot:footer>
<view style="width: 60%;text-align: right;">{{form.firstName}} {{form.parentDeptName}}</view>
<!-- <view style="width: 60%;text-align: right;">{{form.firstName}} {{form.parentDeptName}}</view> -->
<view style="width: 500rpx;text-align: right;">
<uni-data-picker v-model="form.deptId" :localdata="tree"
readonly :clear-icon="false"
:map="{text:'label',value:'id'}">
</uni-data-picker>
</view>
</template>
</uni-list-item>
<uni-list-item title="会员编号" v-if="form.menCode" :rightText="form.menCode" />
<uni-list-item title="机构名称" :rightText="form.name" />
<uni-list-item title="所属省份">
<template v-slot:footer>{{form.provinceStr}}</template>
<template v-slot:footer>
<uni-data-select :clear="false" disabled
v-model="form.belongProvinceId" :localdata="regionsList">
</uni-data-select>
</template>
</uni-list-item>
<uni-list-item title="社会信用代码" :rightText="form.creditCode" />
<uni-list-item v-if="form.siteContact" title="联系人" :rightText="form.siteContact" />
<uni-list-item v-else title="联系人" :rightText="form.contact" />
<uni-list-item v-if="form.siteTel" title="联系方式" :rightText="form.siteTel" />
<uni-list-item v-else title="联系方式" :rightText="form.phone" />
<uni-list-item title="社会信用代码" :rightText="form.creditCode" />
<uni-list-item v-if="isR" title="联系人" :rightText="form.certSiteContact" />
<uni-list-item v-else title="联系人" :rightText="form.siteContact" />
<uni-list-item v-if="isR" title="联系方式" :rightText="form.certSiteTel" />
<uni-list-item v-else title="联系方式" :rightText="form.siteTel" />
<uni-list-item v-if="form.validityDate" title="有效期" :rightText="form.validityDate?.slice(0,10)" />
<uni-list-item title="认证地址">
<template v-slot:footer>
......@@ -24,10 +34,12 @@
</template>
</uni-list-item>
<uni-list-item title="认证详细地址" :rightText="form.adress" />
<uni-list-item title="法人姓名" :rightText="form.legal||'--'" />
<uni-list-item title="法人姓名" v-if="isR" :rightText="form.certLegal||'--'" />
<uni-list-item title="法人姓名" v-else :rightText="form.legal||'--'" />
<uni-list-item v-if="form.deptType==6" title="是否为考点" :rightText="form.applyPoints==1?'是':'否'" />
<uni-list-item title="法人身份证" clickable>
<uni-list-item title="法人身份证" clickable v-if="isR">
<template v-slot:footer>
<view v-if="form.legalIdcPhotoArr&&form.legalIdcPhotoArr?.length>0">
<image class="ylImage" mode="aspectFit" @click="showImage(form.legalIdcPhotoArr,index)"
......@@ -35,16 +47,32 @@
</image>
</view>
</template>
</uni-list-item>
<uni-list-item title="法人身份证" clickable v-else>
<template v-slot:footer>
<view v-if="form.legalIdcPhotoArrR&&form.legalIdcPhotoArrR?.length>0">
<image class="ylImage" mode="aspectFit" @click="showImage(form.legalIdcPhotoArrR,index)"
v-for="(item,index) in form.legalIdcPhotoArrR" :key="item" :src="item">
</image>
</view>
</template>
</uni-list-item>
<uni-list-item title="营业执照" clickable >
<uni-list-item title="营业执照" clickable v-if="isR">
<template v-slot:footer>
<view style="width: 50vw;word-break: break-all;" @click="download(form.businessLicenseArrR[0]?.url)" v-if="form.businessLicenseArrR&&form.businessLicenseArrR?.length>0">
<text class="text-primary">{{form.businessLicenseArrR[0]?.name}}</text>
</view>
</template>
</uni-list-item>
<uni-list-item title="营业执照" clickable v-else>
<template v-slot:footer>
<view @click="download(form.businessLicenseArr[0]?.url)" v-if="form.businessLicenseArr&&form.businessLicenseArr?.length>0">
<view style="width: 50vw;word-break: break-all;" @click="download(form.businessLicenseArr[0]?.url)" v-if="form.businessLicenseArr&&form.businessLicenseArr?.length>0">
<text class="text-primary">{{form.businessLicenseArr[0]?.name}}</text>
</view>
</template>
</uni-list-item>
<uni-list-item title="机构照片" clickable>
<uni-list-item title="机构照片" clickable v-if="isR">
<template v-slot:footer>
<view v-if="form.picturesArr&&form.picturesArr?.length>0" class="photoBook" @click="showImage(form.picturesArr,0)">
<image mode="aspectFit" class="ylImage"
......@@ -54,6 +82,16 @@
</view>
</template>
</uni-list-item>
<uni-list-item title="机构照片" clickable v-else>
<template v-slot:footer>
<view v-if="form.picturesArrR&&form.picturesArrR?.length>0" class="photoBook" @click="showImage(form.picturesArrR,0)">
<image mode="aspectFit" class="ylImage"
:src="form.picturesArrR[0]">
</image>
<text>{{form.picturesArrR?.length}}</text>
</view>
</template>
</uni-list-item>
</uni-list>
</view>
<view class="height1"></view>
......@@ -74,12 +112,21 @@
} from '@dcloudio/uni-app'
const app = getApp()
const form = ref({
legalIdcPhotoArr: [],
legalIdcPhotoArr: [],
legalIdcPhotoArrR: [],
picturesArr: [],
businessLicenseArr:[]
})
picturesArrR: [],
businessLicenseArr:[],
businessLicenseArrR:[]
})
const tree = ref([])
const regionsList = ref([])
const isR = ref(false)
onLoad(option => {
console.log(option)
console.log(option)
if (option.isR){
isR.value = true
}
if (option.memId) {
getForm(option.memId)
}
......@@ -95,7 +142,9 @@
init()
}
}
function init() {
function init() {
getDeptTree()
getRegionsList()
console.log(form.value)
if (form.value.businessLicense) {
form.value.businessLicenseArr = []
......@@ -106,6 +155,15 @@
}
console.log('营业执照',form.value.businessLicenseArr)
}
if (form.value.certBusinessLicense) {
form.value.businessLicenseArrR = []
try{
form.value.businessLicenseArrR = JSON.parse(form.value.certBusinessLicense) || []
}catch(e){
form.value.businessLicenseArrR=[{url:form.value.certBusinessLicense,name:'营业执照'}]
}
console.log('营业执照',form.value.businessLicenseArrR)
}
if (form.value.certLegalIdcPhoto && form.value.certLegalIdcPhoto!=null) {
form.value.legalIdcPhotoArr = []
var arr = form.value.certLegalIdcPhoto?.split(',') || []
......@@ -119,8 +177,22 @@
})
form.value.legalIdcPhotoArr = arr
}
console.log('法人身份证',form.value.legalIdcPhotoArr)
}
}
if(form.value.legalIdcPhoto && form.value.legalIdcPhoto!=null){
form.value.legalIdcPhotoArrR = []
var arr = form.value.legalIdcPhoto?.split(',') || []
if (arr.length > 0) {
arr = _.map(arr, (p) => {
if(p.indexOf('http')==-1){
console.log(p)
p = config.baseUrl_api + p
}
return p
})
form.value.legalIdcPhotoArrR = arr
}
}
console.log('法人身份证',form.value.legalIdcPhotoArr)
if (form.value.certPictures) {
form.value.picturesArr = []
var arr = form.value.certPictures.split(',') || []
......@@ -134,9 +206,37 @@
form.value.picturesArr = arr
}
console.log(form.value.picturesArr)
}
if(form.value.pictures){
form.value.picturesArrR = []
var arr = form.value.pictures.split(',') || []
if (arr.length > 0) {
arr = _.map(arr, (p) => {
if(p.indexOf('http')==-1){
p = config.baseUrl_api + p
}
return p
})
form.value.picturesArrR = arr
}
console.log(form.value.picturesArrR)
}
}
function getRegionsList() {
api.regionsList().then(res => {
regionsList.value = res.data;
})
}
function getDeptTree(){
api.deptTreeSelect({ selfDeptId: '-1', showDirect: 1, showAll: 1 }).then(res=>{
tree.value = res.data
if (typeof tree.value?.[0]?.id == 'number') {
form.value.deptId = form.value.deptId * 1
} else {
form.value.deptId = form.value.deptId.toString()
}
})
}
function showImage(arr, index) {
uni.previewImage({
urls: arr,
......@@ -154,13 +254,14 @@
uni.previewImage({
urls: [url],
success: function(res) {
console.log(res,[url],'111')
}
})
} else {
uni.previewImage({
urls: [config.baseUrl_api + url],
success: function(res) {
console.log(url,'222')
}
})
}
......@@ -205,7 +306,7 @@
fail: function(error) {
uni.hideLoading();
uni.showToast({
title: `下载失败`,
title:`下载失败`,
icon: 'none',
duration: 2000
});
......@@ -214,7 +315,11 @@
}
</script>
<style scoped lang="scss">
<style scoped lang="scss">
:deep(.input-value ){padding: 0!important;line-height: 1.4!important;}
:deep(.selected-list){display: block!important;
}
:deep(.selected-item){display:inline;white-space:normal!important;}
.height1 {
height: 1rpx
}
......
......@@ -150,7 +150,7 @@
function godetail(n) {
uni.navigateTo({
url: `/group/groupInfo?memId=${n.memId}`
url: `/group/groupInfo?memId=${n.memId}&isR=true`
})
}
......
......@@ -24,11 +24,11 @@
会员合计
<view>{{item.allCount}}</view>
</view>
<view>
<view v-if="userType!='2'">
续费年限
<view>{{item.content?.renewYear}}</view>
</view>
<view>
<view :class="userType=='2'?'w50':''">
年限合计
<view>{{item.totalRenewYear}}</view>
</view>
......
......@@ -18,12 +18,12 @@
</view>
<view class="round-input-item">
<image class="icon" :src="config.baseUrl_api+'/fs/static/login/tag02@2x.png'"></image>
<uni-easyinput :styles="inputstyle" placeholder="密码" v-model="form.password"
<uni-easyinput :styles="inputstyle" placeholder="初次登录请联系省级协会获取初始密码" v-model="form.password"
type="password" />
</view>
<view class="round-input-item">
<image class="icon" :src="config.baseUrl_api+'/fs/static/login/tag03@2x.png'"></image>
<uni-easyinput :styles="inputstyle" placeholder="图形验证码" v-model="form.code" />
<uni-easyinput :styles="inputstyle" placeholder="请填入计算结果" v-model="form.code" />
<image :src="codeUrl" @click="getCode" />
</view>
......@@ -62,13 +62,14 @@
</view>
<view class="wNumber">
技术服务热线:<text @click="call('15606190026')">15606190026</text> / <text
@click="call('15306299762')">15306299762</text>
@click="call('15305299762')">15305299762</text>
</view>
</view>
</view>
<image class="ren2" :src="config.baseUrl_api+'/fs/static/login/ren2.png'" />
<view class="fixedagree">
<view class="fixedagree">
<text>仅供中国跆拳道协会会员单位登录使用</text>
<!-- <image @click="changeAgree(agree)" v-if="agree" src="@/static/login/xz_dwn@2x.png"></image>
<image v-else src="@/static/login/xz2@2x.png"></image>
<view>登录即代表您同意<text>《用户协议》</text><text>《隐私策略》</text></view> -->
......@@ -169,7 +170,7 @@
url: '/pages/index/index'
})
})
// .catch(getCode)
.catch(getCode)
} else if (isActive.value == 1) {
if (!form2.value.telNo) {
uni.showToast({
......
<template>
<view>
<view>
<view v-if="showDirectly&&directUnderFlag==0">
<view class="flexbox">
<view>
有效日期至 <text class="text-primary">{{form?.validityDate?.slice(0,10) }}</text>
......@@ -18,14 +19,16 @@
</view>
</view>
<view class="flexbox" style="justify-content: end;padding: 0 30rpx 40rpx;">
<!-- <button class="btn-red" style="margin: 0 20rpx 0 0;" size="mini"
v-if="activeStatus==0&&authenticationStatusa" @click="payTheFees">激活</button>
<button class="btn-red" style="margin: 0 20rpx 0 0;" size="mini" :disabled="btn"
@click="payTheFees">去缴费</button> -->
<button class="btn-red-kx" style="margin: 0 20rpx 0 0;" size="mini" v-if="form.deptType!=1"
@click="auditEditFN">审核详情</button>
<button class="btn-red" style="margin: 0 20rpx 0 0;" size="mini"
v-if="activeStatus==0&&authenticationStatusa" @click="payTheFees">激活</button>
<view v-else>
<button class="btn-red" style="margin: 0 20rpx 0 0;" size="mini" :disabled="btn"
@click="payTheFees">去缴费</button>
<button class="btn-red-kx" style="margin: 0 20rpx 0 0;" size="mini" v-if="form.deptType!=1"
@click="auditEditFN">审核详情</button>
</view>
</view>
</view>
<view class="mainbox">
<uni-list>
<uni-list-item v-if="authenticationStatusa != 1&&authenticationStatusa != 0&&authenticationStatusa != 3"
......@@ -38,7 +41,7 @@
<template v-slot:footer>
<view class="frrr">
<uni-data-picker readonly :clear-icon="false"
v-model="form.siteProvinceId" :localdata="options">
v-model="form.belongProvinceId" :localdata="options">
</uni-data-picker>
</view>
......@@ -55,14 +58,14 @@
<uni-list-item title="认证地址">
<template v-slot:footer>
<view class="frrr">
<uni-data-picker readonly :clear-icon="false" v-if="form.siteRegionId"
v-model="form.siteRegionId" :localdata="options">
<uni-data-picker readonly :clear-icon="false" v-if="form.certRegionId"
v-model="form.certRegionId" :localdata="options">
</uni-data-picker>
<uni-data-picker readonly :clear-icon="false" v-else-if="form.siteCityId"
v-model="form.siteCityId" :localdata="options">
<uni-data-picker readonly :clear-icon="false" v-else-if="form.certCityId"
v-model="form.certCityId" :localdata="options">
</uni-data-picker>
<uni-data-picker readonly :clear-icon="false" v-else-if="form.siteProvinceId"
v-model="form.siteProvinceId" :localdata="options">
<uni-data-picker readonly :clear-icon="false" v-else-if="form.certProvinceId"
v-model="form.certProvinceId" :localdata="options">
</uni-data-picker>
</view>
</template>
......@@ -116,11 +119,10 @@
import _ from 'lodash'
import {
onMounted,
ref
} from 'vue'
import {
onLoad
onLoad,onShow
} from '@dcloudio/uni-app'
const app = getApp()
const form = ref({
......@@ -139,7 +141,7 @@
const pr = ref({})
const applicationForMembership1 = ref({})
const options = ref([])
onLoad(() => {
onShow(() => {
init()
})
......
......@@ -146,8 +146,8 @@ function goPath(url){
font-size: 36rpx;}
.imgbox{width: 120rpx;
height: 120rpx;overflow: hidden;
background: #C7C7CD;
border: 4rpx solid #FFFFFF;
// background: #C7C7CD;
// border: 4rpx solid #FFFFFF;
border-radius: 50%;
image{height: 120rpx;width: 120rpx;object-fit: cover;}
}
......
......@@ -167,7 +167,7 @@ function handleClick() {
})
return
}
api.updateUserPwd(form.oldPassword, form.newPassword).then(res=>{
api.updateUserPwd({oldPassword:form.value.oldPassword, newPassword:form.value.newPassword}).then(res=>{
uni.showModal({
title:"提示",
content:`修改成功,重新登录生效`,
......
<template>
<view class="page">
<view class="page" v-if="isInit">
<view class="bgbg">
<view class="loginOutIcon" @click="loginOut">
<image src="@/static/switch.png"></image>
......@@ -86,10 +86,10 @@
<image :src="config.baseUrl_api+'/fs/static/icon/25.png'" />
会员变更
</view>
<!-- <view @click="goPath('/personalVip/mergeVip')">
<image :src="config.baseUrl_api+'/fs/static/icon/25.png'" />
<view @click="goPath('/personalVip/mergeVip')">
<image :src="config.baseUrl_api+'/fs/static/icon/28.png'" />
信息合并
</view> -->
</view>
</view>
<view class="ttt">团体会员</view>
<view class="girdBox">
......@@ -169,12 +169,11 @@
<view @click="goPath('/personalVip/changeVipAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/25.png'" />
变更审核
</view>
<!-- <view @click="goPath('/personalVip/mergeVipAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/25.png'" />
</view>
<view @click="goPath('/personalVip/mergeVipAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/28.png'" />
合并审核
</view> -->
</view>
</view>
<view class="ttt">团体会员</view>
......@@ -288,8 +287,12 @@
const numData = ref({});
const messageList = ref([])
const newsList = ref([])
onShow(() => {
const newsList = ref([])
const isInit = ref(false)
onShow(() => {
uni.showLoading({
title:'加载中'
})
if (app.globalData.isLogin) {
init()
} else {
......@@ -309,19 +312,19 @@
withShareTicket: true,
menus: ['shareAppMessage', 'shareTimeline']
});
}
const changePassFlag = app.globalData.user?.changePassFlag
if (changePassFlag === '1') {
uni.showModal({
content: "密码长期未更新,请及时更新",
success: function(res) {
if (res.confirm) {
uni.navigateTo({
url: `/myCenter/safe?current=1`
});
}
}
})
}
const changePassFlag = app.globalData.user?.changePassFlag
if (changePassFlag === '1'&&memberInfo.value.activeStatus == '1'&&app.globalData.authenticationStatus==2) {
uni.showModal({
content: "密码长期未更新,请及时更新",
success: function(res) {
if (res.confirm) {
uni.navigateTo({
url: `/myCenter/safe?current=1`
});
}
}
})
}
});
......@@ -354,10 +357,12 @@
uni.showModal({
title: '提示',
content: '会员已过期,请及时续费',
success: function(res) {
// uni.navigateTo({
// url: '/pages/index/perfect'
// });
success: function(res) {
if(res.confirm){
uni.navigateTo({
url: '/myCenter/auth'
});
}
}
})
}
......@@ -366,8 +371,14 @@
if (memberInfo.value.activeStatus == 0) {
uni.showModal({
title: '提示',
content: '账号未激活,请前往【中国跆拳道会员管理系统】电脑端激活',
success: function(res) {}
content: '账号未激活,请前去激活',
success: function(res) {
if(res.confirm){
uni.navigateTo({
url: '/myCenter/auth'
});
}
}
})
return
}
......@@ -378,9 +389,7 @@
}
function init() {
uni.showLoading({
title: '加载中'
});
isInit.value = true
loginServer.getMyOwnMemberInfo().then(res => {
userType.value = app.globalData.userType
memberInfo.value = app.globalData.memberInfo
......@@ -396,10 +405,12 @@
uni.showModal({
title: '提示',
content: '会员已过期,请及时续费',
success: function(res) {
// uni.navigateTo({
// url: '/pages/index/perfect'
// });
success: function(res) {
if(res.confirm){
uni.navigateTo({
url: '/myCenter/auth'
});
}
}
})
}
......@@ -418,20 +429,22 @@
// uni.navigateTo({
// url: '/pages/index/perfect'
// });
} else {
getMes()
if (memberInfo.value.activeStatus == 0) {
uni.showModal({
title: '提示',
content: '账号未激活,请前往【中国跆拳道会员管理系统】电脑端激活',
success: function(res) {
// uni.navigateTo({
// url: '/pages/index/perfect'
// });
}
})
}
}
}
if (memberInfo.value.activeStatus == 0) {
uni.showModal({
content: '账号未激活,请前去激活',
success: function(res) {
if(res.confirm){
uni.navigateTo({
url: '/myCenter/auth'
});
}
}
})
}
uni.hideLoading();
})
......@@ -450,75 +463,7 @@
newsList.value = res.rows
})
}
function getMes() {
uni.showLoading({
title: '加载中'
});
api.getMessage({
pageNum: 1,
pageSize: 10
}).then(res => {
if (res.rows && res.rows.length > 0)
for (var d of res.rows) {
switch (d.type) {
case 30001:
d.name = '你有一条会员缴费等待审批,点击去处理!'
d.path = '/personalVip/audit'
break
case 30002:
d.name = '你有一条级位考试等待审批,点击去处理!'
d.path = '/level/approval'
break
case 30003:
d.name = '你有一条段位考试等待审批,点击去处理!'
d.path = '/pages/rank/approval'
break
case 30004:
d.name = '你有一条会员调动等待审批,点击去处理!'
d.path = '/personalVip/mobillize'
break
case 30005:
d.name = '你有一条团体会员认证等待审批,点击去处理!'
d.path = '/group/apply/applyList'
break
case 30006:
d.name = '你有一条段位成绩等待审批,点击去处理!'
d.path = '/pages/rank/scoreApproval'
break
case 40001:
d.name = '你有一条级位申请待提交,点击去处理!'
d.path = `/level/apply?id=${d.eventId}`
break
case 40002:
d.name = '你有一条段位申请待提交,点击去处理!'
d.path = `/pages/rank/apply?id=${d.eventId}`
break
case 40003:
d.name = '你有一条成绩维护的数据待提交,点击去处理!'
d.path = `/pages/rank/score/modify?id=${d.eventId}`
break
case 50001:
d.name = '你有一条新的个人会员申请,点击去处理!'
d.path = '/personalVip/list'
break
}
}
messageList.value = res.rows
uni.hideLoading();
})
}
function readMessage(item) {
uni.navigateTo({
url: item.path
});
api.reader({
id: item.id
}).then(res => {
item.readFlag = '1'
})
}
function goNewsDetail(n){
uni.navigateTo({
url: `/pages/index/newsDetail?noteId=${n.noteId}`
......
......@@ -86,27 +86,20 @@
<uni-popup ref="popup" type="bottom" background-color="#fff" animation>
<view class="tt">入会须知</view>
<view class="popBody">
______欢迎您申请成为中国跆拳道协会(以下简称中国跆协)会员,请确保本次申请是经过您本人或监护人授权同意后的自愿行为,请您务必仔细阅读本入会须知。
_{{baseFormData.name}}_欢迎您申请成为中国跆拳道协会(以下简称中国跆协)会员,请确保本次申请是经过您本人或监护人授权同意后的自愿行为,请您务必仔细阅读本入会须知。
<br />
一、中国跆协会员分为个人会员和单位会员。
<br />
二、成为本协会会员条件:遵守中国跆协章程和协会各项规章制度及相关决议,按期交纳会费,积极支持和参与中国跆拳道事业发展的社会各届人士或地方跆拳道协会、俱乐部、培训机构等,均可自愿申请成为中国跆协会员。
<br />
三、个人会员为在中国工作和生活的跆拳道爱好者,16 周岁以下应有监护人协助申请,会员须为中国公民。
<br />
四、会员入会需向所在区域内中国跆协单位会员提出入会申请,并按程序报中国跆协批准,按规定交纳会费。
<br />
二、成为本协会会员条件:遵守中国跆协章程和协会各项规章制度及相关决议,按期交纳会费,积极支持和参与中国跆拳道事业发展的社会各届人士或地方跆拳道协会、俱乐部、培训机构等,均可自愿申请成为中国跆协会员。<br />
三、个人会员为在中国工作和生活的跆拳道爱好者,16 周岁以下应有监护人协助申请,会员须为中国公民。<br />
四、会员入会需向所在区域内中国跆协单位会员提出入会申请,并按程序报中国跆协批准,按规定交纳会费。<br />
五、会员享有《中国跆拳道协会会员管理办法》规定的会员权利。
<br />
六、会员应履行《中国跆拳道协会会员管理办法》规定的会员义务。
<br />
七、凡中国跆协会员,须按照《中国跆拳道协会会员会费标准(2021 版)》按时交纳年度会费。
<br />
八、会员行为违反《中国跆拳道协会会员管理办法》中规定的,按照相关处罚规定进行处理。
<br />
九、会员有退会的自由。会员自愿退会应至少提前 3 个月以书面形式通知本协会,并在此之前,妥善解决与本协会及其他会员之间的财务等问题,方可退会。
<br />
十、其它会员相关内容请查看《中国跆拳道协会会员管理办法》。
七、凡中国跆协会员,须按照《中国跆拳道协会会员会费标准(2021 版)》按时交纳年度会费。<br />
八、会员行为违反《中国跆拳道协会会员管理办法》中规定的,按照相关处罚规定进行处理。<br />
九、其它会员相关内容请查看《中国跆拳道协会章程》《中国跆拳道协会会员管理办法》。<br />
<button @click="closepopup" class="btn-red">我已阅读</button>
</view>
......@@ -298,8 +291,13 @@
uni.showLoading({
title: '加载中'
});
api.uploadImg(e).then(data => {
baseFormData.value.photo = data.msg;
api.uploadImgCorp(resp.tempFilePath).then(data => {
baseFormData.value.photo = data.msg;
photoArr.value = {
url: config.baseUrl_api+baseFormData.value.photo,
name: '头像',
extname: 'jpg'
}
});
},
fail: function(err) {
......@@ -337,7 +335,6 @@
// idcCode: baseFormData.value.idcCode,
// perType: '1'
// };
//如果老会员
uni.showLoading({
title: '加载中'
})
......@@ -348,7 +345,8 @@
// }
perId.value = res.data.perId
baseFormData.value.sex = res.data.sex
baseFormData.value.birth = res.data.birth
baseFormData.value.birth = res.data.birth
baseFormData.value.name = res.data.name
baseFormData.value.phone = res.data.phone
baseFormData.value.cityId = res.data.cityId
baseFormData.value.address = res.data.address
......@@ -380,10 +378,10 @@
} else {
uni.hideLoading()
// 新会员
// if (res.data.sex) {
// baseFormData.value.sex = res.data.sex
// baseFormData.value.birth = res.data.birth
// }
if (res.data.sex) {
baseFormData.value.sex = res.data.sex
baseFormData.value.birth = res.data.birth
}
if (baseFormData.value.idcType != 3 && current.value == 1) {
disabledName.value = true
} else {
......

12 KB | W: | H:

104 KB | W: | H:

static/nodata.png
static/nodata.png
static/nodata.png
static/nodata.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -524,7 +524,8 @@
delFile(index) {
this.$emit('delete', {
tempFile: this.files[index],
tempFilePath: this.files[index].url
tempFilePath: this.files[index].url,
index
})
this.files.splice(index, 1)
this.$nextTick(() => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!