能力申请 应用资源特殊处理
This commit is contained in:
parent
0e5ca11c2a
commit
ed5ed8c828
|
@ -468,10 +468,14 @@
|
||||||
})
|
})
|
||||||
console.log('提交数据==========================>', formName, ids)
|
console.log('提交数据==========================>', formName, ids)
|
||||||
if (formName.system.length !== 0) {
|
if (formName.system.length !== 0) {
|
||||||
|
if (formName.applicationSystem.length == 0) {
|
||||||
|
formName.applicationSystem = ''
|
||||||
|
}
|
||||||
submitApply(formName).then((res) => {
|
submitApply(formName).then((res) => {
|
||||||
// applySuccess.value = false
|
// applySuccess.value = false
|
||||||
message.success('申请提交成功,请到消息中心查看!')
|
message.success('申请提交成功,请到消息中心查看!')
|
||||||
console.log('能力申请================>', res)
|
console.log('能力申请================>', res)
|
||||||
|
if (res.data.code == 0) {
|
||||||
if (ids && ids.length > 0) {
|
if (ids && ids.length > 0) {
|
||||||
sgcDel({ ids: ids }).then((res) => {
|
sgcDel({ ids: ids }).then((res) => {
|
||||||
if (res.data.msg === 'success') {
|
if (res.data.msg === 'success') {
|
||||||
|
@ -492,6 +496,9 @@
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
message.error('申请失败!')
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue