58e5a288 by 杨炀

黑名单判断:2.1.2

1 parent 45081927
......@@ -11,6 +11,12 @@ export function active(data) {
params: data
})
}
export function getBlack() {
return request({
url: '/member/info/check',
method: 'get'
})
}
export function commitPaymentVoucherYJ(data) {
return request({
url: '/person/paymentDocYj/commitPaymentVoucher',
......
......@@ -7,9 +7,9 @@
// const baseUrl_api = "http://36.153.235.222:7899/stage-api";
// const baseUrl_api = 'http://192.168.1.132: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://system.taekwondo.org.cn/stage-api'
const baseUrl_api = 'https://system.taekwondo.org.cn/stage-api'
export default {
baseUrl_api
}
......
......@@ -292,7 +292,8 @@
const messageList = ref([])
const newsList = ref([])
const isInit = ref(false)
const isInit = ref(false)
const isBlack = ref(0)
onShow(() => {
uni.showLoading({
title:'加载中'
......@@ -349,7 +350,15 @@
})
}
function goPath(path) {
function goPath(path) {
if(isBlack.value=='1'){
uni.showModal({
title: '提示',
content: '您的账号已被拉黑,请联系中跆协!',
success: function(res) {}
})
return
}
if (app.globalData.authenticationStatus == '5') {
if (app.globalData.genFlag == 1) {
uni.showModal({
......@@ -454,6 +463,10 @@
api.getRemindCount().then(res => {
numData.value = res.data
})
api.getBlack().then(res=>{
isBlack.value = res.data
})
getNews()
......
......@@ -83,10 +83,10 @@ const idcTypeList = ref([{
])
const sexs = ref([{
text: '女',
value: '0'
value: '1'
}, {
text: '男',
value: '1'
value: '0'
}])
const placeholderStyle = ref('text-align: right;font-size:30rpx')
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!