Merge branch 'dev_vite' of ssh://18.167.251.121:10002/aidlab/aida_front into dev_vite

This commit is contained in:
X1627315083
2025-09-26 15:18:29 +08:00
16 changed files with 1578 additions and 1383 deletions

View File

@@ -403,6 +403,10 @@ export default defineComponent({
homeMainData.openType = Object.keys(query)[0]
homeMainData.openTypeChild = query[Object.keys(query)[0]]
}
if(homeMainData.openType === 'history' && route.path !== '/home/history'){
homeMainData.openTypeChild = ''
homeMainData.openType = ''
}
if((query?.id || query?.history) && !await getIdExistToHistory()){
router.push('/home')
return

View File

@@ -30,20 +30,14 @@
<div class="operate_list" v-if="column?.Operations">
<div
class="operate_item"
v-if="
record.process ==='SERIES_DESIGN' ||
record.process ==='SINGLE_DESIGN'
"
:class="{ 'operate_item_hidden': !(record.process ==='SERIES_DESIGN' || record.process ==='SINGLE_DESIGN') }"
@click="turnToDetail(record)"
>
{{ $t('HistoryPage.Detail') }}
</div>
<div
class="operate_item"
v-if="
record.process ==='SERIES_DESIGN' ||
record.process ==='SINGLE_DESIGN'
"
:class="{ 'operate_item_hidden': !(record.process ==='SERIES_DESIGN' || record.process ==='SINGLE_DESIGN') }"
@click="renameCollection(record, index)"
>
{{ $t('LibraryPage.Rename') }}
@@ -725,6 +719,11 @@ export default defineComponent({
font-weight: 400;
color: #007ee5;
cursor: pointer;
&.operate_item_hidden {
visibility: hidden;
pointer-events: none;
}
}
}
}