feat: There is no way the, 草稿ID 判断参数是否存在
This commit is contained in:
@@ -588,7 +588,7 @@ export default {
|
||||
if(this.qbfsForm.standSort && this.qbfsForm.standSort.indexOf("Q/QCBFC") !== -1){
|
||||
this.routerBussProStand()
|
||||
}
|
||||
if (this.$route.query.bpnId !== '') {
|
||||
if (this.$route.query.bpnId && this.$route.query.bpnId !== '') {
|
||||
let taskId = {
|
||||
id: this.$route.query.bpnId
|
||||
}
|
||||
|
||||
@@ -586,7 +586,7 @@
|
||||
import ProcessHeader from '../../components/ProcessHeader'
|
||||
import ProcessFooter from '../../components/ProcessFooter'
|
||||
import ProcessTitle from '../../components/ProcessTitle'
|
||||
import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,inboundLiaisonDetail,processCreateBuss,evaluationHisList} from "api/process";
|
||||
import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,inboundLiaisonDetail,processCreateBuss,evaluationHisList,taskDel} from "api/process";
|
||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
|
||||
let Base64 = require('js-base64').Base64;
|
||||
@@ -2450,6 +2450,14 @@
|
||||
this.$http.post("esRevisePlan/es-revise-plan/modPlan", planForm, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (this.$route.query.bpnId && this.$route.query.bpnId !== '') {
|
||||
let taskId = {
|
||||
id: this.$route.query.bpnId
|
||||
}
|
||||
taskDel(taskId).then(res=>{
|
||||
return res
|
||||
})
|
||||
}
|
||||
this.submitLoading = false
|
||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||
})
|
||||
|
||||
@@ -2408,7 +2408,7 @@
|
||||
this.$http.post("esRevisePlan/es-revise-plan/modPlan", planForm, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (this.$route.query.bpnId !== '') {
|
||||
if (this.$route.query.bpnId && this.$route.query.bpnId !== '') {
|
||||
let taskId = {
|
||||
id: this.$route.query.bpnId
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user