fix : 修复项目实施/归档上传附件显示,

This commit is contained in:
2024-06-21 17:15:01 +08:00
parent bce9b2d8d2
commit 4bee8bf9e4
9 changed files with 151 additions and 112 deletions

View File

@@ -191,17 +191,6 @@ const loadInitFrom = () => {
})
}
const getRandomId = () => {
let d = new Date().getTime()
// x 是 0-9 或 a-f 范围内的一个32位十六进制数
let id = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
let r = (d + Math.random() * 16) % 16 | 0
d = Math.floor(d / 16)
return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16)
})
return id
}
const getProcessInfo = async () => {
getProcessDefinitionInfo(params.deploymentId).then(res => {
ElNotification({