|
@@ -245,8 +245,8 @@
|
|
></el-option>
|
|
></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="开奖选项" prop="gameLotterySucc">
|
|
|
|
- <el-select v-model="kjForm.gameLotterySucc" placeholder="请选择">
|
|
|
|
|
|
+ <el-form-item label="开奖选项" prop="gameLotterySuccItem">
|
|
|
|
+ <el-select v-model="kjForm.gameLotterySuccItem" multiple placeholder="请选择">
|
|
<el-option
|
|
<el-option
|
|
v-for="dict in kjGameItemList"
|
|
v-for="dict in kjGameItemList"
|
|
:key="dict.value"
|
|
:key="dict.value"
|
|
@@ -348,7 +348,7 @@ export default {
|
|
gameId: [
|
|
gameId: [
|
|
{ required: true, message: "游戏不能为空", trigger: "blur" }
|
|
{ required: true, message: "游戏不能为空", trigger: "blur" }
|
|
],
|
|
],
|
|
- gameLotterySucc: [
|
|
|
|
|
|
+ gameLotterySuccItem: [
|
|
{ required: true, message: "游戏选项不能为空", trigger: "blur" }
|
|
{ required: true, message: "游戏选项不能为空", trigger: "blur" }
|
|
],
|
|
],
|
|
gameDate: [
|
|
gameDate: [
|
|
@@ -570,6 +570,9 @@ export default {
|
|
if(that.kjForm["gameDate"] != undefined && that.kjForm["gameDate"] != null){
|
|
if(that.kjForm["gameDate"] != undefined && that.kjForm["gameDate"] != null){
|
|
that.kjForm["gameDate"] = that.kjForm["gameDate"].trimStart().trimEnd();
|
|
that.kjForm["gameDate"] = that.kjForm["gameDate"].trimStart().trimEnd();
|
|
}
|
|
}
|
|
|
|
+ if(that.kjForm.gameLotterySuccItem != undefined){
|
|
|
|
+ that.kjForm.gameLotterySucc = that.kjForm.gameLotterySuccItem.join(',');
|
|
|
|
+ }
|
|
kjLottery(this.kjForm).then(response => {
|
|
kjLottery(this.kjForm).then(response => {
|
|
this.$modal.msgSuccess(response.msg);
|
|
this.$modal.msgSuccess(response.msg);
|
|
this.open = false;
|
|
this.open = false;
|