Browse Source

修改流程表单操作成功提示弹窗

dev
long 2 years ago
parent
commit
7ca1f21063
  1. 2
      src/views/activiti/applyHome.vue
  2. 2
      src/views/activiti/form/ProcessMaterialBorrowingForm.vue
  3. 2
      src/views/activiti/form/ProcessMaterialsDeliveryForm.vue
  4. 2
      src/views/activiti/form/ProcessMaterialsReturnForm.vue
  5. 2
      src/views/activiti/form/ProcessSpecialMaterialsForm.vue
  6. 3
      src/views/activiti/form/ProcessUdgetPlanForm.vue
  7. 2
      src/views/activiti/form/demoForm.vue

2
src/views/activiti/applyHome.vue

@ -173,7 +173,7 @@
/*提交成功申请后*/
afterSub(formData){
this.lcModa.visible = false;
this.$message.success("请前往我的申请列表提交审批!")
this.$message.success("操作成功!请前往我的申请列表提交审批!")
},
/*前往我的申请页面*/
handleToApplyList() {

2
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 {

2
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 {

2
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 {

2
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 {

3
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 {

2
src/views/activiti/form/demoForm.vue

@ -120,7 +120,7 @@
this.btndisabled = true;
this.postFormAction(url,formData).then((res)=>{
if (res.success){
this.$message.success("保存成功!")
//this.$message.success("")
//todo
this.$emit('afterSubmit',formData)
}else {

Loading…
Cancel
Save