52369 标准合规评估流程--被驳回之后,点击保存,保存之后,再新增一条数据,然后删除,提交流程,提交的时候列表还是有两个数据
This commit is contained in:
@@ -698,11 +698,15 @@ export default {
|
|||||||
* @description: 动态表单读取
|
* @description: 动态表单读取
|
||||||
*/
|
*/
|
||||||
getFormFieldList (item) {
|
getFormFieldList (item) {
|
||||||
item.commentText = ''
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if(item.form){
|
if(item.form){
|
||||||
this.hisListForm = JSON.parse(JSON.stringify(item.form))
|
this.hisListForm = JSON.parse(JSON.stringify(item.form))
|
||||||
this.listForm = JSON.parse(JSON.stringify(item.form))
|
this.listForm = JSON.parse(JSON.stringify(item.form))
|
||||||
|
if(item.taskInfo === '被驳回之后的保存'){
|
||||||
|
this.commentText = item.commentText
|
||||||
|
}else{
|
||||||
|
this.commentText = ''
|
||||||
|
}
|
||||||
this.listForm.prcNum = this.prcNum
|
this.listForm.prcNum = this.prcNum
|
||||||
this.listForm.prcName = this.prcName
|
this.listForm.prcName = this.prcName
|
||||||
this.listForm['id'] = item.id
|
this.listForm['id'] = item.id
|
||||||
@@ -920,7 +924,7 @@ export default {
|
|||||||
_formData.append("taskIds", this.taskIds);
|
_formData.append("taskIds", this.taskIds);
|
||||||
_formData.append("prcType", "5");
|
_formData.append("prcType", "5");
|
||||||
_formData.append("json", JSON.stringify({
|
_formData.append("json", JSON.stringify({
|
||||||
taskInfo: "选择已拆分标准",
|
taskInfo: "被驳回之后的保存",
|
||||||
form: this.listForm,
|
form: this.listForm,
|
||||||
roleForm: this.roleForm,
|
roleForm: this.roleForm,
|
||||||
commentText: this.commentText
|
commentText: this.commentText
|
||||||
@@ -1020,7 +1024,8 @@ export default {
|
|||||||
commentText: this.commentText
|
commentText: this.commentText
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
let json = this.hisListForm
|
this.listForm.dataList = this.dataList
|
||||||
|
let json = this.listForm
|
||||||
this.$http.post("lawss/activiti/completeTaskNew", {
|
this.$http.post("lawss/activiti/completeTaskNew", {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
|
|||||||
Reference in New Issue
Block a user