入伍保留学籍申请导出
This commit is contained in:
@@ -59,11 +59,11 @@
|
|||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
|
<el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
|
||||||
v-hasPermi="['routine:enlistmentReserve:remove']">删除</el-button>
|
v-hasPermi="['routine:enlistmentReserve:remove']">删除</el-button>
|
||||||
</el-col>
|
</el-col>-->
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
|
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
|
||||||
v-hasPermi="['routine:enlistmentReserve:export']">导出</el-button>
|
v-hasPermi="['routine:enlistmentReserve:export']">导出</el-button>
|
||||||
</el-col> -->
|
</el-col>
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
@@ -361,7 +361,7 @@ export default {
|
|||||||
this.roleGroup = response.roleGroup;
|
this.roleGroup = response.roleGroup;
|
||||||
// this.postGroup = response.postGroup;
|
// this.postGroup = response.postGroup;
|
||||||
if (this.roleGroup) {
|
if (this.roleGroup) {
|
||||||
if (this.roleGroup.includes("学生")) {
|
if (this.roleGroup.includes("学生") && !this.roleGroup.includes("管理员")) {
|
||||||
this.queryParams.studentName = this.user.nickName
|
this.queryParams.studentName = this.user.nickName
|
||||||
} else if (this.roleGroup.includes("辅导员")) {
|
} else if (this.roleGroup.includes("辅导员")) {
|
||||||
this.queryParams.teacherName = this.user.nickName
|
this.queryParams.teacherName = this.user.nickName
|
||||||
@@ -476,7 +476,7 @@ export default {
|
|||||||
handleExport() {
|
handleExport() {
|
||||||
this.download('routine/enlistmentReserve/export', {
|
this.download('routine/enlistmentReserve/export', {
|
||||||
...this.queryParams
|
...this.queryParams
|
||||||
}, `enlistmentReserve_${new Date().getTime()}.xlsx`)
|
}, `入伍保留学籍申请Excel_${new Date().getTime()}.xlsx`)
|
||||||
},
|
},
|
||||||
// 跳转申请表
|
// 跳转申请表
|
||||||
openForm() {
|
openForm() {
|
||||||
|
|||||||
Reference in New Issue
Block a user