【修改】 修改报告详情
This commit is contained in:
@@ -119,8 +119,9 @@
|
|||||||
getProcessDetail(){
|
getProcessDetail(){
|
||||||
return new Promise((resolve,reject)=>{
|
return new Promise((resolve,reject)=>{
|
||||||
let params={
|
let params={
|
||||||
prcId: this.prcId,
|
prcId: this.prcId ,
|
||||||
prcType: this.prcType
|
prcType: this.prcType,
|
||||||
|
dataId:this.dataId
|
||||||
}
|
}
|
||||||
if(this.$route.query.type=='yiban') params.tag=1
|
if(this.$route.query.type=='yiban') params.tag=1
|
||||||
else params.tag=0
|
else params.tag=0
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ export default {
|
|||||||
mixins: [processMixin],
|
mixins: [processMixin],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
dataId:'',
|
||||||
showTableD: false,
|
showTableD: false,
|
||||||
initShow: false, // 控制审批历史是否显示 只有在不是第一次的时候才是true
|
initShow: false, // 控制审批历史是否显示 只有在不是第一次的时候才是true
|
||||||
treeType: '',
|
treeType: '',
|
||||||
@@ -125,6 +125,7 @@ export default {
|
|||||||
// 如果是从草稿进入的
|
// 如果是从草稿进入的
|
||||||
if (this.$route.query.isDraft) {
|
if (this.$route.query.isDraft) {
|
||||||
this.isShowSave = true
|
this.isShowSave = true
|
||||||
|
this.dataId= this.$store.getters.handleProcess.dataId
|
||||||
this.taskId = this.$store.getters.handleProcess?.taskId
|
this.taskId = this.$store.getters.handleProcess?.taskId
|
||||||
this.prcNum = this.$store.getters.handleProcess?.prcNum
|
this.prcNum = this.$store.getters.handleProcess?.prcNum
|
||||||
this.prcId = this.$store.getters.handleProcess?.prcId
|
this.prcId = this.$store.getters.handleProcess?.prcId
|
||||||
@@ -247,6 +248,11 @@ export default {
|
|||||||
},
|
},
|
||||||
// 保存
|
// 保存
|
||||||
handleSave(){
|
handleSave(){
|
||||||
|
this.processForm=this.$refs.basMes.form
|
||||||
|
if(this.$refs.basMes.tags){
|
||||||
|
this.processForm.keyContent = JSON.stringify(this.$refs.basMes.tags)
|
||||||
|
}
|
||||||
|
this.processForm.prcName=this.processForm.name&&this.processForm.name
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
|
|
||||||
let submitJson = JSON.stringify({...this.assignForm, userId: this.$store.getters.userInfo.usid})
|
let submitJson = JSON.stringify({...this.assignForm, userId: this.$store.getters.userInfo.usid})
|
||||||
|
|||||||
@@ -122,9 +122,17 @@ export default {
|
|||||||
path: '/permission/launch',
|
path: '/permission/launch',
|
||||||
query: {
|
query: {
|
||||||
id: this.$route.query.id,
|
id: this.$route.query.id,
|
||||||
isDraft: 1
|
isDraft: 1,
|
||||||
}
|
}
|
||||||
})
|
});break;
|
||||||
|
case '4' :
|
||||||
|
this.$router.push({
|
||||||
|
path: '/reportprocess/launch',
|
||||||
|
query: {
|
||||||
|
id: this.$route.query.id,
|
||||||
|
isDraft: 1
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user