【修改】下载
This commit is contained in:
@@ -297,6 +297,7 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
processForm: {
|
processForm: {
|
||||||
handler(val) {
|
handler(val) {
|
||||||
|
console.log(this.formControl,"jajjajajajajj")
|
||||||
this.form = this.processForm
|
this.form = this.processForm
|
||||||
console.log("变化了", this.form)
|
console.log("变化了", this.form)
|
||||||
if (this.form.secrecyLast) {
|
if (this.form.secrecyLast) {
|
||||||
@@ -317,16 +318,19 @@ export default {
|
|||||||
this.$refs.processFormRef.clearValidate()
|
this.$refs.processFormRef.clearValidate()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if(this.processForm.fileList.length>0){
|
console.log(this.processForm,"this.processForm.fileList.length")
|
||||||
|
if(this.processForm.fileList){
|
||||||
this.fileList=this.processForm.fileList.map(item=>{
|
if(this.processForm.fileList.length>0){
|
||||||
return {
|
this.fileList=this.processForm.fileList.map(item=>{
|
||||||
name:item.fileName,
|
return {
|
||||||
id:item.fileId
|
name:item.fileName,
|
||||||
}
|
id:item.fileId
|
||||||
})
|
}
|
||||||
this.handleCurrentChange(1)
|
})
|
||||||
|
this.handleCurrentChange(1)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
immediate: true
|
immediate: true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
|
debugger
|
||||||
// 如果是从草稿进入的
|
// 如果是从草稿进入的
|
||||||
if (this.$route.query.isDraft) {
|
if (this.$route.query.isDraft) {
|
||||||
this.isShowSave = true
|
this.isShowSave = true
|
||||||
@@ -152,13 +153,19 @@ export default {
|
|||||||
this.$set(this.assignForm,'oneApprove',submitJson.oneApprove)
|
this.$set(this.assignForm,'oneApprove',submitJson.oneApprove)
|
||||||
this.$set(this.assignForm,'oneApproveName',submitJson.oneApproveName)
|
this.$set(this.assignForm,'oneApproveName',submitJson.oneApproveName)
|
||||||
this.getLearder()
|
this.getLearder()
|
||||||
|
if (this.$route.query.type == 'yiban'){
|
||||||
|
this.formControl = true
|
||||||
|
this.initShow = true
|
||||||
|
this.showTableD = true
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (this.$route.query.type == 'yiban') {
|
else if (this.$route.query.type == 'yiban') {
|
||||||
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
|
||||||
this.prcType = this.$store.getters.handleProcess?.prcType
|
this.prcType = this.$store.getters.handleProcess?.prcType
|
||||||
|
|
||||||
this.formControl = true
|
this.formControl = true
|
||||||
this.initShow = true
|
this.initShow = true
|
||||||
this.showTableD = true
|
this.showTableD = true
|
||||||
|
|||||||
Reference in New Issue
Block a user