commit
This commit is contained in:
@@ -181,6 +181,15 @@
|
||||
</el-input>
|
||||
|
||||
</div>
|
||||
<div class="btn-group tool-button mt5">
|
||||
<el-select v-model="pageForm.isMember" @change="doSearch()"
|
||||
placeholder="是否会员" clearable
|
||||
style="width: 200px;margin-right: 5px">
|
||||
<el-option label="全部教工" value=""></el-option>
|
||||
<el-option label="是会员" value="1"></el-option>
|
||||
<el-option label="非会员" value="0"></el-option>
|
||||
</el-select>
|
||||
</div>
|
||||
<div class="btn-group tool-button mt5">
|
||||
<el-button icon="el-icon-search" type="primary" @click="doSearch">搜索</el-button>
|
||||
</div>
|
||||
@@ -272,6 +281,7 @@ module.exports = {
|
||||
pageForm1: {
|
||||
groupId: "",
|
||||
searchName: 'u.username',
|
||||
isMember: 1,
|
||||
pageNumber: 1,
|
||||
pageSize: 5,
|
||||
totalCount: 0,
|
||||
@@ -467,4 +477,4 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
||||
@@ -205,7 +205,7 @@ layout("/layouts/platform.html"){
|
||||
window.location.href = '/platform/msgNotify/send?notifyId=' + id + "&hold=" + hold
|
||||
}*/
|
||||
const {id, hold} = row
|
||||
window.location.href = '/platform/msgNotify/send?notifyId=' + id + "&hold=" + hold
|
||||
window.location.href = '/platform/msgNotify/send?notifyId=' + id + "&hold=" + false
|
||||
},
|
||||
openView(row) {
|
||||
const {id, hold} = row
|
||||
|
||||
@@ -229,4 +229,4 @@ layout("/layouts/platform.html"){
|
||||
</script>
|
||||
<!--#
|
||||
}
|
||||
#-->
|
||||
#-->
|
||||
|
||||
@@ -97,10 +97,11 @@ layout("/layouts/platform.html"){
|
||||
|
||||
|
||||
<el-table-column align="center" fixed="right" header-align="center" label="操作"
|
||||
width="120px">
|
||||
width="180px">
|
||||
<template scope="scope">
|
||||
<el-button @click="openView(scope.row)" size="mini" type="primary">查看
|
||||
</el-button>
|
||||
<el-button @click="openView(scope.row)" size="mini" type="primary">查看</el-button>
|
||||
<el-button v-if="${@shiro.hasRole('sysadmin')||@shiro.hasRole('A06')}"
|
||||
@click="doDelete(scope.row)" size="mini" type="danger">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -260,6 +261,21 @@ display: -webkit-box;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async doDelete(row) {
|
||||
const confirm = await this.$confirm('确定要删除该报名人员吗', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
})
|
||||
if (confirm !== "confirm") return
|
||||
const resp = await $.post('/platform/zgfw/lxy/hdtj/doDelete', {id:row.id})
|
||||
if (resp.code === 0) {
|
||||
this.pageData()
|
||||
this.$message.success(resp.msg)
|
||||
} else {
|
||||
this.$message.warning(resp.msg)
|
||||
}
|
||||
},
|
||||
async confirmMsg(val) {
|
||||
const confirm = await this.$confirm('确定要给报名人员发送消息吗', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
|
||||
Reference in New Issue
Block a user