文档状态查询-更改
This commit is contained in:
parent
bc564dd4da
commit
2a80640335
@ -801,16 +801,17 @@ const buttonmsg1 = ref('初始化导入项目完整压缩包')
|
||||
function tonstatus() {
|
||||
//sao
|
||||
obtainInformationAsync({ id: projectId.value }).then((res: any) => {
|
||||
if (res.data.status == '1' && res.data.name == '扫描') {
|
||||
if (res.data.scanstatus == '1' ) {
|
||||
tonloading.value = false
|
||||
buttonmsg.value = '扫描项目完整路径'
|
||||
} else if (res.data.status == '0' && res.data.name == '扫描') {
|
||||
} else if (res.data.scanstatus == '0' ) {
|
||||
tonloading.value = true
|
||||
buttonmsg.value = '处理中...'
|
||||
} else if (res.data.status == '1' && res.data.name == '上传') {
|
||||
}
|
||||
if (res.data.uploadstatus == '1' ) {
|
||||
tonloading1.value = false
|
||||
buttonmsg1.value = '初始化导入项目完整压缩包'
|
||||
} else if (res.data.status == '0' && res.data.name == '上传') {
|
||||
} else if (res.data.uploadstatus == '0' ) {
|
||||
tonloading1.value = true
|
||||
buttonmsg1.value = '处理中...'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user