parent
d70d18039f
commit
933a5e995b
|
@ -79,6 +79,7 @@
|
||||||
</el-table>
|
</el-table>
|
||||||
<div class="page-btn-group">
|
<div class="page-btn-group">
|
||||||
<div>
|
<div>
|
||||||
|
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">批量推送</el-button>
|
||||||
</div>
|
</div>
|
||||||
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" />
|
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -370,6 +371,17 @@ export default {
|
||||||
})
|
})
|
||||||
}).catch(() => {})
|
}).catch(() => {})
|
||||||
},
|
},
|
||||||
|
handleAdd() {
|
||||||
|
const _selectData = this.$refs.multipleTable.selection
|
||||||
|
if (_selectData == null || _selectData.length === 0) {
|
||||||
|
this.$message({
|
||||||
|
message: '未勾选人员...',
|
||||||
|
type: 'error'
|
||||||
|
})
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
this.$refs.sendUtil.init(_selectData)
|
||||||
|
},
|
||||||
// 判断按钮权限,用于是否显示按钮
|
// 判断按钮权限,用于是否显示按钮
|
||||||
hasButton: function() {
|
hasButton: function() {
|
||||||
var keys = 'corpinfo:add,corpinfo:del,corpinfo:edit,toExcel'
|
var keys = 'corpinfo:add,corpinfo:del,corpinfo:edit,toExcel'
|
||||||
|
|
Loading…
Reference in New Issue