04376af8 by zhangmeng

完善信息

1 parent 14816e14
......@@ -32,7 +32,7 @@
@change="changechoosed"
>
<el-option
v-for="c in athletesList" :key="c.id" :disabled="c.disabled" :label="c.realName"
v-for="c in athletesList" :key="c.id" :disabled="c.disabled||c.ocrFlag==0" :label="c.realName"
:value="c.id"
>
<div class="flexOption" style="width: 100%">
......@@ -44,7 +44,7 @@
{{ c.ageGroup }}
{{ c.division }}<span v-if="c.age"> -{{ c.age }}{{ language == 0 ? '岁' : 'years' }}</span>
<!-- @click="editPerson(c.id)"-->
<span v-if="c.disabled" class="text-danger po-right">需补全信息</span>
<span v-if="c.disabled||c.ocrFlag==0" class="text-danger po-right">完善信息</span>
</div>
</el-option>
......
......@@ -96,7 +96,10 @@
<!-- </el-table-column>-->
<el-table-column :label="language==0?'操作':'Actions'" align="center" fixed="right" width="180">
<template #default="scope">
<el-button v-if="!isNational&&(!scope.row.phone)" link type="danger" @click="editPerson(scope.row)">
<el-button
v-if="(!isNational&&(!scope.row.phone))||scope.row.ocrFlag=='0'" link type="danger"
@click="editPerson(scope.row)"
>
{{ language == 0 ? '完善信息' : 'Complete' }}
</el-button>
<el-button v-else link type="primary" @click="editPerson(scope.row)">
......
......@@ -952,6 +952,17 @@ async function getCheckOcr(obj) {
}
}
// 登录
const handelGoLogin = (query) => {
const param = {}
// if (_.isBoolean(flag)) {
// param = {
// notShowClose: flag
// }
// }
proxy.$refs['pcloginDialog'].open(query)
}
</script>
<style lang="scss" scoped>
......
......@@ -64,32 +64,32 @@ export default defineConfig(({ mode, command }) => {
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api/ztx-train': {
target: 'http://192.168.1.242:1896/stage-api',
target: 'http://192.168.1.118:1896/stage-api',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api\/ztx-train/, '')
},
'/dev-api/ztx-match': {
target: 'http://192.168.1.242:8081',
target: 'http://192.168.1.118:8081',
// target: 'https://wdsfwuxicenter.com/stage-api/',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api\/ztx-match/, '')
},
'/dev-api/ztx-webSite': {
target: 'http://192.168.1.242:8081',
target: 'http://192.168.1.118:8081',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '')
},
'/dev-api': {
target: 'http://192.168.1.118:8081/',
// target: 'http://192.168.1.242:8081',
// target: 'http://192.168.1.130:8081',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'https://wdsfwuxicenter.com/stage-api/',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
},
'/ticket': {
target: 'http://192.168.1.242:8081/',
// target: 'http://192.168.1.242:8081/',
// target: 'https://jijin.wtwuxicenter.com/h5/',
// target: 'https://ticketh5.wdsfwuxicenter.com/h5/',
changeOrigin: true,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!