Browse Source

改变布局

power_master
herenshan112 2 months ago
parent
commit
5c1d471e2d
  1. 2
      src/components/DesignForm/public/expand/lowcodeImage.vue
  2. 13
      src/views/sysworkflow/lowcodepage/pageFlow/newTableFlow.vue

2
src/components/DesignForm/public/expand/lowcodeImage.vue

@ -16,7 +16,7 @@ import { Plus } from '@element-plus/icons-vue'
import type { UploadProps, UploadUserFile } from 'element-plus' import type { UploadProps, UploadUserFile } from 'element-plus'
import { useRoute } from 'vue-router'; import { useRoute } from 'vue-router';
import NoImgPage from '@/assets/image/1.png' import NoImgPage from '@/assets/images/1.png'
import { getCurrentInstance } from 'vue'; import { getCurrentInstance } from 'vue';

13
src/views/sysworkflow/lowcodepage/pageFlow/newTableFlow.vue

@ -385,10 +385,10 @@ const beforeSubmit = (params: any) => {
@ 功能: 提交成功回调 @ 功能: 提交成功回调
*/ */
const afterSubmit = (type: string, val?: any) => { const afterSubmit = (type: string, val?: any) => {
// console.log("------------------>",type,val) console.log("表单提交成功------------------>",type,val)
// console.log("------------------>",flowMap) console.log("流程------------------>",flowMap)
if (type === "success") { if (type === "success") {
emits("searchquery");
if (isFlowTable.value) { if (isFlowTable.value) {
if (val.code == 0) { if (val.code == 0) {
if (val.data) { if (val.data) {
@ -399,9 +399,16 @@ const afterSubmit = (type: string, val?: any) => {
}; };
startRunFlow(sendInfo).then((data: any) => { startRunFlow(sendInfo).then((data: any) => {
console.log("流程提交成功--------1---------->",data) console.log("流程提交成功--------1---------->",data)
emits("searchquery");
}); });
}else{
emits("searchquery");
} }
}else{
emits("searchquery");
} }
}else{
emits("searchquery");
} }
} }
closeAppSubmit(); closeAppSubmit();

Loading…
Cancel
Save