bug
This commit is contained in:
parent
470fed9d7c
commit
69c0516825
@ -34,7 +34,7 @@
|
||||
plain
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="open = true"
|
||||
@click="addDatas"
|
||||
>新增</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
@ -241,8 +241,9 @@
|
||||
|
||||
<el-table-column label="活动状态 " align="center" prop="status" >
|
||||
<template slot-scope="scope">
|
||||
<span style="cursor: pointer;" v-if="scope.row.status == 0"> <el-tag>在线</el-tag > </span>
|
||||
<span style="cursor: pointer;" v-if="scope.row.status == 1"> <el-tag type="danger">下线</el-tag> </span>
|
||||
<span style="cursor: pointer;" v-if="scope.row.status == 0"> <el-tag>进行中</el-tag > </span>
|
||||
<span style="cursor: pointer;" v-if="scope.row.status == 1"> <el-tag type="danger">待生效</el-tag> </span>
|
||||
<span style="cursor: pointer;" v-if="scope.row.status == 2"> <el-tag type="danger">已结束</el-tag> </span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="赠送积分" align="center" prop="adaptUserType" >
|
||||
@ -628,6 +629,15 @@ export default {
|
||||
})
|
||||
|
||||
},
|
||||
addDatas(){
|
||||
this.open = true
|
||||
this.form = {
|
||||
id:"",
|
||||
tableDatas:[],
|
||||
courtesyReward:[],
|
||||
activeNewlywedsChildList:[],
|
||||
}
|
||||
},
|
||||
qrcodelook(url) {
|
||||
this.loadingdialog = true
|
||||
this.centerDialogVisible = true
|
||||
@ -820,7 +830,7 @@ export default {
|
||||
Deleteshan(row){
|
||||
const ids = row.id || this.ids;
|
||||
this.$modal.confirm('是否确认删除消费有礼活动编号为"' + ids + '"的数据项?').then(function() {
|
||||
return delActiveFullminus(ids);
|
||||
return delActiveNewlyweds(ids);
|
||||
}).then(() => {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
|
@ -108,7 +108,7 @@ public class ActiveNewlywedsController extends BaseController {
|
||||
* @return
|
||||
*/
|
||||
@DeleteMapping("delById/{ids}")
|
||||
public ResponseObject delete(@PathVariable Long ids) {
|
||||
public ResponseObject delete(@PathVariable Integer ids) {
|
||||
return getSuccessResult(this.activeNewlywedsService.removeById(ids));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user