[update] 企标制修订其他起草人上传企标节点的在线编辑变查看

This commit is contained in:
lideqin
2024-01-25 10:44:56 +08:00
parent 9753be5967
commit 35917bdc84
2 changed files with 5 additions and 10 deletions
@@ -11,7 +11,7 @@
<a-form-model-item class="item-model">
<div class="online-edit-wrapper">
<p>{{ $t('enterpriseStandard') }}</p>
<a-button type="primary" @click="toOnlineEditor">{{ $t('workCenter.enStandardRevision.onLineEditing') }}</a-button>
<a-button type="primary" @click="onlineEditView">{{ $t('view') }}</a-button>
</div>
</a-form-model-item>
</div>
@@ -206,14 +206,9 @@ export default {
const dataIndex = this.dataSource.findIndex(item => item.uid === this.uploadUid)
this.dataSource[dataIndex].fileId = attIdList.join(',')
},
/**
* 跳转在线编辑
*/
toOnlineEditor () {
// 获取参数(用于自动生成封面)
const params = this.$refs.baseInfoForm.getOnlineEditorParams()
// 已经有的在线编辑文件
onlineEditor(params, this.onEditFile)
// 在线编辑的查看
onlineEditView () {
this.$emit('onlineEditView', this.onEditFile)
}
}
}