|
@@ -1534,10 +1534,11 @@ export default {
|
|
|
|
|
|
//文件补充
|
|
|
fileApply(vars){
|
|
|
+ let message = ""
|
|
|
if (this.formType === "2") {
|
|
|
// 外置表单
|
|
|
this.$refs.form.fileApply(
|
|
|
- (businessTable, businessId, inputForm,recordType,createById,newTitle,title,procDefId,procDefKey) => {
|
|
|
+ (businessTable, businessId, inputForm,recordType,createById,newTitle,title,procDefId,procDefKey,fileMessage) => {
|
|
|
vars = { ...vars, ...inputForm ,recordType}
|
|
|
console.log(vars)
|
|
|
if (procDefId) {
|
|
@@ -1564,6 +1565,7 @@ export default {
|
|
|
if (!this.commonJS.isEmpty(createById)) {
|
|
|
assignee = createById
|
|
|
}
|
|
|
+ message = fileMessage
|
|
|
taskService
|
|
|
.start({
|
|
|
procDefId: this.procDefId,
|
|
@@ -1577,7 +1579,7 @@ export default {
|
|
|
days: this.days,
|
|
|
})
|
|
|
.then((data) => {
|
|
|
- this.$message.success("启动成功");
|
|
|
+ this.$message.success(message);
|
|
|
// this.changeBusiness()
|
|
|
// useTabs.close();
|
|
|
// if (!this.commonJS.isEmpty(this.$route.query.routePath)) {
|