|
@@ -20,7 +20,7 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-divider content-position="left"><i class="el-icon-document"></i>
|
|
|
|
|
|
+ <!--<el-divider content-position="left"><i class="el-icon-document"></i>
|
|
活动奖项
|
|
活动奖项
|
|
<el-button style="margin-left: 20px" type="primary" :disabled="method==='view'" size="small" @click="insertEvent()" plain>
|
|
<el-button style="margin-left: 20px" type="primary" :disabled="method==='view'" size="small" @click="insertEvent()" plain>
|
|
新增
|
|
新增
|
|
@@ -65,7 +65,7 @@
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
</vxe-table>
|
|
</vxe-table>
|
|
</el-col>
|
|
</el-col>
|
|
- </el-row>
|
|
|
|
|
|
+ </el-row>-->
|
|
</el-form>
|
|
</el-form>
|
|
<template #footer>
|
|
<template #footer>
|
|
<span class="dialog-footer">
|
|
<span class="dialog-footer">
|
|
@@ -152,7 +152,7 @@
|
|
this.$refs['inputForm'].validate((valid) => {
|
|
this.$refs['inputForm'].validate((valid) => {
|
|
if (valid) {
|
|
if (valid) {
|
|
this.loading = true
|
|
this.loading = true
|
|
- if (this.commonJS.isEmpty(this.inputForm.luckyDrawAwardsDTOList)) {
|
|
|
|
|
|
+ /*if (this.commonJS.isEmpty(this.inputForm.luckyDrawAwardsDTOList)) {
|
|
this.inputForm.luckyDrawAwardsDTOList = []
|
|
this.inputForm.luckyDrawAwardsDTOList = []
|
|
this.$message.error('活动奖项未填写')
|
|
this.$message.error('活动奖项未填写')
|
|
this.loading = false
|
|
this.loading = false
|
|
@@ -174,7 +174,7 @@
|
|
this.loading = false
|
|
this.loading = false
|
|
throw new Error()
|
|
throw new Error()
|
|
}
|
|
}
|
|
- })
|
|
|
|
|
|
+ })*/
|
|
this.luckyDrawEventsService.save(this.inputForm).then((data) => {
|
|
this.luckyDrawEventsService.save(this.inputForm).then((data) => {
|
|
this.$message.success(data)
|
|
this.$message.success(data)
|
|
this.loading = false
|
|
this.loading = false
|