Commit 55a61839 authored by zuoliyuan's avatar zuoliyuan

授权

parent dc4a37f3
......@@ -39,7 +39,7 @@
const token = uni.getStorageSync("token") || '';
console.log(launchFlag, 999)
if (launchFlag) {
alert(1)
// alert(1)
if (token) {
uni.switchTab({
url: '/pages/index/index'
......@@ -50,7 +50,7 @@
})
}
} else {
alert(2)
// alert(2)
// #ifdef APP-PLUS
uni.redirectTo({
url: '/pages/launch/policy'
......@@ -58,7 +58,7 @@
// #endif
// #ifndef APP-PLUS
if (token) {
alert(3)
// alert(3)
uni.switchTab({
url: '/pages/index/index'
})
......@@ -67,14 +67,14 @@
// url: '/pages/login/qywxLogin'
// })
if (!localStorage.getItem("hasLogin")) {
alert(4)
// alert(4)
uni.redirectTo({
url: '/pages/login/qywxLogin'
})
}
if (this.$route.query.code) {
alert(5)
// alert(5)
// 从静模授权进入首页
localStorage.setItem("auth_code", this.$route.query.code)
this.getToken()
......@@ -90,13 +90,6 @@
getToken: function() {
const that = this
const userStore = useUserStore()
const map = new Map();
map.set('name', 'John');
map.set('age', 30);
const data = {
nonPassword: 'nonPassword',
grant_type: 'password',
......@@ -105,9 +98,6 @@
getUrl(data).then(res => {
this.title = this.$route.query.code
alert("res:" + res.data.token + ';' + "code2:" + this.$route.query.code +
';' + "res1:" +
res.data);
let token = res.data.token
userStore.setToken(token)
// this.rememberAccount()
......
import{_ as e}from"./uni-icons.CFEb59g6.js";import{A as r,o,d as t,w as s,e as a,f as l,F as i,H as u,G as m,i as n}from"./index-Bvn9PO3M.js";import{r as p}from"./uni-app.es.Dfh5xEru.js";import{_ as d}from"./index.BSBBxDjy.js";import{_ as c,a as f}from"./u-form.Bi6vGHBb.js";import{_ as h}from"./u-button.a-eF2y-q.js";import{_ as b}from"./u-popup.Dx1vMbYR.js";import{_}from"./_plugin-vue_export-helper.BCo6x5W8.js";const F=_({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(_,F,y,U,k,D){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"),b);return o(),t(w,{class:"dataForm-v"},{default:s((()=>[a(v,{mode:"left",popup:!1,modelValue:k.show,"onUpdate:modelValue":F[0]||(F[0]=e=>k.show=e),length:"auto",onClose:D.close,width:"100%"},{default:s((()=>[a(w,{class:"diyTitle u-flex"},{default:s((()=>[a(j,{type:"back",size:"27",class:"uni-btn-icon",onClick:D.black},null,8,["onClick"]),a(w,{class:"txt"},{default:s((()=>[l("异常处理")])),_:1})])),_:1}),a(w,{class:"jnpf-wrap-form"},{default:s((()=>[a(R,{model:k.errorDataForm,ref:"errorDataForm",errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"},{default:s((()=>[(o(!0),i(m,null,u(k.list,((e,r)=>(o(),t(L,{prop:"errorDataForm",key:r,label:e.nodeName,required:""},{default:s((()=>[a(C,{modelValue:k.errorDataForm.errorRuleUserList[e.nodeId],"onUpdate:modelValue":r=>k.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:D.cancel},{default:s((()=>[l("取消")])),_:1},8,["onClick"]),a(V,{class:"buttom-btn",type:"primary",onClick:D.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.BkHFQzJ0.js";import{A as r,o,d as t,w as s,e as a,f as l,F as i,H as u,G as m,i as n}from"./index-1uIaDgOY.js";import{r as p}from"./uni-app.es.tpUoMbKP.js";import{_ as d}from"./index.DlZRm4Bl.js";import{_ as c,a as f}from"./u-form.wO8PkvDz.js";import{_ as h}from"./u-button.Cx6y3hPT.js";import{_ as b}from"./u-popup.DzMWZUSB.js";import{_}from"./_plugin-vue_export-helper.BCo6x5W8.js";const F=_({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(_,F,y,U,k,D){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"),b);return o(),t(w,{class:"dataForm-v"},{default:s((()=>[a(v,{mode:"left",popup:!1,modelValue:k.show,"onUpdate:modelValue":F[0]||(F[0]=e=>k.show=e),length:"auto",onClose:D.close,width:"100%"},{default:s((()=>[a(w,{class:"diyTitle u-flex"},{default:s((()=>[a(j,{type:"back",size:"27",class:"uni-btn-icon",onClick:D.black},null,8,["onClick"]),a(w,{class:"txt"},{default:s((()=>[l("异常处理")])),_:1})])),_:1}),a(w,{class:"jnpf-wrap-form"},{default:s((()=>[a(R,{model:k.errorDataForm,ref:"errorDataForm",errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"},{default:s((()=>[(o(!0),i(m,null,u(k.list,((e,r)=>(o(),t(L,{prop:"errorDataForm",key:r,label:e.nodeName,required:""},{default:s((()=>[a(C,{modelValue:k.errorDataForm.errorRuleUserList[e.nodeId],"onUpdate:modelValue":r=>k.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:D.cancel},{default:s((()=>[l("取消")])),_:1},8,["onClick"]),a(V,{class:"buttom-btn",type:"primary",onClick:D.submit},{default:s((()=>[l("确定")])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1},8,["modelValue","onClose"])])),_:1})}],["__scopeId","data-v-5196f04b"]]);export{F as E};
import{a9 as a}from"./index-Bvn9PO3M.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{a9 as a}from"./index-1uIaDgOY.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{bg as t,bh as e,bi as i,bj as r,bk as s,bl as a,bm as n,bn as o,bo as h}from"./index-Bvn9PO3M.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{bg as t,bh as e,bi as i,bj as r,bk as s,bl as a,bm as n,bn as o,bo as h}from"./index-1uIaDgOY.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{a9 as e}from"./index-Bvn9PO3M.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{a9 as e}from"./index-1uIaDgOY.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{a9 as o}from"./index-Bvn9PO3M.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{a9 as o}from"./index-1uIaDgOY.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{a9 as o}from"./index-Bvn9PO3M.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{a9 as o}from"./index-1uIaDgOY.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{a9 as o}from"./index-Bvn9PO3M.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{a9 as o}from"./index-1uIaDgOY.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 e,A as t,o as s,d as a,w as l,e as i,F as o,H as r,G as d,i as f,D as u,J as n,f as c,t as p,h as m,I as h}from"./index-Bvn9PO3M.js";import{_}from"./u-tag.Cb_g_i8P.js";import{r as g}from"./uni-app.es.Dfh5xEru.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(t){const s={id:t.processId,flowId:t.flowId,opType:this.opType,status:t.status,taskNodeId:t.thisStepId,taskId:t.id};e({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(s))})},getLableValue(e){var t="";switch(e){case 1:default:t="普通";break;case 2:t="重要";break;case 3:t="紧急"}return t}}},[["render",function(e,w,y,b,k,I){const x=g(t("u-tag"),_),T=f,S=m,j=h;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,((t,o)=>(s(),a(T,{class:"item",key:t.id,onClick:e=>I.handleClick(t)},{default:l((()=>[i(T,{class:"item-left"},{default:l((()=>[i(T,{class:"item-left-top"},{default:l((()=>[t.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:n(["common-lable",{"urgent-lable":2==t.flowUrgent,"important-lable":3==t.flowUrgent}])},{default:l((()=>[c(p(I.getLableValue(t.flowUrgent)),1)])),_:2},1032,["class"]),i(S,{class:"title u-font-28 u-line-1"},{default:l((()=>[c(p(t.fullName),1)])),_:2},1024)])),_:2},1024),i(S,{class:"title u-line-1 u-font-24"},{default:l((()=>[c("审批节点:"),i(S,{class:"titInner"},{default:l((()=>[c(p(t.thisStep?t.thisStep:"暂无"),1)])),_:2},1024)])),_:2},1024),i(S,{class:"time title u-font-24"},{default:l((()=>[c(p(k.title)+"",1),i(S,{class:"titInner"},{default:l((()=>[c(p(t.creatorTime?e.$u.timeFormat(t.creatorTime,"yyyy-mm-dd hh:MM:ss"):""),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),i(T,{class:"item-right"},{default:l((()=>[i(j,{src:t.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 e,A as t,o as s,d as a,w as l,e as i,F as o,H as r,G as d,i as f,D as u,J as n,f as c,t as p,h as m,I as h}from"./index-1uIaDgOY.js";import{_}from"./u-tag.CG6yF_kM.js";import{r as g}from"./uni-app.es.tpUoMbKP.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(t){const s={id:t.processId,flowId:t.flowId,opType:this.opType,status:t.status,taskNodeId:t.thisStepId,taskId:t.id};e({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(s))})},getLableValue(e){var t="";switch(e){case 1:default:t="普通";break;case 2:t="重要";break;case 3:t="紧急"}return t}}},[["render",function(e,w,y,b,k,I){const x=g(t("u-tag"),_),T=f,S=m,j=h;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,((t,o)=>(s(),a(T,{class:"item",key:t.id,onClick:e=>I.handleClick(t)},{default:l((()=>[i(T,{class:"item-left"},{default:l((()=>[i(T,{class:"item-left-top"},{default:l((()=>[t.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:n(["common-lable",{"urgent-lable":2==t.flowUrgent,"important-lable":3==t.flowUrgent}])},{default:l((()=>[c(p(I.getLableValue(t.flowUrgent)),1)])),_:2},1032,["class"]),i(S,{class:"title u-font-28 u-line-1"},{default:l((()=>[c(p(t.fullName),1)])),_:2},1024)])),_:2},1024),i(S,{class:"title u-line-1 u-font-24"},{default:l((()=>[c("审批节点:"),i(S,{class:"titInner"},{default:l((()=>[c(p(t.thisStep?t.thisStep:"暂无"),1)])),_:2},1024)])),_:2},1024),i(S,{class:"time title u-font-24"},{default:l((()=>[c(p(k.title)+"",1),i(S,{class:"titInner"},{default:l((()=>[c(p(t.creatorTime?e.$u.timeFormat(t.creatorTime,"yyyy-mm-dd hh:MM:ss"):""),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),i(T,{class:"item-right"},{default:l((()=>[i(j,{src:t.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};
.launch-v .launch-box[data-v-80222a0b]{padding-top:5.3125rem}.launch-v .launch-box .title[data-v-80222a0b]{font-size:1.5625rem;line-height:2.1875rem;color:#5098fa;text-align:center;margin-bottom:.3125rem}.launch-v .launch-box .version[data-v-80222a0b]{width:7.8125rem;margin:0 auto;text-align:center;height:1.5625rem;border:1px solid #5098FA;border-radius:.78125rem;line-height:1.5rem;color:#5098fa;letter-spacing:.0625rem}.launch-v .launch-box .launch-img[data-v-80222a0b]{margin:0 auto;width:21.25rem}.launch-v .launch-box .launch-img uni-image[data-v-80222a0b]{width:100%}.launch-v .launch-box .copyright[data-v-80222a0b]{position:fixed;bottom:3.75rem;right:0;left:0;text-align:center;color:#999;font-size:.75rem}
.launch-v .launch-box[data-v-f65ded85]{padding-top:5.3125rem}.launch-v .launch-box .title[data-v-f65ded85]{font-size:1.5625rem;line-height:2.1875rem;color:#5098fa;text-align:center;margin-bottom:.3125rem}.launch-v .launch-box .version[data-v-f65ded85]{width:7.8125rem;margin:0 auto;text-align:center;height:1.5625rem;border:1px solid #5098FA;border-radius:.78125rem;line-height:1.5rem;color:#5098fa;letter-spacing:.0625rem}.launch-v .launch-box .launch-img[data-v-f65ded85]{margin:0 auto;width:21.25rem}.launch-v .launch-box .launch-img uni-image[data-v-f65ded85]{width:100%}.launch-v .launch-box .copyright[data-v-f65ded85]{position:fixed;bottom:3.75rem;right:0;left:0;text-align:center;color:#999;font-size:.75rem}
import{ba as e,A as a,o as t,d as i,w as l,e as o,V as s,J as n,i as u}from"./index-Bvn9PO3M.js";import{_ as d}from"./u-loading.BDlv1lKg.js";import{r}from"./uni-app.es.Dfh5xEru.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(a("u-loading"),d),g=u;return t(),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(a("u-switch"),h),f=u;return t(),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{ba as e,A as a,o as t,d as i,w as l,e as o,V as s,J as n,i as u}from"./index-1uIaDgOY.js";import{_ as d}from"./u-loading.C_J95105.js";import{r}from"./uni-app.es.tpUoMbKP.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(a("u-loading"),d),g=u;return t(),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(a("u-switch"),h),f=u;return t(),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{_ as e}from"./u-input.DtHm7xD8.js";import{A as l,U as t,o as a,d as s,w as i,D as o,e as u,i as n}from"./index-Bvn9PO3M.js";import{r as p}from"./uni-app.es.Dfh5xEru.js";import{M as r}from"./MultSelect.DuQ3qAW0.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.CNnqd6Hq.js";import{A as l,U as t,o as a,d as s,w as i,D as o,e as u,i as n}from"./index-1uIaDgOY.js";import{r as p}from"./uni-app.es.tpUoMbKP.js";import{M as r}from"./MultSelect.BThF92l_.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{R as a,aM as t,aN as e}from"./index-Bvn9PO3M.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{R as a,aM as t,aN as e}from"./index-1uIaDgOY.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,d as s,w as e,e as o,f as t,I as n,h as r,i as c}from"./index-Bvn9PO3M.js";import{r as l}from"./resources.DipqUmnN.js";import{_ as i}from"./_plugin-vue_export-helper.BCo6x5W8.js";const d=i({data:()=>({icon:l.message.nodata})},[["render",function(l,i,d,f,u,m){const _=n,p=r,x=c;return a(),s(x,{class:"notData-box u-flex-col"},{default:e((()=>[o(x,{class:"u-flex-col notData-inner"},{default:e((()=>[o(_,{src:u.icon,mode:"",class:"notData-inner-img"},null,8,["src"]),o(p,{class:"notData-inner-text"},{default:e((()=>[t("暂无数据")])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-31b109f7"]]);export{d as N};
import{o as a,d as s,w as e,e as o,f as t,I as n,h as r,i as c}from"./index-1uIaDgOY.js";import{r as l}from"./resources.DipqUmnN.js";import{_ as i}from"./_plugin-vue_export-helper.BCo6x5W8.js";const d=i({data:()=>({icon:l.message.nodata})},[["render",function(l,i,d,f,u,m){const _=n,p=r,x=c;return a(),s(x,{class:"notData-box u-flex-col"},{default:e((()=>[o(x,{class:"u-flex-col notData-inner"},{default:e((()=>[o(_,{src:u.icon,mode:"",class:"notData-inner-img"},null,8,["src"]),o(p,{class:"notData-inner-text"},{default:e((()=>[t("暂无数据")])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-31b109f7"]]);export{d as N};
import{a9 as r}from"./index-Bvn9PO3M.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{a9 as r}from"./index-1uIaDgOY.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{a4 as e,d as r,w as s,i as t,o as a,e as o,Q as l}from"./index-Bvn9PO3M.js";import{_ as n}from"./_plugin-vue_export-helper.BCo6x5W8.js";const u=n({data:()=>({url:""}),onLoad(r){this.url=decodeURIComponent(r.url);const s=r.fullName||"";5!=r.type&&s&&e({title:s})}},[["render",function(e,n,u,d,i,p){const c=l,f=t;return a(),r(f,null,{default:s((()=>[o(c,{src:i.url},null,8,["src"])])),_:1})}]]);export{u as default};
import{a4 as e,d as r,w as s,i as t,o as a,e as o,Q as l}from"./index-1uIaDgOY.js";import{_ as n}from"./_plugin-vue_export-helper.BCo6x5W8.js";const u=n({data:()=>({url:""}),onLoad(r){this.url=decodeURIComponent(r.url);const s=r.fullName||"";5!=r.type&&s&&e({title:s})}},[["render",function(e,n,u,d,i,p){const c=l,f=t;return a(),r(f,null,{default:s((()=>[o(c,{src:i.url},null,8,["src"])])),_:1})}]]);export{u as default};
This diff is collapsed.
import{u as t,l as e,s,d as n,o,i}from"./index-Bvn9PO3M.js";import{_ as a}from"./_plugin-vue_export-helper.BCo6x5W8.js";const r=a({data:()=>({token:""}),onLoad(t){this.token=t.token,this.init()},methods:{init(){const n=t();n.setToken(this.token),n.getCurrentUser().then((t=>{e(),s({url:"/pages/index/index"}),this.show=!1})).catch((()=>{e(),s({url:"/pages/login/index"})}))}}},[["render",function(t,e,s,a,r,d){const h=i;return o(),n(h,{class:""})}]]);export{r as default};
import{u as t,l as e,s,d as n,o,i}from"./index-1uIaDgOY.js";import{_ as a}from"./_plugin-vue_export-helper.BCo6x5W8.js";const r=a({data:()=>({token:""}),onLoad(t){this.token=t.token,this.init()},methods:{init(){const n=t();n.setToken(this.token),n.getCurrentUser().then((t=>{e(),s({url:"/pages/index/index"}),this.show=!1})).catch((()=>{e(),s({url:"/pages/login/index"})}))}}},[["render",function(t,e,s,a,r,d){const h=i;return o(),n(h,{class:""})}]]);export{r 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