From 7ca1f21063d7323403f6d874877741f18c464868 Mon Sep 17 00:00:00 2001 From: long <18782126717@163.com> Date: Fri, 4 Nov 2022 14:07:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=81=E7=A8=8B=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E6=93=8D=E4=BD=9C=E6=88=90=E5=8A=9F=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/activiti/applyHome.vue | 2 +- src/views/activiti/form/ProcessMaterialBorrowingForm.vue | 2 +- src/views/activiti/form/ProcessMaterialsDeliveryForm.vue | 2 +- src/views/activiti/form/ProcessMaterialsReturnForm.vue | 2 +- src/views/activiti/form/ProcessSpecialMaterialsForm.vue | 2 +- src/views/activiti/form/ProcessUdgetPlanForm.vue | 3 ++- src/views/activiti/form/demoForm.vue | 4 ++-- 7 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/views/activiti/applyHome.vue b/src/views/activiti/applyHome.vue index 11c9e9c..d81b83a 100644 --- a/src/views/activiti/applyHome.vue +++ b/src/views/activiti/applyHome.vue @@ -173,7 +173,7 @@ /*提交成功申请后*/ afterSub(formData){ this.lcModa.visible = false; - this.$message.success("请前往我的申请列表提交审批!") + this.$message.success("操作成功!请前往我的申请列表提交审批!") }, /*前往我的申请页面*/ handleToApplyList() { diff --git a/src/views/activiti/form/ProcessMaterialBorrowingForm.vue b/src/views/activiti/form/ProcessMaterialBorrowingForm.vue index aab57c9..cc7d846 100644 --- a/src/views/activiti/form/ProcessMaterialBorrowingForm.vue +++ b/src/views/activiti/form/ProcessMaterialBorrowingForm.vue @@ -419,7 +419,7 @@ this.btndisabled = true; httpAction(url,formData,method).then((res)=>{ if (res.success){ - this.$message.success("保存成功!") + //this.$message.success("保存成功!") //todo 将表单的数据传给父组件 this.$emit('afterSubmit',formData) }else { diff --git a/src/views/activiti/form/ProcessMaterialsDeliveryForm.vue b/src/views/activiti/form/ProcessMaterialsDeliveryForm.vue index 7f440b9..c646b0a 100644 --- a/src/views/activiti/form/ProcessMaterialsDeliveryForm.vue +++ b/src/views/activiti/form/ProcessMaterialsDeliveryForm.vue @@ -1010,7 +1010,7 @@ this.btndisabled = true; httpAction(url,formData,method).then((res)=>{ if (res.success){ - this.$message.success("保存成功!") + //this.$message.success("保存成功!") //todo 将表单的数据传给父组件 this.$emit('afterSubmit',formData) }else { diff --git a/src/views/activiti/form/ProcessMaterialsReturnForm.vue b/src/views/activiti/form/ProcessMaterialsReturnForm.vue index ac12f2a..0a3ae50 100644 --- a/src/views/activiti/form/ProcessMaterialsReturnForm.vue +++ b/src/views/activiti/form/ProcessMaterialsReturnForm.vue @@ -372,7 +372,7 @@ this.btndisabled = true; httpAction(url,formData,method).then((res)=>{ if (res.success){ - this.$message.success("保存成功!") + //this.$message.success("保存成功!") //todo 将表单的数据传给父组件 this.$emit('afterSubmit',formData) }else { diff --git a/src/views/activiti/form/ProcessSpecialMaterialsForm.vue b/src/views/activiti/form/ProcessSpecialMaterialsForm.vue index 8259bcb..48cb8ef 100644 --- a/src/views/activiti/form/ProcessSpecialMaterialsForm.vue +++ b/src/views/activiti/form/ProcessSpecialMaterialsForm.vue @@ -365,7 +365,7 @@ this.btndisabled = true; httpAction(url,formData,method).then((res)=>{ if (res.success){ - this.$message.success("保存成功!") + //this.$message.success("保存成功!") //todo 将表单的数据传给父组件 this.$emit('afterSubmit',formData) }else { diff --git a/src/views/activiti/form/ProcessUdgetPlanForm.vue b/src/views/activiti/form/ProcessUdgetPlanForm.vue index a6b338d..ccbc0f9 100644 --- a/src/views/activiti/form/ProcessUdgetPlanForm.vue +++ b/src/views/activiti/form/ProcessUdgetPlanForm.vue @@ -725,6 +725,7 @@ }, /** 整理成formData */ classifyIntoFormData(allValues) { + console.log('查看子表数据',allValues) let main = Object.assign(this.model, allValues.formValue) return { ...main, // 展开 @@ -790,7 +791,7 @@ this.btndisabled = true; httpAction(url,formData,method).then((res)=>{ if (res.success){ - this.$message.success("保存成功!") + //this.$message.success("保存成功!") //todo 将表单的数据传给父组件 this.$emit('afterSubmit',formData) }else { diff --git a/src/views/activiti/form/demoForm.vue b/src/views/activiti/form/demoForm.vue index 400d137..859cc14 100644 --- a/src/views/activiti/form/demoForm.vue +++ b/src/views/activiti/form/demoForm.vue @@ -120,8 +120,8 @@ this.btndisabled = true; this.postFormAction(url,formData).then((res)=>{ if (res.success){ - this.$message.success("保存成功!") - //todo 将表单的数据传给父组件 + //this.$message.success("保存成功!") + //todo 将表单的数据传给父组件 this.$emit('afterSubmit',formData) }else { this.$message.error(res.message)