mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 10:57:13 +08:00 
			
		
		
		
	style: 调整前端示例组件相关目录结构
This commit is contained in:
		| @@ -31,7 +31,7 @@ | ||||
|     setMessageStatus, | ||||
|     MessageRecord, | ||||
|     MessageListType, | ||||
|   } from '@/api/message'; | ||||
|   } from '@/api/demo/message'; | ||||
|   import useLoading from '@/hooks/loading'; | ||||
|   import List from './list.vue'; | ||||
|  | ||||
|   | ||||
| @@ -72,7 +72,7 @@ | ||||
|  | ||||
| <script lang="ts" setup> | ||||
|   import { PropType } from 'vue'; | ||||
|   import { MessageRecord, MessageListType } from '@/api/message'; | ||||
|   import { MessageRecord, MessageListType } from '@/api/demo/message'; | ||||
|  | ||||
|   const props = defineProps({ | ||||
|     renderList: { | ||||
|   | ||||
| @@ -13,19 +13,19 @@ import localeLoginLog from '@/views/monitor/log/login/locale/en-US'; | ||||
| import localeOperationLog from '@/views/monitor/log/operation/locale/en-US'; | ||||
| import localeSystemLog from '@/views/monitor/log/system/locale/en-US'; | ||||
|  | ||||
| import localeSearchTable from '@/views/arco-design/list/search-table/locale/en-US'; | ||||
| import localeCardList from '@/views/arco-design/list/card/locale/en-US'; | ||||
| import localeStepForm from '@/views/arco-design/form/step/locale/en-US'; | ||||
| import localeGroupForm from '@/views/arco-design/form/group/locale/en-US'; | ||||
| import localeBasicProfile from '@/views/arco-design/profile/basic/locale/en-US'; | ||||
| import localeSuccess from '@/views/arco-design/result/success/locale/en-US'; | ||||
| import localeError from '@/views/arco-design/result/error/locale/en-US'; | ||||
| import locale403 from '@/views/arco-design/exception/403/locale/en-US'; | ||||
| import locale404 from '@/views/arco-design/exception/404/locale/en-US'; | ||||
| import locale500 from '@/views/arco-design/exception/500/locale/en-US'; | ||||
| import localeDataAnalysis from '@/views/arco-design/visualization/data-analysis/locale/en-US'; | ||||
| import localeMultiDAnalysis from '@/views/arco-design/visualization/multi-dimension-data-analysis/locale/en-US'; | ||||
| import localeMonitor from '@/views/arco-design/visualization/monitor/locale/en-US'; | ||||
| import localeSearchTable from '@/views/demo/list/search-table/locale/en-US'; | ||||
| import localeCardList from '@/views/demo/list/card/locale/en-US'; | ||||
| import localeStepForm from '@/views/demo/form/step/locale/en-US'; | ||||
| import localeGroupForm from '@/views/demo/form/group/locale/en-US'; | ||||
| import localeBasicProfile from '@/views/demo/profile/basic/locale/en-US'; | ||||
| import localeSuccess from '@/views/demo/result/success/locale/en-US'; | ||||
| import localeError from '@/views/demo/result/error/locale/en-US'; | ||||
| import locale403 from '@/views/demo/exception/403/locale/en-US'; | ||||
| import locale404 from '@/views/demo/exception/404/locale/en-US'; | ||||
| import locale500 from '@/views/demo/exception/500/locale/en-US'; | ||||
| import localeDataAnalysis from '@/views/demo/visualization/data-analysis/locale/en-US'; | ||||
| import localeMultiDAnalysis from '@/views/demo/visualization/multi-dimension-data-analysis/locale/en-US'; | ||||
| import localeMonitor from '@/views/demo/visualization/monitor/locale/en-US'; | ||||
|  | ||||
| import localeMessageBox from '@/components/message-box/locale/en-US'; | ||||
| import localeLogin from '@/views/login/locale/en-US'; | ||||
|   | ||||
| @@ -13,19 +13,19 @@ import localeLoginLog from '@/views/monitor/log/login/locale/zh-CN'; | ||||
| import localeOperationLog from '@/views/monitor/log/operation/locale/zh-CN'; | ||||
| import localeSystemLog from '@/views/monitor/log/system/locale/zh-CN'; | ||||
|  | ||||
| import localeSearchTable from '@/views/arco-design/list/search-table/locale/zh-CN'; | ||||
| import localeCardList from '@/views/arco-design/list/card/locale/zh-CN'; | ||||
| import localeStepForm from '@/views/arco-design/form/step/locale/zh-CN'; | ||||
| import localeGroupForm from '@/views/arco-design/form/group/locale/zh-CN'; | ||||
| import localeBasicProfile from '@/views/arco-design/profile/basic/locale/zh-CN'; | ||||
| import localeSuccess from '@/views/arco-design/result/success/locale/zh-CN'; | ||||
| import localeError from '@/views/arco-design/result/error/locale/zh-CN'; | ||||
| import locale403 from '@/views/arco-design/exception/403/locale/zh-CN'; | ||||
| import locale404 from '@/views/arco-design/exception/404/locale/zh-CN'; | ||||
| import locale500 from '@/views/arco-design/exception/500/locale/zh-CN'; | ||||
| import localeDataAnalysis from '@/views/arco-design/visualization/data-analysis/locale/zh-CN'; | ||||
| import localeMultiDAnalysis from '@/views/arco-design/visualization/multi-dimension-data-analysis/locale/zh-CN'; | ||||
| import localeMonitor from '@/views/arco-design/visualization/monitor/locale/zh-CN'; | ||||
| import localeSearchTable from '@/views/demo/list/search-table/locale/zh-CN'; | ||||
| import localeCardList from '@/views/demo/list/card/locale/zh-CN'; | ||||
| import localeStepForm from '@/views/demo/form/step/locale/zh-CN'; | ||||
| import localeGroupForm from '@/views/demo/form/group/locale/zh-CN'; | ||||
| import localeBasicProfile from '@/views/demo/profile/basic/locale/zh-CN'; | ||||
| import localeSuccess from '@/views/demo/result/success/locale/zh-CN'; | ||||
| import localeError from '@/views/demo/result/error/locale/zh-CN'; | ||||
| import locale403 from '@/views/demo/exception/403/locale/zh-CN'; | ||||
| import locale404 from '@/views/demo/exception/404/locale/zh-CN'; | ||||
| import locale500 from '@/views/demo/exception/500/locale/zh-CN'; | ||||
| import localeDataAnalysis from '@/views/demo/visualization/data-analysis/locale/zh-CN'; | ||||
| import localeMultiDAnalysis from '@/views/demo/visualization/multi-dimension-data-analysis/locale/zh-CN'; | ||||
| import localeMonitor from '@/views/demo/visualization/monitor/locale/zh-CN'; | ||||
|  | ||||
| import localeMessageBox from '@/components/message-box/locale/zh-CN'; | ||||
| import localeLogin from '@/views/login/locale/zh-CN'; | ||||
|   | ||||
| @@ -5,17 +5,17 @@ import './message-box'; | ||||
|  | ||||
| import '@/views/dashboard/workplace/mock'; | ||||
|  | ||||
| import '@/views/arco-design/visualization/monitor/mock'; | ||||
| import '@/views/demo/visualization/monitor/mock'; | ||||
|  | ||||
| import '@/views/arco-design/list/card/mock'; | ||||
| import '@/views/arco-design/list/search-table/mock'; | ||||
| import '@/views/demo/list/card/mock'; | ||||
| import '@/views/demo/list/search-table/mock'; | ||||
|  | ||||
| import '@/views/arco-design/form/step/mock'; | ||||
| import '@/views/demo/form/step/mock'; | ||||
|  | ||||
| import '@/views/arco-design/profile/basic/mock'; | ||||
| import '@/views/demo/profile/basic/mock'; | ||||
|  | ||||
| import '@/views/arco-design/visualization/data-analysis/mock'; | ||||
| import '@/views/arco-design/visualization/multi-dimension-data-analysis/mock'; | ||||
| import '@/views/demo/visualization/data-analysis/mock'; | ||||
| import '@/views/demo/visualization/multi-dimension-data-analysis/mock'; | ||||
|  | ||||
| import '@/views/system/user/center/mock'; | ||||
|  | ||||
|   | ||||
| @@ -27,5 +27,5 @@ export const REDIRECT_MAIN: RouteRecordRaw = { | ||||
| export const NOT_FOUND_ROUTE: RouteRecordRaw = { | ||||
|   path: '/:pathMatch(.*)*', | ||||
|   name: 'notFound', | ||||
|   component: () => import('@/views/arco-design/not-found/index.vue'), | ||||
|   component: () => import('@/views/other/not-found/index.vue'), | ||||
| }; | ||||
|   | ||||
| @@ -2,7 +2,7 @@ import { DEFAULT_LAYOUT } from '../../base'; | ||||
| import { AppRouteRecordRaw } from '../../types'; | ||||
|  | ||||
| const EXCEPTION: AppRouteRecordRaw = { | ||||
|   path: '/exception', | ||||
|   path: '/demo/exception', | ||||
|   component: DEFAULT_LAYOUT, | ||||
|   meta: { | ||||
|     locale: 'menu.exception', | ||||
| @@ -14,7 +14,7 @@ const EXCEPTION: AppRouteRecordRaw = { | ||||
|     { | ||||
|       name: '403', | ||||
|       path: '403', | ||||
|       component: () => import('@/views/arco-design/exception/403/index.vue'), | ||||
|       component: () => import('@/views/demo/exception/403/index.vue'), | ||||
|       meta: { | ||||
|         locale: 'menu.exception.403', | ||||
|         requiresAuth: true, | ||||
| @@ -24,7 +24,7 @@ const EXCEPTION: AppRouteRecordRaw = { | ||||
|     { | ||||
|       name: '404', | ||||
|       path: '404', | ||||
|       component: () => import('@/views/arco-design/exception/404/index.vue'), | ||||
|       component: () => import('@/views/demo/exception/404/index.vue'), | ||||
|       meta: { | ||||
|         locale: 'menu.exception.404', | ||||
|         requiresAuth: true, | ||||
| @@ -34,7 +34,7 @@ const EXCEPTION: AppRouteRecordRaw = { | ||||
|     { | ||||
|       name: '500', | ||||
|       path: '500', | ||||
|       component: () => import('@/views/arco-design/exception/500/index.vue'), | ||||
|       component: () => import('@/views/demo/exception/500/index.vue'), | ||||
|       meta: { | ||||
|         locale: 'menu.exception.500', | ||||
|         requiresAuth: true, | ||||
|   | ||||
| @@ -2,7 +2,7 @@ import { DEFAULT_LAYOUT } from '../../base'; | ||||
| import { AppRouteRecordRaw } from '../../types'; | ||||
|  | ||||
| const FORM: AppRouteRecordRaw = { | ||||
|   path: '/form', | ||||
|   path: '/demo/form', | ||||
|   component: DEFAULT_LAYOUT, | ||||
|   meta: { | ||||
|     locale: 'menu.form', | ||||
| @@ -14,7 +14,7 @@ const FORM: AppRouteRecordRaw = { | ||||
|     { | ||||
|       name: 'Step', | ||||
|       path: 'step', | ||||
|       component: () => import('@/views/arco-design/form/step/index.vue'), | ||||
|       component: () => import('@/views/demo/form/step/index.vue'), | ||||
|       meta: { | ||||
|         locale: 'menu.form.step', | ||||
|         requiresAuth: true, | ||||
| @@ -24,7 +24,7 @@ const FORM: AppRouteRecordRaw = { | ||||
|     { | ||||
|       name: 'Group', | ||||
|       path: 'group', | ||||
|       component: () => import('@/views/arco-design/form/group/index.vue'), | ||||
|       component: () => import('@/views/demo/form/group/index.vue'), | ||||
|       meta: { | ||||
|         locale: 'menu.form.group', | ||||
|         requiresAuth: true, | ||||
|   | ||||
| @@ -2,7 +2,7 @@ import { DEFAULT_LAYOUT } from '../../base'; | ||||
| import { AppRouteRecordRaw } from '../../types'; | ||||
|  | ||||
| const LIST: AppRouteRecordRaw = { | ||||
|   path: '/list', | ||||
|   path: '/demo/list', | ||||
|   component: DEFAULT_LAYOUT, | ||||
|   meta: { | ||||
|     locale: 'menu.list', | ||||
| @@ -15,7 +15,7 @@ const LIST: AppRouteRecordRaw = { | ||||
|       name: 'SearchTable', | ||||
|       path: 'search-table', // The midline path complies with SEO specifications | ||||
|       component: () => | ||||
|         import('@/views/arco-design/list/search-table/index.vue'), | ||||
|         import('@/views/demo/list/search-table/index.vue'), | ||||
|       meta: { | ||||
|         locale: 'menu.list.searchTable', | ||||
|         requiresAuth: true, | ||||
| @@ -25,7 +25,7 @@ const LIST: AppRouteRecordRaw = { | ||||
|     { | ||||
|       name: 'Card', | ||||
|       path: 'card', | ||||
|       component: () => import('@/views/arco-design/list/card/index.vue'), | ||||
|       component: () => import('@/views/demo/list/card/index.vue'), | ||||
|       meta: { | ||||
|         locale: 'menu.list.cardList', | ||||
|         requiresAuth: true, | ||||
|   | ||||
| @@ -2,7 +2,7 @@ import { DEFAULT_LAYOUT } from '../../base'; | ||||
| import { AppRouteRecordRaw } from '../../types'; | ||||
|  | ||||
| const PROFILE: AppRouteRecordRaw = { | ||||
|   path: '/profile', | ||||
|   path: '/demo/profile', | ||||
|   component: DEFAULT_LAYOUT, | ||||
|   meta: { | ||||
|     locale: 'menu.profile', | ||||
| @@ -14,7 +14,7 @@ const PROFILE: AppRouteRecordRaw = { | ||||
|     { | ||||
|       name: 'Basic', | ||||
|       path: 'basic', | ||||
|       component: () => import('@/views/arco-design/profile/basic/index.vue'), | ||||
|       component: () => import('@/views/demo/profile/basic/index.vue'), | ||||
|       meta: { | ||||
|         locale: 'menu.profile.basic', | ||||
|         requiresAuth: true, | ||||
|   | ||||
| @@ -2,7 +2,7 @@ import { DEFAULT_LAYOUT } from '../../base'; | ||||
| import { AppRouteRecordRaw } from '../../types'; | ||||
|  | ||||
| const RESULT: AppRouteRecordRaw = { | ||||
|   path: '/result', | ||||
|   path: '/demo/result', | ||||
|   component: DEFAULT_LAYOUT, | ||||
|   meta: { | ||||
|     locale: 'menu.result', | ||||
| @@ -14,7 +14,7 @@ const RESULT: AppRouteRecordRaw = { | ||||
|     { | ||||
|       name: 'Success', | ||||
|       path: 'success', | ||||
|       component: () => import('@/views/arco-design/result/success/index.vue'), | ||||
|       component: () => import('@/views/demo/result/success/index.vue'), | ||||
|       meta: { | ||||
|         locale: 'menu.result.success', | ||||
|         requiresAuth: true, | ||||
| @@ -24,7 +24,7 @@ const RESULT: AppRouteRecordRaw = { | ||||
|     { | ||||
|       name: 'Error', | ||||
|       path: 'error', | ||||
|       component: () => import('@/views/arco-design/result/error/index.vue'), | ||||
|       component: () => import('@/views/demo/result/error/index.vue'), | ||||
|       meta: { | ||||
|         locale: 'menu.result.error', | ||||
|         requiresAuth: true, | ||||
|   | ||||
| @@ -2,7 +2,7 @@ import { DEFAULT_LAYOUT } from '../../base'; | ||||
| import { AppRouteRecordRaw } from '../../types'; | ||||
|  | ||||
| const VISUALIZATION: AppRouteRecordRaw = { | ||||
|   path: '/visualization', | ||||
|   path: '/demo/visualization', | ||||
|   component: DEFAULT_LAYOUT, | ||||
|   meta: { | ||||
|     locale: 'menu.visualization', | ||||
| @@ -15,7 +15,7 @@ const VISUALIZATION: AppRouteRecordRaw = { | ||||
|       name: 'DataAnalysis', | ||||
|       path: 'data-analysis', | ||||
|       component: () => | ||||
|         import('@/views/arco-design/visualization/data-analysis/index.vue'), | ||||
|         import('@/views/demo/visualization/data-analysis/index.vue'), | ||||
|       meta: { | ||||
|         locale: 'menu.visualization.dataAnalysis', | ||||
|         requiresAuth: true, | ||||
| @@ -27,7 +27,7 @@ const VISUALIZATION: AppRouteRecordRaw = { | ||||
|       path: 'multi-dimension-data-analysis', | ||||
|       component: () => | ||||
|         import( | ||||
|           '@/views/arco-design/visualization/multi-dimension-data-analysis/index.vue' | ||||
|           '@/views/demo/visualization/multi-dimension-data-analysis/index.vue' | ||||
|         ), | ||||
|       meta: { | ||||
|         locale: 'menu.visualization.multiDimensionDataAnalysis', | ||||
| @@ -39,7 +39,7 @@ const VISUALIZATION: AppRouteRecordRaw = { | ||||
|       name: 'Monitor', | ||||
|       path: 'monitor', | ||||
|       component: () => | ||||
|         import('@/views/arco-design/visualization/monitor/index.vue'), | ||||
|         import('@/views/demo/visualization/monitor/index.vue'), | ||||
|       meta: { | ||||
|         locale: 'menu.dashboard.monitor', | ||||
|         requiresAuth: true, | ||||
|   | ||||
| @@ -88,7 +88,7 @@ | ||||
| <script lang="ts" setup> | ||||
|   import { ref } from 'vue'; | ||||
|   import { FormInstance } from '@arco-design/web-vue/es/form'; | ||||
|   import { BaseInfoModel } from '@/api/form'; | ||||
|   import { BaseInfoModel } from '@/api/demo/form'; | ||||
| 
 | ||||
|   const emits = defineEmits(['changeStep']); | ||||
|   const formRef = ref<FormInstance>(); | ||||
| @@ -98,7 +98,7 @@ | ||||
| <script lang="ts" setup> | ||||
|   import { ref } from 'vue'; | ||||
|   import { FormInstance } from '@arco-design/web-vue/es/form'; | ||||
|   import { ChannelInfoModel } from '@/api/form'; | ||||
|   import { ChannelInfoModel } from '@/api/demo/form'; | ||||
| 
 | ||||
|   const emits = defineEmits(['changeStep']); | ||||
| 
 | ||||
| @@ -42,7 +42,7 @@ | ||||
|     BaseInfoModel, | ||||
|     ChannelInfoModel, | ||||
|     UnitChannelModel, | ||||
|   } from '@/api/form'; | ||||
|   } from '@/api/demo/form'; | ||||
|   import BaseInfo from './components/base-info.vue'; | ||||
|   import ChannelInfo from './components/channel-info.vue'; | ||||
|   import Success from './components/success.vue'; | ||||
| @@ -67,7 +67,7 @@ | ||||
| </template> | ||||
| 
 | ||||
| <script lang="ts" setup> | ||||
|   import { queryInspectionList, ServiceRecord } from '@/api/list'; | ||||
|   import { queryInspectionList, ServiceRecord } from '@/api/demo/list'; | ||||
|   import useRequest from '@/hooks/request'; | ||||
|   import CardWrap from './card-wrap.vue'; | ||||
| 
 | ||||
| @@ -37,7 +37,7 @@ | ||||
| </template> | ||||
| 
 | ||||
| <script lang="ts" setup> | ||||
|   import { queryRulesPresetList, ServiceRecord } from '@/api/list'; | ||||
|   import { queryRulesPresetList, ServiceRecord } from '@/api/demo/list'; | ||||
|   import useRequest from '@/hooks/request'; | ||||
|   import CardWrap from './card-wrap.vue'; | ||||
| 
 | ||||
| @@ -43,7 +43,7 @@ | ||||
| </template> | ||||
| 
 | ||||
| <script lang="ts" setup> | ||||
|   import { queryTheServiceList, ServiceRecord } from '@/api/list'; | ||||
|   import { queryTheServiceList, ServiceRecord } from '@/api/demo/list'; | ||||
|   import useRequest from '@/hooks/request'; | ||||
|   import CardWrap from './card-wrap.vue'; | ||||
| 
 | ||||
| @@ -1,6 +1,6 @@ | ||||
| import Mock from 'mockjs'; | ||||
| import setupMock, { successResponseWrap } from '@/utils/setup-mock'; | ||||
| import { ServiceRecord } from '@/api/list'; | ||||
| import { ServiceRecord } from '@/api/demo/list'; | ||||
| 
 | ||||
| const qualityInspectionList: ServiceRecord[] = [ | ||||
|   { | ||||
| @@ -249,7 +249,7 @@ | ||||
|   import { computed, ref, reactive, watch, nextTick } from 'vue'; | ||||
|   import { useI18n } from 'vue-i18n'; | ||||
|   import useLoading from '@/hooks/loading'; | ||||
|   import { queryPolicyList, PolicyRecord, PolicyParams } from '@/api/list'; | ||||
|   import { queryPolicyList, PolicyRecord, PolicyParams } from '@/api/demo/list'; | ||||
|   import { Pagination } from '@/types/global'; | ||||
|   import type { SelectOptionData } from '@arco-design/web-vue/es/select/interface'; | ||||
|   import type { TableColumnData } from '@arco-design/web-vue/es/table/interface'; | ||||
| @@ -48,7 +48,7 @@ | ||||
| 
 | ||||
| <script lang="ts" setup> | ||||
|   import { ref } from 'vue'; | ||||
|   import { queryOperationLog, operationLogRes } from '@/api/profile'; | ||||
|   import { queryOperationLog, operationLogRes } from '@/api/demo/profile'; | ||||
|   import useLoading from '@/hooks/loading'; | ||||
| 
 | ||||
|   const { loading, setLoading } = useLoading(true); | ||||
| @@ -28,7 +28,7 @@ | ||||
| <script lang="ts" setup> | ||||
|   import { computed, PropType } from 'vue'; | ||||
|   import { useI18n } from 'vue-i18n'; | ||||
|   import { ProfileBasicRes } from '@/api/profile'; | ||||
|   import { ProfileBasicRes } from '@/api/demo/profile'; | ||||
| 
 | ||||
|   type BlockList = { | ||||
|     title: string; | ||||
| @@ -31,7 +31,7 @@ | ||||
| <script lang="ts" setup> | ||||
|   import { ref } from 'vue'; | ||||
|   import useLoading from '@/hooks/loading'; | ||||
|   import { queryProfileBasic, ProfileBasicRes } from '@/api/profile'; | ||||
|   import { queryProfileBasic, ProfileBasicRes } from '@/api/demo/profile'; | ||||
|   import ProfileItem from './components/profile-item.vue'; | ||||
|   import OperationLog from './components/operation-log.vue'; | ||||
| 
 | ||||
| @@ -35,7 +35,7 @@ | ||||
|     queryPublicOpinionAnalysis, | ||||
|     PublicOpinionAnalysis, | ||||
|     PublicOpinionAnalysisRes, | ||||
|   } from '@/api/visualization'; | ||||
|   } from '@/api/demo/visualization'; | ||||
|   import useChartOption from '@/hooks/chart-option'; | ||||
| 
 | ||||
|   const barChartOptionsFactory = () => { | ||||
| @@ -12,7 +12,7 @@ | ||||
| <script lang="ts" setup> | ||||
|   import { ref } from 'vue'; | ||||
|   import useLoading from '@/hooks/loading'; | ||||
|   import { queryContentPeriodAnalysis } from '@/api/visualization'; | ||||
|   import { queryContentPeriodAnalysis } from '@/api/demo/visualization'; | ||||
|   import { ToolTipFormatterParams } from '@/types/echarts'; | ||||
|   import useChartOption from '@/hooks/chart-option'; | ||||
| 
 | ||||
| @@ -19,7 +19,7 @@ | ||||
|   import { | ||||
|     queryContentPublish, | ||||
|     ContentPublishRecord, | ||||
|   } from '@/api/visualization'; | ||||
|   } from '@/api/demo/visualization'; | ||||
|   import useChartOption from '@/hooks/chart-option'; | ||||
| 
 | ||||
|   const tooltipItemsHtmlString = (items: ToolTipFormatterParams[]) => { | ||||
| @@ -50,7 +50,7 @@ | ||||
| <script lang="ts" setup> | ||||
|   import { ref } from 'vue'; | ||||
|   import useLoading from '@/hooks/loading'; | ||||
|   import { queryPopularAuthor, PopularAuthorRes } from '@/api/visualization'; | ||||
|   import { queryPopularAuthor, PopularAuthorRes } from '@/api/demo/visualization'; | ||||
| 
 | ||||
|   const { loading, setLoading } = useLoading(); | ||||
|   const tableData = ref<PopularAuthorRes>({ list: [] }); | ||||
| @@ -26,7 +26,7 @@ | ||||
| 
 | ||||
| <script lang="ts" setup> | ||||
|   import { PropType } from 'vue'; | ||||
|   import { ChatRecord } from '@/api/message'; | ||||
|   import { ChatRecord } from '@/api/demo/message'; | ||||
| 
 | ||||
|   defineProps({ | ||||
|     itemData: { | ||||
| @@ -7,7 +7,7 @@ | ||||
| 
 | ||||
| <script lang="ts" setup> | ||||
|   import { PropType } from 'vue'; | ||||
|   import { ChatRecord } from '@/api/message'; | ||||
|   import { ChatRecord } from '@/api/demo/message'; | ||||
|   import ChatItem from './chat-item.vue'; | ||||
| 
 | ||||
|   defineProps({ | ||||
| @@ -44,7 +44,7 @@ | ||||
| 
 | ||||
| <script lang="ts" setup> | ||||
|   import { ref } from 'vue'; | ||||
|   import { queryChatList, ChatRecord } from '@/api/message'; | ||||
|   import { queryChatList, ChatRecord } from '@/api/demo/message'; | ||||
|   import useLoading from '@/hooks/loading'; | ||||
|   import ChatList from './chat-list.vue'; | ||||
| 
 | ||||
| @@ -31,7 +31,7 @@ | ||||
| <script lang="ts" setup> | ||||
|   import { computed, ref } from 'vue'; | ||||
|   import useLoading from '@/hooks/loading'; | ||||
|   import { queryDataChainGrowth, DataChainGrowth } from '@/api/visualization'; | ||||
|   import { queryDataChainGrowth, DataChainGrowth } from '@/api/demo/visualization'; | ||||
|   import useChartOption from '@/hooks/chart-option'; | ||||
| 
 | ||||
|   const props = defineProps({ | ||||
| @@ -36,7 +36,7 @@ | ||||
|   import { computed, ref } from 'vue'; | ||||
|   import { useI18n } from 'vue-i18n'; | ||||
|   import { LineSeriesOption } from 'echarts'; | ||||
|   import { queryDataOverview } from '@/api/visualization'; | ||||
|   import { queryDataOverview } from '@/api/demo/visualization'; | ||||
|   import useLoading from '@/hooks/loading'; | ||||
|   import { ToolTipFormatterParams } from '@/types/echarts'; | ||||
|   import useThemes from '@/hooks/themes'; | ||||
| @@ -1,8 +1,8 @@ | ||||
| <template> | ||||
|   <div class="content"> | ||||
|     <a-result class="result" status="404" :subtitle="'not found'"> </a-result> | ||||
|     <a-result class="result" status="404" :subtitle="'页面不存在'"></a-result> | ||||
|     <div class="operation-row"> | ||||
|       <a-button key="back" type="primary" @click="back"> back </a-button> | ||||
|       <a-button key="back" type="primary" @click="back"> 回到首页 </a-button> | ||||
|     </div> | ||||
|   </div> | ||||
| </template> | ||||
		Reference in New Issue
	
	Block a user