|
@@ -172,7 +172,7 @@
|
|
</el-button>
|
|
</el-button>
|
|
</HcTooltip>
|
|
</HcTooltip>
|
|
<HcTooltip v-if="NodeStatus === '3'" keys="wbs_abolish">
|
|
<HcTooltip v-if="NodeStatus === '3'" keys="wbs_abolish">
|
|
- <el-button hc-btn @click="abolishOneClick">
|
|
|
|
|
|
+ <el-button hc-btn :laoding="abolishLoaing" @click="abolishOneClick">
|
|
<HcIcon name="arrow-go-back" />
|
|
<HcIcon name="arrow-go-back" />
|
|
<span>撤回上报流程</span>
|
|
<span>撤回上报流程</span>
|
|
</el-button>
|
|
</el-button>
|
|
@@ -1848,6 +1848,7 @@ const bussPdfsClick = async () => {
|
|
}
|
|
}
|
|
|
|
|
|
//撤回上报流程
|
|
//撤回上报流程
|
|
|
|
+const abolishLoaing = ref(false)
|
|
const abolishOneClick = () => {
|
|
const abolishOneClick = () => {
|
|
window?.$messageBox?.alert('请谨慎考虑后,是否确定撤回?', '撤回上报', {
|
|
window?.$messageBox?.alert('请谨慎考虑后,是否确定撤回?', '撤回上报', {
|
|
showCancelButton: true,
|
|
showCancelButton: true,
|
|
@@ -1864,10 +1865,12 @@ const abolishOneClick = () => {
|
|
//撤回请求
|
|
//撤回请求
|
|
const abolishOneSave = async () => {
|
|
const abolishOneSave = async () => {
|
|
const info = nodeDataInfo.value
|
|
const info = nodeDataInfo.value
|
|
|
|
+ abolishLoaing.value = true
|
|
const { error, code } = await wbsApi.abolishOne({
|
|
const { error, code } = await wbsApi.abolishOne({
|
|
primaryKeyId: info?.primaryKeyId || '',
|
|
primaryKeyId: info?.primaryKeyId || '',
|
|
classify: authBtnTabKey.value,
|
|
classify: authBtnTabKey.value,
|
|
})
|
|
})
|
|
|
|
+ abolishLoaing.value = false
|
|
if (!error && code === 200) {
|
|
if (!error && code === 200) {
|
|
window.$message?.success('撤回成功')
|
|
window.$message?.success('撤回成功')
|
|
getTableDataAll()
|
|
getTableDataAll()
|