历史记录编辑项目设置按钮文案
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user