0a8f80e1 by 杨炀

no message

1 parent 05fe6c4e
1 <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg fill="#bec3c6" t="1720521921471" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8890" width="30" height="30" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M775.1168 100.9664H272.4352c-70.4512 0-127.5392 57.088-127.5392 127.5392v610.048c0 35.8912 38.8608 58.368 69.9904 40.4992l108.544-62.3616a46.7456 46.7456 0 0 1 54.3744 5.632L493.056 925.184a46.67904 46.67904 0 0 0 62.1056 0.0512l116.3776-103.5264a46.72512 46.72512 0 0 1 54.5792-5.4272l106.24 62.0032c31.1296 18.176 70.2464-4.3008 70.2464-40.3456V228.5056c0.0512-70.4-57.0368-127.5392-127.488-127.5392z m-133.9392 448.0512a29.8496 29.8496 0 1 1 0 59.6992h-87.5008v53.8624a29.8496 29.8496 0 1 1-59.6992 0V608.768h-87.552a29.8496 29.8496 0 1 1 0-59.6992h87.5008v-36.4544H406.4256a29.8496 29.8496 0 1 1 0-59.6992h58.9312l-77.312-122.5216a29.9008 29.9008 0 0 1 9.3184-41.216 29.9008 29.9008 0 0 1 41.216 9.3184l84.736 134.2464L609.024 296.96c8.8064-13.9264 27.2896-18.1248 41.216-9.3184 13.9264 8.8064 18.1248 27.2896 9.3184 41.216l-78.336 123.9552h59.9552a29.8496 29.8496 0 1 1 0 59.6992h-87.5008v36.4544h87.5008z" p-id="8891"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1721122207833" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5858" width="30" height="30" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M736.00512 30.72c84.83328 0 153.6 68.76672 153.6 153.6v773.13536a25.6 25.6 0 0 1-41.55392 20.0192l-115.65056-92.19072a51.2 51.2 0 0 0-63.83104 0l-125.29152 99.87584a51.2 51.2 0 0 1-63.83104 0l-125.29152-99.87584a51.2 51.2 0 0 0-63.82592 0l-115.65056 92.19072a25.6 25.6 0 0 1-41.55904-20.0192V184.32C133.12 99.48672 201.88672 30.72 286.72 30.72h449.28512z m-36.79232 528.01536h-375.7056a38.07744 38.07744 0 1 0 0 76.16h375.7056a38.07744 38.07744 0 1 0 0-76.16z m0-228.46464h-375.7056a38.07744 38.07744 0 1 0 0 76.15488h375.7056a38.07744 38.07744 0 1 0 0-76.15488z" fill="#c6cacd" p-id="5859"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
......
1 <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg fill="#ffffff" t="1720521921471" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8890" width="30" height="30" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M775.1168 100.9664H272.4352c-70.4512 0-127.5392 57.088-127.5392 127.5392v610.048c0 35.8912 38.8608 58.368 69.9904 40.4992l108.544-62.3616a46.7456 46.7456 0 0 1 54.3744 5.632L493.056 925.184a46.67904 46.67904 0 0 0 62.1056 0.0512l116.3776-103.5264a46.72512 46.72512 0 0 1 54.5792-5.4272l106.24 62.0032c31.1296 18.176 70.2464-4.3008 70.2464-40.3456V228.5056c0.0512-70.4-57.0368-127.5392-127.488-127.5392z m-133.9392 448.0512a29.8496 29.8496 0 1 1 0 59.6992h-87.5008v53.8624a29.8496 29.8496 0 1 1-59.6992 0V608.768h-87.552a29.8496 29.8496 0 1 1 0-59.6992h87.5008v-36.4544H406.4256a29.8496 29.8496 0 1 1 0-59.6992h58.9312l-77.312-122.5216a29.9008 29.9008 0 0 1 9.3184-41.216 29.9008 29.9008 0 0 1 41.216 9.3184l84.736 134.2464L609.024 296.96c8.8064-13.9264 27.2896-18.1248 41.216-9.3184 13.9264 8.8064 18.1248 27.2896 9.3184 41.216l-78.336 123.9552h59.9552a29.8496 29.8496 0 1 1 0 59.6992h-87.5008v36.4544h87.5008z" p-id="8891"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1721122207833" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5858" width="30" height="30" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M736.00512 30.72c84.83328 0 153.6 68.76672 153.6 153.6v773.13536a25.6 25.6 0 0 1-41.55392 20.0192l-115.65056-92.19072a51.2 51.2 0 0 0-63.83104 0l-125.29152 99.87584a51.2 51.2 0 0 1-63.83104 0l-125.29152-99.87584a51.2 51.2 0 0 0-63.82592 0l-115.65056 92.19072a25.6 25.6 0 0 1-41.55904-20.0192V184.32C133.12 99.48672 201.88672 30.72 286.72 30.72h449.28512z m-36.79232 528.01536h-375.7056a38.07744 38.07744 0 1 0 0 76.16h375.7056a38.07744 38.07744 0 1 0 0-76.16z m0-228.46464h-375.7056a38.07744 38.07744 0 1 0 0 76.15488h375.7056a38.07744 38.07744 0 1 0 0-76.15488z" fill="#ffffff" p-id="5859"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -126,6 +126,13 @@ export function getTeamBackNumber(qy) { ...@@ -126,6 +126,13 @@ export function getTeamBackNumber(qy) {
126 params: qy 126 params: qy
127 }) 127 })
128 } 128 }
129 export function getTeamBackNumberPre(qy) {
130 return request({
131 url: `/league/backNumber/teamQueryPre`,
132 method: 'get',
133 params: qy
134 })
135 }
129 136
130 137
131 138
......
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
5 close-icon="CircleClose" destroy-on-close 5 close-icon="CircleClose" destroy-on-close
6 width="460px" 6 width="460px"
7 > 7 >
8 <div style="min-height: 300px"> 8 <div style="min-height: 300px" v-loading="loading">
9 9
10 <div v-if="!type||type==''"> 10 <div v-if="!type||type==''">
11 <div @click="type='0'" class="rItem">个人查询</div> 11 <div @click="type='0'" class="rItem">{{ language==0?'个人查询':'Personal Query' }}</div>
12 <div @click="type='1'" class="rItem">团队查询</div> 12 <div @click="type='1'" class="rItem">{{ language==0?'团队查询':'Team Query' }}</div>
13 </div> 13 </div>
14 14
15 <div v-if="type=='0'"> 15 <div v-if="type=='0'">
...@@ -59,8 +59,15 @@ ...@@ -59,8 +59,15 @@
59 {{language == 0 ? '查询' : 'Search' }} 59 {{language == 0 ? '查询' : 'Search' }}
60 </el-button> 60 </el-button>
61 </div> 61 </div>
62 <span class="tip">*模糊查询</span> 62 <span class="tip">*{{ language == 0 ?'模糊查询':'Fuzzy query' }}</span>
63 63 <div class="text-danger text-center" v-if="showGroupList">{{ language == 0 ?'找到多个团体':'Found multiple teams' }}</div>
64 <div class="groupList" v-if="showGroupList">
65 <ul>
66 <li v-for="(item, index) in groupList" @click="showDetail(item)" :key="index">{{item}}
67 <el-icon class="fr"><ArrowRight /></el-icon>
68 </li>
69 </ul>
70 </div>
64 <div v-if="teamlist.length>0" class="temell mt20"> 71 <div v-if="teamlist.length>0" class="temell mt20">
65 <el-collapse v-model="activeNames" accordion> 72 <el-collapse v-model="activeNames" accordion>
66 <el-collapse-item :name="index" :title="team[0][0].groupName" v-for="(team,index) in teamlist" :key="index"> 73 <el-collapse-item :name="index" :title="team[0][0].groupName" v-for="(team,index) in teamlist" :key="index">
...@@ -75,9 +82,6 @@ ...@@ -75,9 +82,6 @@
75 </el-collapse-item> 82 </el-collapse-item>
76 </el-collapse> 83 </el-collapse>
77 </div> 84 </div>
78 <div v-else>
79 <el-empty/>
80 </div>
81 </div> 85 </div>
82 </div> 86 </div>
83 </el-dialog> 87 </el-dialog>
...@@ -86,18 +90,21 @@ ...@@ -86,18 +90,21 @@
86 <script setup> 90 <script setup>
87 import {ref} from "vue"; 91 import {ref} from "vue";
88 import {ElMessage} from "element-plus"; 92 import {ElMessage} from "element-plus";
89 import {getBackNumber,getTeamBackNumber} from "@/apiPc/common"; 93 import {getBackNumber, getTeamBackNumber, getTeamBackNumberPre} from "@/apiPc/common";
90 import {useStorage} from "@vueuse/core/index"; 94 import {useStorage} from "@vueuse/core/index";
91 95
92 const language = useStorage('language', 0) 96 const language = useStorage('language', 0)
93 const show = ref(false) 97 const show = ref(false)
94 // const form = ref({}) 98 // const form = ref({})
95 const list = ref([]) 99 const list = ref([])
100 const loading = ref(false)
101 const groupList = ref([])
96 const teamlist = ref([]) 102 const teamlist = ref([])
97 const query = ref('') 103 const query = ref('')
98 const query2 = ref('') 104 const query2 = ref('')
99 const type = ref('') 105 const type = ref('')
100 const activeNames = ref(0) 106 const activeNames = ref(0)
107 const showGroupList = ref(false)
101 const search = () => { 108 const search = () => {
102 if (!query.value) { 109 if (!query.value) {
103 ElMessage.warning(language.value == 0 ? '请输入会员号/姓名' : 'Please enter WDSF MIN / Name') 110 ElMessage.warning(language.value == 0 ? '请输入会员号/姓名' : 'Please enter WDSF MIN / Name')
...@@ -115,29 +122,50 @@ const search = () => { ...@@ -115,29 +122,50 @@ const search = () => {
115 122
116 } 123 }
117 const searchTeam = () => { 124 const searchTeam = () => {
125 teamlist.value = []
118 if (!query2.value||query2.value.length < 2) { 126 if (!query2.value||query2.value.length < 2) {
119 ElMessage.warning(language.value == 0 ? '请输入代表队名称至少两字符' : 'Enter the representing team name,At least two characters') 127 ElMessage.warning(language.value == 0 ? '请输入代表队名称至少两字符' : 'Enter the representing team name,At least two characters')
120 return 128 return
121 } 129 }
122 getTeamBackNumber({query: query2.value}).then(res => { 130 loading.value = true
131 getTeamBackNumberPre({query: query2.value}).then(res => {
132 loading.value = false
123 if (!res.data||res.data.length==0) { 133 if (!res.data||res.data.length==0) {
124 teamlist.value = [] 134 groupList.value = []
125 //提示 '未找到结果,请重新查询' 135 //提示 '未找到结果,请重新查询'
126 ElMessage.warning(language.value == 0 ? '未找到结果,请重新查询' : 'No result') 136 ElMessage.warning(language.value == 0 ? '未找到结果,请重新查询' : 'No result')
127 return 137 return
128 } 138 }
129 teamlist.value = res.data 139 groupList.value = res.data
140 if(groupList.value.length==1){
141 showDetail(groupList.value[0])
142 }
143 if(groupList.value.length>1){
144 showGroupList.value = true
145 }
146
130 }) 147 })
131 } 148 }
132 const open = (param) => { 149 const open = (param) => {
133 show.value = true 150 show.value = true
134 list.value = [] 151 list.value = []
152 teamlist.value = []
153 groupList.value = []
135 query.value = '' 154 query.value = ''
136 type.value = '' 155 type.value = ''
137 } 156 }
138 defineExpose({ 157 defineExpose({
139 open 158 open
140 }) 159 })
160 function showDetail(name) {
161 query2.value = name
162 showGroupList.value = false
163 loading.value = true
164 getTeamBackNumber({query: name}).then(res => {
165 loading.value = false
166 teamlist.value = res.data
167 })
168 }
141 </script> 169 </script>
142 170
143 <style scoped lang="scss"> 171 <style scoped lang="scss">
...@@ -189,4 +217,7 @@ defineExpose({ ...@@ -189,4 +217,7 @@ defineExpose({
189 .fontsize14{font-size: 14px;} 217 .fontsize14{font-size: 14px;}
190 } 218 }
191 } 219 }
220 .groupList{max-height: 70vh;overflow: auto;border: 1px solid #e1e1e1;margin-top: 10px;
221 li{padding: 10px;border-bottom: 1px solid #e1e1e1;cursor: pointer;}
222 }
192 </style> 223 </style>
......
1 <template>
2 <el-dialog
3 v-model="show" :close-on-click-modal="false" :title="language==0?'日程查询':'Schedule inquiry'" append-to-body
4 center class="pcloginpop"
5 close-icon="CircleClose" destroy-on-close
6 width="460px"
7 >
8 <div style="min-height: 300px" v-loading="loading">
9
10 <div v-if="!type||type==''">
11 <div @click="type='0'" class="rItem">{{ language==0?'按项目查询':'Query by project' }}</div>
12 <div @click="type='1'" class="rItem">{{ language==0?'按团队查询':'Query by team' }}</div>
13 </div>
14
15 <div v-if="type=='0'">
16 <div class="flex mt30">
17 <el-input :placeholder="language==0?'输入项目/ 项目编号查询':'Enter project name or code to Query'" v-model="query" clearable
18 @enter="search" @blur="search" @empty="search"/>
19 <el-button @click="search" class="btn-lineG" style="color: #fff">{{
20 language == 0 ? '查询' : 'Search'
21 }}
22 </el-button>
23 </div>
24
25 <div v-if="list.length>0">
26 <div class="nowteamItem" v-for="(form, index) in list" :key="index">
27 <div class="info">
28 <div class="nowName text-center">
29 <span class="text-primary">{{ form.number }}</span>
30 </div>
31 <div>
32 <label>{{ language==0?'选手1':'Name1' }}</label>{{ form.maleName }}
33 <span v-if="form.maleWdsf"> - {{ form.maleWdsf }}</span>
34 </div>
35 <div>
36 <label>{{ language==0?'选手2':'Name2' }}</label>{{ form.femaleName }}
37 <span v-if="form.femaleWdsf"> - {{ form.femaleWdsf }}</span>
38 </div>
39 <div>
40 <label>{{ language==0?'代表队':'Represent' }}</label>
41 {{ form.groupName }}
42 </div>
43 <div v-if="form.zuInfo">
44 <label> {{ language==0?'组别':'Event' }}</label>{{ form.zuInfo }}
45 </div>
46 </div>
47 </div>
48 </div>
49 <div v-else>
50 <el-empty/>
51 </div>
52 </div>
53 <div v-if="type=='1'">
54 <div class="flex mt20">
55 <el-input :placeholder="language==0?'请输入代表队名称至少两字符':'Enter the representing team name,At least two characters'"
56 v-model="query2" clearable
57 @enter="searchTeam" @blur="searchTeam" @empty="searchTeam"/>
58 <el-button @click="searchTeam" class="btn-lineG" style="color: #fff">
59 {{language == 0 ? '查询' : 'Search' }}
60 </el-button>
61 </div>
62 <span class="tip">*{{ language == 0 ?'模糊查询':'Fuzzy query' }}</span>
63 <div class="text-danger text-center" v-if="showGroupList">{{ language == 0 ?'找到多个团体':'Found multiple teams' }}</div>
64 <div class="groupList" v-if="showGroupList">
65 <ul>
66 <li v-for="(item, index) in groupList" @click="showDetail(item)" :key="index">{{item}}
67 <el-icon class="fr"><ArrowRight /></el-icon>
68 </li>
69 </ul>
70 </div>
71 <div v-if="teamlist.length>0" class="temell mt20">
72 <el-collapse v-model="activeNames" accordion>
73 <el-collapse-item :name="index" :title="team[0][0].groupName" v-for="(team,index) in teamlist" :key="index">
74 <div class="nowteamItem" v-for="(p,jndex) in team" :key="jndex">
75 <div class="fontSize14 text-bold">{{p[0].zuInfo}}</div>
76 <div v-for="f in p" :key="f.id">
77 <span class="nowName text-primary">{{f.number}}</span>
78 <span class="mr10">{{ language==0?'选手1':'Name1' }}{{f.maleName}} </span>
79 <span>{{ language==0?'选手2':'Name2' }}{{f.femaleName}} </span>
80 </div>
81 </div>
82 </el-collapse-item>
83 </el-collapse>
84 </div>
85 </div>
86 </div>
87 </el-dialog>
88 </template>
89
90 <script setup>
91 import {ref} from "vue";
92 import {ElMessage} from "element-plus";
93 import {getBackNumber, getTeamBackNumber, getTeamBackNumberPre} from "@/apiPc/common";
94 import {useStorage} from "@vueuse/core/index";
95
96 const language = useStorage('language', 0)
97 const show = ref(false)
98 // const form = ref({})
99 const list = ref([])
100 const loading = ref(false)
101 const groupList = ref([])
102 const teamlist = ref([])
103 const query = ref('')
104 const query2 = ref('')
105 const type = ref('')
106 const activeNames = ref(0)
107 const showGroupList = ref(false)
108 const search = () => {
109 if (!query.value) {
110 ElMessage.warning(language.value == 0 ? '请输入会员号/姓名' : 'Please enter WDSF MIN / Name')
111 return
112 }
113 getBackNumber({query: query.value}).then(res => {
114 if (!res.data||res.data.length==0) {
115 list.value = []
116 //提示 '未找到结果,请重新查询'
117 ElMessage.warning(language.value == 0 ? '未找到结果,请重新查询' : 'No result')
118 return
119 }
120 list.value = res.data
121 })
122
123 }
124 const searchTeam = () => {
125 teamlist.value = []
126 if (!query2.value||query2.value.length < 2) {
127 ElMessage.warning(language.value == 0 ? '请输入代表队名称至少两字符' : 'Enter the representing team name,At least two characters')
128 return
129 }
130 loading.value = true
131 getTeamBackNumberPre({query: query2.value}).then(res => {
132 loading.value = false
133 if (!res.data||res.data.length==0) {
134 groupList.value = []
135 //提示 '未找到结果,请重新查询'
136 ElMessage.warning(language.value == 0 ? '未找到结果,请重新查询' : 'No result')
137 return
138 }
139 groupList.value = res.data
140 if(groupList.value.length==1){
141 showDetail(groupList.value[0])
142 }
143 if(groupList.value.length>1){
144 showGroupList.value = true
145 }
146
147 })
148 }
149 const open = (param) => {
150 show.value = true
151 list.value = []
152 teamlist.value = []
153 groupList.value = []
154 query.value = ''
155 type.value = ''
156 }
157 defineExpose({
158 open
159 })
160 function showDetail(name) {
161 query2.value = name
162 showGroupList.value = false
163 loading.value = true
164 getTeamBackNumber({query: name}).then(res => {
165 loading.value = false
166 teamlist.value = res.data
167 })
168 }
169 </script>
170
171 <style scoped lang="scss">
172 .tip{font-size: 12px;margin: 4px 0 0;display: inline-block;}
173 .rItem{
174 height: 130px;
175 cursor: pointer;border: 1px solid #e1e1e1;border-radius: 4px;
176 width: 350px;text-align: center;line-height: 130px;
177 padding: 1px; font-size: 30px;color: #fff;
178 margin: 20px auto;background:linear-gradient(90deg, #8623FC, #453DEA);
179 &:hover{
180 background:linear-gradient(90deg, #453DEA, #8623FC);
181 box-shadow: 0 4px 10px #453DEA;border: none;
182 }
183 }
184 .nowteamItem {
185 width: 100%;border: 1px solid #c8c5ff; margin-top: 20px;
186 position: relative;border-radius: 4px;padding: 0 0 20px;
187 background: #FFFFFF;
188 box-sizing: border-box;
189
190 .info {
191 .nowName {
192 font-family: "DIN Alternate";
193 font-size: 60px;
194 font-weight: bold;
195 overflow: hidden;
196 display: block;
197 margin: 10px;
198 }
199
200 label {
201 text-align: right;
202 font-size: 14px;
203 padding-left: 7%
204 }
205
206 div {
207 font-size: 14px;
208 color: #333;
209 margin: 6px 0 0;
210 }
211 }
212 }
213 .temell {
214 .nowteamItem{padding: 10px;margin: 0 0 10px;
215 .nowName{font-size: 15px;font-weight: bold;margin-right: 10px}
216 .text-bold{font-weight: bold;}
217 .fontsize14{font-size: 14px;}
218 }
219 }
220 .groupList{max-height: 70vh;overflow: auto;border: 1px solid #e1e1e1;margin-top: 10px;
221 li{padding: 10px;border-bottom: 1px solid #e1e1e1;cursor: pointer;}
222 }
223 </style>
1 <template> 1 <template>
2 <div> 2 <div>
3 <index-Ch v-if="language ==0" @pop="openMaster" @pickup="openPickup" @backNumber="openBackNumber"/> 3 <index-Ch v-if="language ==0" @pop="openMaster" @pickup="openPickup" @backNumber="openBackNumber" @schSearch="openSchSearch"/>
4 <index-En v-else @pop="openMaster" @pickup="openPickup" @backNumber="openBackNumber"/> 4 <index-En v-else @pop="openMaster" @pickup="openPickup" @backNumber="openBackNumber"/>
5 <div v-if="showgg" class="fixed_gg"> 5 <div v-if="showgg" class="fixed_gg">
6 <!--天气--> 6 <!--天气-->
...@@ -65,6 +65,7 @@ ...@@ -65,6 +65,7 @@
65 <dialog-master-class ref="masterClassRef"/> 65 <dialog-master-class ref="masterClassRef"/>
66 <pick-up ref="pickupRef"></pick-up> 66 <pick-up ref="pickupRef"></pick-up>
67 <back-number ref="backNumberRef"></back-number> 67 <back-number ref="backNumberRef"></back-number>
68 <sch-search ref="schSearchRef"></sch-search>
68 </div> 69 </div>
69 70
70 </template> 71 </template>
...@@ -76,6 +77,7 @@ import WeatherIcon from '@/viewsPc/components/weatherIcon' ...@@ -76,6 +77,7 @@ import WeatherIcon from '@/viewsPc/components/weatherIcon'
76 import DialogMasterClass from '@/viewsPc/components/masterClass' 77 import DialogMasterClass from '@/viewsPc/components/masterClass'
77 import PickUp from '@/viewsPc/components/pickup' 78 import PickUp from '@/viewsPc/components/pickup'
78 import BackNumber from '@/viewsPc/components/querybackNumber' 79 import BackNumber from '@/viewsPc/components/querybackNumber'
80 import SchSearch from '@/viewsPc/components/schSearch'
79 import {useStorage} from "@vueuse/core/index"; 81 import {useStorage} from "@vueuse/core/index";
80 import {ref} from "vue"; 82 import {ref} from "vue";
81 import {getWeather} from "@/apiPc/webSite"; 83 import {getWeather} from "@/apiPc/webSite";
...@@ -126,6 +128,14 @@ const openBackNumber = (params) => { ...@@ -126,6 +128,14 @@ const openBackNumber = (params) => {
126 } 128 }
127 proxy.$refs['backNumberRef'].open(obj) 129 proxy.$refs['backNumberRef'].open(obj)
128 } 130 }
131 const openSchSearch = (params) => {
132 console.log(params)
133 const obj = {
134 title:'日程查询',
135 cptId:params.cptId
136 }
137 proxy.$refs['schSearchRef'].open(obj)
138 }
129 </script> 139 </script>
130 140
131 <style scoped lang="scss"> 141 <style scoped lang="scss">
......
...@@ -145,6 +145,7 @@ ...@@ -145,6 +145,7 @@
145 </a> 145 </a>
146 <!-- <a class="zn-btn ml20 btn-q forPc" v-show="matchData?.id=='1778253367748993026'" @click="popMaster">青少年公益课报名</a>--> 146 <!-- <a class="zn-btn ml20 btn-q forPc" v-show="matchData?.id=='1778253367748993026'" @click="popMaster">青少年公益课报名</a>-->
147 <a class="zn-btn ml20 btn-q" v-show="matchData?.id=='1778253367748993026'" @click="backNumberSearch">背号查询</a> 147 <a class="zn-btn ml20 btn-q" v-show="matchData?.id=='1778253367748993026'" @click="backNumberSearch">背号查询</a>
148 <a class="zn-btn ml20 btn-q" v-show="matchData?.id=='1778253367748993026'" @click="schSearch">日程查询</a>
148 </div> 149 </div>
149 </el-col> 150 </el-col>
150 <el-col :sm="24" :lg="14"> 151 <el-col :sm="24" :lg="14">
...@@ -445,7 +446,7 @@ const navigationPic = ref({ ...@@ -445,7 +446,7 @@ const navigationPic = ref({
445 }) 446 })
446 const router = useRouter() 447 const router = useRouter()
447 const {proxy} = getCurrentInstance() 448 const {proxy} = getCurrentInstance()
448 const emit = defineEmits(['pop','pickup','backNumber']) 449 const emit = defineEmits(['pop','pickup','backNumber','schSearch'])
449 const time = ref(0) 450 const time = ref(0)
450 const etime = ref(0) 451 const etime = ref(0)
451 const personList = ref([ 452 const personList = ref([
...@@ -579,6 +580,12 @@ const backNumberSearch = () => { ...@@ -579,6 +580,12 @@ const backNumberSearch = () => {
579 } 580 }
580 emit('backNumber',params) 581 emit('backNumber',params)
581 } 582 }
583 const schSearch = () => {
584 var params = {
585 cptId:matchData.value.id
586 }
587 emit('schSearch',params)
588 }
582 const handlePickup=()=>{ 589 const handlePickup=()=>{
583 const params={ 590 const params={
584 cptId :matchData.value.id 591 cptId :matchData.value.id
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!