隐藏导出

This commit is contained in:
18571350067 2022-03-18 15:55:37 +08:00
parent 48ae8cc3cb
commit 99fe4e2ed3
3 changed files with 8 additions and 5 deletions

View File

@ -3,7 +3,7 @@
<div class="table-page-search-wrapper"> <div class="table-page-search-wrapper">
<SearchCom :form="queryParam" :list="queryOptions" @search="handleRefresh" @reset="() => {queryParam = {}, handleRefresh()}"></SearchCom> <SearchCom :form="queryParam" :list="queryOptions" @search="handleRefresh" @reset="() => {queryParam = {}, handleRefresh()}"></SearchCom>
<div style="width: 100%; height: 32px; margin-bottom: 8px;"> <div style="width: 100%; height: 32px; margin-bottom: 8px;">
<a-button type="primary">导出</a-button> <!-- <a-button type="primary">导出</a-button> -->
</div> </div>
</div> </div>
<s-table ref="table" size="small" rowKey="id" :columns="columns" :data="loadData" :pageNum="Number(this.$route.query.pageNum) || 1"> <s-table ref="table" size="small" rowKey="id" :columns="columns" :data="loadData" :pageNum="Number(this.$route.query.pageNum) || 1">
@ -16,9 +16,9 @@
<a-menu-item v-if="hasPerm('archives:project:user:list')"> <a-menu-item v-if="hasPerm('archives:project:user:list')">
<a href="javascript:;" @click="archivesProjectUser(record)">人员记录</a> <a href="javascript:;" @click="archivesProjectUser(record)">人员记录</a>
</a-menu-item> </a-menu-item>
<a-menu-item> <!-- <a-menu-item>
<a href="javascript:;" @click="exportData(record)">导出</a> <a href="javascript:;" @click="exportData(record)">导出</a>
</a-menu-item> </a-menu-item> -->
</a-menu> </a-menu>
</a-dropdown> </a-dropdown>
</template> </template>

View File

@ -38,7 +38,7 @@ export default {
data() { data() {
// //
return { return {
queryParam: { state: '', userName: '' }, queryParam: {id:this.$route.query.projectId}, //state: '', userName: ''
columns: [ columns: [
{ title: '姓名', width: '100px', align: 'center', dataIndex: 'name', key: 'name' }, { title: '姓名', width: '100px', align: 'center', dataIndex: 'name', key: 'name' },
{ title: '单位信息', width: 'auto', align: 'center', dataIndex: 'dwOrgName', key: 'dwOrgName' }, { title: '单位信息', width: 'auto', align: 'center', dataIndex: 'dwOrgName', key: 'dwOrgName' },
@ -101,7 +101,7 @@ export default {
path: '/archives/project/ProjectUserCourse', query: { path: '/archives/project/ProjectUserCourse', query: {
projectId: this.$route.query.id, projectId: this.$route.query.id,
userId: record.id, userId: record.id,
queryParamState: this.queryParam.state, queryParamState: this.queryParam.testState,
queryParamUserName: this.queryParam.userName, queryParamUserName: this.queryParam.userName,
pageNum1: this.$refs.table.localPagination.current, pageNum1: this.$refs.table.localPagination.current,

View File

@ -61,6 +61,9 @@ export default {
close() { close() {
this.$router.push({ this.$router.push({
path: '/archives/project/ProjectUser', query: { path: '/archives/project/ProjectUser', query: {
projectId:this.$route.query.projectId,
userId:this.$route.query.userId,
queryParamState: this.$route.query.queryParamState, queryParamState: this.$route.query.queryParamState,
queryParamUserName: this.$route.query.queryParamUserName, queryParamUserName: this.$route.query.queryParamUserName,
pageNum1: this.$route.query.pageNum1, pageNum1: this.$route.query.pageNum1,