2023年8月29日 修复听课相关问题
This commit is contained in:
parent
ecdf3ac205
commit
69ddd687a2
|
@ -1 +1,5 @@
|
||||||
yarn build
|
yarn build
|
||||||
|
echo 压缩
|
||||||
|
cd dist
|
||||||
|
tar -zcvf ../dist.tar.gz *
|
||||||
|
cd ..
|
|
@ -1,9 +1,9 @@
|
||||||
import '/@/design/index.less';
|
import '/@/design/index.less';
|
||||||
// 注册 windi
|
// 注册 windi
|
||||||
import 'virtual:windi-base.css';
|
import 'virtual:windi-base.css';
|
||||||
// import 'virtual:windi-components.css';
|
import 'virtual:windi-components.css';
|
||||||
// import 'virtual:windi-utilities.css';
|
import 'virtual:windi-utilities.css';
|
||||||
// import 'virtual:windi-devtools';
|
import 'virtual:windi-devtools';
|
||||||
// 注册图标
|
// 注册图标
|
||||||
import 'virtual:svg-icons-register';
|
import 'virtual:svg-icons-register';
|
||||||
import App from './App.vue';
|
import App from './App.vue';
|
||||||
|
|
|
@ -37,7 +37,9 @@
|
||||||
<a-col :lg="6">
|
<a-col :lg="6">
|
||||||
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery">查询</a-button>
|
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery">查询</a-button>
|
||||||
<a-button type="primary" preIcon="ant-design:reload-outlined" @click="searchReset" style="margin-left: 8px">重置</a-button>
|
<a-button type="primary" preIcon="ant-design:reload-outlined" @click="searchReset" style="margin-left: 8px">重置</a-button>
|
||||||
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExport" style="margin-left: 8px"> 导出</a-button>
|
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExport" style="margin-left: 8px">PDF导出</a-button>
|
||||||
|
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls" style="margin-left: 8px">Excel导出</a-button>
|
||||||
|
|
||||||
<!--<a @click="toggleSearchStatus = !toggleSearchStatus" style="margin-left: 8px">
|
<!--<a @click="toggleSearchStatus = !toggleSearchStatus" style="margin-left: 8px">
|
||||||
{{ toggleSearchStatus ? '收起' : '展开' }}
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||||
<Icon :icon="toggleSearchStatus ? 'ant-design:up-outlined' : 'ant-design:down-outlined'" />
|
<Icon :icon="toggleSearchStatus ? 'ant-design:up-outlined' : 'ant-design:down-outlined'" />
|
||||||
|
@ -158,8 +160,14 @@
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
exportConfig: {
|
exportConfig: {
|
||||||
name: "kc_export_config_tpkwcqkjzglx",
|
name: "人员信息",
|
||||||
url: getExportUrl,
|
url: getExportUrl,
|
||||||
|
params: () => {
|
||||||
|
let params:any = {};
|
||||||
|
params.findByDwmc = !roleList.value.filter(x => x.roleCode == 'admin' ).length
|
||||||
|
params.findGh = getUserId()
|
||||||
|
return Object.assign(params,queryParam.value);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
importConfig: {
|
importConfig: {
|
||||||
url: getImportUrl,
|
url: getImportUrl,
|
||||||
|
@ -275,10 +283,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function onExport() {
|
function onExport() {
|
||||||
if(!!roleList.value.filter(x => x.roleCode == 'admin' ).length && !queryParam.value.dwmc) {
|
// if(!!roleList.value.filter(x => x.roleCode == 'admin' ).length && !queryParam.value.dwmc) {
|
||||||
createMessage.warn('请选择导出的单位');
|
// createMessage.warn('请选择导出的单位');
|
||||||
return ;
|
// return ;
|
||||||
}
|
// }
|
||||||
onExportWord();
|
onExportWord();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue