|
@@ -32,13 +32,15 @@ export default defineComponent({
|
|
|
status: 1,
|
|
|
// STUDENT:学生 TEACHER:老师 ANALYSIS:智能陪练
|
|
|
catalogType:
|
|
|
+ query.platformType === 'ANALYSIS' ? "ANALYSIS" :
|
|
|
query.platformType ||
|
|
|
(state.projectType === 'tenant' && state.platformType === 'STUDENT')
|
|
|
? 'TENANT_STUDENT'
|
|
|
: state.platformType,
|
|
|
page: 1,
|
|
|
rows: 20
|
|
|
- }
|
|
|
+ },
|
|
|
+ hideTitle: query?.hideTitle == '1' ? true : false, // 嵌入云教练需要隐藏标题栏
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
@@ -95,13 +97,17 @@ export default defineComponent({
|
|
|
render() {
|
|
|
return (
|
|
|
<div>
|
|
|
- <Sticky offsetTop={0} position="top" class={'mb12'}>
|
|
|
- <ColHeader isFixed={false} title={this.pageTitle} border={false} />
|
|
|
- <ColSearch
|
|
|
- type={state.projectType === 'tenant' ? 'tenant' : 'person'}
|
|
|
- onSearch={this.onSearch}
|
|
|
- />
|
|
|
- </Sticky>
|
|
|
+ {
|
|
|
+ <Sticky offsetTop={0} position="top" class={'mb12'}>
|
|
|
+ {
|
|
|
+ !this.hideTitle && <ColHeader isFixed={false} title={this.pageTitle} border={false} />
|
|
|
+ }
|
|
|
+ <ColSearch
|
|
|
+ type={state.projectType === 'tenant' ? 'tenant' : 'person'}
|
|
|
+ onSearch={this.onSearch}
|
|
|
+ />
|
|
|
+ </Sticky>
|
|
|
+ }
|
|
|
{this.dataShow ? (
|
|
|
<List
|
|
|
v-model:loading={this.loading}
|