|
@@ -64,7 +64,7 @@
|
|
|
<body>
|
|
|
<div id="upload">
|
|
|
<!-- <h1>数据上传</h1> -->
|
|
|
- <el-form class="form" ref="form" label-position='top' :model="form" :rules="rules">
|
|
|
+ <el-form v-if='!loading' class="form" ref="form" label-position='top' :model="form" :rules="rules">
|
|
|
<el-form-item label="" style="margin-bottom: 0;">
|
|
|
<span style="font-weight: 500;">赛事名称 {{form.name}}</span>
|
|
|
</el-form-item>
|
|
@@ -130,6 +130,7 @@
|
|
|
var app = new Vue({
|
|
|
el: '#upload',
|
|
|
data: {
|
|
|
+ loading:true,
|
|
|
form:{
|
|
|
today_stock_img:[],
|
|
|
today_stock:[{code: "", name:"",fund:''}],
|
|
@@ -211,9 +212,11 @@
|
|
|
var id=window.location.search.split('=')[1]
|
|
|
console.log(id)
|
|
|
$.get('https://test.scxjc.club/api/wx/player/record/topic/match',{id:id},(res=>{
|
|
|
+ this.loading=false
|
|
|
var match=res.data.match
|
|
|
this.form.name=match.name
|
|
|
this.form.match_id=match.id
|
|
|
+
|
|
|
}))
|
|
|
}
|
|
|
})
|