fix 标准入库/变更、标准征求意见、法规采购流程保存

This commit is contained in:
赵霄
2024-01-10 10:42:04 +08:00
parent 88e6bd0100
commit 1cf035de45
6 changed files with 86 additions and 11 deletions
@@ -140,6 +140,7 @@ import { downloadFile, getFileAccessHttpUrl } from '../../../api/manage.js'
import { previewPdf } from '../../../utils/previewPdf.js'
import { Base64 } from 'js-base64'
import { kkFilePreview } from '../../../utils/kkFilePreview'
import { previewFileCurrentWindowByFileId } from '../../../utils/util'
// 国内标准权限
const DomesticStandardPermission = {
@@ -251,6 +252,16 @@ export default {
}
},
async created () {
// 如果是要直接看文件
// if (this.$route.query.viewFile) {
// // TODO 这里需要调一个接口,通过标准id按规则获取文件
// const fileId = '1734843741558288385'
// previewFileCurrentWindowByFileId(fileId).then(() => {
// }).catch((message) => {
// this.$message.warning(message)
// })
// return
// }
await this.initForm()
this.initDetailData()
},