3772b55d by 杨炀

no message

1 parent 78423ea5
...@@ -36,7 +36,27 @@ export default { ...@@ -36,7 +36,27 @@ export default {
36 } 36 }
37 }, 37 },
38 onShow: function() { 38 onShow: function() {
39 console.log('App Show'); 39 // if(firstload&&!this.globalData.isLogin){
40 // console.log('App Show');
41 // uni.redirectTo({
42 // url: '/login/login'
43 // })
44 // }
45
46 if(firstload){
47 getInfo().then(() => {
48 this.globalData.isLogin = true;
49 let firstLoadCallback = getApp().firstLoadCallback;
50 if (firstLoadCallback) {
51 firstLoadCallback();
52 }
53 }).catch(() => {
54 uni.redirectTo({
55 url: '/login/login'
56 })
57 })
58 }
59
40 }, 60 },
41 onHide: function() { 61 onHide: function() {
42 console.log('App Hide'); 62 console.log('App Hide');
......
...@@ -3,6 +3,21 @@ import config from '@/config.js' ...@@ -3,6 +3,21 @@ import config from '@/config.js'
3 import * as loginServer from '@/common/login.js'; 3 import * as loginServer from '@/common/login.js';
4 import _ from 'lodash' 4 import _ from 'lodash'
5 5
6 // 激活
7 export function active(data) {
8 return request({
9 url: `/member/info/active/${data.memId}`,
10 method: 'post',
11 params: data
12 })
13 }
14 export function editMyMemberCertifiedInfo(data) {
15 return request({
16 url: '/system/dept/editMyMemberCertifiedInfo',
17 method: 'post',
18 params: data
19 })
20 }
6 export function addMergeToRange(params) { 21 export function addMergeToRange(params) {
7 return request({ 22 return request({
8 url: `/person/infoMerge/addMergeToRange/${params.perIds}?perId=${params.perIds}&rangeIdStr=${params.rangeIdStr}`, 23 url: `/person/infoMerge/addMergeToRange/${params.perIds}?perId=${params.perIds}&rangeIdStr=${params.rangeIdStr}`,
...@@ -86,7 +101,7 @@ export function certifiedDeptTree(params) { ...@@ -86,7 +101,7 @@ export function certifiedDeptTree(params) {
86 return request({ 101 return request({
87 url: '/system/user/certifiedDeptTreeWithNoDaoguan', 102 url: '/system/user/certifiedDeptTreeWithNoDaoguan',
88 method: 'get', 103 method: 'get',
89 params:params 104 params: params
90 }) 105 })
91 } 106 }
92 // 查询部门下拉树结构 107 // 查询部门下拉树结构
...@@ -94,7 +109,7 @@ export function deptTreeSelect(params) { ...@@ -94,7 +109,7 @@ export function deptTreeSelect(params) {
94 return request({ 109 return request({
95 url: '/system/user/certifiedDeptTree', 110 url: '/system/user/certifiedDeptTree',
96 method: 'get', 111 method: 'get',
97 params:params 112 params: params
98 }).then((res) => { 113 }).then((res) => {
99 setIdToString(res.data) 114 setIdToString(res.data)
100 return res 115 return res
...@@ -133,13 +148,9 @@ export function createMyMember(data) { ...@@ -133,13 +148,9 @@ export function createMyMember(data) {
133 params: data 148 params: data
134 }) 149 })
135 } 150 }
136 export function updateUserPwd(oldPassword, newPassword) { 151 export function updateUserPwd(data) {
137 const data = {
138 oldPassword,
139 newPassword
140 }
141 return request({ 152 return request({
142 url: '/system/user/profile/updatePwd', 153 url: `/system/user/profile/updatePwd?oldPassword=${encodeURIComponent(data.oldPassword)}&newPassword=${encodeURIComponent(data.oldPassword)}`,
143 method: 'put', 154 method: 'put',
144 params: data 155 params: data
145 }) 156 })
...@@ -218,6 +229,26 @@ export function uploadImg(e) { ...@@ -218,6 +229,26 @@ export function uploadImg(e) {
218 uni.hideLoading(); 229 uni.hideLoading();
219 }); 230 });
220 } 231 }
232 // corp
233 export function uploadImgCorp(tempFilePath) {
234 const imgUrl = tempFilePath
235 uni.showLoading({
236 title: '加载中'
237 });
238 return uni.uploadFile({
239 url: config.baseUrl_api + '/upload/uploadImgToLocalServer',
240 header: {
241 'Authorization': uni.getStorageSync('token'),
242 },
243 filePath: imgUrl,
244 name: 'image'
245 }).then(res => {
246 let data = JSON.parse(res.data);
247 return data
248 }).finally(() => {
249 uni.hideLoading();
250 });
251 }
221 252
222 export function getInfo(perId) { 253 export function getInfo(perId) {
223 return request({ 254 return request({
...@@ -855,7 +886,7 @@ export function doMergeFlowsPer(data) { ...@@ -855,7 +886,7 @@ export function doMergeFlowsPer(data) {
855 return request({ 886 return request({
856 url: '/person/paymentRange/audit', 887 url: '/person/paymentRange/audit',
857 method: 'post', 888 method: 'post',
858 params:data 889 params: data
859 }) 890 })
860 } 891 }
861 // 省缴费单拆分 892 // 省缴费单拆分
...@@ -914,7 +945,7 @@ export function getInfoModRange(params) { ...@@ -914,7 +945,7 @@ export function getInfoModRange(params) {
914 return request({ 945 return request({
915 url: `/person/infoModRange/list`, 946 url: `/person/infoModRange/list`,
916 method: 'get', 947 method: 'get',
917 params:params 948 params: params
918 }) 949 })
919 } 950 }
920 export function addInfoModeList(data) { 951 export function addInfoModeList(data) {
...@@ -1010,7 +1041,7 @@ export function addLevelList(data) { ...@@ -1010,7 +1041,7 @@ export function addLevelList(data) {
1010 return request({ 1041 return request({
1011 url: `/person/levelMod/addLevelModToRange`, 1042 url: `/person/levelMod/addLevelModToRange`,
1012 method: 'post', 1043 method: 'post',
1013 params:data 1044 params: data
1014 }) 1045 })
1015 } 1046 }
1016 export function addLevelModToRange(data) { 1047 export function addLevelModToRange(data) {
......
...@@ -55,6 +55,7 @@ function getCodeImg() { ...@@ -55,6 +55,7 @@ function getCodeImg() {
55 function getSmsCode(data) { 55 function getSmsCode(data) {
56 return request({ 56 return request({
57 url: '/captchaSmsWithCaptchaImage', 57 url: '/captchaSmsWithCaptchaImage',
58 // url: '/captchaSmsWithCaptchaImageForMiniApp',
58 method: 'post', 59 method: 'post',
59 params: data 60 params: data
60 }) 61 })
......
...@@ -55,7 +55,11 @@ page { ...@@ -55,7 +55,11 @@ page {
55 55
56 56
57 .nodata{padding:10vh 0; box-sizing: border-box; text-align: center; 57 .nodata{padding:10vh 0; box-sizing: border-box; text-align: center;
58 image{width: 300rpx;height: 300rpx;display: block; margin:0 auto;} 58 image{width: 300rpx;height: 300rpx;display: none; margin:0 auto;
59 border-radius: 100px;
60 opacity: 0.08;
61 filter: grayscale(1);
62 }
59 text{font-size: 24rpx; text-align: center; display: inline-block;color: #a8b3c7;} 63 text{font-size: 24rpx; text-align: center; display: inline-block;color: #a8b3c7;}
60 button{display: inline;border-radius: 35rpx;padding:10rpx 30rpx;box-sizing: border-box;font-size: 30rpx; 64 button{display: inline;border-radius: 35rpx;padding:10rpx 30rpx;box-sizing: border-box;font-size: 30rpx;
61 border: none!important;} 65 border: none!important;}
......
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
5 // staging 会员系统 5 // staging 会员系统
6 // const baseUrl_api = "http://22yidpjzjifv.ngrok.xiaomiqiu123.top/stage-api/"; 6 // const baseUrl_api = "http://22yidpjzjifv.ngrok.xiaomiqiu123.top/stage-api/";
7 // const baseUrl_api = "http://123.60.96.243/stage-api/"; 7 // const baseUrl_api = "http://123.60.96.243/stage-api/";
8 // const baseUrl_api = 'http://192.168.1.97:8787' 8 // const baseUrl_api = 'http://192.168.1.130:8787'
9 // const baseUrl_api = 'https://ztx.itechtop.cn/stage-api' 9 // const baseUrl_api = 'https://ztx.itechtop.cn/stage-api'
10 const baseUrl_api = 'https://tkcn.19wk.cn:8443/stage-api' 10 // const baseUrl_api = 'https://tkcn.19wk.cn:8443/stage-api'
11 11
12 // const baseUrl_api = 'https://newsystem.taekwondo.org.cn/stage-api' 12 const baseUrl_api = 'https://system.taekwondo.org.cn/stage-api'
13 export default { 13 export default {
14 baseUrl_api 14 baseUrl_api
15 } 15 }
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
33 原有效期 33 原有效期
34 <view>{{item.content?.validityTime.slice(0,10)}}</view> 34 <view>{{item.content?.validityTime.slice(0,10)}}</view>
35 </view> 35 </view>
36 <view> 36 <view :class="item.content.validityTime?'':'w50'">
37 年限 37 年限
38 <view>{{item.content.renewYear}}</view> 38 <view>{{item.content.renewYear}}</view>
39 </view> 39 </view>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
19 <text v-if="item.status == 3" class="text-warning">审核撤回</text> 19 <text v-if="item.status == 3" class="text-warning">审核撤回</text>
20 </view> 20 </view>
21 <view class="date">提交日期:{{item.content.commitTime}}</view> 21 <view class="date">提交日期:{{item.content.commitTime}}</view>
22 <view class="date" v-if="item.content.validityTime">原有效期:{{item.content.validityTime}}</view> 22 <view class="date" v-if="item.content.validityTime">原有效期:{{item.content.validityTime?.slice(0,10)}}</view>
23 <view class="text-primary" v-if="item.content?.wfCode">{{item.content?.wfCode}}</view> 23 <view class="text-primary" v-if="item.content?.wfCode">{{item.content?.wfCode}}</view>
24 <view class="name mt0" style="width: 100%;" @click="goDetail(item)">{{item.content?.certName}}</view> 24 <view class="name mt0" style="width: 100%;" @click="goDetail(item)">{{item.content?.certName}}</view>
25 <view class="flexbox" @click="goDetail(item)"> 25 <view class="flexbox" @click="goDetail(item)">
......
...@@ -15,15 +15,13 @@ ...@@ -15,15 +15,13 @@
15 <image class="icon" v-else :src="config.baseUrl_api+'/fs/static/member/dx.png'" /> 15 <image class="icon" v-else :src="config.baseUrl_api+'/fs/static/member/dx.png'" />
16 </view> 16 </view>
17 <view class="w100"> 17 <view class="w100">
18 <view class="name">{{n.name}} </view> 18 <view class="name">{{n.name}} <text v-if="n.memCode">({{n.memCode}})</text></view>
19 <view class="flexbox" style="padding: 0"> 19 <view class="flexbox" style="padding: 0">
20 <view v-if="n.memCode">会员号 20 <view class="date">到期时间
21 <text>{{n.memCode}}</text> 21 <text v-if="n.validityDate">{{n.validityDate?.slice(0,10)}}</text>
22 <text v-else>--</text>
22 </view> 23 </view>
23 <view class="date" v-if="n.validityDate">到期时间 24 <view class="date w50">团体类型
24 <text>{{n.validityDate?.slice(0,10)}}</text>
25 </view>
26 <view class="date">团体类型
27 <text v-if="n.deptType == 2">一级协会</text> 25 <text v-if="n.deptType == 2">一级协会</text>
28 <text v-if="n.deptType == 3">直属协会</text> 26 <text v-if="n.deptType == 3">直属协会</text>
29 <text v-if="n.deptType == 4">二级协会</text> 27 <text v-if="n.deptType == 4">二级协会</text>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
14 </view> 14 </view>
15 <view class="date" @click="goDetail(item)" v-if="item.payTime"> 15 <view class="date" @click="goDetail(item)" v-if="item.payTime">
16 <uni-icons type="calendar-filled" size="16" color="#AD181F"></uni-icons> 16 <uni-icons type="calendar-filled" size="16" color="#AD181F"></uni-icons>
17 <text>{{item.payTime}} 缴费</text> 17 <text>{{item.payTime?.slice(0,10)}} 缴费</text>
18 </view> 18 </view>
19 <view class="text-primary" v-if="item.wfCode">{{item.wfCode}}</view> 19 <view class="text-primary" v-if="item.wfCode">{{item.wfCode}}</view>
20 <view class="name mt0" @click="goDetail(item)">{{item.finalDocName}}</view> 20 <view class="name mt0" @click="goDetail(item)">{{item.finalDocName}}</view>
......
...@@ -4,19 +4,29 @@ ...@@ -4,19 +4,29 @@
4 <uni-list> 4 <uni-list>
5 <uni-list-item title="所属协会"> 5 <uni-list-item title="所属协会">
6 <template v-slot:footer> 6 <template v-slot:footer>
7 <view style="width: 60%;text-align: right;">{{form.firstName}} {{form.parentDeptName}}</view> 7 <!-- <view style="width: 60%;text-align: right;">{{form.firstName}} {{form.parentDeptName}}</view> -->
8 <view style="width: 500rpx;text-align: right;">
9 <uni-data-picker v-model="form.deptId" :localdata="tree"
10 readonly :clear-icon="false"
11 :map="{text:'label',value:'id'}">
12 </uni-data-picker>
13 </view>
8 </template> 14 </template>
9 </uni-list-item> 15 </uni-list-item>
10 <uni-list-item title="会员编号" v-if="form.menCode" :rightText="form.menCode" /> 16 <uni-list-item title="会员编号" v-if="form.menCode" :rightText="form.menCode" />
11 <uni-list-item title="机构名称" :rightText="form.name" /> 17 <uni-list-item title="机构名称" :rightText="form.name" />
12 <uni-list-item title="所属省份"> 18 <uni-list-item title="所属省份">
13 <template v-slot:footer>{{form.provinceStr}}</template> 19 <template v-slot:footer>
20 <uni-data-select :clear="false" disabled
21 v-model="form.belongProvinceId" :localdata="regionsList">
22 </uni-data-select>
23 </template>
14 </uni-list-item> 24 </uni-list-item>
15 <uni-list-item title="社会信用代码" :rightText="form.creditCode" /> 25 <uni-list-item title="社会信用代码" :rightText="form.creditCode" />
16 <uni-list-item v-if="form.siteContact" title="联系人" :rightText="form.siteContact" /> 26 <uni-list-item v-if="isR" title="联系人" :rightText="form.certSiteContact" />
17 <uni-list-item v-else title="联系人" :rightText="form.contact" /> 27 <uni-list-item v-else title="联系人" :rightText="form.siteContact" />
18 <uni-list-item v-if="form.siteTel" title="联系方式" :rightText="form.siteTel" /> 28 <uni-list-item v-if="isR" title="联系方式" :rightText="form.certSiteTel" />
19 <uni-list-item v-else title="联系方式" :rightText="form.phone" /> 29 <uni-list-item v-else title="联系方式" :rightText="form.siteTel" />
20 <uni-list-item v-if="form.validityDate" title="有效期" :rightText="form.validityDate?.slice(0,10)" /> 30 <uni-list-item v-if="form.validityDate" title="有效期" :rightText="form.validityDate?.slice(0,10)" />
21 <uni-list-item title="认证地址"> 31 <uni-list-item title="认证地址">
22 <template v-slot:footer> 32 <template v-slot:footer>
...@@ -24,10 +34,12 @@ ...@@ -24,10 +34,12 @@
24 </template> 34 </template>
25 </uni-list-item> 35 </uni-list-item>
26 <uni-list-item title="认证详细地址" :rightText="form.adress" /> 36 <uni-list-item title="认证详细地址" :rightText="form.adress" />
27 <uni-list-item title="法人姓名" :rightText="form.legal||'--'" /> 37 <uni-list-item title="法人姓名" v-if="isR" :rightText="form.certLegal||'--'" />
38 <uni-list-item title="法人姓名" v-else :rightText="form.legal||'--'" />
28 39
29 <uni-list-item v-if="form.deptType==6" title="是否为考点" :rightText="form.applyPoints==1?'是':'否'" /> 40 <uni-list-item v-if="form.deptType==6" title="是否为考点" :rightText="form.applyPoints==1?'是':'否'" />
30 <uni-list-item title="法人身份证" clickable> 41
42 <uni-list-item title="法人身份证" clickable v-if="isR">
31 <template v-slot:footer> 43 <template v-slot:footer>
32 <view v-if="form.legalIdcPhotoArr&&form.legalIdcPhotoArr?.length>0"> 44 <view v-if="form.legalIdcPhotoArr&&form.legalIdcPhotoArr?.length>0">
33 <image class="ylImage" mode="aspectFit" @click="showImage(form.legalIdcPhotoArr,index)" 45 <image class="ylImage" mode="aspectFit" @click="showImage(form.legalIdcPhotoArr,index)"
...@@ -36,15 +48,31 @@ ...@@ -36,15 +48,31 @@
36 </view> 48 </view>
37 </template> 49 </template>
38 </uni-list-item> 50 </uni-list-item>
51 <uni-list-item title="法人身份证" clickable v-else>
52 <template v-slot:footer>
53 <view v-if="form.legalIdcPhotoArrR&&form.legalIdcPhotoArrR?.length>0">
54 <image class="ylImage" mode="aspectFit" @click="showImage(form.legalIdcPhotoArrR,index)"
55 v-for="(item,index) in form.legalIdcPhotoArrR" :key="item" :src="item">
56 </image>
57 </view>
58 </template>
59 </uni-list-item>
39 60
40 <uni-list-item title="营业执照" clickable > 61 <uni-list-item title="营业执照" clickable v-if="isR">
41 <template v-slot:footer> 62 <template v-slot:footer>
42 <view @click="download(form.businessLicenseArr[0]?.url)" v-if="form.businessLicenseArr&&form.businessLicenseArr?.length>0"> 63 <view style="width: 50vw;word-break: break-all;" @click="download(form.businessLicenseArrR[0]?.url)" v-if="form.businessLicenseArrR&&form.businessLicenseArrR?.length>0">
64 <text class="text-primary">{{form.businessLicenseArrR[0]?.name}}</text>
65 </view>
66 </template>
67 </uni-list-item>
68 <uni-list-item title="营业执照" clickable v-else>
69 <template v-slot:footer>
70 <view style="width: 50vw;word-break: break-all;" @click="download(form.businessLicenseArr[0]?.url)" v-if="form.businessLicenseArr&&form.businessLicenseArr?.length>0">
43 <text class="text-primary">{{form.businessLicenseArr[0]?.name}}</text> 71 <text class="text-primary">{{form.businessLicenseArr[0]?.name}}</text>
44 </view> 72 </view>
45 </template> 73 </template>
46 </uni-list-item> 74 </uni-list-item>
47 <uni-list-item title="机构照片" clickable> 75 <uni-list-item title="机构照片" clickable v-if="isR">
48 <template v-slot:footer> 76 <template v-slot:footer>
49 <view v-if="form.picturesArr&&form.picturesArr?.length>0" class="photoBook" @click="showImage(form.picturesArr,0)"> 77 <view v-if="form.picturesArr&&form.picturesArr?.length>0" class="photoBook" @click="showImage(form.picturesArr,0)">
50 <image mode="aspectFit" class="ylImage" 78 <image mode="aspectFit" class="ylImage"
...@@ -54,6 +82,16 @@ ...@@ -54,6 +82,16 @@
54 </view> 82 </view>
55 </template> 83 </template>
56 </uni-list-item> 84 </uni-list-item>
85 <uni-list-item title="机构照片" clickable v-else>
86 <template v-slot:footer>
87 <view v-if="form.picturesArrR&&form.picturesArrR?.length>0" class="photoBook" @click="showImage(form.picturesArrR,0)">
88 <image mode="aspectFit" class="ylImage"
89 :src="form.picturesArrR[0]">
90 </image>
91 <text>{{form.picturesArrR?.length}}</text>
92 </view>
93 </template>
94 </uni-list-item>
57 </uni-list> 95 </uni-list>
58 </view> 96 </view>
59 <view class="height1"></view> 97 <view class="height1"></view>
...@@ -75,11 +113,20 @@ ...@@ -75,11 +113,20 @@
75 const app = getApp() 113 const app = getApp()
76 const form = ref({ 114 const form = ref({
77 legalIdcPhotoArr: [], 115 legalIdcPhotoArr: [],
116 legalIdcPhotoArrR: [],
78 picturesArr: [], 117 picturesArr: [],
79 businessLicenseArr:[] 118 picturesArrR: [],
119 businessLicenseArr:[],
120 businessLicenseArrR:[]
80 }) 121 })
122 const tree = ref([])
123 const regionsList = ref([])
124 const isR = ref(false)
81 onLoad(option => { 125 onLoad(option => {
82 console.log(option) 126 console.log(option)
127 if (option.isR){
128 isR.value = true
129 }
83 if (option.memId) { 130 if (option.memId) {
84 getForm(option.memId) 131 getForm(option.memId)
85 } 132 }
...@@ -96,6 +143,8 @@ ...@@ -96,6 +143,8 @@
96 } 143 }
97 } 144 }
98 function init() { 145 function init() {
146 getDeptTree()
147 getRegionsList()
99 console.log(form.value) 148 console.log(form.value)
100 if (form.value.businessLicense) { 149 if (form.value.businessLicense) {
101 form.value.businessLicenseArr = [] 150 form.value.businessLicenseArr = []
...@@ -106,6 +155,15 @@ ...@@ -106,6 +155,15 @@
106 } 155 }
107 console.log('营业执照',form.value.businessLicenseArr) 156 console.log('营业执照',form.value.businessLicenseArr)
108 } 157 }
158 if (form.value.certBusinessLicense) {
159 form.value.businessLicenseArrR = []
160 try{
161 form.value.businessLicenseArrR = JSON.parse(form.value.certBusinessLicense) || []
162 }catch(e){
163 form.value.businessLicenseArrR=[{url:form.value.certBusinessLicense,name:'营业执照'}]
164 }
165 console.log('营业执照',form.value.businessLicenseArrR)
166 }
109 if (form.value.certLegalIdcPhoto && form.value.certLegalIdcPhoto!=null) { 167 if (form.value.certLegalIdcPhoto && form.value.certLegalIdcPhoto!=null) {
110 form.value.legalIdcPhotoArr = [] 168 form.value.legalIdcPhotoArr = []
111 var arr = form.value.certLegalIdcPhoto?.split(',') || [] 169 var arr = form.value.certLegalIdcPhoto?.split(',') || []
...@@ -119,8 +177,22 @@ ...@@ -119,8 +177,22 @@
119 }) 177 })
120 form.value.legalIdcPhotoArr = arr 178 form.value.legalIdcPhotoArr = arr
121 } 179 }
122 console.log('法人身份证',form.value.legalIdcPhotoArr)
123 } 180 }
181 if(form.value.legalIdcPhoto && form.value.legalIdcPhoto!=null){
182 form.value.legalIdcPhotoArrR = []
183 var arr = form.value.legalIdcPhoto?.split(',') || []
184 if (arr.length > 0) {
185 arr = _.map(arr, (p) => {
186 if(p.indexOf('http')==-1){
187 console.log(p)
188 p = config.baseUrl_api + p
189 }
190 return p
191 })
192 form.value.legalIdcPhotoArrR = arr
193 }
194 }
195 console.log('法人身份证',form.value.legalIdcPhotoArr)
124 if (form.value.certPictures) { 196 if (form.value.certPictures) {
125 form.value.picturesArr = [] 197 form.value.picturesArr = []
126 var arr = form.value.certPictures.split(',') || [] 198 var arr = form.value.certPictures.split(',') || []
...@@ -135,8 +207,36 @@ ...@@ -135,8 +207,36 @@
135 } 207 }
136 console.log(form.value.picturesArr) 208 console.log(form.value.picturesArr)
137 } 209 }
210 if(form.value.pictures){
211 form.value.picturesArrR = []
212 var arr = form.value.pictures.split(',') || []
213 if (arr.length > 0) {
214 arr = _.map(arr, (p) => {
215 if(p.indexOf('http')==-1){
216 p = config.baseUrl_api + p
217 }
218 return p
219 })
220 form.value.picturesArrR = arr
221 }
222 console.log(form.value.picturesArrR)
223 }
224 }
225 function getRegionsList() {
226 api.regionsList().then(res => {
227 regionsList.value = res.data;
228 })
229 }
230 function getDeptTree(){
231 api.deptTreeSelect({ selfDeptId: '-1', showDirect: 1, showAll: 1 }).then(res=>{
232 tree.value = res.data
233 if (typeof tree.value?.[0]?.id == 'number') {
234 form.value.deptId = form.value.deptId * 1
235 } else {
236 form.value.deptId = form.value.deptId.toString()
237 }
238 })
138 } 239 }
139
140 function showImage(arr, index) { 240 function showImage(arr, index) {
141 uni.previewImage({ 241 uni.previewImage({
142 urls: arr, 242 urls: arr,
...@@ -154,13 +254,14 @@ ...@@ -154,13 +254,14 @@
154 uni.previewImage({ 254 uni.previewImage({
155 urls: [url], 255 urls: [url],
156 success: function(res) { 256 success: function(res) {
157 257 console.log(res,[url],'111')
158 } 258 }
159 }) 259 })
160 } else { 260 } else {
161 uni.previewImage({ 261 uni.previewImage({
162 urls: [config.baseUrl_api + url], 262 urls: [config.baseUrl_api + url],
163 success: function(res) { 263 success: function(res) {
264 console.log(url,'222')
164 } 265 }
165 }) 266 })
166 } 267 }
...@@ -205,7 +306,7 @@ ...@@ -205,7 +306,7 @@
205 fail: function(error) { 306 fail: function(error) {
206 uni.hideLoading(); 307 uni.hideLoading();
207 uni.showToast({ 308 uni.showToast({
208 title: `下载失败`, 309 title:`下载失败`,
209 icon: 'none', 310 icon: 'none',
210 duration: 2000 311 duration: 2000
211 }); 312 });
...@@ -215,6 +316,10 @@ ...@@ -215,6 +316,10 @@
215 </script> 316 </script>
216 317
217 <style scoped lang="scss"> 318 <style scoped lang="scss">
319 :deep(.input-value ){padding: 0!important;line-height: 1.4!important;}
320 :deep(.selected-list){display: block!important;
321 }
322 :deep(.selected-item){display:inline;white-space:normal!important;}
218 .height1 { 323 .height1 {
219 height: 1rpx 324 height: 1rpx
220 } 325 }
......
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
150 150
151 function godetail(n) { 151 function godetail(n) {
152 uni.navigateTo({ 152 uni.navigateTo({
153 url: `/group/groupInfo?memId=${n.memId}` 153 url: `/group/groupInfo?memId=${n.memId}&isR=true`
154 }) 154 })
155 } 155 }
156 156
......
...@@ -24,11 +24,11 @@ ...@@ -24,11 +24,11 @@
24 会员合计 24 会员合计
25 <view>{{item.allCount}}</view> 25 <view>{{item.allCount}}</view>
26 </view> 26 </view>
27 <view> 27 <view v-if="userType!='2'">
28 续费年限 28 续费年限
29 <view>{{item.content?.renewYear}}</view> 29 <view>{{item.content?.renewYear}}</view>
30 </view> 30 </view>
31 <view> 31 <view :class="userType=='2'?'w50':''">
32 年限合计 32 年限合计
33 <view>{{item.totalRenewYear}}</view> 33 <view>{{item.totalRenewYear}}</view>
34 </view> 34 </view>
......
...@@ -18,12 +18,12 @@ ...@@ -18,12 +18,12 @@
18 </view> 18 </view>
19 <view class="round-input-item"> 19 <view class="round-input-item">
20 <image class="icon" :src="config.baseUrl_api+'/fs/static/login/tag02@2x.png'"></image> 20 <image class="icon" :src="config.baseUrl_api+'/fs/static/login/tag02@2x.png'"></image>
21 <uni-easyinput :styles="inputstyle" placeholder="密码" v-model="form.password" 21 <uni-easyinput :styles="inputstyle" placeholder="初次登录请联系省级协会获取初始密码" v-model="form.password"
22 type="password" /> 22 type="password" />
23 </view> 23 </view>
24 <view class="round-input-item"> 24 <view class="round-input-item">
25 <image class="icon" :src="config.baseUrl_api+'/fs/static/login/tag03@2x.png'"></image> 25 <image class="icon" :src="config.baseUrl_api+'/fs/static/login/tag03@2x.png'"></image>
26 <uni-easyinput :styles="inputstyle" placeholder="图形验证码" v-model="form.code" /> 26 <uni-easyinput :styles="inputstyle" placeholder="请填入计算结果" v-model="form.code" />
27 <image :src="codeUrl" @click="getCode" /> 27 <image :src="codeUrl" @click="getCode" />
28 </view> 28 </view>
29 29
...@@ -62,13 +62,14 @@ ...@@ -62,13 +62,14 @@
62 </view> 62 </view>
63 <view class="wNumber"> 63 <view class="wNumber">
64 技术服务热线:<text @click="call('15606190026')">15606190026</text> / <text 64 技术服务热线:<text @click="call('15606190026')">15606190026</text> / <text
65 @click="call('15306299762')">15306299762</text> 65 @click="call('15305299762')">15305299762</text>
66 </view> 66 </view>
67 67
68 </view> 68 </view>
69 </view> 69 </view>
70 <image class="ren2" :src="config.baseUrl_api+'/fs/static/login/ren2.png'" /> 70 <image class="ren2" :src="config.baseUrl_api+'/fs/static/login/ren2.png'" />
71 <view class="fixedagree"> 71 <view class="fixedagree">
72 <text>仅供中国跆拳道协会会员单位登录使用</text>
72 <!-- <image @click="changeAgree(agree)" v-if="agree" src="@/static/login/xz_dwn@2x.png"></image> 73 <!-- <image @click="changeAgree(agree)" v-if="agree" src="@/static/login/xz_dwn@2x.png"></image>
73 <image v-else src="@/static/login/xz2@2x.png"></image> 74 <image v-else src="@/static/login/xz2@2x.png"></image>
74 <view>登录即代表您同意<text>《用户协议》</text><text>《隐私策略》</text></view> --> 75 <view>登录即代表您同意<text>《用户协议》</text><text>《隐私策略》</text></view> -->
...@@ -169,7 +170,7 @@ ...@@ -169,7 +170,7 @@
169 url: '/pages/index/index' 170 url: '/pages/index/index'
170 }) 171 })
171 }) 172 })
172 // .catch(getCode) 173 .catch(getCode)
173 } else if (isActive.value == 1) { 174 } else if (isActive.value == 1) {
174 if (!form2.value.telNo) { 175 if (!form2.value.telNo) {
175 uni.showToast({ 176 uni.showToast({
......
1 <template> 1 <template>
2 <view> 2 <view>
3 <view v-if="showDirectly&&directUnderFlag==0">
3 <view class="flexbox"> 4 <view class="flexbox">
4 <view> 5 <view>
5 有效日期至 <text class="text-primary">{{form?.validityDate?.slice(0,10) }}</text> 6 有效日期至 <text class="text-primary">{{form?.validityDate?.slice(0,10) }}</text>
...@@ -18,14 +19,16 @@ ...@@ -18,14 +19,16 @@
18 </view> 19 </view>
19 </view> 20 </view>
20 <view class="flexbox" style="justify-content: end;padding: 0 30rpx 40rpx;"> 21 <view class="flexbox" style="justify-content: end;padding: 0 30rpx 40rpx;">
21 <!-- <button class="btn-red" style="margin: 0 20rpx 0 0;" size="mini" 22 <button class="btn-red" style="margin: 0 20rpx 0 0;" size="mini"
22 v-if="activeStatus==0&&authenticationStatusa" @click="payTheFees">激活</button> 23 v-if="activeStatus==0&&authenticationStatusa" @click="payTheFees">激活</button>
24 <view v-else>
23 <button class="btn-red" style="margin: 0 20rpx 0 0;" size="mini" :disabled="btn" 25 <button class="btn-red" style="margin: 0 20rpx 0 0;" size="mini" :disabled="btn"
24 @click="payTheFees">去缴费</button> --> 26 @click="payTheFees">去缴费</button>
25 <button class="btn-red-kx" style="margin: 0 20rpx 0 0;" size="mini" v-if="form.deptType!=1" 27 <button class="btn-red-kx" style="margin: 0 20rpx 0 0;" size="mini" v-if="form.deptType!=1"
26 @click="auditEditFN">审核详情</button> 28 @click="auditEditFN">审核详情</button>
27 </view> 29 </view>
28 30 </view>
31 </view>
29 <view class="mainbox"> 32 <view class="mainbox">
30 <uni-list> 33 <uni-list>
31 <uni-list-item v-if="authenticationStatusa != 1&&authenticationStatusa != 0&&authenticationStatusa != 3" 34 <uni-list-item v-if="authenticationStatusa != 1&&authenticationStatusa != 0&&authenticationStatusa != 3"
...@@ -38,7 +41,7 @@ ...@@ -38,7 +41,7 @@
38 <template v-slot:footer> 41 <template v-slot:footer>
39 <view class="frrr"> 42 <view class="frrr">
40 <uni-data-picker readonly :clear-icon="false" 43 <uni-data-picker readonly :clear-icon="false"
41 v-model="form.siteProvinceId" :localdata="options"> 44 v-model="form.belongProvinceId" :localdata="options">
42 </uni-data-picker> 45 </uni-data-picker>
43 46
44 </view> 47 </view>
...@@ -55,14 +58,14 @@ ...@@ -55,14 +58,14 @@
55 <uni-list-item title="认证地址"> 58 <uni-list-item title="认证地址">
56 <template v-slot:footer> 59 <template v-slot:footer>
57 <view class="frrr"> 60 <view class="frrr">
58 <uni-data-picker readonly :clear-icon="false" v-if="form.siteRegionId" 61 <uni-data-picker readonly :clear-icon="false" v-if="form.certRegionId"
59 v-model="form.siteRegionId" :localdata="options"> 62 v-model="form.certRegionId" :localdata="options">
60 </uni-data-picker> 63 </uni-data-picker>
61 <uni-data-picker readonly :clear-icon="false" v-else-if="form.siteCityId" 64 <uni-data-picker readonly :clear-icon="false" v-else-if="form.certCityId"
62 v-model="form.siteCityId" :localdata="options"> 65 v-model="form.certCityId" :localdata="options">
63 </uni-data-picker> 66 </uni-data-picker>
64 <uni-data-picker readonly :clear-icon="false" v-else-if="form.siteProvinceId" 67 <uni-data-picker readonly :clear-icon="false" v-else-if="form.certProvinceId"
65 v-model="form.siteProvinceId" :localdata="options"> 68 v-model="form.certProvinceId" :localdata="options">
66 </uni-data-picker> 69 </uni-data-picker>
67 </view> 70 </view>
68 </template> 71 </template>
...@@ -116,11 +119,10 @@ ...@@ -116,11 +119,10 @@
116 119
117 import _ from 'lodash' 120 import _ from 'lodash'
118 import { 121 import {
119 onMounted,
120 ref 122 ref
121 } from 'vue' 123 } from 'vue'
122 import { 124 import {
123 onLoad 125 onLoad,onShow
124 } from '@dcloudio/uni-app' 126 } from '@dcloudio/uni-app'
125 const app = getApp() 127 const app = getApp()
126 const form = ref({ 128 const form = ref({
...@@ -139,7 +141,7 @@ ...@@ -139,7 +141,7 @@
139 const pr = ref({}) 141 const pr = ref({})
140 const applicationForMembership1 = ref({}) 142 const applicationForMembership1 = ref({})
141 const options = ref([]) 143 const options = ref([])
142 onLoad(() => { 144 onShow(() => {
143 init() 145 init()
144 }) 146 })
145 147
......
...@@ -146,8 +146,8 @@ function goPath(url){ ...@@ -146,8 +146,8 @@ function goPath(url){
146 font-size: 36rpx;} 146 font-size: 36rpx;}
147 .imgbox{width: 120rpx; 147 .imgbox{width: 120rpx;
148 height: 120rpx;overflow: hidden; 148 height: 120rpx;overflow: hidden;
149 background: #C7C7CD; 149 // background: #C7C7CD;
150 border: 4rpx solid #FFFFFF; 150 // border: 4rpx solid #FFFFFF;
151 border-radius: 50%; 151 border-radius: 50%;
152 image{height: 120rpx;width: 120rpx;object-fit: cover;} 152 image{height: 120rpx;width: 120rpx;object-fit: cover;}
153 } 153 }
......
...@@ -167,7 +167,7 @@ function handleClick() { ...@@ -167,7 +167,7 @@ function handleClick() {
167 }) 167 })
168 return 168 return
169 } 169 }
170 api.updateUserPwd(form.oldPassword, form.newPassword).then(res=>{ 170 api.updateUserPwd({oldPassword:form.value.oldPassword, newPassword:form.value.newPassword}).then(res=>{
171 uni.showModal({ 171 uni.showModal({
172 title:"提示", 172 title:"提示",
173 content:`修改成功,重新登录生效`, 173 content:`修改成功,重新登录生效`,
......
1 <template> 1 <template>
2 <view class="page"> 2 <view class="page" v-if="isInit">
3 <view class="bgbg"> 3 <view class="bgbg">
4 <view class="loginOutIcon" @click="loginOut"> 4 <view class="loginOutIcon" @click="loginOut">
5 <image src="@/static/switch.png"></image> 5 <image src="@/static/switch.png"></image>
...@@ -86,10 +86,10 @@ ...@@ -86,10 +86,10 @@
86 <image :src="config.baseUrl_api+'/fs/static/icon/25.png'" /> 86 <image :src="config.baseUrl_api+'/fs/static/icon/25.png'" />
87 会员变更 87 会员变更
88 </view> 88 </view>
89 <!-- <view @click="goPath('/personalVip/mergeVip')"> 89 <view @click="goPath('/personalVip/mergeVip')">
90 <image :src="config.baseUrl_api+'/fs/static/icon/25.png'" /> 90 <image :src="config.baseUrl_api+'/fs/static/icon/28.png'" />
91 信息合并 91 信息合并
92 </view> --> 92 </view>
93 </view> 93 </view>
94 <view class="ttt">团体会员</view> 94 <view class="ttt">团体会员</view>
95 <view class="girdBox"> 95 <view class="girdBox">
...@@ -170,11 +170,10 @@ ...@@ -170,11 +170,10 @@
170 <image :src="config.baseUrl_api+'/fs/static/icon/25.png'" /> 170 <image :src="config.baseUrl_api+'/fs/static/icon/25.png'" />
171 变更审核 171 变更审核
172 </view> 172 </view>
173 173 <view @click="goPath('/personalVip/mergeVipAudit')">
174 <!-- <view @click="goPath('/personalVip/mergeVipAudit')"> 174 <image :src="config.baseUrl_api+'/fs/static/icon/28.png'" />
175 <image :src="config.baseUrl_api+'/fs/static/icon/25.png'" />
176 合并审核 175 合并审核
177 </view> --> 176 </view>
178 </view> 177 </view>
179 178
180 <view class="ttt">团体会员</view> 179 <view class="ttt">团体会员</view>
...@@ -289,7 +288,11 @@ ...@@ -289,7 +288,11 @@
289 288
290 const messageList = ref([]) 289 const messageList = ref([])
291 const newsList = ref([]) 290 const newsList = ref([])
291 const isInit = ref(false)
292 onShow(() => { 292 onShow(() => {
293 uni.showLoading({
294 title:'加载中'
295 })
293 if (app.globalData.isLogin) { 296 if (app.globalData.isLogin) {
294 init() 297 init()
295 } else { 298 } else {
...@@ -311,7 +314,7 @@ ...@@ -311,7 +314,7 @@
311 }); 314 });
312 } 315 }
313 const changePassFlag = app.globalData.user?.changePassFlag 316 const changePassFlag = app.globalData.user?.changePassFlag
314 if (changePassFlag === '1') { 317 if (changePassFlag === '1'&&memberInfo.value.activeStatus == '1'&&app.globalData.authenticationStatus==2) {
315 uni.showModal({ 318 uni.showModal({
316 content: "密码长期未更新,请及时更新", 319 content: "密码长期未更新,请及时更新",
317 success: function(res) { 320 success: function(res) {
...@@ -355,9 +358,11 @@ ...@@ -355,9 +358,11 @@
355 title: '提示', 358 title: '提示',
356 content: '会员已过期,请及时续费', 359 content: '会员已过期,请及时续费',
357 success: function(res) { 360 success: function(res) {
358 // uni.navigateTo({ 361 if(res.confirm){
359 // url: '/pages/index/perfect' 362 uni.navigateTo({
360 // }); 363 url: '/myCenter/auth'
364 });
365 }
361 } 366 }
362 }) 367 })
363 } 368 }
...@@ -366,8 +371,14 @@ ...@@ -366,8 +371,14 @@
366 if (memberInfo.value.activeStatus == 0) { 371 if (memberInfo.value.activeStatus == 0) {
367 uni.showModal({ 372 uni.showModal({
368 title: '提示', 373 title: '提示',
369 content: '账号未激活,请前往【中国跆拳道会员管理系统】电脑端激活', 374 content: '账号未激活,请前去激活',
370 success: function(res) {} 375 success: function(res) {
376 if(res.confirm){
377 uni.navigateTo({
378 url: '/myCenter/auth'
379 });
380 }
381 }
371 }) 382 })
372 return 383 return
373 } 384 }
...@@ -378,9 +389,7 @@ ...@@ -378,9 +389,7 @@
378 } 389 }
379 390
380 function init() { 391 function init() {
381 uni.showLoading({ 392 isInit.value = true
382 title: '加载中'
383 });
384 loginServer.getMyOwnMemberInfo().then(res => { 393 loginServer.getMyOwnMemberInfo().then(res => {
385 userType.value = app.globalData.userType 394 userType.value = app.globalData.userType
386 memberInfo.value = app.globalData.memberInfo 395 memberInfo.value = app.globalData.memberInfo
...@@ -397,9 +406,11 @@ ...@@ -397,9 +406,11 @@
397 title: '提示', 406 title: '提示',
398 content: '会员已过期,请及时续费', 407 content: '会员已过期,请及时续费',
399 success: function(res) { 408 success: function(res) {
400 // uni.navigateTo({ 409 if(res.confirm){
401 // url: '/pages/index/perfect' 410 uni.navigateTo({
402 // }); 411 url: '/myCenter/auth'
412 });
413 }
403 } 414 }
404 }) 415 })
405 } 416 }
...@@ -418,20 +429,22 @@ ...@@ -418,20 +429,22 @@
418 // uni.navigateTo({ 429 // uni.navigateTo({
419 // url: '/pages/index/perfect' 430 // url: '/pages/index/perfect'
420 // }); 431 // });
421 } else { 432 }
422 getMes()
423 if (memberInfo.value.activeStatus == 0) { 433 if (memberInfo.value.activeStatus == 0) {
424 uni.showModal({ 434 uni.showModal({
425 title: '提示', 435 content: '账号未激活,请前去激活',
426 content: '账号未激活,请前往【中国跆拳道会员管理系统】电脑端激活',
427 success: function(res) { 436 success: function(res) {
428 // uni.navigateTo({ 437 if(res.confirm){
429 // url: '/pages/index/perfect' 438 uni.navigateTo({
430 // }); 439 url: '/myCenter/auth'
440 });
431 } 441 }
432 }) 442
433 } 443 }
444 })
434 } 445 }
446
447
435 uni.hideLoading(); 448 uni.hideLoading();
436 }) 449 })
437 450
...@@ -451,74 +464,6 @@ ...@@ -451,74 +464,6 @@
451 }) 464 })
452 } 465 }
453 466
454 function getMes() {
455 uni.showLoading({
456 title: '加载中'
457 });
458 api.getMessage({
459 pageNum: 1,
460 pageSize: 10
461 }).then(res => {
462 if (res.rows && res.rows.length > 0)
463 for (var d of res.rows) {
464 switch (d.type) {
465 case 30001:
466 d.name = '你有一条会员缴费等待审批,点击去处理!'
467 d.path = '/personalVip/audit'
468 break
469 case 30002:
470 d.name = '你有一条级位考试等待审批,点击去处理!'
471 d.path = '/level/approval'
472 break
473 case 30003:
474 d.name = '你有一条段位考试等待审批,点击去处理!'
475 d.path = '/pages/rank/approval'
476 break
477 case 30004:
478 d.name = '你有一条会员调动等待审批,点击去处理!'
479 d.path = '/personalVip/mobillize'
480 break
481 case 30005:
482 d.name = '你有一条团体会员认证等待审批,点击去处理!'
483 d.path = '/group/apply/applyList'
484 break
485 case 30006:
486 d.name = '你有一条段位成绩等待审批,点击去处理!'
487 d.path = '/pages/rank/scoreApproval'
488 break
489 case 40001:
490 d.name = '你有一条级位申请待提交,点击去处理!'
491 d.path = `/level/apply?id=${d.eventId}`
492 break
493 case 40002:
494 d.name = '你有一条段位申请待提交,点击去处理!'
495 d.path = `/pages/rank/apply?id=${d.eventId}`
496 break
497 case 40003:
498 d.name = '你有一条成绩维护的数据待提交,点击去处理!'
499 d.path = `/pages/rank/score/modify?id=${d.eventId}`
500 break
501 case 50001:
502 d.name = '你有一条新的个人会员申请,点击去处理!'
503 d.path = '/personalVip/list'
504 break
505 }
506 }
507 messageList.value = res.rows
508 uni.hideLoading();
509 })
510 }
511
512 function readMessage(item) {
513 uni.navigateTo({
514 url: item.path
515 });
516 api.reader({
517 id: item.id
518 }).then(res => {
519 item.readFlag = '1'
520 })
521 }
522 function goNewsDetail(n){ 467 function goNewsDetail(n){
523 uni.navigateTo({ 468 uni.navigateTo({
524 url: `/pages/index/newsDetail?noteId=${n.noteId}` 469 url: `/pages/index/newsDetail?noteId=${n.noteId}`
......
...@@ -86,27 +86,20 @@ ...@@ -86,27 +86,20 @@
86 <uni-popup ref="popup" type="bottom" background-color="#fff" animation> 86 <uni-popup ref="popup" type="bottom" background-color="#fff" animation>
87 <view class="tt">入会须知</view> 87 <view class="tt">入会须知</view>
88 <view class="popBody"> 88 <view class="popBody">
89 ______欢迎您申请成为中国跆拳道协会(以下简称中国跆协)会员,请确保本次申请是经过您本人或监护人授权同意后的自愿行为,请您务必仔细阅读本入会须知。 89 _{{baseFormData.name}}_欢迎您申请成为中国跆拳道协会(以下简称中国跆协)会员,请确保本次申请是经过您本人或监护人授权同意后的自愿行为,请您务必仔细阅读本入会须知。
90 <br /> 90 <br />
91 一、中国跆协会员分为个人会员和单位会员。 91 一、中国跆协会员分为个人会员和单位会员。
92 <br /> 92 <br />
93 二、成为本协会会员条件:遵守中国跆协章程和协会各项规章制度及相关决议,按期交纳会费,积极支持和参与中国跆拳道事业发展的社会各届人士或地方跆拳道协会、俱乐部、培训机构等,均可自愿申请成为中国跆协会员。 93 二、成为本协会会员条件:遵守中国跆协章程和协会各项规章制度及相关决议,按期交纳会费,积极支持和参与中国跆拳道事业发展的社会各届人士或地方跆拳道协会、俱乐部、培训机构等,均可自愿申请成为中国跆协会员。<br />
94 <br /> 94 三、个人会员为在中国工作和生活的跆拳道爱好者,16 周岁以下应有监护人协助申请,会员须为中国公民。<br />
95 三、个人会员为在中国工作和生活的跆拳道爱好者,16 周岁以下应有监护人协助申请,会员须为中国公民。 95 四、会员入会需向所在区域内中国跆协单位会员提出入会申请,并按程序报中国跆协批准,按规定交纳会费。<br />
96 <br />
97 四、会员入会需向所在区域内中国跆协单位会员提出入会申请,并按程序报中国跆协批准,按规定交纳会费。
98 <br />
99 五、会员享有《中国跆拳道协会会员管理办法》规定的会员权利。 96 五、会员享有《中国跆拳道协会会员管理办法》规定的会员权利。
100 <br /> 97 <br />
101 六、会员应履行《中国跆拳道协会会员管理办法》规定的会员义务。 98 六、会员应履行《中国跆拳道协会会员管理办法》规定的会员义务。
102 <br /> 99 <br />
103 七、凡中国跆协会员,须按照《中国跆拳道协会会员会费标准(2021 版)》按时交纳年度会费。 100 七、凡中国跆协会员,须按照《中国跆拳道协会会员会费标准(2021 版)》按时交纳年度会费。<br />
104 <br /> 101 八、会员行为违反《中国跆拳道协会会员管理办法》中规定的,按照相关处罚规定进行处理。<br />
105 八、会员行为违反《中国跆拳道协会会员管理办法》中规定的,按照相关处罚规定进行处理。 102 九、其它会员相关内容请查看《中国跆拳道协会章程》《中国跆拳道协会会员管理办法》。<br />
106 <br />
107 九、会员有退会的自由。会员自愿退会应至少提前 3 个月以书面形式通知本协会,并在此之前,妥善解决与本协会及其他会员之间的财务等问题,方可退会。
108 <br />
109 十、其它会员相关内容请查看《中国跆拳道协会会员管理办法》。
110 103
111 <button @click="closepopup" class="btn-red">我已阅读</button> 104 <button @click="closepopup" class="btn-red">我已阅读</button>
112 </view> 105 </view>
...@@ -298,8 +291,13 @@ ...@@ -298,8 +291,13 @@
298 uni.showLoading({ 291 uni.showLoading({
299 title: '加载中' 292 title: '加载中'
300 }); 293 });
301 api.uploadImg(e).then(data => { 294 api.uploadImgCorp(resp.tempFilePath).then(data => {
302 baseFormData.value.photo = data.msg; 295 baseFormData.value.photo = data.msg;
296 photoArr.value = {
297 url: config.baseUrl_api+baseFormData.value.photo,
298 name: '头像',
299 extname: 'jpg'
300 }
303 }); 301 });
304 }, 302 },
305 fail: function(err) { 303 fail: function(err) {
...@@ -337,7 +335,6 @@ ...@@ -337,7 +335,6 @@
337 // idcCode: baseFormData.value.idcCode, 335 // idcCode: baseFormData.value.idcCode,
338 // perType: '1' 336 // perType: '1'
339 // }; 337 // };
340 //如果老会员
341 uni.showLoading({ 338 uni.showLoading({
342 title: '加载中' 339 title: '加载中'
343 }) 340 })
...@@ -349,6 +346,7 @@ ...@@ -349,6 +346,7 @@
349 perId.value = res.data.perId 346 perId.value = res.data.perId
350 baseFormData.value.sex = res.data.sex 347 baseFormData.value.sex = res.data.sex
351 baseFormData.value.birth = res.data.birth 348 baseFormData.value.birth = res.data.birth
349 baseFormData.value.name = res.data.name
352 baseFormData.value.phone = res.data.phone 350 baseFormData.value.phone = res.data.phone
353 baseFormData.value.cityId = res.data.cityId 351 baseFormData.value.cityId = res.data.cityId
354 baseFormData.value.address = res.data.address 352 baseFormData.value.address = res.data.address
...@@ -380,10 +378,10 @@ ...@@ -380,10 +378,10 @@
380 } else { 378 } else {
381 uni.hideLoading() 379 uni.hideLoading()
382 // 新会员 380 // 新会员
383 // if (res.data.sex) { 381 if (res.data.sex) {
384 // baseFormData.value.sex = res.data.sex 382 baseFormData.value.sex = res.data.sex
385 // baseFormData.value.birth = res.data.birth 383 baseFormData.value.birth = res.data.birth
386 // } 384 }
387 if (baseFormData.value.idcType != 3 && current.value == 1) { 385 if (baseFormData.value.idcType != 3 && current.value == 1) {
388 disabledName.value = true 386 disabledName.value = true
389 } else { 387 } 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 @@ ...@@ -524,7 +524,8 @@
524 delFile(index) { 524 delFile(index) {
525 this.$emit('delete', { 525 this.$emit('delete', {
526 tempFile: this.files[index], 526 tempFile: this.files[index],
527 tempFilePath: this.files[index].url 527 tempFilePath: this.files[index].url,
528 index
528 }) 529 })
529 this.files.splice(index, 1) 530 this.files.splice(index, 1)
530 this.$nextTick(() => { 531 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!