|
@@ -11,8 +11,8 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button type="primary" icon="el-icon-search">搜索</el-button>
|
|
|
- <el-button icon="el-icon-refresh">重置</el-button>
|
|
|
+ <el-button type="primary" icon="el-icon-search" @click="getSearch">搜索</el-button>
|
|
|
+ <el-button icon="el-icon-refresh" @click="getRefresh">重置</el-button>
|
|
|
<el-button type="primary" icon="el-icon-plus" plain @click="getDialog('新增')">新增</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -103,12 +103,7 @@ export default {
|
|
|
title: '新增',
|
|
|
// 弹窗表单
|
|
|
dialogForm: {
|
|
|
- bullframeMusicGiveReqList: {
|
|
|
- platformId: null,
|
|
|
- groupIdList: [],
|
|
|
- indate: null
|
|
|
- },
|
|
|
- deviceIds: []
|
|
|
+ bullframeMusicGiveReqList: {},
|
|
|
},
|
|
|
// 设备列表
|
|
|
devOptions: [],
|
|
@@ -174,6 +169,20 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
|
|
|
+ // 搜索
|
|
|
+ getSearch() {
|
|
|
+ this.form.pageNum = 1
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
+
|
|
|
+ // 重置
|
|
|
+ getRefresh() {
|
|
|
+ this.form = {
|
|
|
+ bullframeMusicGiveReqList: {}
|
|
|
+ }
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
+
|
|
|
// 弹窗
|
|
|
getDialog(title, id) {
|
|
|
this.dialogVisible = true
|