zl-lcyq 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/zl-lcyq.es.js +16 -0
- package/lib/zl-lcyq.umd.js +1 -1
- package/package.json +1 -1
package/lib/zl-lcyq.es.js
CHANGED
@@ -25582,6 +25582,22 @@ const personnelPopTab = [
|
|
25582
25582
|
key: "depart",
|
25583
25583
|
name: "\u90E8\u95E8"
|
25584
25584
|
},
|
25585
|
+
{
|
25586
|
+
key: "dwDepart",
|
25587
|
+
name: "\u5355\u4F4D\u90E8\u95E8"
|
25588
|
+
},
|
25589
|
+
{
|
25590
|
+
key: "position",
|
25591
|
+
name: "\u5C97\u4F4D"
|
25592
|
+
},
|
25593
|
+
{
|
25594
|
+
key: "xdposition",
|
25595
|
+
name: "\u76F8\u5BF9\u5C97\u4F4D"
|
25596
|
+
},
|
25597
|
+
{
|
25598
|
+
key: "xdrole",
|
25599
|
+
name: "\u76F8\u5BF9\u5173\u7CFB"
|
25600
|
+
},
|
25585
25601
|
{
|
25586
25602
|
key: "user",
|
25587
25603
|
name: "\u7528\u6237"
|
package/lib/zl-lcyq.umd.js
CHANGED
@@ -2113,7 +2113,7 @@ __p += '`),rt&&(de+=`' +
|
|
2113
2113
|
function print() { __p += __j.call(arguments, '') }
|
2114
2114
|
`:`;
|
2115
2115
|
`)+de+`return __p
|
2116
|
-
}`;var Qe=qy(function(){return at(R,we+"return "+de).apply(n,$)});if(Qe.source=de,Zh(Qe))throw Qe;return Qe}function t8(i){return lt(i).toLowerCase()}function n8(i){return lt(i).toUpperCase()}function r8(i,a,d){if(i=lt(i),i&&(d||a===n))return r0(i);if(!i||!(a=Ln(a)))return i;var m=hr(i),x=hr(a),R=o0(m,x),$=i0(m,x)+1;return Fo(m,R,$).join("")}function o8(i,a,d){if(i=lt(i),i&&(d||a===n))return i.slice(0,l0(i)+1);if(!i||!(a=Ln(a)))return i;var m=hr(i),x=i0(m,hr(a))+1;return Fo(m,0,x).join("")}function i8(i,a,d){if(i=lt(i),i&&(d||a===n))return i.replace(le,"");if(!i||!(a=Ln(a)))return i;var m=hr(i),x=o0(m,hr(a));return Fo(m,x).join("")}function a8(i,a){var d=G,m=ee;if(Bt(a)){var x="separator"in a?a.separator:x;d="length"in a?Ge(a.length):d,m="omission"in a?Ln(a.omission):m}i=lt(i);var R=i.length;if(ta(i)){var $=hr(i);R=$.length}if(d>=R)return i;var D=d-na(m);if(D<1)return m;var j=$?Fo($,0,D).join(""):i.slice(0,D);if(x===n)return j+m;if($&&(D+=j.length-D),ep(x)){if(i.slice(D).search(x)){var oe,ae=j;for(x.global||(x=mh(x.source,lt(Tr.exec(x))+"g")),x.lastIndex=0;oe=x.exec(ae);)var de=oe.index;j=j.slice(0,de===n?D:de)}}else if(i.indexOf(Ln(x),D)!=D){var be=j.lastIndexOf(x);be>-1&&(j=j.slice(0,be))}return j+m}function l8(i){return i=lt(i),i&&He.test(i)?i.replace(Be,D4):i}var s8=ca(function(i,a,d){return i+(d?" ":"")+a.toUpperCase()}),rp=Y0("toUpperCase");function Qy(i,a,d){return i=lt(i),a=d?n:a,a===n?F4(i)?M4(i):w4(i):i.match(a)||[]}var qy=qe(function(i,a){try{return Nn(i,n,a)}catch(d){return Zh(d)?d:new Ve(d)}}),c8=Xr(function(i,a){return Jn(a,function(d){d=Pr(d),Kr(i,d,Jh(i[d],i))}),i});function d8(i){var a=i==null?0:i.length,d=Re();return i=a?Et(i,function(m){if(typeof m[1]!="function")throw new Xn(c);return[d(m[0]),m[1]]}):[],qe(function(m){for(var x=-1;++x<a;){var R=i[x];if(Nn(R[0],this,m))return Nn(R[1],this,m)}})}function u8(i){return DI(er(i,b))}function op(i){return function(){return i}}function f8(i,a){return i==null||i!==i?a:i}var h8=J0(),p8=J0(!0);function Tn(i){return i}function ip(i){return k0(typeof i=="function"?i:er(i,b))}function g8(i){return T0(er(i,b))}function m8(i,a){return R0(i,er(a,b))}var b8=qe(function(i,a){return function(d){return $l(d,i,a)}}),v8=qe(function(i,a){return function(d){return $l(i,d,a)}});function ap(i,a,d){var m=Xt(a),x=ed(a,m);d==null&&!(Bt(a)&&(x.length||!m.length))&&(d=a,a=i,i=this,x=ed(a,Xt(a)));var R=!(Bt(d)&&"chain"in d)||!!d.chain,$=eo(i);return Jn(x,function(D){var j=a[D];i[D]=j,$&&(i.prototype[D]=function(){var oe=this.__chain__;if(R||oe){var ae=i(this.__wrapped__),de=ae.__actions__=En(this.__actions__);return de.push({func:j,args:arguments,thisArg:i}),ae.__chain__=oe,ae}return j.apply(i,_o([this.value()],arguments))})}),i}function A8(){return nn._===this&&(nn._=U4),this}function lp(){}function y8(i){return i=Ge(i),qe(function(a){return F0(a,i)})}var x8=Nh(Et),w8=Nh(XA),C8=Nh(ch);function Yy(i){return Uh(i)?dh(Pr(i)):ZI(i)}function S8(i){return function(a){return i==null?n:fi(i,a)}}var _8=Z0(),E8=Z0(!0);function sp(){return[]}function cp(){return!1}function k8(){return{}}function B8(){return""}function T8(){return!0}function R8(i,a){if(i=Ge(i),i<1||i>ce)return[];var d=ge,m=cn(i,ge);a=Re(a),i-=ge;for(var x=hh(m,a);++d<i;)a(d);return x}function F8(i){return We(i)?Et(i,Pr):Hn(i)?[i]:En(gy(lt(i)))}function P8(i){var a=++W4;return lt(i)+a}var $8=ad(function(i,a){return i+a},0),O8=Mh("ceil"),I8=ad(function(i,a){return i/a},1),D8=Mh("floor");function z8(i){return i&&i.length?Zc(i,Tn,Sh):n}function N8(i,a){return i&&i.length?Zc(i,Re(a,2),Sh):n}function M8(i){return t0(i,Tn)}function L8(i,a){return t0(i,Re(a,2))}function H8(i){return i&&i.length?Zc(i,Tn,Bh):n}function V8(i,a){return i&&i.length?Zc(i,Re(a,2),Bh):n}var W8=ad(function(i,a){return i*a},1),j8=Mh("round"),U8=ad(function(i,a){return i-a},0);function G8(i){return i&&i.length?fh(i,Tn):0}function Q8(i,a){return i&&i.length?fh(i,Re(a,2)):0}return E.after=gN,E.ary=Ey,E.assign=nM,E.assignIn=Ly,E.assignInWith=Ad,E.assignWith=rM,E.at=oM,E.before=ky,E.bind=Jh,E.bindAll=c8,E.bindKey=By,E.castArray=kN,E.chain=Cy,E.chunk=DD,E.compact=zD,E.concat=ND,E.cond=d8,E.conforms=u8,E.constant=op,E.countBy=Gz,E.create=iM,E.curry=Ty,E.curryRight=Ry,E.debounce=Fy,E.defaults=aM,E.defaultsDeep=lM,E.defer=mN,E.delay=bN,E.difference=MD,E.differenceBy=LD,E.differenceWith=HD,E.drop=VD,E.dropRight=WD,E.dropRightWhile=jD,E.dropWhile=UD,E.fill=GD,E.filter=qz,E.flatMap=Jz,E.flatMapDeep=Xz,E.flatMapDepth=Zz,E.flatten=Ay,E.flattenDeep=QD,E.flattenDepth=qD,E.flip=vN,E.flow=h8,E.flowRight=p8,E.fromPairs=YD,E.functions=pM,E.functionsIn=gM,E.groupBy=eN,E.initial=JD,E.intersection=XD,E.intersectionBy=ZD,E.intersectionWith=ez,E.invert=bM,E.invertBy=vM,E.invokeMap=nN,E.iteratee=ip,E.keyBy=rN,E.keys=Xt,E.keysIn=Bn,E.map=hd,E.mapKeys=yM,E.mapValues=xM,E.matches=g8,E.matchesProperty=m8,E.memoize=gd,E.merge=wM,E.mergeWith=Hy,E.method=b8,E.methodOf=v8,E.mixin=ap,E.negate=md,E.nthArg=y8,E.omit=CM,E.omitBy=SM,E.once=AN,E.orderBy=oN,E.over=x8,E.overArgs=yN,E.overEvery=w8,E.overSome=C8,E.partial=Xh,E.partialRight=Py,E.partition=iN,E.pick=_M,E.pickBy=Vy,E.property=Yy,E.propertyOf=S8,E.pull=oz,E.pullAll=xy,E.pullAllBy=iz,E.pullAllWith=az,E.pullAt=lz,E.range=_8,E.rangeRight=E8,E.rearg=xN,E.reject=sN,E.remove=sz,E.rest=wN,E.reverse=Yh,E.sampleSize=dN,E.set=kM,E.setWith=BM,E.shuffle=uN,E.slice=cz,E.sortBy=pN,E.sortedUniq=mz,E.sortedUniqBy=bz,E.split=JM,E.spread=CN,E.tail=vz,E.take=Az,E.takeRight=yz,E.takeRightWhile=xz,E.takeWhile=wz,E.tap=zz,E.throttle=SN,E.thru=fd,E.toArray=zy,E.toPairs=Wy,E.toPairsIn=jy,E.toPath=F8,E.toPlainObject=My,E.transform=TM,E.unary=_N,E.union=Cz,E.unionBy=Sz,E.unionWith=_z,E.uniq=Ez,E.uniqBy=kz,E.uniqWith=Bz,E.unset=RM,E.unzip=Kh,E.unzipWith=wy,E.update=FM,E.updateWith=PM,E.values=fa,E.valuesIn=$M,E.without=Tz,E.words=Qy,E.wrap=EN,E.xor=Rz,E.xorBy=Fz,E.xorWith=Pz,E.zip=$z,E.zipObject=Oz,E.zipObjectDeep=Iz,E.zipWith=Dz,E.entries=Wy,E.entriesIn=jy,E.extend=Ly,E.extendWith=Ad,ap(E,E),E.add=$8,E.attempt=qy,E.camelCase=zM,E.capitalize=Uy,E.ceil=O8,E.clamp=OM,E.clone=BN,E.cloneDeep=RN,E.cloneDeepWith=FN,E.cloneWith=TN,E.conformsTo=PN,E.deburr=Gy,E.defaultTo=f8,E.divide=I8,E.endsWith=NM,E.eq=gr,E.escape=MM,E.escapeRegExp=LM,E.every=Qz,E.find=Yz,E.findIndex=by,E.findKey=sM,E.findLast=Kz,E.findLastIndex=vy,E.findLastKey=cM,E.floor=D8,E.forEach=Sy,E.forEachRight=_y,E.forIn=dM,E.forInRight=uM,E.forOwn=fM,E.forOwnRight=hM,E.get=tp,E.gt=$N,E.gte=ON,E.has=mM,E.hasIn=np,E.head=yy,E.identity=Tn,E.includes=tN,E.indexOf=KD,E.inRange=IM,E.invoke=AM,E.isArguments=gi,E.isArray=We,E.isArrayBuffer=IN,E.isArrayLike=kn,E.isArrayLikeObject=Dt,E.isBoolean=DN,E.isBuffer=Po,E.isDate=zN,E.isElement=NN,E.isEmpty=MN,E.isEqual=LN,E.isEqualWith=HN,E.isError=Zh,E.isFinite=VN,E.isFunction=eo,E.isInteger=$y,E.isLength=bd,E.isMap=Oy,E.isMatch=WN,E.isMatchWith=jN,E.isNaN=UN,E.isNative=GN,E.isNil=qN,E.isNull=QN,E.isNumber=Iy,E.isObject=Bt,E.isObjectLike=Ft,E.isPlainObject=Ml,E.isRegExp=ep,E.isSafeInteger=YN,E.isSet=Dy,E.isString=vd,E.isSymbol=Hn,E.isTypedArray=ua,E.isUndefined=KN,E.isWeakMap=JN,E.isWeakSet=XN,E.join=tz,E.kebabCase=HM,E.last=nr,E.lastIndexOf=nz,E.lowerCase=VM,E.lowerFirst=WM,E.lt=ZN,E.lte=eM,E.max=z8,E.maxBy=N8,E.mean=M8,E.meanBy=L8,E.min=H8,E.minBy=V8,E.stubArray=sp,E.stubFalse=cp,E.stubObject=k8,E.stubString=B8,E.stubTrue=T8,E.multiply=W8,E.nth=rz,E.noConflict=A8,E.noop=lp,E.now=pd,E.pad=jM,E.padEnd=UM,E.padStart=GM,E.parseInt=QM,E.random=DM,E.reduce=aN,E.reduceRight=lN,E.repeat=qM,E.replace=YM,E.result=EM,E.round=j8,E.runInContext=V,E.sample=cN,E.size=fN,E.snakeCase=KM,E.some=hN,E.sortedIndex=dz,E.sortedIndexBy=uz,E.sortedIndexOf=fz,E.sortedLastIndex=hz,E.sortedLastIndexBy=pz,E.sortedLastIndexOf=gz,E.startCase=XM,E.startsWith=ZM,E.subtract=U8,E.sum=G8,E.sumBy=Q8,E.template=e8,E.times=R8,E.toFinite=to,E.toInteger=Ge,E.toLength=Ny,E.toLower=t8,E.toNumber=rr,E.toSafeInteger=tM,E.toString=lt,E.toUpper=n8,E.trim=r8,E.trimEnd=o8,E.trimStart=i8,E.truncate=a8,E.unescape=l8,E.uniqueId=P8,E.upperCase=s8,E.upperFirst=rp,E.each=Sy,E.eachRight=_y,E.first=yy,ap(E,function(){var i={};return Rr(E,function(a,d){ut.call(E.prototype,d)||(i[d]=a)}),i}(),{chain:!1}),E.VERSION=o,Jn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){E[i].placeholder=E}),Jn(["drop","take"],function(i,a){et.prototype[i]=function(d){d=d===n?1:Yt(Ge(d),0);var m=this.__filtered__&&!a?new et(this):this.clone();return m.__filtered__?m.__takeCount__=cn(d,m.__takeCount__):m.__views__.push({size:cn(d,ge),type:i+(m.__dir__<0?"Right":"")}),m},et.prototype[i+"Right"]=function(d){return this.reverse()[i](d).reverse()}}),Jn(["filter","map","takeWhile"],function(i,a){var d=a+1,m=d==N||d==U;et.prototype[i]=function(x){var R=this.clone();return R.__iteratees__.push({iteratee:Re(x,3),type:d}),R.__filtered__=R.__filtered__||m,R}}),Jn(["head","last"],function(i,a){var d="take"+(a?"Right":"");et.prototype[i]=function(){return this[d](1).value()[0]}}),Jn(["initial","tail"],function(i,a){var d="drop"+(a?"":"Right");et.prototype[i]=function(){return this.__filtered__?new et(this):this[d](1)}}),et.prototype.compact=function(){return this.filter(Tn)},et.prototype.find=function(i){return this.filter(i).head()},et.prototype.findLast=function(i){return this.reverse().find(i)},et.prototype.invokeMap=qe(function(i,a){return typeof i=="function"?new et(this):this.map(function(d){return $l(d,i,a)})}),et.prototype.reject=function(i){return this.filter(md(Re(i)))},et.prototype.slice=function(i,a){i=Ge(i);var d=this;return d.__filtered__&&(i>0||a<0)?new et(d):(i<0?d=d.takeRight(-i):i&&(d=d.drop(i)),a!==n&&(a=Ge(a),d=a<0?d.dropRight(-a):d.take(a-i)),d)},et.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},et.prototype.toArray=function(){return this.take(ge)},Rr(et.prototype,function(i,a){var d=/^(?:filter|find|map|reject)|While$/.test(a),m=/^(?:head|last)$/.test(a),x=E[m?"take"+(a=="last"?"Right":""):a],R=m||/^find/.test(a);!x||(E.prototype[a]=function(){var $=this.__wrapped__,D=m?[1]:arguments,j=$ instanceof et,oe=D[0],ae=j||We($),de=function(Ke){var rt=x.apply(E,_o([Ke],D));return m&&be?rt[0]:rt};ae&&d&&typeof oe=="function"&&oe.length!=1&&(j=ae=!1);var be=this.__chain__,we=!!this.__actions__.length,Pe=R&&!be,Qe=j&&!we;if(!R&&ae){$=Qe?$:new et(this);var $e=i.apply($,D);return $e.__actions__.push({func:fd,args:[de],thisArg:n}),new Zn($e,be)}return Pe&&Qe?i.apply(this,D):($e=this.thru(de),Pe?m?$e.value()[0]:$e.value():$e)})}),Jn(["pop","push","shift","sort","splice","unshift"],function(i){var a=Nc[i],d=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",m=/^(?:pop|shift)$/.test(i);E.prototype[i]=function(){var x=arguments;if(m&&!this.__chain__){var R=this.value();return a.apply(We(R)?R:[],x)}return this[d](function($){return a.apply(We($)?$:[],x)})}}),Rr(et.prototype,function(i,a){var d=E[a];if(d){var m=d.name+"";ut.call(aa,m)||(aa[m]=[]),aa[m].push({name:a,func:d})}}),aa[id(n,w).name]=[{name:"wrapper",func:n}],et.prototype.clone=lI,et.prototype.reverse=sI,et.prototype.value=cI,E.prototype.at=Nz,E.prototype.chain=Mz,E.prototype.commit=Lz,E.prototype.next=Hz,E.prototype.plant=Wz,E.prototype.reverse=jz,E.prototype.toJSON=E.prototype.valueOf=E.prototype.value=Uz,E.prototype.first=E.prototype.head,El&&(E.prototype[El]=Vz),E},ra=L4();li?((li.exports=ra)._=ra,ih._=ra):nn._=ra}).call(qo)})(Mu,Mu.exports);var Pn=Mu.exports;function Ko(e){const t=Yo();let n=r.computed(()=>t.drawerConfig.value.type==4?t.drawerConfig.value.conditionNodes.find(l=>l.priorityLevel==t.drawerConfig.priorityLevel):t.drawerConfig.priorityLevel?t.drawerConfig.value[t.drawerConfig.priorityLevel]:t.drawerConfig.value);const o=r.computed({get(){return e.s_p?Pn.get(n.value,`${e.s_p}.${e.key}`):Pn.get(n.value,e.key)},set(l){e.s_p?Pn.set(n.value,`${e.s_p}.${e.key}`,l):Pn.set(n.value,e.key,l)}});return{drawerConfig:n,nowValue:o}}const iR={class:"lcyq_drawer_item"},aR={class:"title"},lR={key:0},sR={class:"plugin"},cR={__name:"input",props:{info:{type:Object,default:()=>({})}},setup(e){const t=e,{drawerConfig:n,nowValue:o}=Ko(t.info);return(l,s)=>(r.openBlock(),r.createElementBlock("div",iR,[r.createElementVNode("div",aR,[r.createElementVNode("span",null,[r.createTextVNode(r.toDisplayString(e.info.name)+" ",1),t.info.required?(r.openBlock(),r.createElementBlock("i",lR,"*")):r.createCommentVNode("",!0)])]),r.createElementVNode("div",sR,[r.createVNode(r.unref(go),{value:r.unref(o),"onUpdate:value":s[0]||(s[0]=c=>r.isRef(o)?o.value=c:null),placeholder:`\u8BF7\u8F93\u5165${e.info.name}`},null,8,["value","placeholder"])])]))}},dR={class:"lcyq_drawer_item"},uR={class:"title line"},fR={key:0},hR={class:"plugin"},pR={__name:"select",props:{info:{type:Object,default:()=>({})}},setup(e){const t=e,{drawerConfig:n,nowValue:o}=Ko(t.info);function l(c){switch(t.info.key){case"task_type":s(c);break}}function s(c){const u=n.value.node_config.operations,f=t.info.options.find(p=>p.value===c);let h=[];switch(f==null||f.useOperations.forEach(p=>{var v;const b=(v=u.find(C=>C.value===p))!=null?v:kb.find(C=>C.value==p);h.push(b)}),h.push(...u.filter(p=>p.value>5)),n.value.node_config.task_type){case 0:h=h.map(p=>([1,4].includes(p.value)&&(p.enable=1),p));break;default:h=h.map(p=>(p.enable=1,p));break}n.value.node_config.operations=Pn.cloneDeep(h)}return(c,u)=>(r.openBlock(),r.createElementBlock("div",dR,[r.createElementVNode("div",uR,[r.createElementVNode("span",null,[r.createTextVNode(r.toDisplayString(e.info.name)+" ",1),t.info.required?(r.openBlock(),r.createElementBlock("i",fR,"*")):r.createCommentVNode("",!0)])]),r.createElementVNode("div",hR,[r.createVNode(r.unref(_s),{value:r.unref(o),"onUpdate:value":[u[0]||(u[0]=f=>r.isRef(o)?o.value=f:null),l],options:e.info.options,placeholder:"\u8BF7\u9009\u62E9"},null,8,["value","options"])])]))}},gR=[{key:"organize",name:"\u7EC4\u7EC7"},{key:"depart",name:"\u90E8\u95E8"},{key:"user",name:"\u7528\u6237"},{key:"tag",name:"\u6807\u7B7E"},{key:"filter",name:"\u7B5B\u9009\u5668"},{key:"enter",name:"\u624B\u52A8\u5F55\u5165"}];var YL=(()=>`.assignee[data-v-066fdf4c]{height:140px;border:1px solid #e3e3e9;border-radius:3px}.assignee .tip_text[data-v-066fdf4c]{color:#999}
|
2116
|
+
}`;var Qe=qy(function(){return at(R,we+"return "+de).apply(n,$)});if(Qe.source=de,Zh(Qe))throw Qe;return Qe}function t8(i){return lt(i).toLowerCase()}function n8(i){return lt(i).toUpperCase()}function r8(i,a,d){if(i=lt(i),i&&(d||a===n))return r0(i);if(!i||!(a=Ln(a)))return i;var m=hr(i),x=hr(a),R=o0(m,x),$=i0(m,x)+1;return Fo(m,R,$).join("")}function o8(i,a,d){if(i=lt(i),i&&(d||a===n))return i.slice(0,l0(i)+1);if(!i||!(a=Ln(a)))return i;var m=hr(i),x=i0(m,hr(a))+1;return Fo(m,0,x).join("")}function i8(i,a,d){if(i=lt(i),i&&(d||a===n))return i.replace(le,"");if(!i||!(a=Ln(a)))return i;var m=hr(i),x=o0(m,hr(a));return Fo(m,x).join("")}function a8(i,a){var d=G,m=ee;if(Bt(a)){var x="separator"in a?a.separator:x;d="length"in a?Ge(a.length):d,m="omission"in a?Ln(a.omission):m}i=lt(i);var R=i.length;if(ta(i)){var $=hr(i);R=$.length}if(d>=R)return i;var D=d-na(m);if(D<1)return m;var j=$?Fo($,0,D).join(""):i.slice(0,D);if(x===n)return j+m;if($&&(D+=j.length-D),ep(x)){if(i.slice(D).search(x)){var oe,ae=j;for(x.global||(x=mh(x.source,lt(Tr.exec(x))+"g")),x.lastIndex=0;oe=x.exec(ae);)var de=oe.index;j=j.slice(0,de===n?D:de)}}else if(i.indexOf(Ln(x),D)!=D){var be=j.lastIndexOf(x);be>-1&&(j=j.slice(0,be))}return j+m}function l8(i){return i=lt(i),i&&He.test(i)?i.replace(Be,D4):i}var s8=ca(function(i,a,d){return i+(d?" ":"")+a.toUpperCase()}),rp=Y0("toUpperCase");function Qy(i,a,d){return i=lt(i),a=d?n:a,a===n?F4(i)?M4(i):w4(i):i.match(a)||[]}var qy=qe(function(i,a){try{return Nn(i,n,a)}catch(d){return Zh(d)?d:new Ve(d)}}),c8=Xr(function(i,a){return Jn(a,function(d){d=Pr(d),Kr(i,d,Jh(i[d],i))}),i});function d8(i){var a=i==null?0:i.length,d=Re();return i=a?Et(i,function(m){if(typeof m[1]!="function")throw new Xn(c);return[d(m[0]),m[1]]}):[],qe(function(m){for(var x=-1;++x<a;){var R=i[x];if(Nn(R[0],this,m))return Nn(R[1],this,m)}})}function u8(i){return DI(er(i,b))}function op(i){return function(){return i}}function f8(i,a){return i==null||i!==i?a:i}var h8=J0(),p8=J0(!0);function Tn(i){return i}function ip(i){return k0(typeof i=="function"?i:er(i,b))}function g8(i){return T0(er(i,b))}function m8(i,a){return R0(i,er(a,b))}var b8=qe(function(i,a){return function(d){return $l(d,i,a)}}),v8=qe(function(i,a){return function(d){return $l(i,d,a)}});function ap(i,a,d){var m=Xt(a),x=ed(a,m);d==null&&!(Bt(a)&&(x.length||!m.length))&&(d=a,a=i,i=this,x=ed(a,Xt(a)));var R=!(Bt(d)&&"chain"in d)||!!d.chain,$=eo(i);return Jn(x,function(D){var j=a[D];i[D]=j,$&&(i.prototype[D]=function(){var oe=this.__chain__;if(R||oe){var ae=i(this.__wrapped__),de=ae.__actions__=En(this.__actions__);return de.push({func:j,args:arguments,thisArg:i}),ae.__chain__=oe,ae}return j.apply(i,_o([this.value()],arguments))})}),i}function A8(){return nn._===this&&(nn._=U4),this}function lp(){}function y8(i){return i=Ge(i),qe(function(a){return F0(a,i)})}var x8=Nh(Et),w8=Nh(XA),C8=Nh(ch);function Yy(i){return Uh(i)?dh(Pr(i)):ZI(i)}function S8(i){return function(a){return i==null?n:fi(i,a)}}var _8=Z0(),E8=Z0(!0);function sp(){return[]}function cp(){return!1}function k8(){return{}}function B8(){return""}function T8(){return!0}function R8(i,a){if(i=Ge(i),i<1||i>ce)return[];var d=ge,m=cn(i,ge);a=Re(a),i-=ge;for(var x=hh(m,a);++d<i;)a(d);return x}function F8(i){return We(i)?Et(i,Pr):Hn(i)?[i]:En(gy(lt(i)))}function P8(i){var a=++W4;return lt(i)+a}var $8=ad(function(i,a){return i+a},0),O8=Mh("ceil"),I8=ad(function(i,a){return i/a},1),D8=Mh("floor");function z8(i){return i&&i.length?Zc(i,Tn,Sh):n}function N8(i,a){return i&&i.length?Zc(i,Re(a,2),Sh):n}function M8(i){return t0(i,Tn)}function L8(i,a){return t0(i,Re(a,2))}function H8(i){return i&&i.length?Zc(i,Tn,Bh):n}function V8(i,a){return i&&i.length?Zc(i,Re(a,2),Bh):n}var W8=ad(function(i,a){return i*a},1),j8=Mh("round"),U8=ad(function(i,a){return i-a},0);function G8(i){return i&&i.length?fh(i,Tn):0}function Q8(i,a){return i&&i.length?fh(i,Re(a,2)):0}return E.after=gN,E.ary=Ey,E.assign=nM,E.assignIn=Ly,E.assignInWith=Ad,E.assignWith=rM,E.at=oM,E.before=ky,E.bind=Jh,E.bindAll=c8,E.bindKey=By,E.castArray=kN,E.chain=Cy,E.chunk=DD,E.compact=zD,E.concat=ND,E.cond=d8,E.conforms=u8,E.constant=op,E.countBy=Gz,E.create=iM,E.curry=Ty,E.curryRight=Ry,E.debounce=Fy,E.defaults=aM,E.defaultsDeep=lM,E.defer=mN,E.delay=bN,E.difference=MD,E.differenceBy=LD,E.differenceWith=HD,E.drop=VD,E.dropRight=WD,E.dropRightWhile=jD,E.dropWhile=UD,E.fill=GD,E.filter=qz,E.flatMap=Jz,E.flatMapDeep=Xz,E.flatMapDepth=Zz,E.flatten=Ay,E.flattenDeep=QD,E.flattenDepth=qD,E.flip=vN,E.flow=h8,E.flowRight=p8,E.fromPairs=YD,E.functions=pM,E.functionsIn=gM,E.groupBy=eN,E.initial=JD,E.intersection=XD,E.intersectionBy=ZD,E.intersectionWith=ez,E.invert=bM,E.invertBy=vM,E.invokeMap=nN,E.iteratee=ip,E.keyBy=rN,E.keys=Xt,E.keysIn=Bn,E.map=hd,E.mapKeys=yM,E.mapValues=xM,E.matches=g8,E.matchesProperty=m8,E.memoize=gd,E.merge=wM,E.mergeWith=Hy,E.method=b8,E.methodOf=v8,E.mixin=ap,E.negate=md,E.nthArg=y8,E.omit=CM,E.omitBy=SM,E.once=AN,E.orderBy=oN,E.over=x8,E.overArgs=yN,E.overEvery=w8,E.overSome=C8,E.partial=Xh,E.partialRight=Py,E.partition=iN,E.pick=_M,E.pickBy=Vy,E.property=Yy,E.propertyOf=S8,E.pull=oz,E.pullAll=xy,E.pullAllBy=iz,E.pullAllWith=az,E.pullAt=lz,E.range=_8,E.rangeRight=E8,E.rearg=xN,E.reject=sN,E.remove=sz,E.rest=wN,E.reverse=Yh,E.sampleSize=dN,E.set=kM,E.setWith=BM,E.shuffle=uN,E.slice=cz,E.sortBy=pN,E.sortedUniq=mz,E.sortedUniqBy=bz,E.split=JM,E.spread=CN,E.tail=vz,E.take=Az,E.takeRight=yz,E.takeRightWhile=xz,E.takeWhile=wz,E.tap=zz,E.throttle=SN,E.thru=fd,E.toArray=zy,E.toPairs=Wy,E.toPairsIn=jy,E.toPath=F8,E.toPlainObject=My,E.transform=TM,E.unary=_N,E.union=Cz,E.unionBy=Sz,E.unionWith=_z,E.uniq=Ez,E.uniqBy=kz,E.uniqWith=Bz,E.unset=RM,E.unzip=Kh,E.unzipWith=wy,E.update=FM,E.updateWith=PM,E.values=fa,E.valuesIn=$M,E.without=Tz,E.words=Qy,E.wrap=EN,E.xor=Rz,E.xorBy=Fz,E.xorWith=Pz,E.zip=$z,E.zipObject=Oz,E.zipObjectDeep=Iz,E.zipWith=Dz,E.entries=Wy,E.entriesIn=jy,E.extend=Ly,E.extendWith=Ad,ap(E,E),E.add=$8,E.attempt=qy,E.camelCase=zM,E.capitalize=Uy,E.ceil=O8,E.clamp=OM,E.clone=BN,E.cloneDeep=RN,E.cloneDeepWith=FN,E.cloneWith=TN,E.conformsTo=PN,E.deburr=Gy,E.defaultTo=f8,E.divide=I8,E.endsWith=NM,E.eq=gr,E.escape=MM,E.escapeRegExp=LM,E.every=Qz,E.find=Yz,E.findIndex=by,E.findKey=sM,E.findLast=Kz,E.findLastIndex=vy,E.findLastKey=cM,E.floor=D8,E.forEach=Sy,E.forEachRight=_y,E.forIn=dM,E.forInRight=uM,E.forOwn=fM,E.forOwnRight=hM,E.get=tp,E.gt=$N,E.gte=ON,E.has=mM,E.hasIn=np,E.head=yy,E.identity=Tn,E.includes=tN,E.indexOf=KD,E.inRange=IM,E.invoke=AM,E.isArguments=gi,E.isArray=We,E.isArrayBuffer=IN,E.isArrayLike=kn,E.isArrayLikeObject=Dt,E.isBoolean=DN,E.isBuffer=Po,E.isDate=zN,E.isElement=NN,E.isEmpty=MN,E.isEqual=LN,E.isEqualWith=HN,E.isError=Zh,E.isFinite=VN,E.isFunction=eo,E.isInteger=$y,E.isLength=bd,E.isMap=Oy,E.isMatch=WN,E.isMatchWith=jN,E.isNaN=UN,E.isNative=GN,E.isNil=qN,E.isNull=QN,E.isNumber=Iy,E.isObject=Bt,E.isObjectLike=Ft,E.isPlainObject=Ml,E.isRegExp=ep,E.isSafeInteger=YN,E.isSet=Dy,E.isString=vd,E.isSymbol=Hn,E.isTypedArray=ua,E.isUndefined=KN,E.isWeakMap=JN,E.isWeakSet=XN,E.join=tz,E.kebabCase=HM,E.last=nr,E.lastIndexOf=nz,E.lowerCase=VM,E.lowerFirst=WM,E.lt=ZN,E.lte=eM,E.max=z8,E.maxBy=N8,E.mean=M8,E.meanBy=L8,E.min=H8,E.minBy=V8,E.stubArray=sp,E.stubFalse=cp,E.stubObject=k8,E.stubString=B8,E.stubTrue=T8,E.multiply=W8,E.nth=rz,E.noConflict=A8,E.noop=lp,E.now=pd,E.pad=jM,E.padEnd=UM,E.padStart=GM,E.parseInt=QM,E.random=DM,E.reduce=aN,E.reduceRight=lN,E.repeat=qM,E.replace=YM,E.result=EM,E.round=j8,E.runInContext=V,E.sample=cN,E.size=fN,E.snakeCase=KM,E.some=hN,E.sortedIndex=dz,E.sortedIndexBy=uz,E.sortedIndexOf=fz,E.sortedLastIndex=hz,E.sortedLastIndexBy=pz,E.sortedLastIndexOf=gz,E.startCase=XM,E.startsWith=ZM,E.subtract=U8,E.sum=G8,E.sumBy=Q8,E.template=e8,E.times=R8,E.toFinite=to,E.toInteger=Ge,E.toLength=Ny,E.toLower=t8,E.toNumber=rr,E.toSafeInteger=tM,E.toString=lt,E.toUpper=n8,E.trim=r8,E.trimEnd=o8,E.trimStart=i8,E.truncate=a8,E.unescape=l8,E.uniqueId=P8,E.upperCase=s8,E.upperFirst=rp,E.each=Sy,E.eachRight=_y,E.first=yy,ap(E,function(){var i={};return Rr(E,function(a,d){ut.call(E.prototype,d)||(i[d]=a)}),i}(),{chain:!1}),E.VERSION=o,Jn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){E[i].placeholder=E}),Jn(["drop","take"],function(i,a){et.prototype[i]=function(d){d=d===n?1:Yt(Ge(d),0);var m=this.__filtered__&&!a?new et(this):this.clone();return m.__filtered__?m.__takeCount__=cn(d,m.__takeCount__):m.__views__.push({size:cn(d,ge),type:i+(m.__dir__<0?"Right":"")}),m},et.prototype[i+"Right"]=function(d){return this.reverse()[i](d).reverse()}}),Jn(["filter","map","takeWhile"],function(i,a){var d=a+1,m=d==N||d==U;et.prototype[i]=function(x){var R=this.clone();return R.__iteratees__.push({iteratee:Re(x,3),type:d}),R.__filtered__=R.__filtered__||m,R}}),Jn(["head","last"],function(i,a){var d="take"+(a?"Right":"");et.prototype[i]=function(){return this[d](1).value()[0]}}),Jn(["initial","tail"],function(i,a){var d="drop"+(a?"":"Right");et.prototype[i]=function(){return this.__filtered__?new et(this):this[d](1)}}),et.prototype.compact=function(){return this.filter(Tn)},et.prototype.find=function(i){return this.filter(i).head()},et.prototype.findLast=function(i){return this.reverse().find(i)},et.prototype.invokeMap=qe(function(i,a){return typeof i=="function"?new et(this):this.map(function(d){return $l(d,i,a)})}),et.prototype.reject=function(i){return this.filter(md(Re(i)))},et.prototype.slice=function(i,a){i=Ge(i);var d=this;return d.__filtered__&&(i>0||a<0)?new et(d):(i<0?d=d.takeRight(-i):i&&(d=d.drop(i)),a!==n&&(a=Ge(a),d=a<0?d.dropRight(-a):d.take(a-i)),d)},et.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},et.prototype.toArray=function(){return this.take(ge)},Rr(et.prototype,function(i,a){var d=/^(?:filter|find|map|reject)|While$/.test(a),m=/^(?:head|last)$/.test(a),x=E[m?"take"+(a=="last"?"Right":""):a],R=m||/^find/.test(a);!x||(E.prototype[a]=function(){var $=this.__wrapped__,D=m?[1]:arguments,j=$ instanceof et,oe=D[0],ae=j||We($),de=function(Ke){var rt=x.apply(E,_o([Ke],D));return m&&be?rt[0]:rt};ae&&d&&typeof oe=="function"&&oe.length!=1&&(j=ae=!1);var be=this.__chain__,we=!!this.__actions__.length,Pe=R&&!be,Qe=j&&!we;if(!R&&ae){$=Qe?$:new et(this);var $e=i.apply($,D);return $e.__actions__.push({func:fd,args:[de],thisArg:n}),new Zn($e,be)}return Pe&&Qe?i.apply(this,D):($e=this.thru(de),Pe?m?$e.value()[0]:$e.value():$e)})}),Jn(["pop","push","shift","sort","splice","unshift"],function(i){var a=Nc[i],d=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",m=/^(?:pop|shift)$/.test(i);E.prototype[i]=function(){var x=arguments;if(m&&!this.__chain__){var R=this.value();return a.apply(We(R)?R:[],x)}return this[d](function($){return a.apply(We($)?$:[],x)})}}),Rr(et.prototype,function(i,a){var d=E[a];if(d){var m=d.name+"";ut.call(aa,m)||(aa[m]=[]),aa[m].push({name:a,func:d})}}),aa[id(n,w).name]=[{name:"wrapper",func:n}],et.prototype.clone=lI,et.prototype.reverse=sI,et.prototype.value=cI,E.prototype.at=Nz,E.prototype.chain=Mz,E.prototype.commit=Lz,E.prototype.next=Hz,E.prototype.plant=Wz,E.prototype.reverse=jz,E.prototype.toJSON=E.prototype.valueOf=E.prototype.value=Uz,E.prototype.first=E.prototype.head,El&&(E.prototype[El]=Vz),E},ra=L4();li?((li.exports=ra)._=ra,ih._=ra):nn._=ra}).call(qo)})(Mu,Mu.exports);var Pn=Mu.exports;function Ko(e){const t=Yo();let n=r.computed(()=>t.drawerConfig.value.type==4?t.drawerConfig.value.conditionNodes.find(l=>l.priorityLevel==t.drawerConfig.priorityLevel):t.drawerConfig.priorityLevel?t.drawerConfig.value[t.drawerConfig.priorityLevel]:t.drawerConfig.value);const o=r.computed({get(){return e.s_p?Pn.get(n.value,`${e.s_p}.${e.key}`):Pn.get(n.value,e.key)},set(l){e.s_p?Pn.set(n.value,`${e.s_p}.${e.key}`,l):Pn.set(n.value,e.key,l)}});return{drawerConfig:n,nowValue:o}}const iR={class:"lcyq_drawer_item"},aR={class:"title"},lR={key:0},sR={class:"plugin"},cR={__name:"input",props:{info:{type:Object,default:()=>({})}},setup(e){const t=e,{drawerConfig:n,nowValue:o}=Ko(t.info);return(l,s)=>(r.openBlock(),r.createElementBlock("div",iR,[r.createElementVNode("div",aR,[r.createElementVNode("span",null,[r.createTextVNode(r.toDisplayString(e.info.name)+" ",1),t.info.required?(r.openBlock(),r.createElementBlock("i",lR,"*")):r.createCommentVNode("",!0)])]),r.createElementVNode("div",sR,[r.createVNode(r.unref(go),{value:r.unref(o),"onUpdate:value":s[0]||(s[0]=c=>r.isRef(o)?o.value=c:null),placeholder:`\u8BF7\u8F93\u5165${e.info.name}`},null,8,["value","placeholder"])])]))}},dR={class:"lcyq_drawer_item"},uR={class:"title line"},fR={key:0},hR={class:"plugin"},pR={__name:"select",props:{info:{type:Object,default:()=>({})}},setup(e){const t=e,{drawerConfig:n,nowValue:o}=Ko(t.info);function l(c){switch(t.info.key){case"task_type":s(c);break}}function s(c){const u=n.value.node_config.operations,f=t.info.options.find(p=>p.value===c);let h=[];switch(f==null||f.useOperations.forEach(p=>{var v;const b=(v=u.find(C=>C.value===p))!=null?v:kb.find(C=>C.value==p);h.push(b)}),h.push(...u.filter(p=>p.value>5)),n.value.node_config.task_type){case 0:h=h.map(p=>([1,4].includes(p.value)&&(p.enable=1),p));break;default:h=h.map(p=>(p.enable=1,p));break}n.value.node_config.operations=Pn.cloneDeep(h)}return(c,u)=>(r.openBlock(),r.createElementBlock("div",dR,[r.createElementVNode("div",uR,[r.createElementVNode("span",null,[r.createTextVNode(r.toDisplayString(e.info.name)+" ",1),t.info.required?(r.openBlock(),r.createElementBlock("i",fR,"*")):r.createCommentVNode("",!0)])]),r.createElementVNode("div",hR,[r.createVNode(r.unref(_s),{value:r.unref(o),"onUpdate:value":[u[0]||(u[0]=f=>r.isRef(o)?o.value=f:null),l],options:e.info.options,placeholder:"\u8BF7\u9009\u62E9"},null,8,["value","options"])])]))}},gR=[{key:"organize",name:"\u7EC4\u7EC7"},{key:"depart",name:"\u90E8\u95E8"},{key:"dwDepart",name:"\u5355\u4F4D\u90E8\u95E8"},{key:"position",name:"\u5C97\u4F4D"},{key:"xdposition",name:"\u76F8\u5BF9\u5C97\u4F4D"},{key:"xdrole",name:"\u76F8\u5BF9\u5173\u7CFB"},{key:"user",name:"\u7528\u6237"},{key:"tag",name:"\u6807\u7B7E"},{key:"filter",name:"\u7B5B\u9009\u5668"},{key:"enter",name:"\u624B\u52A8\u5F55\u5165"}];var YL=(()=>`.assignee[data-v-066fdf4c]{height:140px;border:1px solid #e3e3e9;border-radius:3px}.assignee .tip_text[data-v-066fdf4c]{color:#999}
|
2117
2117
|
`)(),Fs=(e,t)=>{const n=e.__vccOpts||e;for(const[o,l]of t)n[o]=l;return n};const mR={class:"lcyq_drawer_item"},bR={class:"title"},vR={key:0},AR={class:"plugin assignee"},yR={style:{padding:"12px 16px"}},xR={class:"tip_text"};var wR=Fs({__name:"personnel",props:{info:{type:Object,default:()=>({})}},setup(e){let t=Yo();const n=e,{drawerConfig:o,nowValue:l}=Ko(n.info),s=r.inject("personnelCom"),c=r.computed(()=>t.personnelConfig),u=r.ref(),f=Pn.groupBy(gR,"key"),h=r.computed(()=>l.value);function p(){u.value.show(Pn.cloneDeep({data:b(l.value),...c.value}))}function b(y){let A={};for(let w of y)w.type==="depart"?(A.depart||(A.depart={}),A.depart[w.organ_id]||(A.depart[w.organ_id]=[]),A.depart[w.organ_id].push(w)):(A[w.type]||(A[w.type]=[]),A[w.type].push(w));return A}function v(y){l.value=C(y.info)}function C(y){let A=[];for(let w in y)if(y[w].length!==void 0)for(let S of y[w])A.push({...S,type:w,value:w=="user"?S.username:S.id});else for(let S in y[w])for(let k of y[w][S])A.push({...k,type:w,value:k.id});return A}function g(y){return f[y][0].name}return(y,A)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",mR,[r.createElementVNode("div",bR,[r.createElementVNode("span",null,[r.createTextVNode(r.toDisplayString(e.info.name)+" ",1),n.info.required?(r.openBlock(),r.createElementBlock("i",vR,"*")):r.createCommentVNode("",!0)]),r.createVNode(r.unref(Ot),{text:"",type:"primary",onClick:p},{default:r.withCtx(()=>A[0]||(A[0]=[r.createTextVNode("\u8BBE\u7F6E\u4EBA\u5458")])),_:1})]),r.createElementVNode("div",AR,[r.createVNode(r.unref(Rs),null,{default:r.withCtx(()=>[r.createElementVNode("div",yR,[r.createVNode(r.unref(ct),{vertical:""},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(h.value,w=>(r.openBlock(),r.createElementBlock("div",null,[r.createVNode(r.unref(ct),null,{default:r.withCtx(()=>[r.createVNode(r.unref(La),{size:"small",bordered:!1,type:"info"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(g(w.type)),1)]),_:2},1024),r.createTextVNode(" "+r.toDisplayString(w.name)+" ",1),r.createElementVNode("span",xR,r.toDisplayString(w.username),1)]),_:2},1024)]))),256))]),_:1})])]),_:1})])]),(r.openBlock(),r.createBlock(r.resolveDynamicComponent(r.unref(s)),{ref_key:"personnelPopRef",ref:u,key:"formAuthCom",onPPopcallback:v},null,544))],64))}},[["__scopeId","data-v-066fdf4c"]]);/**!
|
2118
2118
|
* Sortable 1.15.6
|
2119
2119
|
* @author RubaXa <trash@rubaxa.org>
|