04376af8 by zhangmeng

完善信息

1 parent 14816e14
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
32 @change="changechoosed" 32 @change="changechoosed"
33 > 33 >
34 <el-option 34 <el-option
35 v-for="c in athletesList" :key="c.id" :disabled="c.disabled" :label="c.realName" 35 v-for="c in athletesList" :key="c.id" :disabled="c.disabled||c.ocrFlag==0" :label="c.realName"
36 :value="c.id" 36 :value="c.id"
37 > 37 >
38 <div class="flexOption" style="width: 100%"> 38 <div class="flexOption" style="width: 100%">
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
44 {{ c.ageGroup }} 44 {{ c.ageGroup }}
45 {{ c.division }}<span v-if="c.age"> -{{ c.age }}{{ language == 0 ? '岁' : 'years' }}</span> 45 {{ c.division }}<span v-if="c.age"> -{{ c.age }}{{ language == 0 ? '岁' : 'years' }}</span>
46 <!-- @click="editPerson(c.id)"--> 46 <!-- @click="editPerson(c.id)"-->
47 <span v-if="c.disabled" class="text-danger po-right">需补全信息</span> 47 <span v-if="c.disabled||c.ocrFlag==0" class="text-danger po-right">完善信息</span>
48 48
49 </div> 49 </div>
50 </el-option> 50 </el-option>
......
...@@ -96,7 +96,10 @@ ...@@ -96,7 +96,10 @@
96 <!-- </el-table-column>--> 96 <!-- </el-table-column>-->
97 <el-table-column :label="language==0?'操作':'Actions'" align="center" fixed="right" width="180"> 97 <el-table-column :label="language==0?'操作':'Actions'" align="center" fixed="right" width="180">
98 <template #default="scope"> 98 <template #default="scope">
99 <el-button v-if="!isNational&&(!scope.row.phone)" link type="danger" @click="editPerson(scope.row)"> 99 <el-button
100 v-if="(!isNational&&(!scope.row.phone))||scope.row.ocrFlag=='0'" link type="danger"
101 @click="editPerson(scope.row)"
102 >
100 {{ language == 0 ? '完善信息' : 'Complete' }} 103 {{ language == 0 ? '完善信息' : 'Complete' }}
101 </el-button> 104 </el-button>
102 <el-button v-else link type="primary" @click="editPerson(scope.row)"> 105 <el-button v-else link type="primary" @click="editPerson(scope.row)">
......
...@@ -952,6 +952,17 @@ async function getCheckOcr(obj) { ...@@ -952,6 +952,17 @@ async function getCheckOcr(obj) {
952 } 952 }
953 } 953 }
954 954
955
956 // 登录
957 const handelGoLogin = (query) => {
958 const param = {}
959 // if (_.isBoolean(flag)) {
960 // param = {
961 // notShowClose: flag
962 // }
963 // }
964 proxy.$refs['pcloginDialog'].open(query)
965 }
955 </script> 966 </script>
956 967
957 <style lang="scss" scoped> 968 <style lang="scss" scoped>
......
...@@ -64,32 +64,32 @@ export default defineConfig(({ mode, command }) => { ...@@ -64,32 +64,32 @@ export default defineConfig(({ mode, command }) => {
64 proxy: { 64 proxy: {
65 // https://cn.vitejs.dev/config/#server-proxy 65 // https://cn.vitejs.dev/config/#server-proxy
66 '/dev-api/ztx-train': { 66 '/dev-api/ztx-train': {
67 target: 'http://192.168.1.242:1896/stage-api', 67 target: 'http://192.168.1.118:1896/stage-api',
68 // target: 'https://jijin.wtwuxicenter.com/stage-api', 68 // target: 'https://jijin.wtwuxicenter.com/stage-api',
69 changeOrigin: true, 69 changeOrigin: true,
70 rewrite: (p) => p.replace(/^\/dev-api\/ztx-train/, '') 70 rewrite: (p) => p.replace(/^\/dev-api\/ztx-train/, '')
71 }, 71 },
72 '/dev-api/ztx-match': { 72 '/dev-api/ztx-match': {
73 target: 'http://192.168.1.242:8081', 73 target: 'http://192.168.1.118:8081',
74 // target: 'https://wdsfwuxicenter.com/stage-api/', 74 // target: 'https://wdsfwuxicenter.com/stage-api/',
75 changeOrigin: true, 75 changeOrigin: true,
76 rewrite: (p) => p.replace(/^\/dev-api\/ztx-match/, '') 76 rewrite: (p) => p.replace(/^\/dev-api\/ztx-match/, '')
77 }, 77 },
78 '/dev-api/ztx-webSite': { 78 '/dev-api/ztx-webSite': {
79 target: 'http://192.168.1.242:8081', 79 target: 'http://192.168.1.118:8081',
80 changeOrigin: true, 80 changeOrigin: true,
81 rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '') 81 rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '')
82 }, 82 },
83 '/dev-api': { 83 '/dev-api': {
84 target: 'http://192.168.1.118:8081/', 84 target: 'http://192.168.1.118:8081/',
85 // target: 'http://192.168.1.242:8081', 85 // target: 'http://192.168.1.130:8081',
86 // target: 'https://jijin.wtwuxicenter.com/stage-api', 86 // target: 'https://jijin.wtwuxicenter.com/stage-api',
87 // target: 'https://wdsfwuxicenter.com/stage-api/', 87 // target: 'https://wdsfwuxicenter.com/stage-api/',
88 changeOrigin: true, 88 changeOrigin: true,
89 rewrite: (p) => p.replace(/^\/dev-api/, '') 89 rewrite: (p) => p.replace(/^\/dev-api/, '')
90 }, 90 },
91 '/ticket': { 91 '/ticket': {
92 target: 'http://192.168.1.242:8081/', 92 // target: 'http://192.168.1.242:8081/',
93 // target: 'https://jijin.wtwuxicenter.com/h5/', 93 // target: 'https://jijin.wtwuxicenter.com/h5/',
94 // target: 'https://ticketh5.wdsfwuxicenter.com/h5/', 94 // target: 'https://ticketh5.wdsfwuxicenter.com/h5/',
95 changeOrigin: true, 95 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!