未符合项回退问题
This commit is contained in:
@@ -240,6 +240,7 @@ export default {
|
|||||||
name: "wfhxzgStep2",
|
name: "wfhxzgStep2",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
passInfo: 0,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
textarea: '', // 意见
|
textarea: '', // 意见
|
||||||
@@ -336,6 +337,9 @@ export default {
|
|||||||
},
|
},
|
||||||
getFormFieldList (item) {
|
getFormFieldList (item) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
if (item.passInfo !== undefined) {
|
||||||
|
this.passInfo = JSON.parse(JSON.stringify(item)).passInfo
|
||||||
|
}
|
||||||
this.dataList = JSON.parse(JSON.stringify(item)).standardInfoList
|
this.dataList = JSON.parse(JSON.stringify(item)).standardInfoList
|
||||||
this.textarea = JSON.parse(JSON.stringify(item)).commentText
|
this.textarea = JSON.parse(JSON.stringify(item)).commentText
|
||||||
})
|
})
|
||||||
@@ -406,6 +410,7 @@ export default {
|
|||||||
}
|
}
|
||||||
let json = {
|
let json = {
|
||||||
dockUserList: list,
|
dockUserList: list,
|
||||||
|
passInfo: this.passInfo
|
||||||
}
|
}
|
||||||
let flag=false
|
let flag=false
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
|
|||||||
@@ -247,6 +247,7 @@ export default {
|
|||||||
name: "wfhxzgStep3",
|
name: "wfhxzgStep3",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
passInfo: 0,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
commentText: '', // 意见
|
commentText: '', // 意见
|
||||||
@@ -320,6 +321,9 @@ export default {
|
|||||||
},
|
},
|
||||||
getFormFieldList (item) {
|
getFormFieldList (item) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
if (item.passInfo !== undefined) {
|
||||||
|
this.passInfo = JSON.parse(JSON.stringify(item)).passInfo
|
||||||
|
}
|
||||||
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
||||||
for (let i = 0; i<fileData.length; i++) {
|
for (let i = 0; i<fileData.length; i++) {
|
||||||
if (fileData[i].name === this.$store.getters.userInfo.userName) {
|
if (fileData[i].name === this.$store.getters.userInfo.userName) {
|
||||||
@@ -358,11 +362,11 @@ export default {
|
|||||||
if (this.commentText) {
|
if (this.commentText) {
|
||||||
|
|
||||||
var json = {
|
var json = {
|
||||||
|
passInfo: 1,
|
||||||
actionFlag: 1,
|
actionFlag: 1,
|
||||||
commentText: this.commentText,
|
commentText: this.commentText,
|
||||||
standardInfoList: this.standardInfoList,
|
standardInfoList: this.standardInfoList,
|
||||||
}
|
}
|
||||||
this.isSubmit = true
|
|
||||||
const params = new FormData();
|
const params = new FormData();
|
||||||
params.set('json', JSON.stringify(json))
|
params.set('json', JSON.stringify(json))
|
||||||
params.set('userId', this.$store.getters.userInfo.userId)
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
@@ -372,25 +376,10 @@ export default {
|
|||||||
this.$message.success('驳回成功')
|
this.$message.success('驳回成功')
|
||||||
this.$router.push('/processCenter')
|
this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请输入反馈意见')
|
this.$message.warning('请输入反馈意见')
|
||||||
}
|
}
|
||||||
/* this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.userId
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('驳回成功')
|
|
||||||
this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入反馈意见')
|
|
||||||
}*/
|
|
||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
@@ -468,6 +457,7 @@ export default {
|
|||||||
list.push(item[1])
|
list.push(item[1])
|
||||||
}
|
}
|
||||||
let json = {
|
let json = {
|
||||||
|
passInfo: this.passInfo,
|
||||||
responUserList: list,
|
responUserList: list,
|
||||||
actionFlag: 0
|
actionFlag: 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user