Merge branch 'dev_vite' of http://18.167.251.121:10003/aidlab/aida_front into dev_vite

This commit is contained in:
李志鹏
2025-10-22 10:12:57 +08:00
5 changed files with 18 additions and 9 deletions

View File

@@ -41,7 +41,7 @@
:class="{ 'operate_item_hidden': !(record.process ==='SERIES_DESIGN' || record.process ==='SINGLE_DESIGN') }"
@click="renameCollection(record, index)"
>
{{ $t('LibraryPage.Rename') }}
{{ $t('HistoryPage.Edit') }}
</div>
<div class="operate_item" @click="retrieveHome(record)">
{{ $t('HistoryPage.Retrieve') }}
@@ -337,7 +337,7 @@ export default defineComponent({
})
},
async getHistoryList(param: object) {
async getHistoryList(param: object = {}) {
this.isShowMark = true
let startDate: any = this.rangePickerValue
? new Date(this.rangePickerValue[0]).getTime()
@@ -438,11 +438,10 @@ export default defineComponent({
renameCollection(record: any, index: number) {
// let searchLabel: any = this.$refs.searchLabel
// searchLabel.init(record, index)
this.$refs.projectSetting.init(record)
this.$refs.projectSetting.init(record,'edit')
},
handleConfirmEdit({ data }) {
// console.log('data', data)
router.push(`/home?history=${data.id}`)
// router.push(`/home?history=${data.id}`)
this.getHistoryList()
},
retrieveHome(record: any) {