历史记录编辑项目设置按钮文案

This commit is contained in:
X1627315083
2025-10-21 17:33:21 +08:00
parent e1700cf85a
commit 70e11dc772
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') }}
@@ -323,7 +323,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()
@@ -424,11 +424,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) {