Commit b655ca52 authored by zuoliyuan's avatar zuoliyuan

index

parent 499ac045
...@@ -203,12 +203,12 @@ ...@@ -203,12 +203,12 @@
}, },
"title" : "jnpf java vue3版", "title" : "jnpf java vue3版",
"router" : { "router" : {
"mode" : "history" "mode" : "history",
"base":"/app/"
}, },
"optimization" : { "optimization" : {
"treeShaking" : { "treeShaking" : {
"enable" : true, "enable" : true
"base":"/app/"
} }
}, },
"sdkConfigs" : { "sdkConfigs" : {
......
import{_ as e}from"./uni-icons.BSysG66R.js";import{q as r,o,c as t,w as s,t as a,v as l,C as i,D as u,F as m,i as n}from"./index-v_Wqmvb-.js";import{r as p}from"./uni-app.es.CBJqksiz.js";import{_ as d}from"./index.BzIxLFc7.js";import{_ as c,a as f}from"./u-form.BZAxl5J6.js";import{_ as h}from"./u-button.BFBbH0w1.js";import{_}from"./u-popup.B6a7p6ZS.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const F=b({props:{},data:()=>({errorDataForm:{errorRuleUserList:{}},list:[],show:!1,query:{}}),methods:{init(e,r,o){this.query=o,this.show=!0,this.list=e,this.eventType=r,this.list.map((e=>{this.$set(this.errorDataForm.errorRuleUserList,e.nodeId,[])}))},submit(){const e={...this.query,errorRuleUserList:this.errorDataForm.errorRuleUserList,eventType:this.eventType};for(let r in this.errorDataForm.errorRuleUserList)if(this.errorDataForm.errorRuleUserList[r].length<=0)return this.$u.toast("异常处理人员不能为空");this.$emit("submitErrorForm",e)},cancel(){this.close()},black(){this.close()},close(){this.show=!1}}},[["render",function(b,F,y,U,D,k){const j=p(r("uni-icons"),e),w=n,C=p(r("JnpfUserSelect"),d),L=p(r("u-form-item"),c),R=p(r("u-form"),f),v=p(r("u-button"),h),V=p(r("u-popup"),_);return o(),t(w,{class:"dataForm-v"},{default:s((()=>[a(V,{mode:"left",popup:!1,modelValue:D.show,"onUpdate:modelValue":F[0]||(F[0]=e=>D.show=e),length:"auto",onClose:k.close,width:"100%"},{default:s((()=>[a(w,{class:"diyTitle u-flex"},{default:s((()=>[a(j,{type:"back",size:"27",class:"uni-btn-icon",onClick:k.black},null,8,["onClick"]),a(w,{class:"txt"},{default:s((()=>[l("异常处理")])),_:1})])),_:1}),a(w,{class:"jnpf-wrap-form"},{default:s((()=>[a(R,{model:D.errorDataForm,ref:"errorDataForm",errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"},{default:s((()=>[(o(!0),i(m,null,u(D.list,((e,r)=>(o(),t(L,{prop:"errorDataForm",key:r,label:e.nodeName,required:""},{default:s((()=>[a(C,{modelValue:D.errorDataForm.errorRuleUserList[e.nodeId],"onUpdate:modelValue":r=>D.errorDataForm.errorRuleUserList[e.nodeId]=r,multiple:!0,placeholder:"异常处理人员不能为空"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1032,["label"])))),128))])),_:1},8,["model"]),a(w,{class:"buttom-actions"},{default:s((()=>[a(v,{class:"buttom-btn",onClick:k.cancel},{default:s((()=>[l("取消")])),_:1},8,["onClick"]),a(v,{class:"buttom-btn",type:"primary",onClick:k.submit},{default:s((()=>[l("确定")])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1},8,["modelValue","onClose"])])),_:1})}],["__scopeId","data-v-5196f04b"]]);export{F as E}; import{_ as e}from"./uni-icons.BNaWtJCu.js";import{q as r,o,c as t,w as s,t as a,v as l,C as i,D as u,F as m,i as n}from"./index-q4e9g9yE.js";import{r as p}from"./uni-app.es.xrkMgk95.js";import{_ as d}from"./index.xmDOlOIj.js";import{_ as c,a as f}from"./u-form.CYIYSjYw.js";import{_ as h}from"./u-button.C4-DWqAF.js";import{_}from"./u-popup.DF0FfdDZ.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const F=b({props:{},data:()=>({errorDataForm:{errorRuleUserList:{}},list:[],show:!1,query:{}}),methods:{init(e,r,o){this.query=o,this.show=!0,this.list=e,this.eventType=r,this.list.map((e=>{this.$set(this.errorDataForm.errorRuleUserList,e.nodeId,[])}))},submit(){const e={...this.query,errorRuleUserList:this.errorDataForm.errorRuleUserList,eventType:this.eventType};for(let r in this.errorDataForm.errorRuleUserList)if(this.errorDataForm.errorRuleUserList[r].length<=0)return this.$u.toast("异常处理人员不能为空");this.$emit("submitErrorForm",e)},cancel(){this.close()},black(){this.close()},close(){this.show=!1}}},[["render",function(b,F,y,U,D,k){const j=p(r("uni-icons"),e),w=n,C=p(r("JnpfUserSelect"),d),L=p(r("u-form-item"),c),R=p(r("u-form"),f),v=p(r("u-button"),h),V=p(r("u-popup"),_);return o(),t(w,{class:"dataForm-v"},{default:s((()=>[a(V,{mode:"left",popup:!1,modelValue:D.show,"onUpdate:modelValue":F[0]||(F[0]=e=>D.show=e),length:"auto",onClose:k.close,width:"100%"},{default:s((()=>[a(w,{class:"diyTitle u-flex"},{default:s((()=>[a(j,{type:"back",size:"27",class:"uni-btn-icon",onClick:k.black},null,8,["onClick"]),a(w,{class:"txt"},{default:s((()=>[l("异常处理")])),_:1})])),_:1}),a(w,{class:"jnpf-wrap-form"},{default:s((()=>[a(R,{model:D.errorDataForm,ref:"errorDataForm",errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"},{default:s((()=>[(o(!0),i(m,null,u(D.list,((e,r)=>(o(),t(L,{prop:"errorDataForm",key:r,label:e.nodeName,required:""},{default:s((()=>[a(C,{modelValue:D.errorDataForm.errorRuleUserList[e.nodeId],"onUpdate:modelValue":r=>D.errorDataForm.errorRuleUserList[e.nodeId]=r,multiple:!0,placeholder:"异常处理人员不能为空"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1032,["label"])))),128))])),_:1},8,["model"]),a(w,{class:"buttom-actions"},{default:s((()=>[a(v,{class:"buttom-btn",onClick:k.cancel},{default:s((()=>[l("取消")])),_:1},8,["onClick"]),a(v,{class:"buttom-btn",type:"primary",onClick:k.submit},{default:s((()=>[l("确定")])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1},8,["modelValue","onClose"])])),_:1})}],["__scopeId","data-v-5196f04b"]]);export{F as E};
import{a6 as a}from"./index-v_Wqmvb-.js";function t(t){return a({url:"/api/app/Menu",method:"get",data:t,options:{load:!1}})}function p(t){return a({url:"/api/app/Data?type="+t,options:{load:!1}})}function n(t){return a({url:"/api/app/Data",method:"post",data:t})}function r(t){return a({url:"/api/app/Data/"+t,method:"delete"})}function e(t){return a({url:"/api/app/Data/getFlowList",data:t})}function o(){return a({url:"/api/app/Data/getDataList"})}export{t as a,e as b,n as c,r as d,o as e,p as g}; import{a6 as a}from"./index-q4e9g9yE.js";function t(t){return a({url:"/api/app/Menu",method:"get",data:t,options:{load:!1}})}function p(t){return a({url:"/api/app/Data?type="+t,options:{load:!1}})}function n(t){return a({url:"/api/app/Data",method:"post",data:t})}function r(t){return a({url:"/api/app/Data/"+t,method:"delete"})}function e(t){return a({url:"/api/app/Data/getFlowList",data:t})}function o(){return a({url:"/api/app/Data/getDataList"})}export{t as a,e as b,n as c,r as d,o as e,p as g};
import{be as t,bf as e,bg as i,bh as r,bi as s,bj as a,bk as n,bl as o,bm as h}from"./index-v_Wqmvb-.js";const l=t({id:" app-base",state:()=>({dictionaryList:[],organizeTree:[],departmentTree:[],positionTree:[],groupTree:[],roleTree:[],userTree:[],userList:[],relationData:{}}),getters:{getDictionaryList(){return this.dictionaryList},getRelationData(){return this.relationData}},actions:{setDictionaryList(t){this.dictionaryList=t||[]},setOrganizeTree(t){this.organizeTree=t},setDepartmentTree(t){this.departmentTree=t},setPositionTree(t){this.positionTree=t},setGroupTree(t){this.groupTree=t},setRoleTree(t){this.roleTree=t},setUserTree(t){this.userTree=t},setUserList(t){this.userList=t},updateRelationData(t){this.relationData=t},getDictionaryDataAll(){return new Promise(((t,i)=>{this.dictionaryList.length?t(this.dictionaryList):e().then((e=>{this.setDictionaryList(e.data.list),t(e.data.list)})).catch((t=>{i(t)}))}))},getDictionaryData(t){return new Promise((async e=>{let i=[],r=[],s=[];if(i=this.dictionaryList.length?this.dictionaryList:await this.getDictionaryDataAll(),t.sort)if(r=i.filter((e=>e.enCode===t.sort))[0],t.id){let e=[];if(r.isTree){const i=r=>{for(let s=0;s<r.length;s++){const a=r[s];if(a.id==t.id){e[0]=a;break}a.children&&a.children.length&&i(a.children)}};i(r.dictionaryList)}else e=r.dictionaryList.fliter((e=>e.id==t.id));s=e.length?e[0]:{id:"",fullName:""}}else s=(null==r?void 0:r.dictionaryList)||[];e(s)}))},getDicDataSelector(t,e="id"){return new Promise((async i=>{let r=[],s={},a=[];if(r=this.dictionaryList.length?this.dictionaryList:await this.getDictionaryDataAll(),!t)return i([]);let n=r.filter((i=>i[e]===t));if(!n.length)return i([]);s=n[0],a=s.dictionaryList,i(a)}))},getOrganizeTree(){return new Promise(((t,e)=>{this.organizeTree.length?t(this.organizeTree):i().then((e=>{this.setOrganizeTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getDepartmentTree(){return new Promise(((t,e)=>{this.departmentTree.length?t(this.departmentTree):r().then((e=>{this.setDepartmentTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getPositionTree(){return new Promise(((t,e)=>{this.positionTree.length?t(this.positionTree):s().then((e=>{this.setPositionTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getGroupTree(){return new Promise(((t,e)=>{this.groupTree.length?t(this.groupTree):a().then((e=>{this.setGroupTree(e.data),t(e.data)})).catch((t=>{e(t)}))}))},getRoleTree(){return new Promise(((t,e)=>{this.roleTree.length?t(this.roleTree):n().then((e=>{this.setRoleTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getUserTree(){return new Promise(((t,e)=>{this.userTree.length?t(this.userTree):o().then((e=>{this.setUserTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getUserList(){return new Promise(((t,e)=>{this.userList.length?t(this.userList):h().then((e=>{this.setUserList(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getUserInfo(t){return new Promise((async e=>{let i=[];i=this.userList.length?this.userList:await this.getUserList(),e(i.filter((e=>e.id===t))[0]||{})}))}}});export{l as u}; import{be as t,bf as e,bg as i,bh as r,bi as s,bj as a,bk as n,bl as o,bm as h}from"./index-q4e9g9yE.js";const l=t({id:" app-base",state:()=>({dictionaryList:[],organizeTree:[],departmentTree:[],positionTree:[],groupTree:[],roleTree:[],userTree:[],userList:[],relationData:{}}),getters:{getDictionaryList(){return this.dictionaryList},getRelationData(){return this.relationData}},actions:{setDictionaryList(t){this.dictionaryList=t||[]},setOrganizeTree(t){this.organizeTree=t},setDepartmentTree(t){this.departmentTree=t},setPositionTree(t){this.positionTree=t},setGroupTree(t){this.groupTree=t},setRoleTree(t){this.roleTree=t},setUserTree(t){this.userTree=t},setUserList(t){this.userList=t},updateRelationData(t){this.relationData=t},getDictionaryDataAll(){return new Promise(((t,i)=>{this.dictionaryList.length?t(this.dictionaryList):e().then((e=>{this.setDictionaryList(e.data.list),t(e.data.list)})).catch((t=>{i(t)}))}))},getDictionaryData(t){return new Promise((async e=>{let i=[],r=[],s=[];if(i=this.dictionaryList.length?this.dictionaryList:await this.getDictionaryDataAll(),t.sort)if(r=i.filter((e=>e.enCode===t.sort))[0],t.id){let e=[];if(r.isTree){const i=r=>{for(let s=0;s<r.length;s++){const a=r[s];if(a.id==t.id){e[0]=a;break}a.children&&a.children.length&&i(a.children)}};i(r.dictionaryList)}else e=r.dictionaryList.fliter((e=>e.id==t.id));s=e.length?e[0]:{id:"",fullName:""}}else s=(null==r?void 0:r.dictionaryList)||[];e(s)}))},getDicDataSelector(t,e="id"){return new Promise((async i=>{let r=[],s={},a=[];if(r=this.dictionaryList.length?this.dictionaryList:await this.getDictionaryDataAll(),!t)return i([]);let n=r.filter((i=>i[e]===t));if(!n.length)return i([]);s=n[0],a=s.dictionaryList,i(a)}))},getOrganizeTree(){return new Promise(((t,e)=>{this.organizeTree.length?t(this.organizeTree):i().then((e=>{this.setOrganizeTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getDepartmentTree(){return new Promise(((t,e)=>{this.departmentTree.length?t(this.departmentTree):r().then((e=>{this.setDepartmentTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getPositionTree(){return new Promise(((t,e)=>{this.positionTree.length?t(this.positionTree):s().then((e=>{this.setPositionTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getGroupTree(){return new Promise(((t,e)=>{this.groupTree.length?t(this.groupTree):a().then((e=>{this.setGroupTree(e.data),t(e.data)})).catch((t=>{e(t)}))}))},getRoleTree(){return new Promise(((t,e)=>{this.roleTree.length?t(this.roleTree):n().then((e=>{this.setRoleTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getUserTree(){return new Promise(((t,e)=>{this.userTree.length?t(this.userTree):o().then((e=>{this.setUserTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getUserList(){return new Promise(((t,e)=>{this.userList.length?t(this.userList):h().then((e=>{this.setUserList(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getUserInfo(t){return new Promise((async e=>{let i=[];i=this.userList.length?this.userList:await this.getUserList(),e(i.filter((e=>e.id===t))[0]||{})}))}}});export{l as u};
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
import{a6 as e}from"./index-v_Wqmvb-.js";function t(t){return e({url:"/api/workflow/Engine/FlowDelegate",method:"get",data:t})}function o(t){return e({url:`/api/workflow/Engine/FlowDelegate/${t}`,method:"get"})}function n(t){return e({url:`/api/workflow/Engine/FlowDelegate/${t}`,method:"DELETE"})}function a(t){return e({url:"/api/workflow/Engine/FlowDelegate",method:"post",data:t})}function r(t){return e({url:`/api/workflow/Engine/FlowDelegate/${t.id}`,method:"PUT",data:t})}function l(t){return e({url:"/api/workflow/Engine/FlowDelegate/getflow",method:"get",data:t})}function i(t){return e({url:"/api/workflow/Engine/FlowDelegate/userList",method:"get",data:t})}function u(t){return e({url:`/api/workflow/Engine/FlowDelegate/Stop/${t}`,method:"put"})}export{a as C,n as D,t as F,r as U,o as a,l as d,u as e,i as g}; import{a6 as e}from"./index-q4e9g9yE.js";function t(t){return e({url:"/api/workflow/Engine/FlowDelegate",method:"get",data:t})}function o(t){return e({url:`/api/workflow/Engine/FlowDelegate/${t}`,method:"get"})}function n(t){return e({url:`/api/workflow/Engine/FlowDelegate/${t}`,method:"DELETE"})}function a(t){return e({url:"/api/workflow/Engine/FlowDelegate",method:"post",data:t})}function r(t){return e({url:`/api/workflow/Engine/FlowDelegate/${t.id}`,method:"PUT",data:t})}function l(t){return e({url:"/api/workflow/Engine/FlowDelegate/getflow",method:"get",data:t})}function i(t){return e({url:"/api/workflow/Engine/FlowDelegate/userList",method:"get",data:t})}function u(t){return e({url:`/api/workflow/Engine/FlowDelegate/Stop/${t}`,method:"put"})}export{a as C,n as D,t as F,r as U,o as a,l as d,u as e,i as g};
import{a6 as o}from"./index-v_Wqmvb-.js";function e(e,r,t){return o({url:`/api/workflow/Engine/FlowBefore/List/${e}`,method:"get",data:r,options:{load:!1}})}function r(e,r){return o({url:`/api/workflow/Engine/FlowBefore/${e}`,method:"get",data:r})}function t(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Audit/${e}`,method:"post",data:r})}function n(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Reject/${e}`,method:"post",data:r})}function a(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Recall/${e}`,method:"post",data:r})}function i(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Cancel/${e}`,method:"post",data:r})}function f(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Transfer/${e}`,method:"post",data:r})}function l(e,r){return o({url:`/api/workflow/Engine/FlowBefore/RecordList/${e}`,method:"get",data:r})}function u(e,r){return o({url:`/api/workflow/Engine/FlowBefore/SaveAudit/${e}`,method:"post",data:r})}function w(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Candidates/${e}`,method:"post",data:r})}function d(e,r){return o({url:`/api/workflow/Engine/FlowBefore/CandidateUser/${e}`,method:"post",data:r})}function s(e){return o({url:`/api/workflow/Engine/FlowBefore/RejectList/${e}`,method:"get"})}function p(e,r){return o({url:`/api/workflow/Engine/FlowBefore/freeApprover/${e}`,method:"post",data:r})}function g(e){return o({url:`/api/workflow/Engine/FlowBefore/SubFlowInfo/${e}`,method:"get"})}function c(e,r){return o({url:`/api/workflow/Engine/FlowBefore/TaskUserList/${e}`,method:"get",data:r})}export{t as A,w as C,r as F,s as R,u as S,f as T,a,p as b,i as c,n as d,g as e,e as f,l as g,c as h,d as i}; import{a6 as o}from"./index-q4e9g9yE.js";function e(e,r,t){return o({url:`/api/workflow/Engine/FlowBefore/List/${e}`,method:"get",data:r,options:{load:!1}})}function r(e,r){return o({url:`/api/workflow/Engine/FlowBefore/${e}`,method:"get",data:r})}function t(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Audit/${e}`,method:"post",data:r})}function n(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Reject/${e}`,method:"post",data:r})}function a(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Recall/${e}`,method:"post",data:r})}function i(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Cancel/${e}`,method:"post",data:r})}function f(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Transfer/${e}`,method:"post",data:r})}function l(e,r){return o({url:`/api/workflow/Engine/FlowBefore/RecordList/${e}`,method:"get",data:r})}function u(e,r){return o({url:`/api/workflow/Engine/FlowBefore/SaveAudit/${e}`,method:"post",data:r})}function w(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Candidates/${e}`,method:"post",data:r})}function d(e,r){return o({url:`/api/workflow/Engine/FlowBefore/CandidateUser/${e}`,method:"post",data:r})}function s(e){return o({url:`/api/workflow/Engine/FlowBefore/RejectList/${e}`,method:"get"})}function p(e,r){return o({url:`/api/workflow/Engine/FlowBefore/freeApprover/${e}`,method:"post",data:r})}function g(e){return o({url:`/api/workflow/Engine/FlowBefore/SubFlowInfo/${e}`,method:"get"})}function c(e,r){return o({url:`/api/workflow/Engine/FlowBefore/TaskUserList/${e}`,method:"get",data:r})}export{t as A,w as C,r as F,s as R,u as S,f as T,a,p as b,i as c,n as d,g as e,e as f,l as g,c as h,d as i};
import{a6 as o}from"./index-v_Wqmvb-.js";function t(t,e){return o({url:`/api/workflow/Engine/flowTemplate/FlowJsonList/${t}`,method:"get",data:{type:e}})}function e(t){return o({url:"/api/workflow/Engine/flowTemplate/PageListAll",method:"get",data:t,options:{load:!1}})}function n(t){return o({url:`/api/flowForm/Form/${t}`,method:"get"})}function a(){return o({url:"/api/workflow/Engine/flowTemplate/ListAll",method:"get",options:{load:!1}})}function l(t){return o({url:"/api/workflow/Engine/FlowComment",method:"get",data:t})}function r(t){return o({url:"/api/workflow/Engine/FlowComment",method:"post",data:t})}function i(t){return o({url:`/api/workflow/Engine/FlowComment/${t}`,method:"delete"})}function u(t){return o({url:"/api/workflow/Engine/flowTemplate/getflowAll",method:"get",data:t})}function w(t){return o({url:`/api/workflow/Engine/flowTemplate/getFlowIdByCode/${t}`,method:"get"})}function f(t){return o({url:"/api/visualdev/Dashboard/FlowTodoCount",method:"post",data:t})}function d(t){return o({url:"/api/workflow/Engine/flowTemplate/getflowList",method:"post",data:t})}export{e as F,t as a,l as b,r as c,i as d,u as e,d as f,f as g,a as h,n as i,w as j}; import{a6 as o}from"./index-q4e9g9yE.js";function t(t,e){return o({url:`/api/workflow/Engine/flowTemplate/FlowJsonList/${t}`,method:"get",data:{type:e}})}function e(t){return o({url:"/api/workflow/Engine/flowTemplate/PageListAll",method:"get",data:t,options:{load:!1}})}function n(t){return o({url:`/api/flowForm/Form/${t}`,method:"get"})}function a(){return o({url:"/api/workflow/Engine/flowTemplate/ListAll",method:"get",options:{load:!1}})}function l(t){return o({url:"/api/workflow/Engine/FlowComment",method:"get",data:t})}function r(t){return o({url:"/api/workflow/Engine/FlowComment",method:"post",data:t})}function i(t){return o({url:`/api/workflow/Engine/FlowComment/${t}`,method:"delete"})}function u(t){return o({url:"/api/workflow/Engine/flowTemplate/getflowAll",method:"get",data:t})}function w(t){return o({url:`/api/workflow/Engine/flowTemplate/getFlowIdByCode/${t}`,method:"get"})}function f(t){return o({url:"/api/visualdev/Dashboard/FlowTodoCount",method:"post",data:t})}function d(t){return o({url:"/api/workflow/Engine/flowTemplate/getflowList",method:"post",data:t})}export{e as F,t as a,l as b,r as c,i as d,u as e,d as f,f as g,a as h,n as i,w as j};
import{a6 as o}from"./index-v_Wqmvb-.js";function n(n,r){return o({url:"/api/workflow/Engine/FlowLaunch",method:"get",data:n,options:{load:!1}})}function r(n){return o({url:`/api/workflow/Engine/FlowLaunch/${n}`,method:"DELETE"})}function t(n,r){return o({url:`/api/workflow/Engine/FlowLaunch/${n}/Actions/Withdraw`,method:"PUT",data:r})}function a(n){return o({url:`/api/workflow/Engine/FlowLaunch/Press/${n}`,method:"post"})}export{r as D,n as F,a as P,t as R}; import{a6 as o}from"./index-q4e9g9yE.js";function n(n,r){return o({url:"/api/workflow/Engine/FlowLaunch",method:"get",data:n,options:{load:!1}})}function r(n){return o({url:`/api/workflow/Engine/FlowLaunch/${n}`,method:"DELETE"})}function t(n,r){return o({url:`/api/workflow/Engine/FlowLaunch/${n}/Actions/Withdraw`,method:"PUT",data:r})}function a(n){return o({url:`/api/workflow/Engine/FlowLaunch/Press/${n}`,method:"post"})}export{r as D,n as F,a as P,t as R};
import{n as t,q as e,o as s,c as a,w as l,t as i,C as o,D as r,F as d,i as f,A as u,G as c,v as n,x as p,H as m,E as _}from"./index-v_Wqmvb-.js";import{_ as h}from"./u-tag.v0JvF7jB.js";import{r as g}from"./uni-app.es.CBJqksiz.js";import{_ as w}from"./_plugin-vue_export-helper.BCo6x5W8.js";const y=w({name:"FlowList",props:{list:{type:Array,default:()=>[]},opType:{type:Number,default:1}},data:()=>({title:""}),created(){this.title=1==this.opType?"接收时间":2==this.opType?"办理时间":"抄送时间"},methods:{handleClick(e){const s={id:e.processId,flowId:e.flowId,opType:this.opType,status:e.status,taskNodeId:e.thisStepId,taskId:e.id};t({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(s))})},getLableValue(t){var e="";switch(t){case 1:default:e="普通";break;case 2:e="重要";break;case 3:e="紧急"}return e}}},[["render",function(t,w,y,b,k,I){const x=g(e("u-tag"),h),T=f,j=m,C=_;return s(),a(T,{class:"flow-list flowBefore"},{default:l((()=>[i(T,{class:"flow-list-box"},{default:l((()=>[(s(!0),o(d,null,r(y.list,((e,o)=>(s(),a(T,{class:"item",key:e.id,onClick:t=>I.handleClick(e)},{default:l((()=>[i(T,{class:"item-left"},{default:l((()=>[i(T,{class:"item-left-top"},{default:l((()=>[e.delegateUser?(s(),a(T,{key:0,class:"u-m-r-8"},{default:l((()=>[i(x,{text:"委托",type:"success",size:"mini"})])),_:1})):u("",!0),i(T,{class:c(["common-lable",{"urgent-lable":2==e.flowUrgent,"important-lable":3==e.flowUrgent}])},{default:l((()=>[n(p(I.getLableValue(e.flowUrgent)),1)])),_:2},1032,["class"]),i(j,{class:"title u-font-28 u-line-1"},{default:l((()=>[n(p(e.fullName),1)])),_:2},1024)])),_:2},1024),i(j,{class:"title u-line-1 u-font-24"},{default:l((()=>[n("审批节点:"),i(j,{class:"titInner"},{default:l((()=>[n(p(e.thisStep?e.thisStep:"暂无"),1)])),_:2},1024)])),_:2},1024),i(j,{class:"time title u-font-24"},{default:l((()=>[n(p(k.title)+"",1),i(j,{class:"titInner"},{default:l((()=>[n(p(e.creatorTime?t.$u.timeFormat(e.creatorTime,"yyyy-mm-dd hh:MM:ss"):""),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),i(T,{class:"item-right"},{default:l((()=>[i(C,{src:e.flowStatus,mode:"widthFix",class:"item-right-img"},null,8,["src"])])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})}],["__scopeId","data-v-70d6b346"]]);export{y as f}; import{n as t,q as e,o as s,c as a,w as l,t as i,C as o,D as r,F as d,i as f,A as u,G as c,v as n,x as p,H as m,E as _}from"./index-q4e9g9yE.js";import{_ as h}from"./u-tag.CPXfer0M.js";import{r as g}from"./uni-app.es.xrkMgk95.js";import{_ as w}from"./_plugin-vue_export-helper.BCo6x5W8.js";const y=w({name:"FlowList",props:{list:{type:Array,default:()=>[]},opType:{type:Number,default:1}},data:()=>({title:""}),created(){this.title=1==this.opType?"接收时间":2==this.opType?"办理时间":"抄送时间"},methods:{handleClick(e){const s={id:e.processId,flowId:e.flowId,opType:this.opType,status:e.status,taskNodeId:e.thisStepId,taskId:e.id};t({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(s))})},getLableValue(t){var e="";switch(t){case 1:default:e="普通";break;case 2:e="重要";break;case 3:e="紧急"}return e}}},[["render",function(t,w,y,b,k,I){const x=g(e("u-tag"),h),T=f,j=m,C=_;return s(),a(T,{class:"flow-list flowBefore"},{default:l((()=>[i(T,{class:"flow-list-box"},{default:l((()=>[(s(!0),o(d,null,r(y.list,((e,o)=>(s(),a(T,{class:"item",key:e.id,onClick:t=>I.handleClick(e)},{default:l((()=>[i(T,{class:"item-left"},{default:l((()=>[i(T,{class:"item-left-top"},{default:l((()=>[e.delegateUser?(s(),a(T,{key:0,class:"u-m-r-8"},{default:l((()=>[i(x,{text:"委托",type:"success",size:"mini"})])),_:1})):u("",!0),i(T,{class:c(["common-lable",{"urgent-lable":2==e.flowUrgent,"important-lable":3==e.flowUrgent}])},{default:l((()=>[n(p(I.getLableValue(e.flowUrgent)),1)])),_:2},1032,["class"]),i(j,{class:"title u-font-28 u-line-1"},{default:l((()=>[n(p(e.fullName),1)])),_:2},1024)])),_:2},1024),i(j,{class:"title u-line-1 u-font-24"},{default:l((()=>[n("审批节点:"),i(j,{class:"titInner"},{default:l((()=>[n(p(e.thisStep?e.thisStep:"暂无"),1)])),_:2},1024)])),_:2},1024),i(j,{class:"time title u-font-24"},{default:l((()=>[n(p(k.title)+"",1),i(j,{class:"titInner"},{default:l((()=>[n(p(e.creatorTime?t.$u.timeFormat(e.creatorTime,"yyyy-mm-dd hh:MM:ss"):""),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),i(T,{class:"item-right"},{default:l((()=>[i(C,{src:e.flowStatus,mode:"widthFix",class:"item-right-img"},null,8,["src"])])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})}],["__scopeId","data-v-70d6b346"]]);export{y as f};
.abouts-v .head-box[data-v-7bd8e275]{height:9.625rem;background:url(/assets/about-head-CV7tpvcO.png) center no-repeat;background-size:100% 100%;align-items:center;justify-content:center}.abouts-v .head-box .head-inner[data-v-7bd8e275]{position:relative}.abouts-v .head-box .head-inner .head-img[data-v-7bd8e275]{width:6.625rem;height:1.875rem;margin-top:.625rem}.abouts-v .head-box .head-inner .version[data-v-7bd8e275]{position:absolute;background-color:#fff;color:#0f5bd2;padding:0 .25rem;border-radius:.625rem 0;top:-1.0625rem;left:6.8125rem}.abouts-v .abouts-hd[data-v-7bd8e275]{width:100%;align-items:center;background-color:#3281ff;height:8.75rem;color:#fff;padding-top:.625rem}.abouts-v .abouts-hd uni-image[data-v-7bd8e275]{width:5rem;height:5rem}.abouts-v .content[data-v-7bd8e275]{line-height:1.5rem}
uni-page-body[data-v-7a4bd7f8]{width:100%;min-height:100vh}.remember-wrap[data-v-7a4bd7f8]{margin-top:8px}.remember-wrap .remember-text[data-v-7a4bd7f8]{color:#9a9a9a;font-size:13px}.logo-v[data-v-7a4bd7f8]{height:100vh;display:flex;flex-direction:column}.logo-v .login-version[data-v-7a4bd7f8]{position:fixed;right:0;top:0;width:3.75rem;height:3.75rem;background:url(/app/assets/login_version-BaE9W612.png) no-repeat center;background-size:100%}.logo-v .login-version .login-version-text[data-v-7a4bd7f8]{width:3.75rem;height:3.75rem;line-height:2.1875rem;text-align:center;color:#fff;font-size:.875rem;transform:rotate(45deg)}.logo-v .login-bg[data-v-7a4bd7f8]{height:15.625rem;position:relative}.logo-v .login-bg uni-image[data-v-7a4bd7f8]{width:100%;height:100%}.logo-v .login-bg .logoImg[data-v-7a4bd7f8]{width:5rem;height:5rem;margin:0 auto;position:absolute;bottom:0;left:0;right:0}.logo-v .login-bg .logoImg uni-image[data-v-7a4bd7f8]{width:100%;height:100%;border-radius:20%}.logo-v .logo-hd[data-v-7a4bd7f8]{width:100%}.logo-v .logo-hd .introduce[data-v-7a4bd7f8]{justify-content:center;align-items:center}.logo-v .logo-hd .introduce .text-one[data-v-7a4bd7f8]{height:2.1875rem;font-weight:700}.logo-v .logo-hd .introduce .text-two[data-v-7a4bd7f8]{color:#999}.logo-v .logo-hd .loginSwitch[data-v-7a4bd7f8]{margin-top:1.25rem;justify-content:center;align-items:center}.logo-v .logo-hd .loginSwitch .tabs[data-v-7a4bd7f8]{color:#999;position:relative}.logo-v .logo-hd .loginSwitch .tabs[data-v-7a4bd7f8]:after{content:"";width:2rem;height:.125rem;background-color:#356efe;margin-top:.46875rem;position:absolute;left:0;bottom:-.46875rem;display:block;border-radius:1.5625rem}.logo-v .logo-hd .loginSwitch .tabs.active2[data-v-7a4bd7f8]:after{left:70%}.logo-v .logo-hd .loginSwitch .tabs .tab[data-v-7a4bd7f8]{width:50%;height:2.5rem;text-align:center;color:#aeafb5;font-size:1rem}.logo-v .logo-hd .loginSwitch .tabs .tab.active[data-v-7a4bd7f8]{color:#3281ff}.logo-v .logo-hd .loginSwitch .loginInputBox[data-v-7a4bd7f8]{width:100%;margin-top:2.5rem;padding:0 2rem}.logo-v .logo-hd .loginSwitch .loginInputBox .code-box[data-v-7a4bd7f8]{width:100%}.logo-v .copyright[data-v-7a4bd7f8]{position:fixed;bottom:1.25rem;left:0;right:0;text-align:center;color:#9a9a9a;font-size:.75rem}.logo-v .sso-login-btn[data-v-7a4bd7f8]{width:100%;padding:0 2rem;margin-top:11.375rem}.other-list[data-v-7a4bd7f8]{display:flex;align-items:center;justify-content:space-around}.other-list .other-item[data-v-7a4bd7f8]{width:30px;height:30px;line-height:30px;text-align:center;cursor:pointer;border-radius:50%}.other-list .other-item uni-text[data-v-7a4bd7f8]{font-size:20px;color:#a0acb7}.mian[data-v-7a4bd7f8]{background:url(/app/assets/tenancy-DLwfXBAK.png);height:100%}.img[data-v-7a4bd7f8]{margin-top:.625rem;margin-left:30%}.title[data-v-7a4bd7f8]{margin-top:-1.71875rem;margin-left:8.125rem;font-size:1rem}.info[data-v-7a4bd7f8]{margin:auto;width:96%;height:9.375rem;background-color:#fff;margin-bottom:.625rem;border-radius:.3125rem;border-left:.3125rem solid #9DC8FA;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-name[data-v-7a4bd7f8]{font-weight:700;font-size:1rem;margin-left:.625rem;margin-bottom:.625rem;margin-top:.9375rem;width:100%;height:1.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-tenancy[data-v-7a4bd7f8]{font-size:.875rem;margin-left:.625rem;margin-bottom:.625rem;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
uni-page-body[data-v-7a4bd7f8]{width:100%;min-height:100vh}.remember-wrap[data-v-7a4bd7f8]{margin-top:8px}.remember-wrap .remember-text[data-v-7a4bd7f8]{color:#9a9a9a;font-size:13px}.logo-v[data-v-7a4bd7f8]{height:100vh;display:flex;flex-direction:column}.logo-v .login-version[data-v-7a4bd7f8]{position:fixed;right:0;top:0;width:3.75rem;height:3.75rem;background:url(/assets/login_version-BaE9W612.png) no-repeat center;background-size:100%}.logo-v .login-version .login-version-text[data-v-7a4bd7f8]{width:3.75rem;height:3.75rem;line-height:2.1875rem;text-align:center;color:#fff;font-size:.875rem;transform:rotate(45deg)}.logo-v .login-bg[data-v-7a4bd7f8]{height:15.625rem;position:relative}.logo-v .login-bg uni-image[data-v-7a4bd7f8]{width:100%;height:100%}.logo-v .login-bg .logoImg[data-v-7a4bd7f8]{width:5rem;height:5rem;margin:0 auto;position:absolute;bottom:0;left:0;right:0}.logo-v .login-bg .logoImg uni-image[data-v-7a4bd7f8]{width:100%;height:100%;border-radius:20%}.logo-v .logo-hd[data-v-7a4bd7f8]{width:100%}.logo-v .logo-hd .introduce[data-v-7a4bd7f8]{justify-content:center;align-items:center}.logo-v .logo-hd .introduce .text-one[data-v-7a4bd7f8]{height:2.1875rem;font-weight:700}.logo-v .logo-hd .introduce .text-two[data-v-7a4bd7f8]{color:#999}.logo-v .logo-hd .loginSwitch[data-v-7a4bd7f8]{margin-top:1.25rem;justify-content:center;align-items:center}.logo-v .logo-hd .loginSwitch .tabs[data-v-7a4bd7f8]{color:#999;position:relative}.logo-v .logo-hd .loginSwitch .tabs[data-v-7a4bd7f8]:after{content:"";width:2rem;height:.125rem;background-color:#356efe;margin-top:.46875rem;position:absolute;left:0;bottom:-.46875rem;display:block;border-radius:1.5625rem}.logo-v .logo-hd .loginSwitch .tabs.active2[data-v-7a4bd7f8]:after{left:70%}.logo-v .logo-hd .loginSwitch .tabs .tab[data-v-7a4bd7f8]{width:50%;height:2.5rem;text-align:center;color:#aeafb5;font-size:1rem}.logo-v .logo-hd .loginSwitch .tabs .tab.active[data-v-7a4bd7f8]{color:#3281ff}.logo-v .logo-hd .loginSwitch .loginInputBox[data-v-7a4bd7f8]{width:100%;margin-top:2.5rem;padding:0 2rem}.logo-v .logo-hd .loginSwitch .loginInputBox .code-box[data-v-7a4bd7f8]{width:100%}.logo-v .copyright[data-v-7a4bd7f8]{position:fixed;bottom:1.25rem;left:0;right:0;text-align:center;color:#9a9a9a;font-size:.75rem}.logo-v .sso-login-btn[data-v-7a4bd7f8]{width:100%;padding:0 2rem;margin-top:11.375rem}.other-list[data-v-7a4bd7f8]{display:flex;align-items:center;justify-content:space-around}.other-list .other-item[data-v-7a4bd7f8]{width:30px;height:30px;line-height:30px;text-align:center;cursor:pointer;border-radius:50%}.other-list .other-item uni-text[data-v-7a4bd7f8]{font-size:20px;color:#a0acb7}.mian[data-v-7a4bd7f8]{background:url(/assets/tenancy-DLwfXBAK.png);height:100%}.img[data-v-7a4bd7f8]{margin-top:.625rem;margin-left:30%}.title[data-v-7a4bd7f8]{margin-top:-1.71875rem;margin-left:8.125rem;font-size:1rem}.info[data-v-7a4bd7f8]{margin:auto;width:96%;height:9.375rem;background-color:#fff;margin-bottom:.625rem;border-radius:.3125rem;border-left:.3125rem solid #9DC8FA;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-name[data-v-7a4bd7f8]{font-weight:700;font-size:1rem;margin-left:.625rem;margin-bottom:.625rem;margin-top:.9375rem;width:100%;height:1.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-tenancy[data-v-7a4bd7f8]{font-size:.875rem;margin-left:.625rem;margin-bottom:.625rem;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.abouts-v .head-box[data-v-7bd8e275]{height:9.625rem;background:url(/app/assets/about-head-CV7tpvcO.png) center no-repeat;background-size:100% 100%;align-items:center;justify-content:center}.abouts-v .head-box .head-inner[data-v-7bd8e275]{position:relative}.abouts-v .head-box .head-inner .head-img[data-v-7bd8e275]{width:6.625rem;height:1.875rem;margin-top:.625rem}.abouts-v .head-box .head-inner .version[data-v-7bd8e275]{position:absolute;background-color:#fff;color:#0f5bd2;padding:0 .25rem;border-radius:.625rem 0;top:-1.0625rem;left:6.8125rem}.abouts-v .abouts-hd[data-v-7bd8e275]{width:100%;align-items:center;background-color:#3281ff;height:8.75rem;color:#fff;padding-top:.625rem}.abouts-v .abouts-hd uni-image[data-v-7bd8e275]{width:5rem;height:5rem}.abouts-v .content[data-v-7bd8e275]{line-height:1.5rem}
This diff is collapsed.
import{_ as e}from"./u-input.BlV5qARp.js";import{q as l,Q as t,o as a,c as s,w as i,A as o,t as u,i as n}from"./index-v_Wqmvb-.js";import{r as p}from"./uni-app.es.CBJqksiz.js";import{M as r}from"./MultSelect.C4jg2FKz.js";import{_ as h}from"./_plugin-vue_export-helper.BCo6x5W8.js";const d=h({name:"jnpf-select",components:{MultSelect:r},props:{modelValue:{type:[String,Number,Array]},options:{type:Array,default:()=>[]},props:{type:Object,default:()=>({label:"fullName",value:"id"})},placeholder:{type:String,default:"请选择"},multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},filterable:{type:Boolean,default:!1},isForm:{type:Boolean,default:!0}},data:()=>({innerValue:"",defaultValue:[],showSelectModal:!1}),watch:{modelValue:{immediate:!0,handler(e){this.setDefault()}},options:{immediate:!0,handler(e){this.setDefault()}}},computed:{list(){return this.options}},methods:{openSelect(){this.disabled||(this.showSelectModal=!0)},selectConfirm(e,l=""){if(this.multiple)this.innerValue=e.label,this.defaultValue=e.value,this.$emit("update:modelValue",e.value||[]),this.$emit("change",e.value||[],e.list||[]);else{if(!e.length)return;const l=this.options[e[0].index]||{};this.innerValue=l[this.props.label],this.defaultValue=[e[0][this.props.value]],this.$emit("update:modelValue",l[this.props.value]),this.$emit("change",l[this.props.value],l)}},setDefault(){if(!this.options.length)return this.innerValue="";if(this.multiple){if(this.innerValue="",this.defaultValue=[],!this.modelValue||!this.modelValue.length)return;this.defaultValue=this.modelValue;for(let e=0;e<this.options.length;e++){const l=this.options[e];for(let e=0;e<this.modelValue.length;e++){const t=this.modelValue[e];l[this.props.value]==t&&(this.innerValue?this.innerValue+=","+l[this.props.label]:this.innerValue+=l[this.props.label])}}}else{if(this.innerValue="",this.defaultValue=[],!this.modelValue&&0!==this.modelValue)return;for(let e=0;e<this.options.length;e++)if(this.options[e][this.props.value]===this.modelValue)return this.defaultValue=[this.modelValue],void(this.innerValue=this.options[e][this.props.label])}},close(){this.showSelectModal=!1}}},[["render",function(r,h,d,m,f,c){const V=p(l("u-input"),e),b=t("MultSelect"),v=n;return a(),s(v,{class:"jnpf-select"},{default:i((()=>[d.isForm?(a(),s(V,{key:0,"input-align":"right",type:"select","select-open":f.showSelectModal,modelValue:f.innerValue,"onUpdate:modelValue":h[0]||(h[0]=e=>f.innerValue=e),placeholder:d.placeholder,onClick:c.openSelect},null,8,["select-open","modelValue","placeholder","onClick"])):o("",!0),u(b,{list:c.list,show:f.showSelectModal,"value-name":d.props.value,"label-name":d.props.label,defaultValue:f.defaultValue,onConfirm:c.selectConfirm,onClose:c.close,filterable:d.filterable,multiple:d.multiple,labelName:d.props.label,valueName:d.props.value},null,8,["list","show","value-name","label-name","defaultValue","onConfirm","onClose","filterable","multiple","labelName","valueName"])])),_:1})}],["__scopeId","data-v-8a738214"]]);export{d as _}; import{_ as e}from"./u-input.DYf86bZO.js";import{q as l,Q as t,o as a,c as s,w as i,A as o,t as u,i as n}from"./index-q4e9g9yE.js";import{r as p}from"./uni-app.es.xrkMgk95.js";import{M as r}from"./MultSelect.TVbPCNeO.js";import{_ as h}from"./_plugin-vue_export-helper.BCo6x5W8.js";const d=h({name:"jnpf-select",components:{MultSelect:r},props:{modelValue:{type:[String,Number,Array]},options:{type:Array,default:()=>[]},props:{type:Object,default:()=>({label:"fullName",value:"id"})},placeholder:{type:String,default:"请选择"},multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},filterable:{type:Boolean,default:!1},isForm:{type:Boolean,default:!0}},data:()=>({innerValue:"",defaultValue:[],showSelectModal:!1}),watch:{modelValue:{immediate:!0,handler(e){this.setDefault()}},options:{immediate:!0,handler(e){this.setDefault()}}},computed:{list(){return this.options}},methods:{openSelect(){this.disabled||(this.showSelectModal=!0)},selectConfirm(e,l=""){if(this.multiple)this.innerValue=e.label,this.defaultValue=e.value,this.$emit("update:modelValue",e.value||[]),this.$emit("change",e.value||[],e.list||[]);else{if(!e.length)return;const l=this.options[e[0].index]||{};this.innerValue=l[this.props.label],this.defaultValue=[e[0][this.props.value]],this.$emit("update:modelValue",l[this.props.value]),this.$emit("change",l[this.props.value],l)}},setDefault(){if(!this.options.length)return this.innerValue="";if(this.multiple){if(this.innerValue="",this.defaultValue=[],!this.modelValue||!this.modelValue.length)return;this.defaultValue=this.modelValue;for(let e=0;e<this.options.length;e++){const l=this.options[e];for(let e=0;e<this.modelValue.length;e++){const t=this.modelValue[e];l[this.props.value]==t&&(this.innerValue?this.innerValue+=","+l[this.props.label]:this.innerValue+=l[this.props.label])}}}else{if(this.innerValue="",this.defaultValue=[],!this.modelValue&&0!==this.modelValue)return;for(let e=0;e<this.options.length;e++)if(this.options[e][this.props.value]===this.modelValue)return this.defaultValue=[this.modelValue],void(this.innerValue=this.options[e][this.props.label])}},close(){this.showSelectModal=!1}}},[["render",function(r,h,d,m,f,c){const V=p(l("u-input"),e),b=t("MultSelect"),v=n;return a(),s(v,{class:"jnpf-select"},{default:i((()=>[d.isForm?(a(),s(V,{key:0,"input-align":"right",type:"select","select-open":f.showSelectModal,modelValue:f.innerValue,"onUpdate:modelValue":h[0]||(h[0]=e=>f.innerValue=e),placeholder:d.placeholder,onClick:c.openSelect},null,8,["select-open","modelValue","placeholder","onClick"])):o("",!0),u(b,{list:c.list,show:f.showSelectModal,"value-name":d.props.value,"label-name":d.props.label,defaultValue:f.defaultValue,onConfirm:c.selectConfirm,onClose:c.close,filterable:d.filterable,multiple:d.multiple,labelName:d.props.label,valueName:d.props.value},null,8,["list","show","value-name","label-name","defaultValue","onConfirm","onClose","filterable","multiple","labelName","valueName"])])),_:1})}],["__scopeId","data-v-8a738214"]]);export{d as _};
import{b8 as e,q as t,o as a,c as i,w as l,t as o,R as s,G as n,i as u}from"./index-v_Wqmvb-.js";import{_ as d}from"./u-loading.C8RFMtHv.js";import{r}from"./uni-app.es.CBJqksiz.js";import{_ as c}from"./_plugin-vue_export-helper.BCo6x5W8.js";const h=c({name:"u-switch",emits:["update:modelValue","input","change"],props:{value:{type:[Number,String,Boolean],default:!1},modelValue:{type:[Number,String,Boolean],default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:[Number,String],default:50},activeColor:{type:String,default:"#2979ff"},inactiveColor:{type:String,default:"#ffffff"},vibrateShort:{type:Boolean,default:!1},activeValue:{type:[Number,String,Boolean],default:!0},inactiveValue:{type:[Number,String,Boolean],default:!1}},data:()=>({}),computed:{valueCom(){return this.modelValue},switchStyle(){let e={};return e.fontSize=this.size+"rpx",e.backgroundColor=this.valueCom?this.activeColor:this.inactiveColor,e},loadingColor(){return this.valueCom?this.activeColor:null}},methods:{onClick(){this.disabled||this.loading||(this.vibrateShort&&e(),this.$emit("input",!this.valueCom),this.$emit("update:modelValue",!this.valueCom),this.$nextTick((()=>{this.$emit("change",this.valueCom?this.activeValue:this.inactiveValue)})))}}},[["render",function(e,c,h,m,p,f){const v=r(t("u-loading"),d),g=u;return a(),i(g,{class:n(["u-switch",[1==f.valueCom?"u-switch--on":"",h.disabled?"u-switch--disabled":""]]),onClick:f.onClick,style:s([f.switchStyle])},{default:l((()=>[o(g,{class:"u-switch__node node-class",style:s({width:e.$u.addUnit(h.size),height:e.$u.addUnit(h.size)})},{default:l((()=>[o(v,{show:h.loading,class:"u-switch__loading",size:.6*h.size,color:f.loadingColor},null,8,["show","size","color"])])),_:1},8,["style"])])),_:1},8,["class","onClick","style"])}],["__scopeId","data-v-87400e0f"]]);const m=c({name:"jnpf-switch",props:{modelValue:{type:[String,Number,Boolean]},activeValue:{type:[String,Number,Boolean],default:1},inactiveValue:{type:[String,Number,Boolean],default:0},size:{default:40},disabled:{type:Boolean,default:!1}},data:()=>({innerValue:""}),watch:{modelValue:{handler(e){this.innerValue=!!Number(e)},immediate:!0}},methods:{onChange(e){this.$emit("update:modelValue",e),this.$emit("change",e)}}},[["render",function(e,s,n,d,c,m){const p=r(t("u-switch"),h),f=u;return a(),i(f,{class:"jnpf-switch"},{default:l((()=>[o(p,{modelValue:c.innerValue,"onUpdate:modelValue":s[0]||(s[0]=e=>c.innerValue=e),"active-value":n.activeValue,"inactive-value":n.inactiveValue,disabled:n.disabled,onChange:m.onChange,size:n.size},null,8,["modelValue","active-value","inactive-value","disabled","onChange","size"])])),_:1})}],["__scopeId","data-v-a6c5e7af"]]);export{m as _}; import{b8 as e,q as t,o as a,c as i,w as l,t as o,R as s,G as n,i as u}from"./index-q4e9g9yE.js";import{_ as d}from"./u-loading.lH2Hctim.js";import{r}from"./uni-app.es.xrkMgk95.js";import{_ as c}from"./_plugin-vue_export-helper.BCo6x5W8.js";const h=c({name:"u-switch",emits:["update:modelValue","input","change"],props:{value:{type:[Number,String,Boolean],default:!1},modelValue:{type:[Number,String,Boolean],default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:[Number,String],default:50},activeColor:{type:String,default:"#2979ff"},inactiveColor:{type:String,default:"#ffffff"},vibrateShort:{type:Boolean,default:!1},activeValue:{type:[Number,String,Boolean],default:!0},inactiveValue:{type:[Number,String,Boolean],default:!1}},data:()=>({}),computed:{valueCom(){return this.modelValue},switchStyle(){let e={};return e.fontSize=this.size+"rpx",e.backgroundColor=this.valueCom?this.activeColor:this.inactiveColor,e},loadingColor(){return this.valueCom?this.activeColor:null}},methods:{onClick(){this.disabled||this.loading||(this.vibrateShort&&e(),this.$emit("input",!this.valueCom),this.$emit("update:modelValue",!this.valueCom),this.$nextTick((()=>{this.$emit("change",this.valueCom?this.activeValue:this.inactiveValue)})))}}},[["render",function(e,c,h,m,p,f){const v=r(t("u-loading"),d),g=u;return a(),i(g,{class:n(["u-switch",[1==f.valueCom?"u-switch--on":"",h.disabled?"u-switch--disabled":""]]),onClick:f.onClick,style:s([f.switchStyle])},{default:l((()=>[o(g,{class:"u-switch__node node-class",style:s({width:e.$u.addUnit(h.size),height:e.$u.addUnit(h.size)})},{default:l((()=>[o(v,{show:h.loading,class:"u-switch__loading",size:.6*h.size,color:f.loadingColor},null,8,["show","size","color"])])),_:1},8,["style"])])),_:1},8,["class","onClick","style"])}],["__scopeId","data-v-87400e0f"]]);const m=c({name:"jnpf-switch",props:{modelValue:{type:[String,Number,Boolean]},activeValue:{type:[String,Number,Boolean],default:1},inactiveValue:{type:[String,Number,Boolean],default:0},size:{default:40},disabled:{type:Boolean,default:!1}},data:()=>({innerValue:""}),watch:{modelValue:{handler(e){this.innerValue=!!Number(e)},immediate:!0}},methods:{onChange(e){this.$emit("update:modelValue",e),this.$emit("change",e)}}},[["render",function(e,s,n,d,c,m){const p=r(t("u-switch"),h),f=u;return a(),i(f,{class:"jnpf-switch"},{default:l((()=>[o(p,{modelValue:c.innerValue,"onUpdate:modelValue":s[0]||(s[0]=e=>c.innerValue=e),"active-value":n.activeValue,"inactive-value":n.inactiveValue,disabled:n.disabled,onChange:m.onChange,size:n.size},null,8,["modelValue","active-value","inactive-value","disabled","onChange","size"])])),_:1})}],["__scopeId","data-v-a6c5e7af"]]);export{m as _};
This diff is collapsed.
import{O as a,aK as t,aL as e}from"./index-v_Wqmvb-.js";const s={onShow(){this.setTabBarBadge()},methods:{setTabBarBadge(){const s=a().getBadgeNum||0;s?t({index:3,text:s>99?"99+":s.toString()}):e({index:3})}}};export{s as I}; import{O as a,aK as t,aL as e}from"./index-q4e9g9yE.js";const s={onShow(){this.setTabBarBadge()},methods:{setTabBarBadge(){const s=a().getBadgeNum||0;s?t({index:3,text:s>99?"99+":s.toString()}):e({index:3})}}};export{s as I};
import{o as a,c as s,w as t,t as o,v as e,E as n,H as r,i as c}from"./index-v_Wqmvb-.js";import{r as l}from"./resources.DipqUmnN.js";import{_ as i}from"./_plugin-vue_export-helper.BCo6x5W8.js";const u=i({data:()=>({icon:l.message.nodata})},[["render",function(l,i,u,d,f,m){const _=n,p=r,x=c;return a(),s(x,{class:"notData-box u-flex-col"},{default:t((()=>[o(x,{class:"u-flex-col notData-inner"},{default:t((()=>[o(_,{src:f.icon,mode:"",class:"notData-inner-img"},null,8,["src"]),o(p,{class:"notData-inner-text"},{default:t((()=>[e("暂无数据")])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-31b109f7"]]);export{u as N}; import{o as a,c as s,w as t,t as o,v as e,E as n,H as r,i as c}from"./index-q4e9g9yE.js";import{r as l}from"./resources.DipqUmnN.js";import{_ as i}from"./_plugin-vue_export-helper.BCo6x5W8.js";const u=i({data:()=>({icon:l.message.nodata})},[["render",function(l,i,u,d,f,m){const _=n,p=r,x=c;return a(),s(x,{class:"notData-box u-flex-col"},{default:t((()=>[o(x,{class:"u-flex-col notData-inner"},{default:t((()=>[o(_,{src:f.icon,mode:"",class:"notData-inner-img"},null,8,["src"]),o(p,{class:"notData-inner-text"},{default:t((()=>[e("暂无数据")])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-31b109f7"]]);export{u as N};
import{a6 as r}from"./index-v_Wqmvb-.js";function t(t){return r({url:`/api/extend/CrmOrder/${t}`,method:"DELETE"})}function e(t,e){return r({url:"/api/extend/CrmOrder",method:"get",data:t,options:e})}function o(t){return r({url:"/api/extend/CrmOrder/Goods",method:"get",data:t,options:{load:!1}})}function d(t){return r({url:"/api/extend/CrmOrder/Customer",method:"get",data:{keyword:t||""},options:{load:!1}})}export{t as D,d as a,e as b,o as g}; import{a6 as r}from"./index-q4e9g9yE.js";function t(t){return r({url:`/api/extend/CrmOrder/${t}`,method:"DELETE"})}function e(t,e){return r({url:"/api/extend/CrmOrder",method:"get",data:t,options:e})}function o(t){return r({url:"/api/extend/CrmOrder/Goods",method:"get",data:t,options:{load:!1}})}function d(t){return r({url:"/api/extend/CrmOrder/Customer",method:"get",data:{keyword:t||""},options:{load:!1}})}export{t as D,d as a,e as b,o as g};
import{a1 as t,c as e,w as r,i as s,o as a,t as o,N as l}from"./index-v_Wqmvb-.js";import{_ as n}from"./_plugin-vue_export-helper.BCo6x5W8.js";const u=n({data:()=>({url:""}),onLoad(e){this.url=decodeURIComponent(e.url);const r=e.fullName||"";5!=e.type&&r&&t({title:r})}},[["render",function(t,n,u,c,d,i){const p=l,f=s;return a(),e(f,null,{default:r((()=>[o(p,{src:d.url},null,8,["src"])])),_:1})}]]);export{u as default}; import{a1 as t,c as e,w as r,i as s,o as a,t as o,N as l}from"./index-q4e9g9yE.js";import{_ as n}from"./_plugin-vue_export-helper.BCo6x5W8.js";const u=n({data:()=>({url:""}),onLoad(e){this.url=decodeURIComponent(e.url);const r=e.fullName||"";5!=e.type&&r&&t({title:r})}},[["render",function(t,n,u,c,d,i){const p=l,f=s;return a(),e(f,null,{default:r((()=>[o(p,{src:d.url},null,8,["src"])])),_:1})}]]);export{u as default};
import{a as s,bN as e,J as t,$ as i,Q as a,q as n,c as o,w as l,i as c,o as r,C as g,D as u,F as f,t as h,a0 as k,v as m,G as v,A as d,E as I}from"./index-v_Wqmvb-.js";import{_ as p}from"./u-icon.gMSDOAx_.js";import{r as _}from"./uni-app.es.CBJqksiz.js";import{_ as L}from"./u-button.BFBbH0w1.js";import{N as b}from"./noData.CzcQHx8c.js";import{_ as D}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./resources.DipqUmnN.js";const x=D({components:{NoData:b},data:()=>({show:!1,signListInvoke:[]}),async onLoad(e){this.signListInvoke=await this.getSignData(),this.clearChoose();let t=decodeURIComponent(e.signVal);t&&this.setMainSignInvokeWithValue(t),s("sign-fieldKey",e.fieldKey)},methods:{getSignData(){return new Promise(((s,t)=>{this.signListInvoke.length?s(this.signListInvoke):e().then((e=>{s(e.data||[])}))}))},clearChoose(){for(let s=0;s<this.signListInvoke.length;s++){let e=this.signListInvoke[s];e.isDefault=0,this.$set(this.signListInvoke,s,e)}},setMainSignInvokeWithValue(s){for(let e=0;e<this.signListInvoke.length;e++){let t=this.signListInvoke[e];if(t.signImg===s){this.setMainSignInvoke(t,e);break}}},eventLauncher(s){if("cancel"===s&&t(),"confirm"===s){let s=this.signListInvoke.filter((s=>1===s.isDefault));if(!s||!s.length)return this.$u.toast("请选择签名");this.$nextTick((()=>i("setSignValue",s[0].signImg))),t()}},setMainSignInvoke(s,e){this.clearChoose(),s.isDefault=1,this.$set(this.signListInvoke,e,s)}}},[["render",function(s,e,t,i,b,D){const x=a("NoData"),y=I,C=c,S=_(n("u-icon"),p),j=_(n("u-button"),L);return r(),o(C,{class:""},{default:l((()=>[b.signListInvoke.length?(r(),o(C,{key:1,class:"page_v u-flex-col"},{default:l((()=>[(r(!0),g(f,null,u(b.signListInvoke,((s,e)=>(r(),o(C,{key:e,class:v([s.isDefault?"active":"","lists_box"]),onClick:t=>D.setMainSignInvoke(s,e)},{default:l((()=>[h(C,{class:"signImgBox"},{default:l((()=>[h(y,{src:s.signImg,mode:"scaleToFill",class:"signImg"},null,8,["src"])])),_:2},1024),1==s.isDefault?(r(),o(C,{key:0,class:"icon-checked-box"},{default:l((()=>[h(C,{class:"icon-checked"},{default:l((()=>[h(S,{name:"checkbox-mark",color:"#fff",size:"28"})])),_:1})])),_:1})):d("",!0)])),_:2},1032,["class","onClick"])))),128))])),_:1})):(r(),o(x,{key:0})),h(C,{class:"flowBefore-actions"},{default:l((()=>[h(j,{class:"buttom-btn",onClick:e[0]||(e[0]=k((s=>D.eventLauncher("cancel")),["stop"]))},{default:l((()=>[m("取消")])),_:1}),h(j,{class:"buttom-btn",type:"primary",onClick:e[1]||(e[1]=k((s=>D.eventLauncher("confirm")),["stop"]))},{default:l((()=>[m("确定")])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-afa5a5a9"]]);export{x as default}; import{a as s,bN as e,J as t,$ as i,Q as a,q as n,c as o,w as l,i as c,o as r,C as g,D as u,F as f,t as h,a0 as k,v as m,G as v,A as d,E as I}from"./index-q4e9g9yE.js";import{_ as p}from"./u-icon.-mUgdvoC.js";import{r as _}from"./uni-app.es.xrkMgk95.js";import{_ as L}from"./u-button.C4-DWqAF.js";import{N as b}from"./noData.DQuFd1EJ.js";import{_ as D}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./resources.DipqUmnN.js";const x=D({components:{NoData:b},data:()=>({show:!1,signListInvoke:[]}),async onLoad(e){this.signListInvoke=await this.getSignData(),this.clearChoose();let t=decodeURIComponent(e.signVal);t&&this.setMainSignInvokeWithValue(t),s("sign-fieldKey",e.fieldKey)},methods:{getSignData(){return new Promise(((s,t)=>{this.signListInvoke.length?s(this.signListInvoke):e().then((e=>{s(e.data||[])}))}))},clearChoose(){for(let s=0;s<this.signListInvoke.length;s++){let e=this.signListInvoke[s];e.isDefault=0,this.$set(this.signListInvoke,s,e)}},setMainSignInvokeWithValue(s){for(let e=0;e<this.signListInvoke.length;e++){let t=this.signListInvoke[e];if(t.signImg===s){this.setMainSignInvoke(t,e);break}}},eventLauncher(s){if("cancel"===s&&t(),"confirm"===s){let s=this.signListInvoke.filter((s=>1===s.isDefault));if(!s||!s.length)return this.$u.toast("请选择签名");this.$nextTick((()=>i("setSignValue",s[0].signImg))),t()}},setMainSignInvoke(s,e){this.clearChoose(),s.isDefault=1,this.$set(this.signListInvoke,e,s)}}},[["render",function(s,e,t,i,b,D){const x=a("NoData"),y=I,C=c,S=_(n("u-icon"),p),j=_(n("u-button"),L);return r(),o(C,{class:""},{default:l((()=>[b.signListInvoke.length?(r(),o(C,{key:1,class:"page_v u-flex-col"},{default:l((()=>[(r(!0),g(f,null,u(b.signListInvoke,((s,e)=>(r(),o(C,{key:e,class:v([s.isDefault?"active":"","lists_box"]),onClick:t=>D.setMainSignInvoke(s,e)},{default:l((()=>[h(C,{class:"signImgBox"},{default:l((()=>[h(y,{src:s.signImg,mode:"scaleToFill",class:"signImg"},null,8,["src"])])),_:2},1024),1==s.isDefault?(r(),o(C,{key:0,class:"icon-checked-box"},{default:l((()=>[h(C,{class:"icon-checked"},{default:l((()=>[h(S,{name:"checkbox-mark",color:"#fff",size:"28"})])),_:1})])),_:1})):d("",!0)])),_:2},1032,["class","onClick"])))),128))])),_:1})):(r(),o(x,{key:0})),h(C,{class:"flowBefore-actions"},{default:l((()=>[h(j,{class:"buttom-btn",onClick:e[0]||(e[0]=k((s=>D.eventLauncher("cancel")),["stop"]))},{default:l((()=>[m("取消")])),_:1}),h(j,{class:"buttom-btn",type:"primary",onClick:e[1]||(e[1]=k((s=>D.eventLauncher("confirm")),["stop"]))},{default:l((()=>[m("确定")])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-afa5a5a9"]]);export{x as default};
import{g as s,s as a,r,c as e,o as t,i as n}from"./index-v_Wqmvb-.js";import{r as o}from"./resources.DipqUmnN.js";import{_ as i}from"./_plugin-vue_export-helper.BCo6x5W8.js";const p=i({data:()=>({startup:o.startup.main}),onLoad(){if(s("isUpdate"))return;s("launchFlag");const e=s("token")||"";e?a({url:"/pages/index/index"}):r({url:"/pages/login/index"})}},[["render",function(s,a,r,o,i,p){const u=n;return t(),e(u,{class:"launch-v"})}],["__scopeId","data-v-2f3dcf67"]]);export{p as default}; import{g as s,s as a,r,c as e,o as t,i as n}from"./index-q4e9g9yE.js";import{r as o}from"./resources.DipqUmnN.js";import{_ as i}from"./_plugin-vue_export-helper.BCo6x5W8.js";const p=i({data:()=>({startup:o.startup.main}),onLoad(){if(s("isUpdate"))return;s("launchFlag");const e=s("token")||"";e?a({url:"/pages/index/index"}):r({url:"/pages/login/index"})}},[["render",function(s,a,r,o,i,p){const u=n;return t(),e(u,{class:"launch-v"})}],["__scopeId","data-v-2f3dcf67"]]);export{p as default};
import{c as s,w as t,i as a,o as e,t as r,v as l,x as o}from"./index-v_Wqmvb-.js";import{_ as u}from"./_plugin-vue_export-helper.BCo6x5W8.js";const n=u({name:"scanResult",data:()=>({result:""}),onLoad(s){this.result=s.result}},[["render",function(u,n,c,d,_,i){const p=a;return e(),s(p,{class:"scanResult-v"},{default:t((()=>[r(p,{class:"text"},{default:t((()=>[l(o(_.result),1)])),_:1})])),_:1})}],["__scopeId","data-v-d1cb4b65"]]);export{n as default}; import{c as s,w as t,i as a,o as e,t as r,v as l,x as o}from"./index-q4e9g9yE.js";import{_ as u}from"./_plugin-vue_export-helper.BCo6x5W8.js";const n=u({name:"scanResult",data:()=>({result:""}),onLoad(s){this.result=s.result}},[["render",function(u,n,c,d,_,i){const p=a;return e(),s(p,{class:"scanResult-v"},{default:t((()=>[r(p,{class:"text"},{default:t((()=>[l(o(_.result),1)])),_:1})])),_:1})}],["__scopeId","data-v-d1cb4b65"]]);export{n as default};
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment