58e5a288 by 杨炀

黑名单判断:2.1.2

1 parent 45081927
...@@ -11,6 +11,12 @@ export function active(data) { ...@@ -11,6 +11,12 @@ export function active(data) {
11 params: data 11 params: data
12 }) 12 })
13 } 13 }
14 export function getBlack() {
15 return request({
16 url: '/member/info/check',
17 method: 'get'
18 })
19 }
14 export function commitPaymentVoucherYJ(data) { 20 export function commitPaymentVoucherYJ(data) {
15 return request({ 21 return request({
16 url: '/person/paymentDocYj/commitPaymentVoucher', 22 url: '/person/paymentDocYj/commitPaymentVoucher',
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
7 // const baseUrl_api = "http://36.153.235.222:7899/stage-api"; 7 // const baseUrl_api = "http://36.153.235.222:7899/stage-api";
8 // const baseUrl_api = 'http://192.168.1.132:8787' 8 // const baseUrl_api = 'http://192.168.1.132: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://system.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 }
......
...@@ -293,6 +293,7 @@ ...@@ -293,6 +293,7 @@
293 const messageList = ref([]) 293 const messageList = ref([])
294 const newsList = ref([]) 294 const newsList = ref([])
295 const isInit = ref(false) 295 const isInit = ref(false)
296 const isBlack = ref(0)
296 onShow(() => { 297 onShow(() => {
297 uni.showLoading({ 298 uni.showLoading({
298 title:'加载中' 299 title:'加载中'
...@@ -350,6 +351,14 @@ ...@@ -350,6 +351,14 @@
350 } 351 }
351 352
352 function goPath(path) { 353 function goPath(path) {
354 if(isBlack.value=='1'){
355 uni.showModal({
356 title: '提示',
357 content: '您的账号已被拉黑,请联系中跆协!',
358 success: function(res) {}
359 })
360 return
361 }
353 if (app.globalData.authenticationStatus == '5') { 362 if (app.globalData.authenticationStatus == '5') {
354 if (app.globalData.genFlag == 1) { 363 if (app.globalData.genFlag == 1) {
355 uni.showModal({ 364 uni.showModal({
...@@ -456,6 +465,10 @@ ...@@ -456,6 +465,10 @@
456 numData.value = res.data 465 numData.value = res.data
457 }) 466 })
458 467
468 api.getBlack().then(res=>{
469 isBlack.value = res.data
470 })
471
459 getNews() 472 getNews()
460 } 473 }
461 474
......
...@@ -83,10 +83,10 @@ const idcTypeList = ref([{ ...@@ -83,10 +83,10 @@ const idcTypeList = ref([{
83 ]) 83 ])
84 const sexs = ref([{ 84 const sexs = ref([{
85 text: '女', 85 text: '女',
86 value: '0' 86 value: '1'
87 }, { 87 }, {
88 text: '男', 88 text: '男',
89 value: '1' 89 value: '0'
90 }]) 90 }])
91 const placeholderStyle = ref('text-align: right;font-size:30rpx') 91 const placeholderStyle = ref('text-align: right;font-size:30rpx')
92 const inputstyle = ref({ 92 const inputstyle = ref({
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!