田源
2024-08-09 c2ffa7702bc2a58b75ac7f531177e7fb50976609
Source/plt-web/plt-web-ui/src/components/actions/handlers.js
@@ -28,20 +28,23 @@
      module.doAction(options,callback);
    })},
    //启动流程
    launchworkflow: () => {import("@/components/actions/base/StartWorkflowAction").then(module => {
    startwork: () => {import("@/components/actions/base/StartWorkflowAction").then(module => {
      module.doAction(options,callback);
    })},
    //上传文件
    uploadfile: () => {import("@/components/actions/base/uploadFileAction").then(module => {
      module.doAction(options,callback);
    })},
    //上传文件
    //下载文件
    downloadfile: () => {import("@/components/actions/base/downloadFileAction").then(module => {
      module.doAction(options,callback);
    })},
    uprevision: () => {import("@/components/actions/base/upRevisionAction").then(module => {
      module.doAction(options,callback);
    })}
  };
  if (handlers[type]) {
    handlers[type]()
    handlers[type]();
  } else {
    Vue.prototype.$message.error('未找到对应action,请重新配置按钮!');
  }