feat: There is no way the, bug #52429
This commit is contained in:
@@ -52,6 +52,9 @@
|
|||||||
v-model="form.cycleTime"
|
v-model="form.cycleTime"
|
||||||
type="daterange"
|
type="daterange"
|
||||||
range-separator="—"
|
range-separator="—"
|
||||||
|
align="right"
|
||||||
|
unlink-panels
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
start-placeholder="开始日期"
|
start-placeholder="开始日期"
|
||||||
end-placeholder="结束日期">
|
end-placeholder="结束日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
@@ -461,6 +464,16 @@ export default {
|
|||||||
this.roleForm = mes.roleForm
|
this.roleForm = mes.roleForm
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
handleProcessStandardNext(status) {
|
handleProcessStandardNext(status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
// 新增
|
// 新增
|
||||||
@@ -484,12 +497,20 @@ export default {
|
|||||||
const bringData = res.data
|
const bringData = res.data
|
||||||
const json = Object.assign(bringData, bringData.attrInfoMap);
|
const json = Object.assign(bringData, bringData.attrInfoMap);
|
||||||
this.form = JSON.parse(JSON.stringify(json))
|
this.form = JSON.parse(JSON.stringify(json))
|
||||||
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
const dateArr = []
|
||||||
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
if(this.form.commentCycleStart && this.form.commentCycleEnd){
|
||||||
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
dateArr[0] = this.form.commentCycleStart
|
||||||
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
dateArr[1] = this.form.commentCycleEnd
|
||||||
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
this.form.cycleTime = dateArr
|
||||||
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
}
|
||||||
|
this.form['lawsSyqy'] = this.filterObj(this.form['lawsSyqy'])
|
||||||
|
this.form['lawsSycx'] = this.filterObj(this.form['lawsSycx'])
|
||||||
|
this.form['lawsLabel'] = this.filterObj(this.form['lawsLabel'])
|
||||||
|
this.form['YYRZLAWS'] = this.filterObj(this.form['YYRZLAWS'])
|
||||||
|
this.form['NYLXLAWS'] = this.filterObj(this.form['NYLXLAWS'])
|
||||||
|
this.form['TGRLAWS'] = this.filterObj(this.form['TGRLAWS'])
|
||||||
|
this.form['ZRBMLAWS'] = this.filterObj(this.form['ZRBMLAWS'])
|
||||||
|
this.form['TGDWLAWS'] = this.filterObj(this.form['TGDWLAWS'])
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = bringData.id
|
this.form['id'] = bringData.id
|
||||||
@@ -650,6 +671,7 @@ export default {
|
|||||||
json.filesId = this.addFjList
|
json.filesId = this.addFjList
|
||||||
json.filesName = this.form.fjListName
|
json.filesName = this.form.fjListName
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true;
|
||||||
this.$http.post('lawss/activiti/startProcessRollBack', {
|
this.$http.post('lawss/activiti/startProcessRollBack', {
|
||||||
createUser: this.$store.getters.userInfo.userId,
|
createUser: this.$store.getters.userInfo.userId,
|
||||||
createUserName: this.$store.getters.userInfo.userName,
|
createUserName: this.$store.getters.userInfo.userName,
|
||||||
@@ -679,10 +701,12 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false;
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('流程启动失败')
|
this.$message.warning('流程启动失败')
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -201,6 +201,8 @@ export default {
|
|||||||
this.drawerModal = true
|
this.drawerModal = true
|
||||||
},
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
userId:this.$store.getters.userInfo.userId, // 委托人
|
userId:this.$store.getters.userInfo.userId, // 委托人
|
||||||
@@ -209,6 +211,8 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
this.processNum()
|
this.processNum()
|
||||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
@@ -306,6 +310,7 @@ export default {
|
|||||||
this.$refs["zczqyjForm"].validate((valid) => {
|
this.$refs["zczqyjForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
|
this.saveLoading = true;
|
||||||
var json = this.json;
|
var json = this.json;
|
||||||
json.commentText = this.commentText;
|
json.commentText = this.commentText;
|
||||||
json.responUserList = this.form.responUserList;
|
json.responUserList = this.form.responUserList;
|
||||||
@@ -323,6 +328,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false;
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return this.$message.warning("请完善基础信息");
|
return this.$message.warning("请完善基础信息");
|
||||||
@@ -336,7 +342,6 @@ export default {
|
|||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
let data = JSON.parse(res.mesg)
|
let data = JSON.parse(res.mesg)
|
||||||
console.log(data);
|
|
||||||
this.form.lawsNumber = data.form ? data.form.lawsNumber : data.lawsNumber
|
this.form.lawsNumber = data.form ? data.form.lawsNumber : data.lawsNumber
|
||||||
this.form.responUserAndInstitutionNameMap = data.form ? data.form.responUserAndInstitutionNameMap : ''
|
this.form.responUserAndInstitutionNameMap = data.form ? data.form.responUserAndInstitutionNameMap : ''
|
||||||
this.form.lawsName = data.form ? data.form.lawsName : data.lawsName
|
this.form.lawsName = data.form ? data.form.lawsName : data.lawsName
|
||||||
|
|||||||
@@ -277,6 +277,8 @@ export default {
|
|||||||
department: '',//提出部门
|
department: '',//提出部门
|
||||||
fjList: [],
|
fjList: [],
|
||||||
fjListId: '',
|
fjListId: '',
|
||||||
|
commentUser: this.$store.getters.userInfo.userId,
|
||||||
|
commentUserName: this.$store.getters.userInfo.userName,
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
responUserList: [
|
responUserList: [
|
||||||
@@ -387,6 +389,7 @@ export default {
|
|||||||
|
|
||||||
handleAccept() {
|
handleAccept() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true;
|
||||||
execTask({
|
execTask({
|
||||||
todoId: this.todoId // 当前节点ID
|
todoId: this.todoId // 当前节点ID
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@@ -395,9 +398,12 @@ export default {
|
|||||||
this.$router.push('/processCenter')
|
this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false;
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSave() {
|
handleSave() {
|
||||||
|
this.isSubmit = true;
|
||||||
this.saveLoading = true;
|
this.saveLoading = true;
|
||||||
let json = this.json
|
let json = this.json
|
||||||
json.commentText = this.commentText
|
json.commentText = this.commentText
|
||||||
@@ -414,10 +420,13 @@ export default {
|
|||||||
}));
|
}));
|
||||||
saveTaskForPub(_formData).then(res => {
|
saveTaskForPub(_formData).then(res => {
|
||||||
this.saveLoading = false;
|
this.saveLoading = false;
|
||||||
|
this.isSubmit = false;
|
||||||
|
|
||||||
this.$message.success("保存成功");
|
this.$message.success("保存成功");
|
||||||
this.bpnId = res.result;
|
this.bpnId = res.result;
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
this.saveLoading = false;
|
this.saveLoading = false;
|
||||||
|
this.isSubmit = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
@@ -448,6 +457,7 @@ export default {
|
|||||||
// }
|
// }
|
||||||
else {
|
else {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true;
|
||||||
var json = this.json
|
var json = this.json
|
||||||
json.commentText = this.commentText
|
json.commentText = this.commentText
|
||||||
json.info = this.data
|
json.info = this.data
|
||||||
@@ -466,6 +476,8 @@ export default {
|
|||||||
this.$router.push('/processCenter')
|
this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false;
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -512,6 +524,8 @@ export default {
|
|||||||
console.log(item);
|
console.log(item);
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.form = item.form ? JSON.parse(JSON.stringify(item.form.form)) : JSON.parse(JSON.stringify(item));
|
this.form = item.form ? JSON.parse(JSON.stringify(item.form.form)) : JSON.parse(JSON.stringify(item));
|
||||||
|
this.form.commentUser = this.$store.getters.userInfo.userId
|
||||||
|
this.form.commentUserName = this.$store.getters.userInfo.userName
|
||||||
this.data = item.form ? item.dataList : []
|
this.data = item.form ? item.dataList : []
|
||||||
this.commentText = item.form ? item.commentText : ''
|
this.commentText = item.form ? item.commentText : ''
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -264,7 +264,10 @@ export default {
|
|||||||
this.drawerModal = true
|
this.drawerModal = true
|
||||||
},
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
changeAssigneeNew({
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
|
|
||||||
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
userId:this.$store.getters.userInfo.userId, // 委托人
|
userId:this.$store.getters.userInfo.userId, // 委托人
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
@@ -272,11 +275,15 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
this.processNum()
|
this.processNum()
|
||||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -308,6 +315,7 @@ export default {
|
|||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
var json = this.json
|
var json = this.json
|
||||||
//这个就是原来的actionFlag,用来表示流程是驳回还是同意
|
//这个就是原来的actionFlag,用来表示流程是驳回还是同意
|
||||||
json.actionFlag = 0
|
json.actionFlag = 0
|
||||||
@@ -322,6 +330,7 @@ export default {
|
|||||||
this.$router.push('/processCenter')
|
this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSubmitNo() {
|
handleSubmitNo() {
|
||||||
@@ -362,6 +371,8 @@ export default {
|
|||||||
this.form.lawsName = data.lawsName || data.form.lawsName
|
this.form.lawsName = data.lawsName || data.form.lawsName
|
||||||
this.form.endTime = data.endTime || data.form.endTime
|
this.form.endTime = data.endTime || data.form.endTime
|
||||||
this.form.cname = data.cname || data.form.cname
|
this.form.cname = data.cname || data.form.cname
|
||||||
|
this.form.commentUser = data.commentUser || data.form.commentUser
|
||||||
|
this.form.commentUserName = data.commentUserName || data.form.commentUserName
|
||||||
this.json = data
|
this.json = data
|
||||||
this.data = data.info || data.data
|
this.data = data.info || data.data
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -391,6 +391,8 @@ export default {
|
|||||||
this.drawerModal = true
|
this.drawerModal = true
|
||||||
},
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
userId:this.$store.getters.userInfo.userId, // 委托人
|
userId:this.$store.getters.userInfo.userId, // 委托人
|
||||||
@@ -405,6 +407,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
@@ -464,6 +468,7 @@ export default {
|
|||||||
this.$message.warning("请输入征求意见稿");
|
this.$message.warning("请输入征求意见稿");
|
||||||
} else {
|
} else {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
|
this.saveLoading = true
|
||||||
var json = this.json;
|
var json = this.json;
|
||||||
json.actionFlag = 0;
|
json.actionFlag = 0;
|
||||||
json.commentText = this.commentText;
|
json.commentText = this.commentText;
|
||||||
@@ -479,6 +484,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -273,6 +273,8 @@ export default {
|
|||||||
this.drawerModal = true
|
this.drawerModal = true
|
||||||
},
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
userId:this.$store.getters.userInfo.userId, // 委托人
|
userId:this.$store.getters.userInfo.userId, // 委托人
|
||||||
@@ -287,6 +289,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
@@ -351,7 +355,8 @@ export default {
|
|||||||
if (this.data.length < 1) {
|
if (this.data.length < 1) {
|
||||||
this.$message.warning("请输入征求意见搞");
|
this.$message.warning("请输入征求意见搞");
|
||||||
} else {
|
} else {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
var json = this.json;
|
var json = this.json;
|
||||||
json.actionFlag = 0;
|
json.actionFlag = 0;
|
||||||
json.commentText = this.commentText;
|
json.commentText = this.commentText;
|
||||||
@@ -365,6 +370,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -273,6 +273,8 @@ export default {
|
|||||||
this.drawerModal = true
|
this.drawerModal = true
|
||||||
},
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
userId:this.$store.getters.userInfo.userId, // 委托人
|
userId:this.$store.getters.userInfo.userId, // 委托人
|
||||||
@@ -287,6 +289,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
@@ -352,6 +356,7 @@ export default {
|
|||||||
this.$message.warning("请输入征求意见搞");
|
this.$message.warning("请输入征求意见搞");
|
||||||
} else {
|
} else {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
|
this.saveLoading = true
|
||||||
var json = this.json;
|
var json = this.json;
|
||||||
json.actionFlag = 0;
|
json.actionFlag = 0;
|
||||||
json.commentText = this.commentText;
|
json.commentText = this.commentText;
|
||||||
@@ -365,6 +370,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -273,6 +273,8 @@ export default {
|
|||||||
this.drawerModal = true
|
this.drawerModal = true
|
||||||
},
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
userId:this.$store.getters.userInfo.userId, // 委托人
|
userId:this.$store.getters.userInfo.userId, // 委托人
|
||||||
@@ -287,6 +289,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
@@ -352,6 +356,7 @@ export default {
|
|||||||
this.$message.warning("请输入征求意见搞");
|
this.$message.warning("请输入征求意见搞");
|
||||||
} else {
|
} else {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
|
this.saveLoading = true
|
||||||
var json = this.json;
|
var json = this.json;
|
||||||
json.actionFlag = 0;
|
json.actionFlag = 0;
|
||||||
json.commentText = this.commentText;
|
json.commentText = this.commentText;
|
||||||
@@ -365,6 +370,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -273,6 +273,8 @@ export default {
|
|||||||
this.drawerModal = true
|
this.drawerModal = true
|
||||||
},
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
userId:this.$store.getters.userInfo.userId, // 委托人
|
userId:this.$store.getters.userInfo.userId, // 委托人
|
||||||
@@ -287,6 +289,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
@@ -351,7 +355,8 @@ export default {
|
|||||||
if (this.data.length < 1) {
|
if (this.data.length < 1) {
|
||||||
this.$message.warning("请输入征求意见搞");
|
this.$message.warning("请输入征求意见搞");
|
||||||
} else {
|
} else {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
var json = this.json;
|
var json = this.json;
|
||||||
json.actionFlag = 0;
|
json.actionFlag = 0;
|
||||||
json.commentText = this.commentText;
|
json.commentText = this.commentText;
|
||||||
@@ -365,6 +370,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -403,9 +409,9 @@ export default {
|
|||||||
this.form.endTime = data.endTime || data.form.endTime;
|
this.form.endTime = data.endTime || data.form.endTime;
|
||||||
this.form.cname = data.cname || data.form.cname;
|
this.form.cname = data.cname || data.form.cname;
|
||||||
this.oldData = JSON.parse(JSON.stringify(data.info))
|
this.oldData = JSON.parse(JSON.stringify(data.info))
|
||||||
var arr = []
|
const arr = [];
|
||||||
data.info.forEach(item => {
|
data.info.forEach(item => {
|
||||||
if (item.state != '3') {
|
if (item.state !== '3') {
|
||||||
arr.push(item)
|
arr.push(item)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user