ddy-process-pc-vue3 1.0.1-rc.2.29 → 1.0.1-rc.2.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ddy-process-pc-vue3",
3
- "version": "1.0.1-rc.2.29",
3
+ "version": "1.0.1-rc.2.31",
4
4
  "description": "> pc端流程组件",
5
5
  "main": "./ddy-process-pc-vue3.umd.cjs",
6
6
  "style": "./style.css",
@@ -203,7 +203,7 @@ const ai = "/aws", hi = "/bladex/blade-workflow", $D = "/auth", et = {
203
203
  url: hi + "/repository/getProcessDefList",
204
204
  param: {
205
205
  ...e,
206
- businessCode: e.businessCode
206
+ businessCode: e.businessCode || e.businessType
207
207
  },
208
208
  type: "post"
209
209
  };
@@ -1,4 +1,4 @@
1
- (function(Mi,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("vue"),require("checked-pick-pc")):typeof define=="function"&&define.amd?define(["exports","vue","checked-pick-pc"],w):(Mi=typeof globalThis<"u"?globalThis:Mi||self,w(Mi["ddy-process-pc-vue3"]={},Mi.Vue,Mi.checkedPickPc))})(this,function(Mi,w,KM){"use strict";const XM=e=>e&&typeof e=="object"&&"default"in e?e:{default:e};function ZM(e,n){for(var i=0;i<n.length;i++){const a=n[i];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in e)){const c=Object.getOwnPropertyDescriptor(a,s);c&&Object.defineProperty(e,s,c.get?c:{enumerable:!0,get:()=>a[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const Fi=XM(w);let Ze;const Wt="/aws",tn="/bladex/blade-workflow",l1="/auth",Xe={getAjaxObj:()=>({get:(e,n)=>{let i={url:e,param:n.params,type:"get"};return Ze(i)},post:(e,n)=>Ze({url:e,param:n,type:"post"})}),getAjax:()=>Ze,setAjax:e=>{Ze=e},common:{deptUser(e){return Ze({url:"/system/dept/list/dept/user",param:{subjectId:e},type:"get"})},getTaskAuditor(e,n){return Ze({url:"/auth/post/getTaskAuditor",param:{deptId:e,taskPostIds:n},type:"post"})},chexiao(e){let n={url:tn+"/tis/withdrawTask",param:{processInstId:e},type:"get"};return Ze(n)},cuiban(e){let n={url:tn+"/tis/reminders",param:{processInstId:e},type:"get"};return Ze(n)}},pis:{start(e){let n={url:Wt+"/pis/start",param:e,type:"post"};return Ze(n)},createAndStart(e){let n={url:tn+"/pis/createAndStart",param:e,type:"post"};return Ze(n)},cancel(e,n){let i={url:Wt+"/pis/cancel",param:{processInstId:e,processBusinessKey:n},type:"post"};return Ze(i)},findNodeParticipantRows(e){let n={url:Wt+"/pis/findNodeParticipantRows",param:{processInstId:e},type:"get"};return Ze(n)},revoke(e,n){let i={url:Wt+"/pis/revoke",param:{processInstId:e,processBusinessKey:n},type:"post"};return Ze(i)},getProcessStatus(e,n){let i={url:Wt+"/pis/getProcessStatus",param:{processInstId:e,taskId:n||""},type:"get"};return Ze(i)},getProcessInstanceById(e){let n={url:Wt+"/pis/getProcessInstanceById",param:{processInstId:e},type:"get"};return Ze(n)},reactivate(e){let n={url:tn+"/pis/reactivate",param:e,type:"post"};return Ze(n)},getProcessInstanceByBusinessKey(e){let n={url:Wt+"/pis/getProcessInstanceByBusinessKey",param:{businessKey:e},type:"get"};return Ze(n)},getProcessForecast(e){let n={url:Wt+"/pis/getProcessForecast",param:e,type:"post"};return Ze(n)},deleteProcessById(e){let n={url:Wt+"/pis/deleteProcessById",param:{processInstId:e},type:"get"};return Ze(n)}},tis:{getTaskModelDetail(e){let n={url:tn+"/tis/getTaskModelDetail",param:e,type:"get"};return Ze(n)},query(e,n,i,a){let s={url:Wt+"/tis/query",param:{appId:e,firstRow:n*i-i,rowCount:n*i,returnVars:!0,titleLike:a,taskState:1},type:"get"};return Ze(s)},patchSave(e){let n={url:Wt+"/meta/annex/patchSave",param:e,type:"post"};return Ze(n)},queryTaskPage(e,n,i,a,s=i_.\u5F85\u5904\u7406,c,f){let m={url:Wt+"/tis/queryTaskPageByCriteria",param:{appIds:e,firstRow:n,rowCount:i,isReturnVars:!0,titleLike:a,taskState:s,varQueries:c,...f},type:"post"};return Ze(m)},queryHiTaskPage(e,n,i,a="",s=i_.\u5F85\u5904\u7406,c,f){let m={url:Wt+"/tis/queryHiTaskPageByCriteria",param:{appIds:e,firstRow:n,rowCount:i,isReturnVars:!0,titleLike:a,taskState:s,varQueries:c,...f},type:"post"};return Ze(m)},getTaskCommentList(e,n){let i={url:Wt+"/tis/getTaskCommentList",param:{processInstId:e,processBusinessKey:n},type:"get"};return Ze(i)},complete(e){let n={url:tn+"/tis/complete",param:e,type:"post"};return Ze(n)},delegate(e){let n={url:Wt+"/tis/delegate",param:e,type:"post"};return Ze(n)},transferTask(e){let n={url:tn+"/tis/transferTask",param:e,type:"post"};return Ze(n)},withdrawTask(e){let n={url:tn+"/tis/withdrawTask",param:{processInstId:e},type:"get"};return Ze(n)},addMultiInstance(e){let n={url:tn+"/tis/addMultiInstance",param:e,type:"post"};return Ze(n)},reject(e,n){let i={url:Wt+"/tis/reject",param:{taskInstId:e,commentMsg:n},type:"post"};return Ze(i)},simulation(e,n,i){let a={url:tn+"/tis/simulation",param:{taskId:e},type:"get"};return Ze(a)},createDynamicTask(e){let n={url:Wt+"/tis/createDynamicTask",param:e,type:"post"};return Ze(n)},createCCTask(e){let n={url:tn+"/tis/createCCTask",param:e,type:"post"};return Ze(n)},reminders(e){let n={url:tn+"/tis/reminders",param:{processInstId:e},type:"get"};return Ze(n)},getReturnableNodes(e){let n={url:Wt+"/tis/getReturnableNodes",param:{taskId:e},type:"get"};return Ze(n)},rollback(e,n,i){let a={url:tn+"/tis/rollback",param:{taskInstId:e,rollbackReason:i,targetActivityId:n},type:"post"};return Ze(a)}},repository:{getUserTaskModelCmd(e){let n={url:Wt+"/repository/getUserTaskModel",param:{taskId:e},type:"get"};return Ze(n)},getAfferentParticipantNodeList(e){let n={url:Wt+"/repository/getAfferentParticipantNodeList",param:{processDefId:e},type:"get"};return Ze(n)},getXmlByProcessDefId(e){let n={url:tn+"/process/getXmlByProcessDefId",param:e,type:"get"};return Ze(n)},backNodes(e){let n={url:tn+"/process/getBackNodes",param:e,type:"get"};return Ze(n)},getDiagramUrl(e){let n={url:tn+"/repository/getDiagramUrl",param:e,type:"get"};return Ze(n)},getTrackUrl(e){let n={url:Wt+"/repository/getTrackUrl",param:e,type:"get"};return Ze(n)},getProcessDefList(e,n){let i={url:tn+"/repository/getProcessDefList",param:{appId:e,processGroupName:n},type:"post"};return Ze(i)},getProcessDefListNew(e){let n={url:tn+"/repository/getProcessDefList",param:{...e,businessCode:e.businessCode},type:"post"};return Ze(n)},getOutgoingProcessNode(e,n){let i={url:tn+"/tis/getOutgoingProcessNode",param:{taskId:e,processNodeId:n},type:"get"};return Ze(i)},queryTaskNodeList(e){let n={url:tn+"/repository/queryTaskNodeList",param:{processInstId:e},type:"get"};return Ze(n)},getFirstProcessNode(e){let n={url:tn+"/repository/getAllProcessNode",param:{processDefId:e},type:"get"};return Ze(n)},getParticipantsOfPerformerNames(e,n){let i={url:Wt+"/repository/getParticipantsOfPerformerNames?taskInstId="+e,param:{taskInstId:e,userTaskDefIds:n},type:"post"};return Ze(i)}},org:{list(e="",n="",i=""){let a={url:Wt+"/org/list",param:{deptId:n,companyId:i,searchKey:e},type:"get"};return Ze(a)},findTeamMember(e="",n=""){let i={url:Wt+"/org/findTeamMember",param:{teamId:n,searchKey:e},type:"get"};return Ze(i)}},user:{getTaskAuditor(e){let n={url:l1+"/user/getTaskAuditor",param:e,type:"post",headers:{"X-Tag":"lwl "}};return Ze(n)},getSelectTree(e){let n={url:l1+"/dept/list/user/dept/selectTree",param:e,type:"get",headers:{"X-Tag":"lwl "}};return Ze(n)}}},bt={success:200,err:500,empty:404},$M={\u7F29\u7565\u56FE:0,\u539F\u59CB\u5927\u56FE:1},n_={\u7535\u8111\u7AEF:"pc",\u79FB\u52A8\u7AEF:"mobile"},Yu={\u4EBA\u5458:1,\u90E8\u95E8:0,\u4E3B\u4F53:-1,\u7FA4\u7EC4:2},i_={\u5F85\u5904\u7406:1,\u6284\u9001:2,\u4E0D\u5904\u7406:4,\u65E0\u5B50\u8282\u70B9:11},qM={\u6D41\u7A0B\u5F85\u529E:1,\u4E1A\u52A1\u5F85\u529E:2},e4={\u9605\u529E:0,\u4F1A\u7B7E:1,\u52A0\u7B7E:2,\u534F\u540C:3},t4={\u52A0\u7B7E:"counterSignLabel"},r_={\u5355\u4E00\u5206\u652F:"ExclusiveGatewayModel",\u7528\u6237\u4EFB\u52A1:"UserTaskModel",\u7528\u6237\u8282\u70B9:"userTask",\u591A\u9009\u8282\u70B9:"InclusiveGatewayModel",\u7ED3\u675F:"endEvent",\u7ED3\u675F\u4E8B\u4EF6:"EndEventModel"},Tp=Object.freeze(Object.defineProperty({__proto__:null,apiCode:bt,DiagramType:$M,SourceType:n_,UserType:Yu,TaskState:i_,SealBusinessSign:qM,AdHocType:e4,OperationType:t4,ProcessNodeType:r_},Symbol.toStringTag,{value:"Module"}));/*!
1
+ (function(Mi,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("vue"),require("checked-pick-pc")):typeof define=="function"&&define.amd?define(["exports","vue","checked-pick-pc"],w):(Mi=typeof globalThis<"u"?globalThis:Mi||self,w(Mi["ddy-process-pc-vue3"]={},Mi.Vue,Mi.checkedPickPc))})(this,function(Mi,w,KM){"use strict";const XM=e=>e&&typeof e=="object"&&"default"in e?e:{default:e};function ZM(e,n){for(var i=0;i<n.length;i++){const a=n[i];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in e)){const c=Object.getOwnPropertyDescriptor(a,s);c&&Object.defineProperty(e,s,c.get?c:{enumerable:!0,get:()=>a[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const Fi=XM(w);let Ze;const Wt="/aws",tn="/bladex/blade-workflow",l1="/auth",Xe={getAjaxObj:()=>({get:(e,n)=>{let i={url:e,param:n.params,type:"get"};return Ze(i)},post:(e,n)=>Ze({url:e,param:n,type:"post"})}),getAjax:()=>Ze,setAjax:e=>{Ze=e},common:{deptUser(e){return Ze({url:"/system/dept/list/dept/user",param:{subjectId:e},type:"get"})},getTaskAuditor(e,n){return Ze({url:"/auth/post/getTaskAuditor",param:{deptId:e,taskPostIds:n},type:"post"})},chexiao(e){let n={url:tn+"/tis/withdrawTask",param:{processInstId:e},type:"get"};return Ze(n)},cuiban(e){let n={url:tn+"/tis/reminders",param:{processInstId:e},type:"get"};return Ze(n)}},pis:{start(e){let n={url:Wt+"/pis/start",param:e,type:"post"};return Ze(n)},createAndStart(e){let n={url:tn+"/pis/createAndStart",param:e,type:"post"};return Ze(n)},cancel(e,n){let i={url:Wt+"/pis/cancel",param:{processInstId:e,processBusinessKey:n},type:"post"};return Ze(i)},findNodeParticipantRows(e){let n={url:Wt+"/pis/findNodeParticipantRows",param:{processInstId:e},type:"get"};return Ze(n)},revoke(e,n){let i={url:Wt+"/pis/revoke",param:{processInstId:e,processBusinessKey:n},type:"post"};return Ze(i)},getProcessStatus(e,n){let i={url:Wt+"/pis/getProcessStatus",param:{processInstId:e,taskId:n||""},type:"get"};return Ze(i)},getProcessInstanceById(e){let n={url:Wt+"/pis/getProcessInstanceById",param:{processInstId:e},type:"get"};return Ze(n)},reactivate(e){let n={url:tn+"/pis/reactivate",param:e,type:"post"};return Ze(n)},getProcessInstanceByBusinessKey(e){let n={url:Wt+"/pis/getProcessInstanceByBusinessKey",param:{businessKey:e},type:"get"};return Ze(n)},getProcessForecast(e){let n={url:Wt+"/pis/getProcessForecast",param:e,type:"post"};return Ze(n)},deleteProcessById(e){let n={url:Wt+"/pis/deleteProcessById",param:{processInstId:e},type:"get"};return Ze(n)}},tis:{getTaskModelDetail(e){let n={url:tn+"/tis/getTaskModelDetail",param:e,type:"get"};return Ze(n)},query(e,n,i,a){let s={url:Wt+"/tis/query",param:{appId:e,firstRow:n*i-i,rowCount:n*i,returnVars:!0,titleLike:a,taskState:1},type:"get"};return Ze(s)},patchSave(e){let n={url:Wt+"/meta/annex/patchSave",param:e,type:"post"};return Ze(n)},queryTaskPage(e,n,i,a,s=i_.\u5F85\u5904\u7406,c,f){let m={url:Wt+"/tis/queryTaskPageByCriteria",param:{appIds:e,firstRow:n,rowCount:i,isReturnVars:!0,titleLike:a,taskState:s,varQueries:c,...f},type:"post"};return Ze(m)},queryHiTaskPage(e,n,i,a="",s=i_.\u5F85\u5904\u7406,c,f){let m={url:Wt+"/tis/queryHiTaskPageByCriteria",param:{appIds:e,firstRow:n,rowCount:i,isReturnVars:!0,titleLike:a,taskState:s,varQueries:c,...f},type:"post"};return Ze(m)},getTaskCommentList(e,n){let i={url:Wt+"/tis/getTaskCommentList",param:{processInstId:e,processBusinessKey:n},type:"get"};return Ze(i)},complete(e){let n={url:tn+"/tis/complete",param:e,type:"post"};return Ze(n)},delegate(e){let n={url:Wt+"/tis/delegate",param:e,type:"post"};return Ze(n)},transferTask(e){let n={url:tn+"/tis/transferTask",param:e,type:"post"};return Ze(n)},withdrawTask(e){let n={url:tn+"/tis/withdrawTask",param:{processInstId:e},type:"get"};return Ze(n)},addMultiInstance(e){let n={url:tn+"/tis/addMultiInstance",param:e,type:"post"};return Ze(n)},reject(e,n){let i={url:Wt+"/tis/reject",param:{taskInstId:e,commentMsg:n},type:"post"};return Ze(i)},simulation(e,n,i){let a={url:tn+"/tis/simulation",param:{taskId:e},type:"get"};return Ze(a)},createDynamicTask(e){let n={url:Wt+"/tis/createDynamicTask",param:e,type:"post"};return Ze(n)},createCCTask(e){let n={url:tn+"/tis/createCCTask",param:e,type:"post"};return Ze(n)},reminders(e){let n={url:tn+"/tis/reminders",param:{processInstId:e},type:"get"};return Ze(n)},getReturnableNodes(e){let n={url:Wt+"/tis/getReturnableNodes",param:{taskId:e},type:"get"};return Ze(n)},rollback(e,n,i){let a={url:tn+"/tis/rollback",param:{taskInstId:e,rollbackReason:i,targetActivityId:n},type:"post"};return Ze(a)}},repository:{getUserTaskModelCmd(e){let n={url:Wt+"/repository/getUserTaskModel",param:{taskId:e},type:"get"};return Ze(n)},getAfferentParticipantNodeList(e){let n={url:Wt+"/repository/getAfferentParticipantNodeList",param:{processDefId:e},type:"get"};return Ze(n)},getXmlByProcessDefId(e){let n={url:tn+"/process/getXmlByProcessDefId",param:e,type:"get"};return Ze(n)},backNodes(e){let n={url:tn+"/process/getBackNodes",param:e,type:"get"};return Ze(n)},getDiagramUrl(e){let n={url:tn+"/repository/getDiagramUrl",param:e,type:"get"};return Ze(n)},getTrackUrl(e){let n={url:Wt+"/repository/getTrackUrl",param:e,type:"get"};return Ze(n)},getProcessDefList(e,n){let i={url:tn+"/repository/getProcessDefList",param:{appId:e,processGroupName:n},type:"post"};return Ze(i)},getProcessDefListNew(e){let n={url:tn+"/repository/getProcessDefList",param:{...e,businessCode:e.businessCode||e.businessType},type:"post"};return Ze(n)},getOutgoingProcessNode(e,n){let i={url:tn+"/tis/getOutgoingProcessNode",param:{taskId:e,processNodeId:n},type:"get"};return Ze(i)},queryTaskNodeList(e){let n={url:tn+"/repository/queryTaskNodeList",param:{processInstId:e},type:"get"};return Ze(n)},getFirstProcessNode(e){let n={url:tn+"/repository/getAllProcessNode",param:{processDefId:e},type:"get"};return Ze(n)},getParticipantsOfPerformerNames(e,n){let i={url:Wt+"/repository/getParticipantsOfPerformerNames?taskInstId="+e,param:{taskInstId:e,userTaskDefIds:n},type:"post"};return Ze(i)}},org:{list(e="",n="",i=""){let a={url:Wt+"/org/list",param:{deptId:n,companyId:i,searchKey:e},type:"get"};return Ze(a)},findTeamMember(e="",n=""){let i={url:Wt+"/org/findTeamMember",param:{teamId:n,searchKey:e},type:"get"};return Ze(i)}},user:{getTaskAuditor(e){let n={url:l1+"/user/getTaskAuditor",param:e,type:"post",headers:{"X-Tag":"lwl "}};return Ze(n)},getSelectTree(e){let n={url:l1+"/dept/list/user/dept/selectTree",param:e,type:"get",headers:{"X-Tag":"lwl "}};return Ze(n)}}},bt={success:200,err:500,empty:404},$M={\u7F29\u7565\u56FE:0,\u539F\u59CB\u5927\u56FE:1},n_={\u7535\u8111\u7AEF:"pc",\u79FB\u52A8\u7AEF:"mobile"},Yu={\u4EBA\u5458:1,\u90E8\u95E8:0,\u4E3B\u4F53:-1,\u7FA4\u7EC4:2},i_={\u5F85\u5904\u7406:1,\u6284\u9001:2,\u4E0D\u5904\u7406:4,\u65E0\u5B50\u8282\u70B9:11},qM={\u6D41\u7A0B\u5F85\u529E:1,\u4E1A\u52A1\u5F85\u529E:2},e4={\u9605\u529E:0,\u4F1A\u7B7E:1,\u52A0\u7B7E:2,\u534F\u540C:3},t4={\u52A0\u7B7E:"counterSignLabel"},r_={\u5355\u4E00\u5206\u652F:"ExclusiveGatewayModel",\u7528\u6237\u4EFB\u52A1:"UserTaskModel",\u7528\u6237\u8282\u70B9:"userTask",\u591A\u9009\u8282\u70B9:"InclusiveGatewayModel",\u7ED3\u675F:"endEvent",\u7ED3\u675F\u4E8B\u4EF6:"EndEventModel"},Tp=Object.freeze(Object.defineProperty({__proto__:null,apiCode:bt,DiagramType:$M,SourceType:n_,UserType:Yu,TaskState:i_,SealBusinessSign:qM,AdHocType:e4,OperationType:t4,ProcessNodeType:r_},Symbol.toStringTag,{value:"Module"}));/*!
2
2
  * Vue.js v2.6.14
3
3
  * (c) 2014-2021 Evan You
4
4
  * Released under the MIT License.