增加aiEnable进行情况筛选
This commit is contained in:
		| @@ -3,9 +3,9 @@ | ||||
|     <component v-if="currentPage" :is="currentPage" v-bind="$props"/> | ||||
|     <ai-detail v-else> | ||||
|       <!-- 标题 --> | ||||
|       <ai-title slot="title" :title="$options.label" isShowBottomBorder/> | ||||
|       <ai-title slot="title" :title="appName" isShowBottomBorder/> | ||||
|       <template #content> | ||||
|         <ai-tree-menu title="企微统计" hideInput> | ||||
|         <ai-tree-menu :title="appName" hideInput> | ||||
|           <el-tree @node-click="nodeClick" :props="props" :load="loadNode" lazy :expand-on-click-node="false"/> | ||||
|         </ai-tree-menu> | ||||
|         <div class="fill mar-l8"> | ||||
| @@ -65,11 +65,12 @@ import AiCard from "dui/packages/layout/AiCard.vue"; | ||||
| export default { | ||||
|   name: 'AppCorpOverview', | ||||
|   components: {AiCard}, | ||||
|   label: '企微概览', | ||||
|   label: '全国统计', | ||||
|   props: { | ||||
|     dict: Object, | ||||
|     instance: Function, | ||||
|     params: Object, | ||||
|     menuName: String | ||||
|   }, | ||||
|   data() { | ||||
|     return { | ||||
| @@ -111,7 +112,8 @@ export default { | ||||
|     globalParams: v => { | ||||
|       const {aiEnable} = v.$route.query | ||||
|       return {aiEnable} | ||||
|     } | ||||
|     }, | ||||
|     appName: v => v.menuName || v.$route.query.aiEnable == 1 ? '大模型统计' : v.$options.label | ||||
|   }, | ||||
|   mounted() { | ||||
|     this.getInfo() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user