修改流程bug

This commit is contained in:
宋伟佳
2021-09-14 13:37:48 +08:00
parent 4b0196714f
commit a25118109d
@@ -473,6 +473,8 @@ export default {
handleSubmit() {
this.isSubmit = true;
this.listForm.commentText = this.commentText;
this.listForm.children = this.dataList[0].children
this.listForm.dataList = this.dataList
const json = JSON.stringify(this.listForm);
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.taskIds,
@@ -567,14 +569,14 @@ export default {
} else if (this.type === 2) {
this.selectList.forEach(item => {
this.dataList.map(items => {
if (item.id == items.id) {
if (item.id === items.id) {
items.workPeople = "";
items.workPeopleId = "";
this.$message.warning('您只能针对条款进行分发')
}
if (items.children.length) {
items.children.map(childrenItem => {
if (childrenItem.id == item.id) {
if (childrenItem.id === item.id) {
childrenItem.workPeople = data[0].name;
childrenItem.workPeopleId = data[0].id;
}