|
@@ -91,7 +91,7 @@
|
|
<el-input size="large" v-model="form.work" placeholder="请输入组织单位" />
|
|
<el-input size="large" v-model="form.work" placeholder="请输入组织单位" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="行业" prop="industry">
|
|
<el-form-item label="行业" prop="industry">
|
|
- <el-select v-model="form.type" placeholder="请选择行业" size="large" style="width: 100%">
|
|
|
|
|
|
+ <el-select v-model="form.industry" placeholder="请选择行业" size="large" style="width: 100%">
|
|
<el-option v-for="item in industryList" :key="item.value" :label="item.label" :value="item.value" />
|
|
<el-option v-for="item in industryList" :key="item.value" :label="item.label" :value="item.value" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -561,7 +561,7 @@ const toSave = async (formEl) => {
|
|
if (get(data, 'id')) res = await store.update({ ...data, ...other })
|
|
if (get(data, 'id')) res = await store.update({ ...data, ...other })
|
|
else res = await store.create({ ...data, ...other })
|
|
else res = await store.create({ ...data, ...other })
|
|
if (res.errcode == 0) {
|
|
if (res.errcode == 0) {
|
|
- ElMessageBox.alert('赛事发布成功,请在中查看赛事发布信息', '赛事发布', {
|
|
|
|
|
|
+ ElMessageBox.alert('赛事发布成功', '赛事发布', {
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
callback: async () => {
|
|
callback: async () => {
|
|
if (res.data && res.data.id) match_id.value = res.data.id
|
|
if (res.data && res.data.id) match_id.value = res.data.id
|
|
@@ -595,7 +595,7 @@ const toDraftSave = async (formEl) => {
|
|
if (get(data, 'id')) res = await store.update({ ...data, ...other })
|
|
if (get(data, 'id')) res = await store.update({ ...data, ...other })
|
|
else res = await store.create({ ...data, ...other })
|
|
else res = await store.create({ ...data, ...other })
|
|
if (res.errcode == 0) {
|
|
if (res.errcode == 0) {
|
|
- ElMessageBox.alert('赛事发布成功,请在历史发布中选择赛事管理查看发布赛事信息', '赛事发布', {
|
|
|
|
|
|
+ ElMessageBox.alert('赛事发布成功', '赛事发布', {
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
callback: async () => {
|
|
callback: async () => {
|
|
if (res.data && res.data.id) match_id.value = res.data.id
|
|
if (res.data && res.data.id) match_id.value = res.data.id
|