配置修改

This commit is contained in:
lijiaqi 2023-02-16 17:17:04 +08:00
parent f51825a164
commit 46384229a5
218 changed files with 1233 additions and 5 deletions

2
.gitignore vendored
View File

@ -22,7 +22,6 @@ target/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
@ -34,7 +33,6 @@ build/
.DS_Store
node_modules/
dist/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

View File

@ -0,0 +1 @@
import{_ as e}from"./_plugin-vue_export-helper-c27b6911.js";import{o as c,c as o}from"./@vue-799d75fe.js";const r={};function t(n,_){return c(),o("div",null," 404 ")}const f=e(r,[["render",t]]);export{f as default};

View File

@ -0,0 +1 @@
System.register(["./_plugin-vue_export-helper-legacy-762b7923.js","./@vue-legacy-6c3c82af.js"],(function(e,t){"use strict";var r,u,n;return{setters:[e=>{r=e._},e=>{u=e.o,n=e.c}],execute:function(){e("default",r({},[["render",function(e,t){return u(),n("div",null," 404 ")}]]))}}}));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{h as v}from"./index-949b5609.js";import{c as g}from"./lodash.clonedeep-89ac42ac.js";import{_ as U}from"./_plugin-vue_export-helper-c27b6911.js";import{f as r,h as I,k as L,ag as d,o as m,c as b,d as s,S as l,a as j,W as _,F as A,a6 as F,R as M,X as q}from"./@vue-799d75fe.js";import"./vue-router-e054bd6d.js";import"./axios-03edf72b.js";import"./form-data-d2a9677b.js";import"./pinia-b1006f6e.js";import"./vue-demi-71ba0ef2.js";import"./element-plus-69b549ae.js";import"./lodash-es-b9271f86.js";import"./@vueuse-762dd9ca.js";import"./@element-plus-4d69b6da.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-9729b6d9.js";import"./async-validator-0dc26b7a.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const z={class:"export"},G={class:"dialog-footer"},O={__name:"Export",props:{dialogVisible:[Boolean]},emits:["update:dialogVisible"],setup(k,{emit:x}){const C=k,p=r(!1),n=r([]),V=r({academy:"毕业院校",alterationSign:"变更标志",annualSalary:"年薪",birthday:"出生日期",companyName:"企业名称",contractModality:"合同形式",education:"学历",finalTrialRemark:"终审意见",firstTrialRemark:"初审意见",freshGraduate:"是否应届毕业生",gender:"性别",hireDate:"入职时间",hireType:"录用方式",jobTitle:"专业技术职称",nation:"民族",numberId:"身份证号",personnelCharacter:"人员性质",personnelType:"人员类型",politicsStatus:"政治面貌",position:"岗位职务",presentDept:"所在部门",qualification:"执业资格证书",receipts:"单据状态",recruitNumber:"人员招聘单号",remark:"备注",resignationTime:"离职时间",retirementTime:"退休时间",socialCreditCode:"统一社会信用代码",specialty:"专业",txfpEndTime:"退休返聘结束时间",txfpStartTime:"退休返聘开始时间",userName:"姓名",workState:"工作状态"}),c=r(),u=r(!1),o=r([]),f=()=>{p.value=!1,x("update:dialogVisible",!1),o.value=g(n.value),c.value=!1,u.value=!1},y=e=>{f(),e()},T=()=>{console.log(o.value),v.export("/api/person/export",{ids:o.value}).then(e=>{const t=window.URL.createObjectURL(e.data),i=document.createElement("a");i.download=decodeURIComponent(e.headers["content-disposition"].split(";")[1].split("=")[1]),i.href=t,i.click()})},w=e=>{o.value=e?n.value:[],u.value=!1},S=e=>{const t=e.length;c.value=t===n.value.length,u.value=t>0&&t<n.value.length};I(()=>C.dialogVisible,e=>{p.value=e,c.value=!0});const E=()=>{v.get("/api/person/getEntityParam").then(e=>{e.code===200&&(n.value=e.data,o.value=g(e.data))})};return L(()=>{E()}),(e,t)=>{const i=d("el-checkbox"),B=d("el-checkbox-group"),D=d("el-form"),h=d("el-button"),N=d("el-dialog");return m(),b("div",z,[s(N,{modelValue:p.value,"onUpdate:modelValue":t[2]||(t[2]=a=>p.value=a),title:"导出选项",width:"36%","before-close":y},{footer:l(()=>[j("span",G,[s(h,{onClick:T},{default:l(()=>[_("导出")]),_:1}),s(h,{onClick:f,type:"primary"},{default:l(()=>[_("关闭")]),_:1})])]),default:l(()=>[s(D,null,{default:l(()=>[s(i,{modelValue:c.value,"onUpdate:modelValue":t[0]||(t[0]=a=>c.value=a),label:"全选",class:"is-checked-all",size:"large",indeterminate:u.value,onChange:w},null,8,["modelValue","indeterminate"]),s(B,{modelValue:o.value,"onUpdate:modelValue":t[1]||(t[1]=a=>o.value=a),onChange:S},{default:l(()=>[(m(!0),b(A,null,F(n.value,(a,R)=>(m(),M(i,{class:"el-checkbox-width",label:a,key:R},{default:l(()=>[_(q(V.value[a]),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["modelValue"])])}}},pe=U(O,[["__scopeId","data-v-e0be88eb"]]);export{pe as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import"./index-949b5609.js";import"./lodash.clonedeep-89ac42ac.js";/* empty css */import{_ as V}from"./_plugin-vue_export-helper-c27b6911.js";import{f as b,a0 as u,ag as a,o as s,c as _,d as e,S as o,F as g,a6 as v}from"./@vue-799d75fe.js";import"./vue-router-e054bd6d.js";import"./axios-03edf72b.js";import"./form-data-d2a9677b.js";import"./pinia-b1006f6e.js";import"./vue-demi-71ba0ef2.js";import"./element-plus-69b549ae.js";import"./lodash-es-b9271f86.js";import"./@vueuse-762dd9ca.js";import"./@element-plus-4d69b6da.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-9729b6d9.js";import"./async-validator-0dc26b7a.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const x={class:"tab-content"},F={__name:"Log",setup(w){const d=b(),t=u({name:""}),i=u({name:[{required:!0,message:"Please input Activity name",trigger:"blur"}]});return(y,l)=>{const n=a("el-input"),r=a("el-form-item"),p=a("el-col"),f=a("el-row"),c=a("el-form");return s(),_("div",x,[e(c,{ref_key:"ruleFormRef",ref:d,model:t,rules:i,"label-width":"208px"},{default:o(()=>[(s(),_(g,null,v(5,L=>e(f,null,{default:o(()=>[e(p,{span:8},{default:o(()=>[e(r,{label:"处理人:",prop:"name"},{default:o(()=>[e(n,{modelValue:t.name,"onUpdate:modelValue":l[0]||(l[0]=m=>t.name=m)},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:8},{default:o(()=>[e(r,{label:"处理时间:",prop:"name"},{default:o(()=>[e(n,{modelValue:t.name,"onUpdate:modelValue":l[1]||(l[1]=m=>t.name=m)},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:8},{default:o(()=>[e(r,{label:"处理状态:",prop:"name"},{default:o(()=>[e(n,{modelValue:t.name,"onUpdate:modelValue":l[2]||(l[2]=m=>t.name=m)},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:24},{default:o(()=>[e(r,{label:"处理意见"},{default:o(()=>[e(n,{modelValue:t.name,"onUpdate:modelValue":l[3]||(l[3]=m=>t.name=m)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})),64))]),_:1},8,["model","rules"])])}}},T=V(F,[["__scopeId","data-v-3b78c5bf"]]);export{T as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{a0 as x,aq as E,o as r,c as d,a as o,$ as f,T as c,Y as b,d as m,u as i,M as $,X as v,aj as N,R as u,F as q,a6 as z}from"./@vue-799d75fe.js";import B from"./NodeType-657f8a7a.js";import{r as L,t as M}from"./optionConfig-cdce2392.js";import{a as S}from"./approver-2f9dc4c9.js";import{C as D,E as V,P as W,a as j}from"./@icon-park-cd51b618.js";import"./pinia-b1006f6e.js";import"./vue-demi-71ba0ef2.js";const T={class:"y-flow-middle"},F={class:"y-flow-insert-wrapper"},O={class:"y-flow-insert"},P={key:0,class:"text"},R={class:"span"},U=o("div",{class:"y-flow-apply-list y-flow-head"},"节点负责人:",-1),X={class:"person-list"},Y={class:"y-flow-line"},te={__name:"NodeItem",props:{parentNode:{type:Object,default:{}},nodeItem:{type:Object,default:{}}},emits:["addApprover","addCondition","removeApprover"],setup(y,{emit:a}){const e=y,l=S(),p=x({roleArray:L,typeArray:M,defaultRole:"未知",activeIndex:-1}),I=(s,t)=>{a("addApprover",e.nodeItem,t)},w=()=>{a("addCondition",e.nodeItem,"add")},k=()=>{a("removeApprover",e.nodeItem,e.parentNode)},h=(s,t)=>{s.titleEdit=t},_=(s,t)=>{s.title||(s.title="审批节点"),l.editTtitle(s.title),s.titleEdit=t},A=s=>{l.changeApprover(s),l.toggleApproverVisible(!0)};return(s,t)=>{const C=E("focus");return r(),d("div",T,[o("div",F,[o("div",O,[o("div",{class:"y-flow-node-wrapper",onMouseenter:t[4]||(t[4]=f(n=>p.activeIndex=e.nodeItem.nodeId,["self"])),onMouseleave:t[5]||(t[5]=f(n=>p.activeIndex=-1,["self"]))},[c(o("div",{class:"y-flow-node-del",onClick:k},[m(i(D),{theme:"outline",size:"20",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})],512),[[b,e.nodeItem.nodeId==p.activeIndex]]),o("div",{class:"y-flow-node",onClick:t[3]||(t[3]=n=>A(e.nodeItem))},[o("div",{class:$(["y-flow-node-head",[e.nodeItem.type==="approver"?"y-flow-actual-approverbg":"y-flow-actual-fillbg"]])},[o("div",{class:"y-flow-node-title",onClick:t[2]||(t[2]=f(n=>h(e.nodeItem,!0),["stop"]))},[e.nodeItem.titleEdit?c((r(),d("input",{key:1,class:"y-input",type:"text","onUpdate:modelValue":t[0]||(t[0]=n=>e.nodeItem.title=n),onBlur:t[1]||(t[1]=n=>_(e.nodeItem,!1))},null,544)),[[N,e.nodeItem.title],[C]]):(r(),d("div",P,[o("span",R,v(e.nodeItem.title||e.nodeItem.name),1),m(i(V),{theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})]))]),e.nodeItem.type==="approver"?(r(),u(i(W),{key:0,theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})):(r(),u(i(j),{key:1,theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"}))],2),U,o("div",X,[(r(!0),d(q,null,z(e.nodeItem.properties.persons,(n,g)=>(r(),d("div",{class:"person-add-item",key:g},v(n.realName),1))),128))])]),o("div",Y,[m(B,{branchItem:e.nodeItem,onAddApprover:I,onChangeCondition:w},null,8,["branchItem"])])],32)])])])}}};export{te as default};

View File

@ -0,0 +1 @@
System.register(["./@vue-legacy-6c3c82af.js","./NodeType-legacy-0acf3669.js","./optionConfig-legacy-708250f5.js","./approver-legacy-8f8c47f3.js","./@icon-park-legacy-af6e216d.js","./pinia-legacy-f291703e.js","./vue-demi-legacy-97cfbb01.js"],(function(e,t){"use strict";var o,l,n,d,i,a,s,r,p,c,f,u,v,m,y,I,k,g,w,h,j,A,C,b;return{setters:[e=>{o=e.a0,l=e.aq,n=e.o,d=e.c,i=e.a,a=e.$,s=e.T,r=e.Y,p=e.d,c=e.u,f=e.M,u=e.X,v=e.aj,m=e.R,y=e.F,I=e.a6},e=>{k=e.default},e=>{g=e.r,w=e.t},e=>{h=e.a},e=>{j=e.C,A=e.E,C=e.P,b=e.a},null,null],execute:function(){const t={class:"y-flow-middle"},x={class:"y-flow-insert-wrapper"},q={class:"y-flow-insert"},z={key:0,class:"text"},N={class:"span"},E=i("div",{class:"y-flow-apply-list y-flow-head"},"节点负责人:",-1),L={class:"person-list"},W={class:"y-flow-line"};e("default",{__name:"NodeItem",props:{parentNode:{type:Object,default:{}},nodeItem:{type:Object,default:{}}},emits:["addApprover","addCondition","removeApprover"],setup(e,{emit:M}){const T=e,O=h(),R=o({roleArray:g,typeArray:w,defaultRole:"未知",activeIndex:-1}),V=(e,t)=>{M("addApprover",T.nodeItem,t)},_=()=>{M("addCondition",T.nodeItem,"add")},B=()=>{M("removeApprover",T.nodeItem,T.parentNode)};return(e,o)=>{const g=l("focus");return n(),d("div",t,[i("div",x,[i("div",q,[i("div",{class:"y-flow-node-wrapper",onMouseenter:o[4]||(o[4]=a((e=>R.activeIndex=T.nodeItem.nodeId),["self"])),onMouseleave:o[5]||(o[5]=a((e=>R.activeIndex=-1),["self"]))},[s(i("div",{class:"y-flow-node-del",onClick:B},[p(c(j),{theme:"outline",size:"20",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})],512),[[r,T.nodeItem.nodeId==R.activeIndex]]),i("div",{class:"y-flow-node",onClick:o[3]||(o[3]=e=>{return t=T.nodeItem,O.changeApprover(t),void O.toggleApproverVisible(!0);var t})},[i("div",{class:f(["y-flow-node-head",["approver"===T.nodeItem.type?"y-flow-actual-approverbg":"y-flow-actual-fillbg"]])},[i("div",{class:"y-flow-node-title",onClick:o[2]||(o[2]=a((e=>{return t=T.nodeItem,o=!0,void(t.titleEdit=o);var t,o}),["stop"]))},[T.nodeItem.titleEdit?s((n(),d("input",{key:1,class:"y-input",type:"text","onUpdate:modelValue":o[0]||(o[0]=e=>T.nodeItem.title=e),onBlur:o[1]||(o[1]=e=>{return t=T.nodeItem,o=!1,t.title||(t.title="审批节点"),O.editTtitle(t.title),void(t.titleEdit=o);var t,o})},null,544)),[[v,T.nodeItem.title],[g]]):(n(),d("div",z,[i("span",N,u(T.nodeItem.title||T.nodeItem.name),1),p(c(A),{theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})]))]),"approver"===T.nodeItem.type?(n(),m(c(C),{key:0,theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})):(n(),m(c(b),{key:1,theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"}))],2),E,i("div",L,[(n(!0),d(y,null,I(T.nodeItem.properties.persons,((e,t)=>(n(),d("div",{class:"person-add-item",key:t},u(e.realName),1)))),128))])]),i("div",W,[p(k,{branchItem:T.nodeItem,onAddApprover:V,onChangeCondition:_},null,8,["branchItem"])])],32)])])])}}})}}}));

View File

@ -0,0 +1 @@
import{b as h,c as v,d as u,B as k}from"./@icon-park-cd51b618.js";import{f as l,ag as b,o as C,R as g,S as d,a as e,d as t,u as o}from"./@vue-799d75fe.js";const w={class:"y-flow-select"},y={class:"item-icon"},B=e("p",{class:"item-des"},"审批节点",-1),q={class:"item-icon"},x=e("p",{class:"item-des"},"填写节点",-1),z={class:"item-icon"},L=e("p",{class:"item-des"},"条件分支",-1),N={class:"add-btn"},I={__name:"NodeType",props:{branchItem:{type:Object,default:{}}},emits:["addApprover","changeCondition"],setup(p,{emit:i}){const n=p;l(!1);const a=l(),r=c=>{a.value.hide(),i("addApprover",n.branchItem,c)},_=()=>{a.value.hide(),i("changeCondition",n.branchItem,"add")};return(c,s)=>{const f=b("el-popover");return C(),g(f,{placement:"top-start",width:250,trigger:"click",title:"标题",ref_key:"popoverRef",ref:a},{reference:d(()=>[e("span",N,[t(o(h),{theme:"filled",size:"16",fill:"#f5bc21",strokeWidth:3,strokeLinecap:"square"})])]),default:d(()=>[e("div",w,[e("div",{class:"item-wrapper",onClick:s[0]||(s[0]=m=>r("approver"))},[e("span",y,[t(o(v),{theme:"filled",size:"30",fill:"#3296fa",strokeWidth:3,strokeLinecap:"square"})]),B]),e("div",{class:"item-wrapper",onClick:s[1]||(s[1]=m=>r("fill"))},[e("span",q,[t(o(u),{theme:"filled",size:"30",fill:"#324963",strokeWidth:3,strokeLinecap:"square"})]),x]),e("div",{class:"item-wrapper",onClick:_},[e("span",z,[t(o(k),{theme:"filled",size:"30",fill:"#15bc83",strokeWidth:3,strokeLinecap:"square"})]),L])])]),_:1},512)}}};export{I as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{h as i}from"./index-949b5609.js";import{a as n}from"./vue-router-e054bd6d.js";import{_ as m}from"./_plugin-vue_export-helper-c27b6911.js";import{f as s,ag as l,o as _,c as d,d as e,S as u}from"./@vue-799d75fe.js";import"./axios-03edf72b.js";import"./form-data-d2a9677b.js";import"./pinia-b1006f6e.js";import"./vue-demi-71ba0ef2.js";import"./element-plus-69b549ae.js";import"./lodash-es-b9271f86.js";import"./@vueuse-762dd9ca.js";import"./@element-plus-4d69b6da.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-9729b6d9.js";import"./async-validator-0dc26b7a.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const b={class:"tab-content"},f={__name:"Record",setup(h){const p=n(),a=s([]);return(()=>{let r=p.query.id;i.get(`/api/alteration/alterationPage?id=${r}`).then(o=>{o.code==200&&(console.log(o,"clearSearchclearSearch"),a.value=o.data)})})(),(r,o)=>{const t=l("el-table-column"),c=l("el-table");return _(),d("div",b,[e(c,{data:a.value,style:{width:"100%"},"header-cell-style":{background:"#EEF1F4"}},{default:u(()=>[e(t,{type:"index",width:"80",align:"center",label:"序号"}),e(t,{prop:"details",label:"变更内容"}),e(t,{prop:"beforeChange",label:"变更前"}),e(t,{prop:"afterChange",label:"变更后"}),e(t,{prop:"createdName",label:"变更人"}),e(t,{prop:"createdAt",label:"变更时间"})]),_:1},8,["data"])])}}},z=m(f,[["__scopeId","data-v-5ee21545"]]);export{z as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import"./index-949b5609.js";import"./lodash.clonedeep-89ac42ac.js";/* empty css */import{_ as d}from"./_plugin-vue_export-helper-c27b6911.js";/* empty css */import{l as _,o as s,c as n,a as i,F as u,a6 as m,L as p,O as v,u as f,M as b,X as y}from"./@vue-799d75fe.js";const h={class:"entDeclaration"},k={class:"entDeclaration-nav"},g=["onClick"],x={class:"entDeclaration-main"},A={__name:"Tab",props:{tabList:{type:Array,required:!0,default:()=>[]},isActive:{type:String,default:""}},emits:["clickItem"],setup(t,{emit:o}){const r=t,c=_(()=>e=>r.tabList.length-e);return(e,D)=>(s(),n("section",h,[i("nav",k,[(s(!0),n(u,null,m(t.tabList,(a,l)=>(s(),n("div",{style:v({zIndex:f(c)(l)}),class:b(["entDeclaration-nav-item",t.isActive===a?"active":""]),onClick:I=>o("clickItem",a)},y(a),15,g))),256))]),i("main",x,[p(e.$slots,"default",{isActive:t.isActive},void 0,!0)])]))}},F=d(A,[["__scopeId","data-v-441b1381"]]);export{F as T};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{f as _,h as N,ag as r,o as i,c as n,d as p,S as d,W as S,T as A,Y as L,a as h,F as z,a6 as R,V as v,$ as b,X as T,R as $}from"./@vue-799d75fe.js";import{h as y}from"./index-949b5609.js";import{c as k}from"./lodash.clonedeep-89ac42ac.js";/* empty css */import{_ as q}from"./_plugin-vue_export-helper-c27b6911.js";import"./vue-router-e054bd6d.js";import"./axios-03edf72b.js";import"./form-data-d2a9677b.js";import"./pinia-b1006f6e.js";import"./vue-demi-71ba0ef2.js";import"./element-plus-69b549ae.js";import"./lodash-es-b9271f86.js";import"./@vueuse-762dd9ca.js";import"./@element-plus-4d69b6da.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-9729b6d9.js";import"./async-validator-0dc26b7a.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const E={class:"upload"},I={class:"empty"},j=["onClick"],M={__name:"Upload",props:{modelValue:{},type:{type:String,default:"create"},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(C,{emit:c}){const a=C;_([]);const t=_([]),g=e=>!0,m=e=>k(e),w=e=>k(e);N(()=>a.modelValue,e=>{if(e===""||e===void 0||!e)return t.value=[];if(a.type==="edit"&&!Array.isArray(e)&&typeof e=="string")return t.value=[];t.value=w(a.modelValue)},{immediate:!0});const x=e=>{let s=e.file;const l=new FormData;l.append("file",s),y.post("/api/attachment/upload",l).then(o=>{console.log(o,"res"),o.code==200&&(t.value.push({name:o.data.name,path:o.data.path,size:s.size,suffix:o.data.suffix}),c("update:modelValue",m(t.value)),console.log(a.modelValue,t.value))})},F=e=>{t.value.splice(e,1),c("update:modelValue",m(t.value))},V=e=>{y.downloadFile("/api/alteration/download",{params:{fileName:e.name,path:e.path},responseType:"blob"}).then(s=>{const l=window.URL.createObjectURL(s),o=document.createElement("a");o.download=e.name,o.href=l,o.click()})};return(e,s)=>{const l=r("el-button"),o=r("el-upload"),B=r("CircleCloseFilled"),U=r("el-icon");return i(),n("div",E,[p(o,{"show-file-list":!1,"before-upload":g,"http-request":x,disabled:a.disabled},{default:d(()=>[p(l,{type:"primary",plain:"",disabled:a.disabled},{default:d(()=>[S("选择文件")]),_:1},8,["disabled"])]),_:1},8,["disabled"]),A(h("span",I,"未选择任何文件",512),[[L,t.value.length===0]]),t.value.length>0?(i(!0),n(z,{key:0},R(t.value,(u,f)=>(i(),n("span",{class:"fileBox",key:f,onClick:b(D=>V(u),["stop"])},[h("span",null,T(u.name),1),a.disabled?v("",!0):(i(),$(U,{key:0,class:"fileBoxDel",size:16,color:"#729880",onClick:b(D=>F(f),["stop"])},{default:d(()=>[p(B)]),_:2},1032,["onClick"]))],8,j))),128)):v("",!0)])}}},ce=q(M,[["__scopeId","data-v-c84f6ff9"]]);export{ce as default};

View File

@ -0,0 +1 @@
System.register(["./@vue-legacy-6c3c82af.js","./index-legacy-b670dc3e.js","./lodash.clonedeep-legacy-930370dc.js","./Upload.vue_vue_type_style_index_0_scoped_c84f6ff9_lang-legacy-a323fc02.js","./_plugin-vue_export-helper-legacy-762b7923.js","./vue-router-legacy-68eee699.js","./axios-legacy-6abb032a.js","./form-data-legacy-f3fd8c46.js","./pinia-legacy-f291703e.js","./vue-demi-legacy-97cfbb01.js","./element-plus-legacy-173ee141.js","./lodash-es-legacy-19b348e6.js","./@vueuse-legacy-d0edfa3e.js","./@element-plus-legacy-ca5ac6d2.js","./@popperjs-legacy-16895e05.js","./@ctrl-legacy-79e027b8.js","./dayjs-legacy-a850f6c1.js","./async-validator-legacy-b9dd2ff7.js","./memoize-one-legacy-599ef04d.js","./escape-html-legacy-ae962a8c.js","./normalize-wheel-es-legacy-f7d8e481.js","./@floating-ui-legacy-212d790c.js"],(function(e,l){"use strict";var a,s,t,n,o,u,d,c,i,p,r,y,m,g,f,j,v,h,_,b;return{setters:[e=>{a=e.f,s=e.h,t=e.ag,n=e.o,o=e.c,u=e.d,d=e.S,c=e.W,i=e.T,p=e.Y,r=e.a,y=e.F,m=e.a6,g=e.V,f=e.$,j=e.X,v=e.R},e=>{h=e.h},e=>{_=e.c},null,e=>{b=e._},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"upload"},k={class:"empty"},x=["onClick"],w={__name:"Upload",props:{modelValue:{},type:{type:String,default:"create"},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:b}){const w=e;a([]);const V=a([]),C=e=>!0,z=e=>_(e);s((()=>w.modelValue),(e=>{return""!==e&&void 0!==e&&e&&("edit"!==w.type||Array.isArray(e)||"string"!=typeof e)?void(V.value=(l=w.modelValue,_(l))):V.value=[];var l}),{immediate:!0});const F=e=>{let l=e.file;const a=new FormData;a.append("file",l),h.post("/api/attachment/upload",a).then((e=>{console.log(e,"res"),200==e.code&&(V.value.push({name:e.data.name,path:e.data.path,size:l.size,suffix:e.data.suffix}),b("update:modelValue",z(V.value)),console.log(w.modelValue,V.value))}))};return(e,a)=>{const s=t("el-button"),_=t("el-upload"),U=t("CircleCloseFilled"),B=t("el-icon");return n(),o("div",l,[u(_,{"show-file-list":!1,"before-upload":C,"http-request":F,disabled:w.disabled},{default:d((()=>[u(s,{type:"primary",plain:"",disabled:w.disabled},{default:d((()=>[c("选择文件")])),_:1},8,["disabled"])])),_:1},8,["disabled"]),i(r("span",k,"未选择任何文件",512),[[p,0===V.value.length]]),V.value.length>0?(n(!0),o(y,{key:0},m(V.value,((e,l)=>(n(),o("span",{class:"fileBox",key:l,onClick:f((l=>(e=>{h.downloadFile("/api/alteration/download",{params:{fileName:e.name,path:e.path},responseType:"blob"}).then((l=>{const a=window.URL.createObjectURL(l),s=document.createElement("a");s.download=e.name,s.href=a,s.click()}))})(e)),["stop"])},[r("span",null,j(e.name),1),w.disabled?g("",!0):(n(),v(B,{key:0,class:"fileBoxDel",size:16,color:"#729880",onClick:f((e=>(e=>{V.value.splice(e,1),b("update:modelValue",z(V.value))})(l)),["stop"])},{default:d((()=>[u(U)])),_:2},1032,["onClick"]))],8,x)))),128)):g("",!0)])}}};e("default",b(w,[["__scopeId","data-v-c84f6ff9"]]))}}}));

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
const s=(t,r)=>{const o=t.__vccOpts||t;for(const[c,e]of r)o[c]=e;return o};export{s as _};

View File

@ -0,0 +1 @@
System.register([],(function(t,e){"use strict";return{execute:function(){t("_",((t,e)=>{const c=t.__vccOpts||t;for(const[n,r]of e)c[n]=r;return c}))}}}));

View File

@ -0,0 +1 @@
import{d as t}from"./pinia-b1006f6e.js";const o=t("approver",{state:()=>({approverModalVisible:!1,approverItem:{properties:{}}}),actions:{editTtitle(e){this.approverItem.title=e,console.log(this.approverItem,"store标题")},toggleApproverVisible(e){this.$patch(r=>{r.approverModalVisible=e})},changeApprover(e){this.$patch(r=>{r.approverItem=e})},setNewApprover(e){this.$patch(r=>{console.log(e,"设置传入的值"),r.approverItem.title=e.title,r.approverItem.properties=e.properties,r.approverItem.authSettings=e.authSettings})}}});export{o as a};

View File

@ -0,0 +1 @@
System.register(["./pinia-legacy-f291703e.js"],(function(e,t){"use strict";var r;return{setters:[e=>{r=e.d}],execute:function(){e("a",r("approver",{state:()=>({approverModalVisible:!1,approverItem:{properties:{}}}),actions:{editTtitle(e){this.approverItem.title=e,console.log(this.approverItem,"store标题")},toggleApproverVisible(e){this.$patch((t=>{t.approverModalVisible=e}))},changeApprover(e){this.$patch((t=>{t.approverItem=e}))},setNewApprover(e){this.$patch((t=>{console.log(e,"设置传入的值"),t.approverItem.title=e.title,t.approverItem.properties=e.properties,t.approverItem.authSettings=e.authSettings}))}}}))}}}));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{U as i}from"./global-48e57a79.js";import{d as h}from"./pinia-b1006f6e.js";function s(n,e=[],t){for(let r=0;r<n;r++){let o={type:"condition",title:"条件名称",prevId:t,nodeId:"condition_"+i(),properties:{conditions:[[]]}};e.push(o)}return e}function l(n,e){return{title:"审批节点",type:e,prevId:n,nodeId:"approver_"+i(),properties:{personJson:{},persons:[]}}}function d(n){if(!Array.isArray(n))return;let e=[];for(var t=0;t<n.length;t++){let o=n[t];for(var r=0;r<o.length;r++){let c={queAuth:2,queId:o[r].obj.name||o[r].obj.name};e.push(c)}}return e}function u(n,e,t){if(!(n instanceof Array)){console.log("arr must be Array!");return}for(;e<0;)e+=n.length;for(;t<0;)t+=n.length;if(t>=n.length)for(var r=t-n.length+1;r--;)n.push(void 0);return n.splice(t,0,n.splice(e,1)[0]),n}const g=h("condition",{state:()=>({conditionModalVisible:!1,conditionAll:{},checkedCondition:[],branchInfo:{},currentBranch:{},currentBranchParent:{},currentBranchIndex:0}),actions:{addCondition(n){this.$patch(e=>{n&&delete e.conditionAll[n]})},changeChecked(n){this.$patch(e=>{e.checkedCondition=n})},changeBranch(n){this.$patch(e=>{e.branchInfo=n,e.currentBranch=n.branch,e.currentBranchIndex=n.index,e.currentBranchParent=n.parentBranch})},changeBranchIndex(n){this.$patch(e=>{e.currentBranchIndex=n})},setNewBranch({branch:n,index:e,conditions:t}){this.$patch(r=>{r.currentBranch.title=n.title,r.currentBranch.properties.conditions=t,r.currentBranchIndex=e})},toggleVisible(n){this.$patch(e=>{e.conditionModalVisible=n})}}});export{d as a,s as b,g as c,l as g,u as s};

View File

@ -0,0 +1 @@
System.register(["./global-legacy-645676bb.js","./pinia-legacy-f291703e.js"],(function(n,e){"use strict";var t,r;return{setters:[n=>{t=n.U},n=>{r=n.d}],execute:function(){n({a:function(n){if(!Array.isArray(n))return;let e=[];for(var t=0;t<n.length;t++){let c=n[t];for(var r=0;r<c.length;r++){let n={queAuth:2,queId:c[r].obj.name||c[r].obj.name};e.push(n)}}return e},b:function(n,e=[],r){for(let c=0;c<n;c++){let n={type:"condition",title:"条件名称",prevId:r,nodeId:"condition_"+t(),properties:{conditions:[[]]}};e.push(n)}return e},g:function(n,e){return{title:"审批节点",type:e,prevId:n,nodeId:"approver_"+t(),properties:{personJson:{},persons:[]}}},s:function(n,e,t){if(n instanceof Array){for(;e<0;)e+=n.length;for(;t<0;)t+=n.length;if(t>=n.length)for(var r=t-n.length+1;r--;)n.push(void 0);return n.splice(t,0,n.splice(e,1)[0]),n}console.log("arr must be Array!")}}),n("c",r("condition",{state:()=>({conditionModalVisible:!1,conditionAll:{},checkedCondition:[],branchInfo:{},currentBranch:{},currentBranchParent:{},currentBranchIndex:0}),actions:{addCondition(n){this.$patch((e=>{n&&delete e.conditionAll[n]}))},changeChecked(n){this.$patch((e=>{e.checkedCondition=n}))},changeBranch(n){this.$patch((e=>{e.branchInfo=n,e.currentBranch=n.branch,e.currentBranchIndex=n.index,e.currentBranchParent=n.parentBranch}))},changeBranchIndex(n){this.$patch((e=>{e.currentBranchIndex=n}))},setNewBranch({branch:n,index:e,conditions:t}){this.$patch((r=>{r.currentBranch.title=n.title,r.currentBranch.properties.conditions=t,r.currentBranchIndex=e}))},toggleVisible(n){this.$patch((e=>{e.conditionModalVisible=n}))}}}))}}}));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as B}from"./TableBody-72eaca06.js";import{y as F}from"./yd_diaInput-c56a0aca.js";import{h as n}from"./index-949b5609.js";import{E as i}from"./element-plus-69b549ae.js";import{f as c,a0 as p,k as L,o as x,c as A,d as y,P as E}from"./@vue-799d75fe.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./@element-plus-4d69b6da.js";import"./lodash.clonedeep-89ac42ac.js";import"./dayjs-9729b6d9.js";import"./vue-router-e054bd6d.js";import"./axios-03edf72b.js";import"./form-data-d2a9677b.js";import"./pinia-b1006f6e.js";import"./vue-demi-71ba0ef2.js";import"./lodash-es-b9271f86.js";import"./@vueuse-762dd9ca.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./async-validator-0dc26b7a.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const P={class:"example"},le={__name:"department",setup(q){const u=c(!1),d=p({tableType:{selection:!1,tableLoading:!1,tableIndex:!1,tableTree:!0,tableTreeName:"children",isHiddenPagination:!0,changeHeight:!1},tableHeader:[{buttons:["create","edit","delete"]},{buttons:[{name:"sort",options:[{label:"排序",value:"sortNo"},{label:"创建时间",value:"createdAt"}]},"search"]}],tableList:[{name:"name",label:"部门名称",show:!0},{name:"code",label:"部门编码",show:!0},{name:"remarks",label:"备注",show:!0},{name:"sortNo",label:"排序",show:!0}],tableData:[]}),l=p({value:!1,changeValue:e=>{l.value=e}}),h=p([{type:"treeSelect",title:"上级部门",model:"pid",placeholder:"请选择上级部门",control:!1,row:24,options:[]},{type:"input",title:"部门编码",model:"code",placeholder:"请输入部门编码",control:!1,row:24},{type:"input",title:"部门名称",placeholder:"请输入部门名称",control:!1,model:"name",row:24},{type:"number",title:"排序",model:"sortNo",row:24},{type:"input",title:"备注",control:!1,placeholder:"请输入备注",model:"remarks",row:24}]),b=c({code:"",name:"",pid:"",remarks:"",sortNo:0}),f=c({type:"create",name:"新增",id:""}),v=c({code:[{required:!0,message:"请输入部门编码",trigger:"blur"}],name:[{required:!0,message:"请输入部门名称",trigger:"blur"}]}),r=p({column:void 0,orderBy:void 0,value:void 0}),g=()=>{n.get("/api/dept/tree").then(e=>{e.code==200&&(console.log("res",e),h[0].options=e.data.data)})},s=()=>{d.tableType.tableLoading=!0,n.get("/api/dept/list",r).then(e=>{e.code==200&&(d.tableData=e.data,d.tableType.tableLoading=!1)}).catch(()=>{d.tableType.tableLoading=!1})},k=({type:e,data:t})=>{switch(console.log(e,t),e){case"create":w();break;case"edit":console.log(e,t),T(t);break;case"delete":N(t);break;case"sort":V(t);break;case"search":H(t);break}},N=e=>{const t=e.map(a=>a.id);console.log(t[0]),n.delete("/api/dept/remove",{params:{id:t[0]}}).then(a=>{a.code==200?(i({message:"删除成功",type:"success"}),s(),g()):i({message:a.message,type:"error"})})},_=(e,t,a)=>{if(console.log(e,t,a),e==="create"){let o={...t};t.pid===""&&(o={...o,pid:0}),n.post("/api/dept/save",o).then(m=>{console.log(m),m.code==200?(i({message:m.message,type:"success"}),l.value=!1,s(),g()):i.error(m.message)})}else e==="edit"&&(n.put(`/api/dept/edit?id=${a}`,t).then(o=>{o.code==200?(i({message:o.message,type:"success"}),l.value=!1,s()):i.error(o.message)}),console.log(a))},w=()=>{l.value=!0,f.value={type:"create",name:"新增",id:""},u.value=!1,b.value={code:"",name:"",pid:"",remarks:"",sortNo:0}},T=e=>{const t=e[0].id;u.value=!1,n.get("/api/dept/detail",{id:t}).then(a=>{a.code===200&&(console.log(a),l.value=!0,b.value={paramKey:a.data.paramKey,paramValue:a.data.paramValue,remarks:a.data.remarks,sortNo:a.data.sortNo,code:a.data.data.code,name:a.data.data.name,pid:a.data.data.pid==0?"":a.data.data.pid,remarks:a.data.data.remarks,sortNo:a.data.data.sortNo},f.value={type:"edit",name:"编辑",id:t})})},H=e=>{console.log(e.value),r.value=e.value,s()},V=e=>{e.name===""?(r.orderBy=void 0,r.column=void 0):(r.orderBy=e.sortType,r.column=e.name),s()};return L(()=>{s(),g()}),(e,t)=>(x(),A("div",P,[y(B,E(d,{onHandleTableHeader:k}),null,16),y(F,{inputArray:h,onHandleFrom:_,dialogVisible:l,control:u.value,buttonName:f.value,ruleForm:b.value,rules:v.value,diawidth:25},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm","rules"])]))}};export{le as default};

View File

@ -0,0 +1 @@
System.register(["./TableBody-legacy-f6947b01.js","./yd_diaInput-legacy-82a34261.js","./index-legacy-b670dc3e.js","./element-plus-legacy-173ee141.js","./@vue-legacy-6c3c82af.js","./_plugin-vue_export-helper-legacy-762b7923.js","./@element-plus-legacy-ca5ac6d2.js","./lodash.clonedeep-legacy-930370dc.js","./dayjs-legacy-a850f6c1.js","./vue-router-legacy-68eee699.js","./axios-legacy-6abb032a.js","./form-data-legacy-f3fd8c46.js","./pinia-legacy-f291703e.js","./vue-demi-legacy-97cfbb01.js","./lodash-es-legacy-19b348e6.js","./@vueuse-legacy-d0edfa3e.js","./@popperjs-legacy-16895e05.js","./@ctrl-legacy-79e027b8.js","./async-validator-legacy-b9dd2ff7.js","./memoize-one-legacy-599ef04d.js","./escape-html-legacy-ae962a8c.js","./normalize-wheel-es-legacy-f7d8e481.js","./@floating-ui-legacy-212d790c.js"],(function(e,a){"use strict";var l,t,o,s,r,d,n,c,i,u,p;return{setters:[e=>{l=e._},e=>{t=e.y},e=>{o=e.h},e=>{s=e.E},e=>{r=e.f,d=e.a0,n=e.k,c=e.o,i=e.c,u=e.d,p=e.P},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const a={class:"example"};e("default",{__name:"department",setup(e){const m=r(!1),g=d({tableType:{selection:!1,tableLoading:!1,tableIndex:!1,tableTree:!0,tableTreeName:"children",isHiddenPagination:!0,changeHeight:!1},tableHeader:[{buttons:["create","edit","delete"]},{buttons:[{name:"sort",options:[{label:"排序",value:"sortNo"},{label:"创建时间",value:"createdAt"}]},"search"]}],tableList:[{name:"name",label:"部门名称",show:!0},{name:"code",label:"部门编码",show:!0},{name:"remarks",label:"备注",show:!0},{name:"sortNo",label:"排序",show:!0}],tableData:[]}),y=d({value:!1,changeValue:e=>{y.value=e}}),b=d([{type:"treeSelect",title:"上级部门",model:"pid",placeholder:"请选择上级部门",control:!1,row:24,options:[]},{type:"input",title:"部门编码",model:"code",placeholder:"请输入部门编码",control:!1,row:24},{type:"input",title:"部门名称",placeholder:"请输入部门名称",control:!1,model:"name",row:24},{type:"number",title:"排序",model:"sortNo",row:24},{type:"input",title:"备注",control:!1,placeholder:"请输入备注",model:"remarks",row:24}]),v=r({code:"",name:"",pid:"",remarks:"",sortNo:0}),h=r({type:"create",name:"新增",id:""}),j=r({code:[{required:!0,message:"请输入部门编码",trigger:"blur"}],name:[{required:!0,message:"请输入部门名称",trigger:"blur"}]}),k=d({column:void 0,orderBy:void 0,value:void 0}),w=()=>{o.get("/api/dept/tree").then((e=>{200==e.code&&(console.log("res",e),b[0].options=e.data.data)}))},N=()=>{g.tableType.tableLoading=!0,o.get("/api/dept/list",k).then((e=>{200==e.code&&(g.tableData=e.data,g.tableType.tableLoading=!1)})).catch((()=>{g.tableType.tableLoading=!1}))},T=({type:e,data:a})=>{switch(console.log(e,a),e){case"create":H();break;case"edit":console.log(e,a),_(a);break;case"delete":f(a);break;case"sort":V(a);break;case"search":L(a)}},f=e=>{const a=e.map((e=>e.id));console.log(a[0]),o.delete("/api/dept/remove",{params:{id:a[0]}}).then((e=>{200==e.code?(s({message:"删除成功",type:"success"}),N(),w()):s({message:e.message,type:"error"})}))},x=(e,a,l)=>{if(console.log(e,a,l),"create"===e){let e={...a};""===a.pid&&(e={...e,pid:0}),o.post("/api/dept/save",e).then((e=>{console.log(e),200==e.code?(s({message:e.message,type:"success"}),y.value=!1,N(),w()):s.error(e.message)}))}else"edit"===e&&(o.put(`/api/dept/edit?id=${l}`,a).then((e=>{200==e.code?(s({message:e.message,type:"success"}),y.value=!1,N()):s.error(e.message)})),console.log(l))},H=()=>{y.value=!0,h.value={type:"create",name:"新增",id:""},m.value=!1,v.value={code:"",name:"",pid:"",remarks:"",sortNo:0}},_=e=>{const a=e[0].id;m.value=!1,o.get("/api/dept/detail",{id:a}).then((e=>{200===e.code&&(console.log(e),y.value=!0,v.value={paramKey:e.data.paramKey,paramValue:e.data.paramValue,remarks:e.data.remarks,sortNo:e.data.sortNo,code:e.data.data.code,name:e.data.data.name,pid:0==e.data.data.pid?"":e.data.data.pid,remarks:e.data.data.remarks,sortNo:e.data.data.sortNo},h.value={type:"edit",name:"编辑",id:a})}))},L=e=>{console.log(e.value),k.value=e.value,N()},V=e=>{""===e.name?(k.orderBy=void 0,k.column=void 0):(k.orderBy=e.sortType,k.column=e.name),N()};return n((()=>{N(),w()})),(e,o)=>(c(),i("div",a,[u(l,p(g,{onHandleTableHeader:T}),null,16),u(t,{inputArray:b,onHandleFrom:x,dialogVisible:y,control:m.value,buttonName:h.value,ruleForm:v.value,rules:j.value,diawidth:25},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm","rules"])]))}})}}}));

View File

@ -0,0 +1 @@
import{_ as P}from"./TableBody-72eaca06.js";import{y as S}from"./yd_diaInput-c56a0aca.js";import{h as g}from"./index-949b5609.js";import{u as V}from"./vue-router-e054bd6d.js";import{c as v}from"./lodash.clonedeep-89ac42ac.js";import{u as H}from"./useDictData-28662aa5.js";import{E as L}from"./element-plus-69b549ae.js";import{f as n,a0 as u,k as F,o as B,c as E,d as f,P as R}from"./@vue-799d75fe.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./@element-plus-4d69b6da.js";import"./axios-03edf72b.js";import"./form-data-d2a9677b.js";import"./pinia-b1006f6e.js";import"./vue-demi-71ba0ef2.js";import"./dayjs-9729b6d9.js";import"./lodash-es-b9271f86.js";import"./@vueuse-762dd9ca.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./async-validator-0dc26b7a.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const O={class:"example"},de={__name:"desTarget",setup($){const i=V(),y=n(!1),p=n(),t=u({tableType:{selection:!0,tableLoading:!1,tableIndex:!1},tableHeader:[{buttons:[{type:"custom",name:"create",title:"新增登记",icon:"Plus",permission:"rsgl:ryzbsb:create"},{type:"custom",name:"view",title:"查看",icon:"View",isOpen:"single"},"delete"]},{buttons:[{name:"mixInput",options:[{label:"审批单号",value:"approvalNumber"},{label:"企业名称",value:"companyName"}]},"advanced"]},{delete:"rsgl:ryzbsb:delete"}],tableList:[{name:"companyId",label:"企业名称",show:!0,width:200},{name:"approvalNumber",label:"审批单号",show:!0},{name:"checkNumber",label:"原核定用工指标人数",show:!0},{name:"activeStaff",label:"现在职人数(指标内)",show:!0},{name:"thisApprovalNumber",label:"本次核准后总指标人数",show:!0},{name:"createdId",label:"填报人",show:!0},{name:"createdAt",label:"填报时间",show:!0},{name:"",label:"初审人",show:!0},{name:"",label:"初审时间",show:!0},{name:"",label:"国资会审人",show:!0},{name:"",label:"国资会审时间",show:!0},{name:"",label:"编办会审人",show:!0}],tableData:[],pagination:{pageSize:10,current:1,total:0}}),r=u({value:!1,changeValue:e=>{r.value=e}}),d=u([{type:"input",title:"企业名称",model:"companyName",placeholder:"请输入",control:!1,row:24},{type:"input",title:"审批单号",model:"approvalNumber",placeholder:"请输入",control:!1,row:24},{type:"select",title:"单据状态",model:"documentStatus",control:!1,row:24,placeholder:"请选择",options:[]},{type:"datetime",title:"填报开始时间",model:"createdAt",control:!1,row:24,placeholder:"请选择"},{type:"datetime",title:"填报结束时间",model:"updatedAt",control:!1,row:24,placeholder:"请选择"}]),c={type:"personnel_indicators",current:t.pagination.current,size:t.pagination.pageSize},o=n({...c}),m=n({}),b=n({}),l=()=>{t.tableType.tableLoading=!0,g.get("/api/organization/selectOrganizationPersonnelIndicatorsList",o.value).then(e=>{e.code==200&&(t.tableData=e.data.records,t.tableType.tableLoading=!1,t.pagination.total=e.data.total)}).catch(()=>{t.tableType.tableLoading=!1})},w=({type:e,data:a})=>{switch(e){case"create":N();break;case"submission":console.log(e,a);break;case"edit":console.log(e,a),A(a);break;case"delete":console.log(e,a),k(a);break;case"advanced":console.log(e,a),I();break;case"accessory":console.log(e,a);break;case"view":console.log(e,a),T(a);break;case"mixInput":console.log(e,a),M(a);break}},_=e=>{console.log(e),console.log(e),t.pagination.current=e,o.value.current=e,l()},k=e=>{const a=e.map(s=>s.id);g.post("/api/organization/deleteOrganizationAndPersonnelIndicators",{ids:a}).then(s=>{s.code==200&&(L({message:"删除成功",type:"success"}),l())})},x=(e,a,s)=>{o.value={...o.value,...a},p.value.clearMixInput(),r.value=!1,l()},I=()=>{r.value=!0,b.value={type:"adsearch",name:"查询",id:""},m.value={approvalNumber:"",companyName:"",updatedAt:"",createdAt:"",documentStatus:""}},N=()=>{i.push("/grain/des-target-add?type=create")},T=e=>{i.push(`/grain/des-target-add?type=check&id=${e[0].id}`)},A=e=>{const a=e[0].id;i.push(`/grain/des-target-add?type=edit&id=${a}`)},M=e=>{if(console.log(e.seachMixSelect.value,e.seachMixInput.value),e.seachMixSelect.value===""||e.seachMixInput.value===""){o.value=v(c),l();return}o.value=v(c),o.value[e.seachMixSelect.value]=e.seachMixInput.value,l()};let h=n({}),z=["t_dict_invoices_state"];const D=()=>{H(z).then(e=>{h.value=e,d[2].options=h.value.t_dict_invoices_state})};return F(()=>{l(),D()}),(e,a)=>(B(),E("div",O,[f(P,R(t,{onHandleTableHeader:w,onHandleTablePagination:_,ref_key:"TableBodyRef",ref:p}),null,16),f(S,{inputArray:d,onHandleFrom:x,dialogVisible:r,control:y.value,buttonName:b.value,ruleForm:m.value,diawidth:24},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm"])]))}};export{de as default};

View File

@ -0,0 +1 @@
System.register(["./TableBody-legacy-f6947b01.js","./yd_diaInput-legacy-82a34261.js","./index-legacy-b670dc3e.js","./vue-router-legacy-68eee699.js","./lodash.clonedeep-legacy-930370dc.js","./useDictData-legacy-5dee6fcc.js","./element-plus-legacy-173ee141.js","./@vue-legacy-6c3c82af.js","./_plugin-vue_export-helper-legacy-762b7923.js","./@element-plus-legacy-ca5ac6d2.js","./axios-legacy-6abb032a.js","./form-data-legacy-f3fd8c46.js","./pinia-legacy-f291703e.js","./vue-demi-legacy-97cfbb01.js","./dayjs-legacy-a850f6c1.js","./lodash-es-legacy-19b348e6.js","./@vueuse-legacy-d0edfa3e.js","./@popperjs-legacy-16895e05.js","./@ctrl-legacy-79e027b8.js","./async-validator-legacy-b9dd2ff7.js","./memoize-one-legacy-599ef04d.js","./escape-html-legacy-ae962a8c.js","./normalize-wheel-es-legacy-f7d8e481.js","./@floating-ui-legacy-212d790c.js"],(function(e,a){"use strict";var l,t,n,o,s,c,i,r,u,d,p,g,m,y;return{setters:[e=>{l=e._},e=>{t=e.y},e=>{n=e.h},e=>{o=e.u},e=>{s=e.c},e=>{c=e.u},e=>{i=e.E},e=>{r=e.f,u=e.a0,d=e.k,p=e.o,g=e.c,m=e.d,y=e.P},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const a={class:"example"};e("default",{__name:"desTarget",setup(e){const b=o(),v=r(!1),h=r(),j=u({tableType:{selection:!0,tableLoading:!1,tableIndex:!1},tableHeader:[{buttons:[{type:"custom",name:"create",title:"新增登记",icon:"Plus",permission:"rsgl:ryzbsb:create"},{type:"custom",name:"view",title:"查看",icon:"View",isOpen:"single"},"delete"]},{buttons:[{name:"mixInput",options:[{label:"审批单号",value:"approvalNumber"},{label:"企业名称",value:"companyName"}]},"advanced"]},{delete:"rsgl:ryzbsb:delete"}],tableList:[{name:"companyId",label:"企业名称",show:!0,width:200},{name:"approvalNumber",label:"审批单号",show:!0},{name:"checkNumber",label:"原核定用工指标人数",show:!0},{name:"activeStaff",label:"现在职人数(指标内)",show:!0},{name:"thisApprovalNumber",label:"本次核准后总指标人数",show:!0},{name:"createdId",label:"填报人",show:!0},{name:"createdAt",label:"填报时间",show:!0},{name:"",label:"初审人",show:!0},{name:"",label:"初审时间",show:!0},{name:"",label:"国资会审人",show:!0},{name:"",label:"国资会审时间",show:!0},{name:"",label:"编办会审人",show:!0}],tableData:[],pagination:{pageSize:10,current:1,total:0}}),w=u({value:!1,changeValue:e=>{w.value=e}}),x=u([{type:"input",title:"企业名称",model:"companyName",placeholder:"请输入",control:!1,row:24},{type:"input",title:"审批单号",model:"approvalNumber",placeholder:"请输入",control:!1,row:24},{type:"select",title:"单据状态",model:"documentStatus",control:!1,row:24,placeholder:"请选择",options:[]},{type:"datetime",title:"填报开始时间",model:"createdAt",control:!1,row:24,placeholder:"请选择"},{type:"datetime",title:"填报结束时间",model:"updatedAt",control:!1,row:24,placeholder:"请选择"}]),_={type:"personnel_indicators",current:j.pagination.current,size:j.pagination.pageSize},f=r({..._}),k=r({}),I=r({}),z=()=>{j.tableType.tableLoading=!0,n.get("/api/organization/selectOrganizationPersonnelIndicatorsList",f.value).then((e=>{200==e.code&&(j.tableData=e.data.records,j.tableType.tableLoading=!1,j.pagination.total=e.data.total)})).catch((()=>{j.tableType.tableLoading=!1}))},N=({type:e,data:a})=>{switch(e){case"create":L();break;case"submission":case"accessory":console.log(e,a);break;case"edit":console.log(e,a),P(a);break;case"delete":console.log(e,a),S(a);break;case"advanced":console.log(e,a),M();break;case"view":console.log(e,a),H(a);break;case"mixInput":console.log(e,a),D(a)}},A=e=>{console.log(e),console.log(e),j.pagination.current=e,f.value.current=e,z()},S=e=>{const a=e.map((e=>e.id));n.post("/api/organization/deleteOrganizationAndPersonnelIndicators",{ids:a}).then((e=>{200==e.code&&(i({message:"删除成功",type:"success"}),z())}))},T=(e,a,l)=>{f.value={...f.value,...a},h.value.clearMixInput(),w.value=!1,z()},M=()=>{w.value=!0,I.value={type:"adsearch",name:"查询",id:""},k.value={approvalNumber:"",companyName:"",updatedAt:"",createdAt:"",documentStatus:""}},L=()=>{b.push("/grain/des-target-add?type=create")},H=e=>{b.push(`/grain/des-target-add?type=check&id=${e[0].id}`)},P=e=>{const a=e[0].id;b.push(`/grain/des-target-add?type=edit&id=${a}`)},D=e=>{if(console.log(e.seachMixSelect.value,e.seachMixInput.value),""===e.seachMixSelect.value||""===e.seachMixInput.value)return f.value=s(_),void z();f.value=s(_),f.value[e.seachMixSelect.value]=e.seachMixInput.value,z()};let V=r({}),F=["t_dict_invoices_state"];return d((()=>{z(),c(F).then((e=>{V.value=e,x[2].options=V.value.t_dict_invoices_state}))})),(e,n)=>(p(),g("div",a,[m(l,y(j,{onHandleTableHeader:N,onHandleTablePagination:A,ref_key:"TableBodyRef",ref:h}),null,16),m(t,{inputArray:x,onHandleFrom:T,dialogVisible:w,control:v.value,buttonName:I.value,ruleForm:k.value,diawidth:24},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm"])]))}})}}}));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import E from"./Upload-f518731f.js";import{_ as N}from"./_plugin-vue_export-helper-c27b6911.js";import{f as o,a0 as g,n as P,ag as s,o as R,c as H,d as e,S as t,W as p,a as b}from"./@vue-799d75fe.js";import"./index-949b5609.js";import"./vue-router-e054bd6d.js";import"./axios-03edf72b.js";import"./form-data-d2a9677b.js";import"./pinia-b1006f6e.js";import"./vue-demi-71ba0ef2.js";import"./element-plus-69b549ae.js";import"./lodash-es-b9271f86.js";import"./@vueuse-762dd9ca.js";import"./@element-plus-4d69b6da.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-9729b6d9.js";import"./async-validator-0dc26b7a.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";import"./lodash.clonedeep-89ac42ac.js";/* empty css */const T={class:"ParMain"},j={class:"tab-content"},A={class:"dialog-footer"},D={__name:"details",setup(I){const _=o(4),c=o(100),v=o(!1),y=o(!1),k=o(!1),f=o(0);o("");const h=o(),m=g({name:""}),C=g({name:[{required:!0,message:"Please input Activity name",trigger:"blur"}]}),i=o(!1),x=[{name:"池武丹",lastname:"张三",address:"2021-12-24 00:00:00",status:"pdf",qiye:"附件一号"},{name:"池武丹",lastname:"李四",address:"2021-12-24 00:00:00",status:"pdf",qiye:"附件二号"},{name:"池武丹",lastname:"张三",address:"2021-12-24 00:00:00",status:"pdf",qiye:"附件三号"}],u=()=>{i.value=!0},V=n=>{console.log(`${n} items per page`)},z=n=>{console.log(`current page: ${n}`)};return P(()=>{f.value=window.innerHeight-320}),(n,a)=>{const r=s("el-table-column"),d=s("el-button"),q=s("el-table"),w=s("el-pagination"),F=s("el-form-item"),U=s("el-col"),S=s("el-row"),$=s("el-form"),B=s("el-dialog");return R(),H("div",T,[e(q,{data:x,"default-sort":{prop:"date",order:"descending"},height:f.value,style:{width:"100%"},"header-cell-style":{background:"#EEF1F4"}},{default:t(()=>[e(r,{prop:"qiye",label:"附件名称",sortable:""}),e(r,{prop:"status",label:"文件类型",sortable:""}),e(r,{prop:"name",label:"上传人",sortable:""}),e(r,{prop:"lastname",label:"最后修改人",sortable:""}),e(r,{prop:"address",label:"最后修改日期",sortable:""}),e(r,{fixed:"right",label:"操作"},{default:t(()=>[e(d,{link:"",type:"primary",size:"large",onClick:u,style:{"margin-right":"36px"}},{default:t(()=>[p("修改")]),_:1}),e(d,{link:"",type:"primary",size:"large",onClick:u,style:{"margin-right":"36px"}},{default:t(()=>[p("删除")]),_:1}),e(d,{link:"",type:"primary",size:"large",onClick:u},{default:t(()=>[p("附件")]),_:1})]),_:1})]),_:1},8,["height"]),e(w,{style:{"margin-top":"100px"},"current-page":_.value,"onUpdate:current-page":a[0]||(a[0]=l=>_.value=l),"page-size":c.value,"onUpdate:page-size":a[1]||(a[1]=l=>c.value=l),"page-sizes":[100,200,300,400],small:v.value,disabled:k.value,background:y.value,layout:"->,total, prev, pager, next, jumper",total:400,onSizeChange:V,onCurrentChange:z},null,8,["current-page","page-size","small","disabled","background"]),e(B,{modelValue:i.value,"onUpdate:modelValue":a[5]||(a[5]=l=>i.value=l),title:"人员选调",width:"60%"},{footer:t(()=>[b("span",A,[e(d,{type:"primary",onClick:a[3]||(a[3]=l=>i.value=!1)},{default:t(()=>[p("保存")]),_:1}),e(d,{onClick:a[4]||(a[4]=l=>i.value=!1)},{default:t(()=>[p("关闭")]),_:1})])]),default:t(()=>[b("div",j,[e($,{ref_key:"ruleFormRef",ref:h,model:m,rules:C,"label-width":"180px",disabled:n.disabledVal,"hide-required-asterisk":n.hideRequired},{default:t(()=>[e(S,null,{default:t(()=>[e(U,{span:12},{default:t(()=>[e(F,{label:"相关附件:",class:"form-item-upload"},{default:t(()=>[e(E,{modelValue:m.name,"onUpdate:modelValue":a[2]||(a[2]=l=>m.name=l)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules","disabled","hide-required-asterisk"])])]),_:1},8,["modelValue"])])}}},ue=N(D,[["__scopeId","data-v-41b38f3f"]]);export{ue as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{a as T,u as j}from"./vue-router-e054bd6d.js";import{h as x}from"./index-949b5609.js";import{_ as R}from"./_plugin-vue_export-helper-c27b6911.js";import{E as B}from"./element-plus-69b549ae.js";import{f as p,a0 as D,n as F,ag as _,aq as N,o as C,c as S,T as U,R as V,S as r,d as n,a as g,X as f,u as A,W as k}from"./@vue-799d75fe.js";import"./axios-03edf72b.js";import"./form-data-d2a9677b.js";import"./pinia-b1006f6e.js";import"./vue-demi-71ba0ef2.js";import"./lodash-es-b9271f86.js";import"./@vueuse-762dd9ca.js";import"./@element-plus-4d69b6da.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-9729b6d9.js";import"./async-validator-0dc26b7a.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const H={class:"ParMain"},M={__name:"detailsIndex",setup(O){const c=T();p(c.query.type),j();const L=p(!1),h=p(0),d=p(!1),v=p([]),l=D({current:1,size:12,id:c.query.id}),b=p(0),m=()=>{d.value=!0,console.log(c.query.type,"route.query.type"),l.type=c.query.type,x.get("/api/alteration/selectOrganizationFileList",l).then(t=>{console.log("res",t),t.code==200&&(console.log(t.data),v.value=t.data.records,b.value=t.data.total,d.value=!1)}).catch(()=>{d.value=!1})};m();let z={audit:"审批资料附件",card:"身份证附件",education:"学历证书附件",engage:"聘任证书附件",jobTitle:"职称证书附件",directors:"directors"};const y=(t,e)=>{if(console.log(t,e),t==="download")x.downloadFile("/api/alteration/download",{params:{fileName:e.name,path:e.path},responseType:"blob"}).then(o=>{const i=window.URL.createObjectURL(o),s=document.createElement("a");s.download=e.name,s.href=i,s.click()});else if(t==="preview"){const o=e.suffix.toLowerCase()==="jpeg".toLowerCase(),i=e.suffix.toLowerCase()==="pdf".toLowerCase(),s=e.suffix.toLowerCase()==="png".toLowerCase(),w=e.suffix.toLowerCase()==="jpg".toLowerCase();if(o||i||s||w){const u=document.createElement("a");u.href=e.path,u.click(),window.open(e.path)}else B({message:"该文件类型暂不支持预览",type:"warning"})}},q=t=>{l.current=t,m()},E=t=>{l.current=t,m()};return F(()=>{h.value=window.innerHeight-320}),(t,e)=>{const o=_("el-table-column"),i=_("el-button"),s=_("el-table"),w=_("el-pagination"),u=N("loading");return C(),S("div",H,[U((C(),V(s,{data:v.value,"default-sort":{prop:"date",order:"descending"},height:h.value,style:{width:"100%"},"header-cell-style":{background:"#EEF1F4"}},{default:r(()=>[n(o,{label:"序号",type:"index",width:"100",align:"center"}),n(o,{prop:"name",label:"附件名称"}),n(o,{label:"附件类型"},{default:r(a=>[g("span",null,f(A(z)[a.row.targetType]),1)]),_:1}),n(o,{label:"文件类型"},{default:r(a=>[g("span",null,f(a.row.suffix),1)]),_:1}),n(o,{prop:"createdId",label:"上传人"}),n(o,{label:"上传时间"},{default:r(a=>[g("span",null,f(a.row.createdAt.split(" ")[0]),1)]),_:1}),n(o,{prop:"updatedId",label:"最后修改人"}),n(o,{label:"最后修改日期"},{default:r(a=>[g("span",null,f(a.row.updatedAt.split(" ")[0]),1)]),_:1}),n(o,{fixed:"right",label:"操作",width:"120"},{default:r(a=>[n(i,{link:"",type:"primary",size:"large",onClick:I=>y("preview",a.row)},{default:r(()=>[k("预览")]),_:2},1032,["onClick"]),n(i,{link:"",type:"primary",size:"large",onClick:I=>y("download",a.row)},{default:r(()=>[k("下载")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data","height"])),[[u,d.value]]),n(w,{style:{"margin-top":"100px"},"current-page":l.current,"onUpdate:current-page":e[0]||(e[0]=a=>l.current=a),"page-size":l.size,"onUpdate:page-size":e[1]||(e[1]=a=>l.size=a),background:L.value,layout:"->,total, prev, pager, next, jumper",total:b.value,onSizeChange:q,onCurrentChange:E},null,8,["current-page","page-size","background","total"])])}}},ce=R(M,[["__scopeId","data-v-56ff1069"]]);export{ce as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More