代码提交

This commit is contained in:
2025-08-01 14:37:54 +08:00
parent cd0e77b332
commit 669eac0d3d
15 changed files with 91 additions and 42 deletions

View File

@@ -38,7 +38,7 @@
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="itineraryList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="20" align="center" />
<el-table-column type="selection" width="20" align="center" />
<el-table-column label="#" align="center" prop="returnSchoolId" />
<el-table-column label="主题" align="center" prop="surveyName" />
<el-table-column label="学号" align="center" prop="stuNo" width="120" />
@@ -159,6 +159,7 @@
<el-button type="primary" icon="el-icon-search" size="mini" @click="lookQuery">搜索</el-button>
<el-button type="success" icon="el-icon-position" size="mini"
@click="sendMsg">向未填写学生推送企业微信消息</el-button>
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport">导出</el-button>
</el-form-item>
</el-form>
<el-table :data="lookList">
@@ -324,6 +325,12 @@ export default {
this.$store.sur = {};
},
methods: {
/** 导出按钮操作 */
handleExport() {
this.download('survey/itinerary/LeavExport', {
...this.lookParams
}, `itinerary_${new Date().getTime()}.xlsx`)
},
lookWillLeaveVClick(v) {
this.$store.sur = {};
this.$store.sur.willLeaveTime = v.label.replace("预计离校人数", "");
@@ -543,4 +550,4 @@ export default {
margin-bottom: 5px;
}
}
</style>
</style>