ui-process-h5 1.6.38 → 1.6.40

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.
@@ -2,7 +2,7 @@
2
2
  `),l]);else{const d=[`[Vue warn]: ${e}`,...n];l.length&&d.push(`
3
3
  `,...na(l)),console.warn(...d)}un()}function sa(){let e=Fe[Fe.length-1];if(!e)return[];const n=[];for(;e;){const o=n[0];o&&o.vnode===e?o.recurseCount++:n.push({vnode:e,recurseCount:0});const i=e.component&&e.component.parent;e=i&&i.vnode}return n}function na(e){const n=[];return e.forEach((o,i)=>{n.push(...i===0?[]:[`
4
4
  `],...oa(o))}),n}function oa({vnode:e,recurseCount:n}){const o=n>0?`... (${n} recursive calls)`:"",i=e.component?e.component.parent==null:!1,l=` at <${zn(e.component,e.type,i)}`,d=">"+o;return e.props?[l,...ia(e.props),d]:[l+d]}function ia(e){const n=[],o=Object.keys(e);return o.slice(0,3).forEach(i=>{n.push(...Vn(i,e[i]))}),o.length>3&&n.push(" ..."),n}function Vn(e,n,o){return oe(n)?(n=JSON.stringify(n),o?n:[`${e}=${n}`]):typeof n=="number"||typeof n=="boolean"||n==null?o?n:[`${e}=${n}`]:z(n)?(n=Vn(e,D(n.value),!0),o?n:[`${e}=Ref<`,n,">"]):J(n)?[`${e}=fn${n.name?`<${n.name}>`:""}`]:(n=D(n),o?n:[`${e}=`,n])}const Sn={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function Pe(e,n,o,i){let l;try{l=i?e(...i):e()}catch(d){Dn(d,n,o)}return l}function As(e,n,o,i){if(J(e)){const d=Pe(e,n,o,i);return d&&ui(d)&&d.catch(m=>{Dn(m,n,o)}),d}const l=[];for(let d=0;d<e.length;d++)l.push(As(e[d],n,o,i));return l}function Dn(e,n,o,i=!0){const l=n?n.vnode:null;if(n){let d=n.parent;const m=n.proxy,f=process.env.NODE_ENV!=="production"?Sn[o]:o;for(;d;){const C=d.ec;if(C){for(let u=0;u<C.length;u++)if(C[u](e,m,f)===!1)return}d=d.parent}const k=n.appContext.config.errorHandler;if(k){Pe(k,null,10,[e,m,f]);return}}aa(e,o,l,i)}function aa(e,n,o,i=!0){if(process.env.NODE_ENV!=="production"){const l=Sn[n];if(o&&ea(o),j(`Unhandled error${l?` during execution of ${l}`:""}`),o&&ta(),i)throw e;console.error(e)}else console.error(e)}let wt=!1,ks=!1;const ie=[];let Be=0;const Ze=[];let de=null,Ie=0;const Qn=Promise.resolve();let ys=null;const la=100;function ca(e){const n=ys||Qn;return e?n.then(this?e.bind(this):e):n}function da(e){let n=Be+1,o=ie.length;for(;n<o;){const i=n+o>>>1;at(ie[i])<e?n=i+1:o=i}return n}function Cs(e){(!ie.length||!ie.includes(e,wt&&e.allowRecurse?Be+1:Be))&&(e.id==null?ie.push(e):ie.splice(da(e.id),0,e),On())}function On(){!wt&&!ks&&(ks=!0,ys=Qn.then(xn))}function Mn(e){F(e)?Ze.push(...e):(!de||!de.includes(e,e.allowRecurse?Ie+1:Ie))&&Ze.push(e),On()}function ra(e){if(Ze.length){const n=[...new Set(Ze)];if(Ze.length=0,de){de.push(...n);return}for(de=n,process.env.NODE_ENV!=="production"&&(e=e||new Map),de.sort((o,i)=>at(o)-at(i)),Ie=0;Ie<de.length;Ie++)process.env.NODE_ENV!=="production"&&Fn(e,de[Ie])||de[Ie]();de=null,Ie=0}}const at=e=>e.id==null?1/0:e.id,pa=(e,n)=>{const o=at(e)-at(n);if(o===0){if(e.pre&&!n.pre)return-1;if(n.pre&&!e.pre)return 1}return o};function xn(e){ks=!1,wt=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),ie.sort(pa);const n=process.env.NODE_ENV!=="production"?o=>Fn(e,o):nn;try{for(Be=0;Be<ie.length;Be++){const o=ie[Be];if(o&&o.active!==!1){if(process.env.NODE_ENV!=="production"&&n(o))continue;Pe(o,null,14)}}}finally{Be=0,ie.length=0,ra(e),wt=!1,ys=null,(ie.length||Ze.length)&&xn(e)}}function Fn(e,n){if(!e.has(n))e.set(n,1);else{const o=e.get(n);if(o>la){const i=n.ownerInstance,l=i&&Wn(i.type);return j(`Maximum recursive updates exceeded${l?` in component <${l}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(n,o+1)}}const lt=new Set;process.env.NODE_ENV!=="production"&&(yi().__VUE_HMR_RUNTIME__={createRecord:Es(ha),rerender:Es(ma),reload:Es(ua)});const vt=new Map;function ha(e,n){return vt.has(e)?!1:(vt.set(e,{initialDef:ct(n),instances:new Set}),!0)}function ct(e){return Zn(e)?e.__vccOpts:e}function ma(e,n){const o=vt.get(e);!o||(o.initialDef.render=n,[...o.instances].forEach(i=>{n&&(i.render=n,ct(i.type).render=n),i.renderCache=[],i.update()}))}function ua(e,n){const o=vt.get(e);if(!o)return;n=ct(n),Pn(o.initialDef,n);const i=[...o.instances];for(const l of i){const d=ct(l.type);lt.has(d)||(d!==o.initialDef&&Pn(d,n),lt.add(d)),l.appContext.optionsCache.delete(l.type),l.ceReload?(lt.add(d),l.ceReload(n.styles),lt.delete(d)):l.parent?Cs(l.parent.update):l.appContext.reload?l.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Mn(()=>{for(const l of i)lt.delete(ct(l.type))})}function Pn(e,n){ne(e,n);for(const o in e)o!=="__file"&&!(o in n)&&delete e[o]}function Es(e){return(n,o)=>{try{return e(n,o)}catch(i){console.error(i),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Ne=null,ga=null;function Zf(){}const fa=e=>e.__isSuspense;function Aa(e,n){n&&n.pendingBranch?F(e)?n.effects.push(...e):n.effects.push(e):Mn(e)}const Vt={};function ka(e,n,{immediate:o,deep:i,flush:l,onTrack:d,onTrigger:m}=ce){process.env.NODE_ENV!=="production"&&!n&&(o!==void 0&&j('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&j('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const f=v=>{j("Invalid watch source: ",v,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},k=Ei()===(Ae==null?void 0:Ae.scope)?Ae:null;let C,u=!1,h=!1;if(z(e)?(C=()=>e.value,u=ms(e)):Me(e)?(C=()=>e,i=!0):F(e)?(h=!0,u=e.some(v=>Me(v)||ms(v)),C=()=>e.map(v=>{if(z(v))return v.value;if(Me(v))return Xe(v);if(J(v))return Pe(v,k,2);process.env.NODE_ENV!=="production"&&f(v)})):J(e)?n?C=()=>Pe(e,k,2):C=()=>{if(!(k&&k.isUnmounted))return E&&E(),As(e,k,3,[w])}:(C=nn,process.env.NODE_ENV!=="production"&&f(e)),n&&i){const v=C;C=()=>Xe(v())}let E,w=v=>{E=G.onStop=()=>{Pe(v,k,4)}},S=h?new Array(e.length).fill(Vt):Vt;const Q=()=>{if(!!G.active)if(n){const v=G.run();(i||u||(h?v.some((be,Ss)=>kt(be,S[Ss])):kt(v,S)))&&(E&&E(),As(n,k,3,[v,S===Vt?void 0:h&&S[0]===Vt?[]:S,w]),S=v)}else G.run()};Q.allowRecurse=!!n;let me;l==="sync"?me=Q:l==="post"?me=()=>Jn(Q,k&&k.suspense):(Q.pre=!0,k&&(Q.id=k.uid),me=()=>Cs(Q));const G=new Ni(C,me);return process.env.NODE_ENV!=="production"&&(G.onTrack=d,G.onTrigger=m),n?o?Q():S=G.run():l==="post"?Jn(G.run.bind(G),k&&k.suspense):G.run(),()=>{G.stop(),k&&k.scope&&pi(k.scope.effects,G)}}function ya(e,n,o){const i=this.proxy,l=oe(e)?e.includes(".")?Ca(i,e):()=>i[e]:e.bind(i,i);let d;J(n)?d=n:(d=n.handler,o=n);const m=Ae;Hn(this);const f=ka(l,d.bind(i),o);return m?Hn(m):Ua(),f}function Ca(e,n){const o=n.split(".");return()=>{let i=e;for(let l=0;l<o.length&&i;l++)i=i[o[l]];return i}}function Xe(e,n){if(!H(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),z(e))Xe(e.value,n);else if(F(e))for(let o=0;o<e.length;o++)Xe(e[o],n);else if(mi(e)||ze(e))e.forEach(o=>{Xe(o,n)});else if(fi(e))for(const o in e)Xe(e[o],n);return e}function re(e){return J(e)?{setup:e,name:e.name}:e}const Ea=Symbol(),Bs=e=>e?Ja(e)?Ga(e)||e.proxy:Bs(e.parent):null,dt=ne(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Tt(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Tt(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Tt(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Tt(e.refs):e.refs,$parent:e=>Bs(e.parent),$root:e=>Bs(e.root),$emit:e=>e.emit,$options:e=>Na(e),$forceUpdate:e=>e.f||(e.f=()=>Cs(e.update)),$nextTick:e=>e.n||(e.n=ca.bind(e.proxy)),$watch:e=>ya.bind(e)}),Ba=e=>e==="_"||e==="$",Is=(e,n)=>e!==ce&&!e.__isScriptSetup&&L(e,n),Ia={get({_:e},n){const{ctx:o,setupState:i,data:l,props:d,accessCache:m,type:f,appContext:k}=e;if(process.env.NODE_ENV!=="production"&&n==="__isVue")return!0;let C;if(n[0]!=="$"){const w=m[n];if(w!==void 0)switch(w){case 1:return i[n];case 2:return l[n];case 4:return o[n];case 3:return d[n]}else{if(Is(i,n))return m[n]=1,i[n];if(l!==ce&&L(l,n))return m[n]=2,l[n];if((C=e.propsOptions[0])&&L(C,n))return m[n]=3,d[n];if(o!==ce&&L(o,n))return m[n]=4,o[n];m[n]=0}}const u=dt[n];let h,E;if(u)return n==="$attrs"&&(q(e,"get",n),process.env.NODE_ENV!=="production"&&void 0),u(e);if((h=f.__cssModules)&&(h=h[n]))return h;if(o!==ce&&L(o,n))return m[n]=4,o[n];if(E=k.config.globalProperties,L(E,n))return E[n];process.env.NODE_ENV!=="production"&&Ne&&(!oe(n)||n.indexOf("__v")!==0)&&(l!==ce&&Ba(n[0])&&L(l,n)?j(`Property ${JSON.stringify(n)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Ne&&j(`Property ${JSON.stringify(n)} was accessed during render but is not defined on instance.`))},set({_:e},n,o){const{data:i,setupState:l,ctx:d}=e;return Is(l,n)?(l[n]=o,!0):process.env.NODE_ENV!=="production"&&l.__isScriptSetup&&L(l,n)?(j(`Cannot mutate <script setup> binding "${n}" from Options API.`),!1):i!==ce&&L(i,n)?(i[n]=o,!0):L(e.props,n)?(process.env.NODE_ENV!=="production"&&j(`Attempting to mutate prop "${n}". Props are readonly.`),!1):n[0]==="$"&&n.slice(1)in e?(process.env.NODE_ENV!=="production"&&j(`Attempting to mutate public property "${n}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&n in e.appContext.config.globalProperties?Object.defineProperty(d,n,{enumerable:!0,configurable:!0,value:o}):d[n]=o,!0)},has({_:{data:e,setupState:n,accessCache:o,ctx:i,appContext:l,propsOptions:d}},m){let f;return!!o[m]||e!==ce&&L(e,m)||Is(n,m)||(f=d[0])&&L(f,m)||L(i,m)||L(dt,m)||L(l.config.globalProperties,m)},defineProperty(e,n,o){return o.get!=null?e._.accessCache[n]=0:L(o,"value")&&this.set(e,n,o.value,null),Reflect.defineProperty(e,n,o)}};process.env.NODE_ENV!=="production"&&(Ia.ownKeys=e=>(j("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function Na(e){const n=e.type,{mixins:o,extends:i}=n,{mixins:l,optionsCache:d,config:{optionMergeStrategies:m}}=e.appContext,f=d.get(n);let k;return f?k=f:!l.length&&!o&&!i?k=n:(k={},l.length&&l.forEach(C=>St(k,C,m,!0)),St(k,n,m)),H(n)&&d.set(n,k),k}function St(e,n,o,i=!1){const{mixins:l,extends:d}=n;d&&St(e,d,o,!0),l&&l.forEach(m=>St(e,m,o,!0));for(const m in n)if(i&&m==="expose")process.env.NODE_ENV!=="production"&&j('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const f=ba[m]||o&&o[m];e[m]=f?f(e[m],n[m]):n[m]}return e}const ba={data:Ln,props:Le,emits:Le,methods:Le,computed:Le,beforeCreate:K,created:K,beforeMount:K,mounted:K,beforeUpdate:K,updated:K,beforeDestroy:K,beforeUnmount:K,destroyed:K,unmounted:K,activated:K,deactivated:K,errorCaptured:K,serverPrefetch:K,components:Le,directives:Le,watch:wa,provide:Ln,inject:Ta};function Ln(e,n){return n?e?function(){return ne(J(e)?e.call(this,this):e,J(n)?n.call(this,this):n)}:n:e}function Ta(e,n){return Le(Un(e),Un(n))}function Un(e){if(F(e)){const n={};for(let o=0;o<e.length;o++)n[e[o]]=e[o];return n}return e}function K(e,n){return e?[...new Set([].concat(e,n))]:n}function Le(e,n){return e?ne(ne(Object.create(null),e),n):n}function wa(e,n){if(!e)return n;if(!n)return e;const o=ne(Object.create(null),e);for(const i in n)o[i]=K(e[i],n[i]);return o}function va(){return{app:null,config:{isNativeTag:ci,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}const Jn=Aa,Va=e=>e.__isTeleport,Gn=Symbol(process.env.NODE_ENV!=="production"?"Fragment":void 0),Sa=Symbol(process.env.NODE_ENV!=="production"?"Text":void 0),Da=Symbol(process.env.NODE_ENV!=="production"?"Comment":void 0);Symbol(process.env.NODE_ENV!=="production"?"Static":void 0);let _e=null;function Qa(e){return e?e.__v_isVNode===!0:!1}const Oa=(...e)=>Kn(...e),Rn="__vInternal",jn=({key:e})=>e!=null?e:null,Dt=({ref:e,ref_key:n,ref_for:o})=>e!=null?oe(e)||z(e)||J(e)?{i:Ne,r:e,k:n,f:!!o}:e:null;function Ma(e,n=null,o=null,i=0,l=null,d=e===Gn?0:1,m=!1,f=!1){const k={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&jn(n),ref:n&&Dt(n),scopeId:ga,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:d,patchFlag:i,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:Ne};return f?(Ns(k,o),d&128&&e.normalize(k)):o&&(k.shapeFlag|=oe(o)?8:16),process.env.NODE_ENV!=="production"&&k.key!==k.key&&j("VNode created with invalid key (NaN). VNode type:",k.type),!m&&_e&&(k.patchFlag>0||d&6)&&k.patchFlag!==32&&_e.push(k),k}const xa=process.env.NODE_ENV!=="production"?Oa:Kn;function Kn(e,n=null,o=null,i=0,l=null,d=!1){if((!e||e===Ea)&&(process.env.NODE_ENV!=="production"&&!e&&j(`Invalid vnode type when creating vnode: ${e}.`),e=Da),Qa(e)){const f=Qt(e,n,!0);return o&&Ns(f,o),!d&&_e&&(f.shapeFlag&6?_e[_e.indexOf(e)]=f:_e.push(f)),f.patchFlag|=-2,f}if(Zn(e)&&(e=e.__vccOpts),n){n=Fa(n);let{class:f,style:k}=n;f&&!oe(f)&&(n.class=ss(f)),H(k)&&(us(k)&&!F(k)&&(k=ne({},k)),n.style=ts(k))}const m=oe(e)?1:fa(e)?128:Va(e)?64:H(e)?4:J(e)?2:0;return process.env.NODE_ENV!=="production"&&m&4&&us(e)&&(e=D(e),j("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
5
- Component that was made reactive: `,e)),Ma(e,n,o,i,l,m,d,!0)}function Fa(e){return e?us(e)||Rn in e?ne({},e):e:null}function Qt(e,n,o=!1){const{props:i,ref:l,patchFlag:d,children:m}=e,f=n?La(i||{},n):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&jn(f),ref:n&&n.ref?o&&l?F(l)?l.concat(Dt(n)):[l,Dt(n)]:Dt(n):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&d===-1&&F(m)?m.map(Yn):m,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==Gn?d===-1?16:d|16:d,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qt(e.ssContent),ssFallback:e.ssFallback&&Qt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Yn(e){const n=Qt(e);return F(e.children)&&(n.children=e.children.map(Yn)),n}function Pa(e=" ",n=0){return xa(Sa,null,e,n)}function Ns(e,n){let o=0;const{shapeFlag:i}=e;if(n==null)n=null;else if(F(n))o=16;else if(typeof n=="object")if(i&65){const l=n.default;l&&(l._c&&(l._d=!1),Ns(e,l()),l._c&&(l._d=!0));return}else{o=32;const l=n._;!l&&!(Rn in n)?n._ctx=Ne:l===3&&Ne&&(Ne.slots._===1?n._=1:(n._=2,e.patchFlag|=1024))}else J(n)?(n={default:n,_ctx:Ne},o=32):(n=String(n),i&64?(o=16,n=[Pa(n)]):o=8);e.children=n,e.shapeFlag|=o}function La(...e){const n={};for(let o=0;o<e.length;o++){const i=e[o];for(const l in i)if(l==="class")n.class!==i.class&&(n.class=ss([n.class,i.class]));else if(l==="style")n.style=ts([n.style,i.style]);else if(ri(l)){const d=n[l],m=i[l];m&&d!==m&&!(F(d)&&d.includes(m))&&(n[l]=d?[].concat(d,m):m)}else l!==""&&(n[l]=i[l])}return n}va();let Ae=null;const Hn=e=>{Ae=e,e.scope.on()},Ua=()=>{Ae&&Ae.scope.off(),Ae=null};function Ja(e){return e.vnode.shapeFlag&4}function Ga(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy($i(Xi(e.exposed)),{get(n,o){if(o in n)return n[o];if(o in dt)return dt[o](e)},has(n,o){return o in n||o in dt}}))}const Ra=/(?:^|[-_])(\w)/g,ja=e=>e.replace(Ra,n=>n.toUpperCase()).replace(/[-_]/g,"");function Wn(e,n=!0){return J(e)?e.displayName||e.name:e.name||n&&e.__name}function zn(e,n,o=!1){let i=Wn(n);if(!i&&n.__file){const l=n.__file.match(/([^/\\]+)\.\w+$/);l&&(i=l[1])}if(!i&&e&&e.parent){const l=d=>{for(const m in d)if(d[m]===n)return m};i=l(e.components||e.parent.type.components)||l(e.appContext.components)}return i?ja(i):o?"App":"Anonymous"}function Zn(e){return J(e)&&"__vccOpts"in e}Symbol(process.env.NODE_ENV!=="production"?"ssrContext":"");function bs(e){return!!(e&&e.__v_isShallow)}function Ka(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},n={style:"color:#0b1bc9"},o={style:"color:#b62e24"},i={style:"color:#9d288c"},l={header(h){return H(h)?h.__isVue?["div",e,"VueInstance"]:z(h)?["div",{},["span",e,u(h)],"<",f(h.value),">"]:Me(h)?["div",{},["span",e,bs(h)?"ShallowReactive":"Reactive"],"<",f(h),`>${xe(h)?" (readonly)":""}`]:xe(h)?["div",{},["span",e,bs(h)?"ShallowReadonly":"Readonly"],"<",f(h),">"]:null:null},hasBody(h){return h&&h.__isVue},body(h){if(h&&h.__isVue)return["div",{},...d(h.$)]}};function d(h){const E=[];h.type.props&&h.props&&E.push(m("props",D(h.props))),h.setupState!==ce&&E.push(m("setup",h.setupState)),h.data!==ce&&E.push(m("data",D(h.data)));const w=k(h,"computed");w&&E.push(m("computed",w));const S=k(h,"inject");return S&&E.push(m("injected",S)),E.push(["div",{},["span",{style:i.style+";opacity:0.66"},"$ (internal): "],["object",{object:h}]]),E}function m(h,E){return E=ne({},E),Object.keys(E).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},h],["div",{style:"padding-left:1.25em"},...Object.keys(E).map(w=>["div",{},["span",i,w+": "],f(E[w],!1)])]]:["span",{}]}function f(h,E=!0){return typeof h=="number"?["span",n,h]:typeof h=="string"?["span",o,JSON.stringify(h)]:typeof h=="boolean"?["span",i,h]:H(h)?["object",{object:E?D(h):h}]:["span",o,String(h)]}function k(h,E){const w=h.type;if(J(w))return;const S={};for(const Q in h.ctx)C(w,Q,E)&&(S[Q]=h.ctx[Q]);return S}function C(h,E,w){const S=h[w];if(F(S)&&S.includes(E)||H(S)&&E in S||h.extends&&C(h.extends,E,w)||h.mixins&&h.mixins.some(Q=>C(Q,E,w)))return!0}function u(h){return bs(h)?"ShallowRef":h.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(l):window.devtoolsFormatters=[l]}function Ya(){Ka()}process.env.NODE_ENV!=="production"&&Ya();const Ha=re({name:"TopPopup",props:{titleText:{default:"top-popup",type:String},context:{default:"\u5185\u5BB9",type:String},cancelText:{default:"\u53D6\u6D88",type:String},comfigText:{default:"\u786E\u5B9A",type:String},comfig:{default:null,type:Function},cancel:{default:null,type:Function},isMask:{default:!0,type:Boolean},isMaskClose:{default:!0,type:Boolean},isTips:{default:!1,type:Boolean},isDrawer:{default:!1,type:Boolean},visible:{default:!1,type:Boolean},isIndex:{type:Number},width:{type:String,default:"95vw"},className:{type:String,default:""}},data(){return{show:!1,top:0}},watch:{visible:{handler(e,n){e?(this.show=e,this.top=window.scrollY,document.body.style.position="fixed",document.body.style.top=`${-top}px`,document.body.style.overflow="hidden"):(document.body.style.position="",document.body.style.top="",document.body.style.overflow="visible",window.scrollTo(0,this.top),this.show=e,this.$emit("update:visible",!1))},immediate:!0}},methods:{handleOpen(){this.show=!0,this.top=window.scrollY,document.body.style.position="fixed",document.body.style.top=-this.top+"px"},handleClose(){document.body.style.position="",document.body.style.top="",window.scrollTo(0,this.top),this.show=!1,this.$emit("update:visible",!1)},handleCancel(){typeof this.cancel=="function"&&this.cancel(),this.handleClose()},handleComfig(){typeof this.comfig=="function"&&this.comfig()},isIOS(){let e=navigator.userAgent.includes("iPhone"),n=navigator.userAgent.includes("iPad");return e||n}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el),document.documentElement.scrollTop||document.body.scrollTop})}}),Xf="",U=(e,n)=>{const o=e.__vccOpts||e;for(const[i,l]of n)o[i]=l;return o},Wa=e=>(t.pushScopeId("data-v-536a626f"),e=e(),t.popScopeId(),e),za={class:"top-popup-header"},Za={class:"header-title"},Xa={class:"top-popup-body"},_a={class:"top-popup-drawer-header"},qa={class:"header-title"},$a=Wa(()=>t.createElementVNode("div",{class:"header-comfig",style:{width:"20px"}},null,-1)),el={class:"top-popup-drawer--body"},tl={class:"top-tips-header"},sl={class:"top-tips-body"},nl={class:"top-tips-footer"};function ol(e,n,o,i,l,d){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["top-popup-zindex",e.className]),style:t.normalizeStyle(`${e.isIndex?`z-index:${e.isIndex}`:""}`)},[t.createElementVNode("div",{class:"top-popup-mask",style:t.normalizeStyle(e.show&&e.isMask?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;"),onClick:n[0]||(n[0]=m=>e.isMaskClose&&e.handleClose())},null,4),!e.isTips&&!e.isDrawer?(t.openBlock(),t.createElementBlock("div",{key:0,class:"top-popup",style:t.normalizeStyle(e.show?"transform: translateY(0)":"transform: translateY(100%)")},[t.createElementVNode("div",za,[t.createElementVNode("div",{class:"header-cancel",onClick:n[1]||(n[1]=(...m)=>e.handleCancel&&e.handleCancel(...m))},t.toDisplayString(e.cancelText),1),t.createElementVNode("div",Za,t.toDisplayString(e.titleText),1),t.createElementVNode("div",{class:"header-comfig",onClick:n[2]||(n[2]=(...m)=>e.handleComfig&&e.handleComfig(...m))},t.toDisplayString(e.comfigText),1)]),t.createElementVNode("div",Xa,[t.renderSlot(e.$slots,"default",{},void 0,!0)])],4)):!e.isTips&&e.isDrawer?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["top-popup-drawer",e.show?"top-popup-drawer--active":""]),style:t.normalizeStyle(e.width?`width:${e.width};`:"")},[t.createElementVNode("div",_a,[t.createElementVNode("div",{class:"header-cancel",onClick:n[3]||(n[3]=(...m)=>e.handleCancel&&e.handleCancel(...m))}," \u5173\u95ED "),t.createElementVNode("div",qa,t.toDisplayString(e.titleText),1),$a]),t.createElementVNode("div",el,[t.renderSlot(e.$slots,"default",{},void 0,!0)])],6)):e.isTips&&!e.isDrawer?(t.openBlock(),t.createElementBlock("div",{key:2,class:"top-tips",style:t.normalizeStyle(e.show?"visibility: visible; opacity: 1; transform: scale(1)":"visibility: hidden; opacity: 0; transform: scale(1.2)")},[t.createElementVNode("div",tl,t.toDisplayString(e.titleText),1),t.createElementVNode("div",sl,t.toDisplayString(e.context),1),t.createElementVNode("div",nl,[t.createElementVNode("div",{class:"top-tips-btn",onClick:n[4]||(n[4]=(...m)=>e.handleCancel&&e.handleCancel(...m))},t.toDisplayString(e.cancelText),1),t.createElementVNode("div",{class:"top-tips-btn",onClick:n[5]||(n[5]=(...m)=>e.handleComfig&&e.handleComfig(...m))},t.toDisplayString(e.comfigText),1)])],4)):t.createCommentVNode("",!0)],6)}const ee=U(Ha,[["render",ol],["__scopeId","data-v-536a626f"]]);var Ot=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ue={default:Ot,call:function(e,n,o){var i="";typeof n=="function"&&(o=n,n={});var l={data:n===void 0?null:n};if(typeof o=="function"){var d="dscb"+window.dscb++;window[d]=o,l._dscbstub=d}return l=JSON.stringify(l),window._dsbridge?i=_dsbridge.call(e,l):(window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)&&(i=prompt("_dsbridge="+e,l)),JSON.parse(i||"{}").data},register:function(e,n,o){var i=o?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){Ue.call("_dsb.dsinit")},0)),typeof n=="object"?i._obs[e]=n:i[e]=n},registerAsyn:function(e,n){this.register(e,n,!0)},hasNativeMethod:function(e,n){return this.call("_dsb.hasNativeMethod",{name:e,type:n||"all"})},disableJavascriptDialogBlock:function(e){this.call("_dsb.disableJavascriptDialogBlock",{disable:e!==!1})}};(function(){if(!window._dsf){var e={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:Ue,close:function(){Ue.call("_dsb.closePage")},_handleMessageFromNative:function(o){var i=JSON.parse(o.data),l={id:o.callbackId,complete:!0},d=this._dsf[o.method],m=this._dsaf[o.method],f=function(Q,me){l.data=Q.apply(me,i),Ue.call("_dsb.returnValue",l)},k=function(Q,me){i.push(function(G,Je){l.data=G,l.complete=Je!==!1,Ue.call("_dsb.returnValue",l)}),Q.apply(me,i)};if(d)f(d,this._dsf);else if(m)k(m,this._dsaf);else{var C=o.method.split(".");if(C.length<2)return;var u=C.pop(),h=C.join("."),E=this._dsf._obs,w=E[h]||{},S=w[u];if(S&&typeof S=="function"){f(S,w);return}if(E=this._dsaf._obs,w=E[h]||{},S=w[u],S&&typeof S=="function"){k(S,w);return}}}};for(var n in e)window[n]=e[n];Ue.register("_hasJavascriptMethod",function(o,i){var l=o.split(".");if(l.length<2)return!!(_dsf[l]||_dsaf[l]);var o=l.pop(),d=l.join("."),m=_dsf._obs[d]||_dsaf._obs[d];return m&&!!m[o]})}})();var Xn=Ue;const il=re({name:"PreView",props:{file:{type:String,default:""}},data(){return{url:"",video:["mp4","avi","rmvb"],videoShow:!1}},watch:{file:{handler(e,n){if(this.video.includes(e.substring(e.lastIndexOf(".")+1)))this.videoShow=!0,this.url=e;else{this.videoShow=!1;let o=e.indexOf("https://")==-1?0:1;this.url=`https://wdyl.ddzg.cn:8089/?ssl=${o}&furl=${e}`}},immediate:!0,deep:!0}}}),al={key:0,style:{width:"100%",height:"calc(100% - 40px)"}},ll={key:0,style:{height:"100%",width:"100vw"},controls:""},cl=["src"],dl=["src"];function rl(e,n,o,i,l,d){return e.url?(t.openBlock(),t.createElementBlock("div",al,[e.videoShow?(t.openBlock(),t.createElementBlock("video",ll,[t.createElementVNode("source",{src:e.url,type:"video/mp4"},null,8,cl)])):(t.openBlock(),t.createElementBlock("iframe",{key:1,style:{height:"100%",border:"unset",width:"100vw"},src:e.url},`\r
5
+ Component that was made reactive: `,e)),Ma(e,n,o,i,l,m,d,!0)}function Fa(e){return e?us(e)||Rn in e?ne({},e):e:null}function Qt(e,n,o=!1){const{props:i,ref:l,patchFlag:d,children:m}=e,f=n?La(i||{},n):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&jn(f),ref:n&&n.ref?o&&l?F(l)?l.concat(Dt(n)):[l,Dt(n)]:Dt(n):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&d===-1&&F(m)?m.map(Yn):m,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==Gn?d===-1?16:d|16:d,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qt(e.ssContent),ssFallback:e.ssFallback&&Qt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Yn(e){const n=Qt(e);return F(e.children)&&(n.children=e.children.map(Yn)),n}function Pa(e=" ",n=0){return xa(Sa,null,e,n)}function Ns(e,n){let o=0;const{shapeFlag:i}=e;if(n==null)n=null;else if(F(n))o=16;else if(typeof n=="object")if(i&65){const l=n.default;l&&(l._c&&(l._d=!1),Ns(e,l()),l._c&&(l._d=!0));return}else{o=32;const l=n._;!l&&!(Rn in n)?n._ctx=Ne:l===3&&Ne&&(Ne.slots._===1?n._=1:(n._=2,e.patchFlag|=1024))}else J(n)?(n={default:n,_ctx:Ne},o=32):(n=String(n),i&64?(o=16,n=[Pa(n)]):o=8);e.children=n,e.shapeFlag|=o}function La(...e){const n={};for(let o=0;o<e.length;o++){const i=e[o];for(const l in i)if(l==="class")n.class!==i.class&&(n.class=ss([n.class,i.class]));else if(l==="style")n.style=ts([n.style,i.style]);else if(ri(l)){const d=n[l],m=i[l];m&&d!==m&&!(F(d)&&d.includes(m))&&(n[l]=d?[].concat(d,m):m)}else l!==""&&(n[l]=i[l])}return n}va();let Ae=null;const Hn=e=>{Ae=e,e.scope.on()},Ua=()=>{Ae&&Ae.scope.off(),Ae=null};function Ja(e){return e.vnode.shapeFlag&4}function Ga(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy($i(Xi(e.exposed)),{get(n,o){if(o in n)return n[o];if(o in dt)return dt[o](e)},has(n,o){return o in n||o in dt}}))}const Ra=/(?:^|[-_])(\w)/g,ja=e=>e.replace(Ra,n=>n.toUpperCase()).replace(/[-_]/g,"");function Wn(e,n=!0){return J(e)?e.displayName||e.name:e.name||n&&e.__name}function zn(e,n,o=!1){let i=Wn(n);if(!i&&n.__file){const l=n.__file.match(/([^/\\]+)\.\w+$/);l&&(i=l[1])}if(!i&&e&&e.parent){const l=d=>{for(const m in d)if(d[m]===n)return m};i=l(e.components||e.parent.type.components)||l(e.appContext.components)}return i?ja(i):o?"App":"Anonymous"}function Zn(e){return J(e)&&"__vccOpts"in e}Symbol(process.env.NODE_ENV!=="production"?"ssrContext":"");function bs(e){return!!(e&&e.__v_isShallow)}function Ka(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},n={style:"color:#0b1bc9"},o={style:"color:#b62e24"},i={style:"color:#9d288c"},l={header(h){return H(h)?h.__isVue?["div",e,"VueInstance"]:z(h)?["div",{},["span",e,u(h)],"<",f(h.value),">"]:Me(h)?["div",{},["span",e,bs(h)?"ShallowReactive":"Reactive"],"<",f(h),`>${xe(h)?" (readonly)":""}`]:xe(h)?["div",{},["span",e,bs(h)?"ShallowReadonly":"Readonly"],"<",f(h),">"]:null:null},hasBody(h){return h&&h.__isVue},body(h){if(h&&h.__isVue)return["div",{},...d(h.$)]}};function d(h){const E=[];h.type.props&&h.props&&E.push(m("props",D(h.props))),h.setupState!==ce&&E.push(m("setup",h.setupState)),h.data!==ce&&E.push(m("data",D(h.data)));const w=k(h,"computed");w&&E.push(m("computed",w));const S=k(h,"inject");return S&&E.push(m("injected",S)),E.push(["div",{},["span",{style:i.style+";opacity:0.66"},"$ (internal): "],["object",{object:h}]]),E}function m(h,E){return E=ne({},E),Object.keys(E).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},h],["div",{style:"padding-left:1.25em"},...Object.keys(E).map(w=>["div",{},["span",i,w+": "],f(E[w],!1)])]]:["span",{}]}function f(h,E=!0){return typeof h=="number"?["span",n,h]:typeof h=="string"?["span",o,JSON.stringify(h)]:typeof h=="boolean"?["span",i,h]:H(h)?["object",{object:E?D(h):h}]:["span",o,String(h)]}function k(h,E){const w=h.type;if(J(w))return;const S={};for(const Q in h.ctx)C(w,Q,E)&&(S[Q]=h.ctx[Q]);return S}function C(h,E,w){const S=h[w];if(F(S)&&S.includes(E)||H(S)&&E in S||h.extends&&C(h.extends,E,w)||h.mixins&&h.mixins.some(Q=>C(Q,E,w)))return!0}function u(h){return bs(h)?"ShallowRef":h.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(l):window.devtoolsFormatters=[l]}function Ya(){Ka()}process.env.NODE_ENV!=="production"&&Ya();const Ha=re({name:"TopPopup",props:{titleText:{default:"top-popup",type:String},context:{default:"\u5185\u5BB9",type:String},cancelText:{default:"\u53D6\u6D88",type:String},comfigText:{default:"\u786E\u5B9A",type:String},comfig:{default:null,type:Function},cancel:{default:null,type:Function},isMask:{default:!0,type:Boolean},isMaskClose:{default:!0,type:Boolean},isTips:{default:!1,type:Boolean},isDrawer:{default:!1,type:Boolean},visible:{default:!1,type:Boolean},isIndex:{type:Number},width:{type:String,default:"95vw"},className:{type:String,default:""}},data(){return{show:!1,top:0,useHidden:!1}},watch:{visible:{handler(e,n){if(e)this.show=e,document.body.style.position=="fixed"&&document.body.style.overflow=="hidden"?this.useHidden=!0:this.useHidden=!1,this.top=window.scrollY,document.body.style.position="fixed",document.body.style.top=`${-top}px`,document.body.style.overflow="hidden";else{if(this.useHidden){this.show=e,this.$emit("update:visible",!1);return}else document.body.style.position="",document.body.style.top="",document.body.style.overflow="visible",window.scrollTo(0,this.top);this.show=e,this.$emit("update:visible",!1)}},immediate:!0}},methods:{handleOpen(){this.show=!0,this.top=window.scrollY,document.body.style.position="fixed",document.body.style.top=-this.top+"px"},handleClose(){document.body.style.position="",document.body.style.top="",window.scrollTo(0,this.top),this.show=!1,this.$emit("update:visible",!1)},handleCancel(){typeof this.cancel=="function"&&this.cancel(),this.handleClose()},handleComfig(){typeof this.comfig=="function"&&this.comfig()},isIOS(){let e=navigator.userAgent.includes("iPhone"),n=navigator.userAgent.includes("iPad");return e||n}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el),document.documentElement.scrollTop||document.body.scrollTop})}}),Xf="",U=(e,n)=>{const o=e.__vccOpts||e;for(const[i,l]of n)o[i]=l;return o},Wa=e=>(t.pushScopeId("data-v-536a626f"),e=e(),t.popScopeId(),e),za={class:"top-popup-header"},Za={class:"header-title"},Xa={class:"top-popup-body"},_a={class:"top-popup-drawer-header"},qa={class:"header-title"},$a=Wa(()=>t.createElementVNode("div",{class:"header-comfig",style:{width:"20px"}},null,-1)),el={class:"top-popup-drawer--body"},tl={class:"top-tips-header"},sl={class:"top-tips-body"},nl={class:"top-tips-footer"};function ol(e,n,o,i,l,d){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["top-popup-zindex",e.className]),style:t.normalizeStyle(`${e.isIndex?`z-index:${e.isIndex}`:""}`)},[t.createElementVNode("div",{class:"top-popup-mask",style:t.normalizeStyle(e.show&&e.isMask?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;"),onClick:n[0]||(n[0]=m=>e.isMaskClose&&e.handleClose())},null,4),!e.isTips&&!e.isDrawer?(t.openBlock(),t.createElementBlock("div",{key:0,class:"top-popup",style:t.normalizeStyle(e.show?"transform: translateY(0)":"transform: translateY(100%)")},[t.createElementVNode("div",za,[t.createElementVNode("div",{class:"header-cancel",onClick:n[1]||(n[1]=(...m)=>e.handleCancel&&e.handleCancel(...m))},t.toDisplayString(e.cancelText),1),t.createElementVNode("div",Za,t.toDisplayString(e.titleText),1),t.createElementVNode("div",{class:"header-comfig",onClick:n[2]||(n[2]=(...m)=>e.handleComfig&&e.handleComfig(...m))},t.toDisplayString(e.comfigText),1)]),t.createElementVNode("div",Xa,[t.renderSlot(e.$slots,"default",{},void 0,!0)])],4)):!e.isTips&&e.isDrawer?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["top-popup-drawer",e.show?"top-popup-drawer--active":""]),style:t.normalizeStyle(e.width?`width:${e.width};`:"")},[t.createElementVNode("div",_a,[t.createElementVNode("div",{class:"header-cancel",onClick:n[3]||(n[3]=(...m)=>e.handleCancel&&e.handleCancel(...m))}," \u5173\u95ED "),t.createElementVNode("div",qa,t.toDisplayString(e.titleText),1),$a]),t.createElementVNode("div",el,[t.renderSlot(e.$slots,"default",{},void 0,!0)])],6)):e.isTips&&!e.isDrawer?(t.openBlock(),t.createElementBlock("div",{key:2,class:"top-tips",style:t.normalizeStyle(e.show?"visibility: visible; opacity: 1; transform: scale(1)":"visibility: hidden; opacity: 0; transform: scale(1.2)")},[t.createElementVNode("div",tl,t.toDisplayString(e.titleText),1),t.createElementVNode("div",sl,t.toDisplayString(e.context),1),t.createElementVNode("div",nl,[t.createElementVNode("div",{class:"top-tips-btn",onClick:n[4]||(n[4]=(...m)=>e.handleCancel&&e.handleCancel(...m))},t.toDisplayString(e.cancelText),1),t.createElementVNode("div",{class:"top-tips-btn",onClick:n[5]||(n[5]=(...m)=>e.handleComfig&&e.handleComfig(...m))},t.toDisplayString(e.comfigText),1)])],4)):t.createCommentVNode("",!0)],6)}const ee=U(Ha,[["render",ol],["__scopeId","data-v-536a626f"]]);var Ot=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ue={default:Ot,call:function(e,n,o){var i="";typeof n=="function"&&(o=n,n={});var l={data:n===void 0?null:n};if(typeof o=="function"){var d="dscb"+window.dscb++;window[d]=o,l._dscbstub=d}return l=JSON.stringify(l),window._dsbridge?i=_dsbridge.call(e,l):(window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)&&(i=prompt("_dsbridge="+e,l)),JSON.parse(i||"{}").data},register:function(e,n,o){var i=o?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){Ue.call("_dsb.dsinit")},0)),typeof n=="object"?i._obs[e]=n:i[e]=n},registerAsyn:function(e,n){this.register(e,n,!0)},hasNativeMethod:function(e,n){return this.call("_dsb.hasNativeMethod",{name:e,type:n||"all"})},disableJavascriptDialogBlock:function(e){this.call("_dsb.disableJavascriptDialogBlock",{disable:e!==!1})}};(function(){if(!window._dsf){var e={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:Ue,close:function(){Ue.call("_dsb.closePage")},_handleMessageFromNative:function(o){var i=JSON.parse(o.data),l={id:o.callbackId,complete:!0},d=this._dsf[o.method],m=this._dsaf[o.method],f=function(Q,me){l.data=Q.apply(me,i),Ue.call("_dsb.returnValue",l)},k=function(Q,me){i.push(function(G,Je){l.data=G,l.complete=Je!==!1,Ue.call("_dsb.returnValue",l)}),Q.apply(me,i)};if(d)f(d,this._dsf);else if(m)k(m,this._dsaf);else{var C=o.method.split(".");if(C.length<2)return;var u=C.pop(),h=C.join("."),E=this._dsf._obs,w=E[h]||{},S=w[u];if(S&&typeof S=="function"){f(S,w);return}if(E=this._dsaf._obs,w=E[h]||{},S=w[u],S&&typeof S=="function"){k(S,w);return}}}};for(var n in e)window[n]=e[n];Ue.register("_hasJavascriptMethod",function(o,i){var l=o.split(".");if(l.length<2)return!!(_dsf[l]||_dsaf[l]);var o=l.pop(),d=l.join("."),m=_dsf._obs[d]||_dsaf._obs[d];return m&&!!m[o]})}})();var Xn=Ue;const il=re({name:"PreView",props:{file:{type:String,default:""}},data(){return{url:"",video:["mp4","avi","rmvb"],videoShow:!1}},watch:{file:{handler(e,n){if(this.video.includes(e.substring(e.lastIndexOf(".")+1)))this.videoShow=!0,this.url=e;else{this.videoShow=!1;let o=e.indexOf("https://")==-1?0:1;this.url=`https://wdyl.ddzg.cn:8089/?ssl=${o}&furl=${e}`}},immediate:!0,deep:!0}}}),al={key:0,style:{width:"100%",height:"calc(100% - 40px)"}},ll={key:0,style:{height:"100%",width:"100vw"},controls:""},cl=["src"],dl=["src"];function rl(e,n,o,i,l,d){return e.url?(t.openBlock(),t.createElementBlock("div",al,[e.videoShow?(t.openBlock(),t.createElementBlock("video",ll,[t.createElementVNode("source",{src:e.url,type:"video/mp4"},null,8,cl)])):(t.openBlock(),t.createElementBlock("iframe",{key:1,style:{height:"100%",border:"unset",width:"100vw"},src:e.url},`\r
6
6
  `,8,dl))])):t.createCommentVNode("",!0)}const _n=U(il,[["render",rl]]),pl=re({name:"preview-image",props:{images:{type:Array,defalut:()=>[]},startPosition:{type:Number,defalut:0},visible:{type:Boolean,defalut:!1},indexd:{type:Number,defalut:0},isOne:{type:Boolean,defalut:!1},isStyle:{type:String,defalut:""}},data(){return{imagesList:[],moveNum:0,flag:!1,windowWidth:0,windowHeight:0,startX:0,startY:0,move:0,startMove:0,maxX:0,duration:"transition-duration: 0.2s;transition-timing-function:ease;",isIndex:1,show:!1,displacement:{scale:1},styleZoom:"",styleOrigin:"",moveX:"-50%",moveY:"-50%",newScaleData:1}},watch:{images:{handler(e,n){this.imagesList=e},immediate:!0,deep:!0},visible:{handler(e,n){this.show=e},immediate:!0},indexd:{handler(e,n){e>=0&&(this.isIndex=e+1,this.move=e*100*-1)},immediate:!0}},methods:{handelTouchstart(e){let n=e.touches,o=n[0],i=n[1];this.displacement.pageX=o.pageX,this.displacement.pageY=o.pageY,this.displacement.moveable=!0,i?(this.displacement.pageX2=i.pageX,this.displacement.pageY2=i.pageY):(this.duration="transition-duration: 0.05s;transition-timing-function:linear",this.windowWidth=(document.documentElement.clientWidth||document.body.clientWidth)/100,this.windowHeight=(document.documentElement.clientHeight||document.body.clientHeight)/100,this.startX=e.touches[0].clientX,this.startY=e.touches[0].clientY,this.startMove=this.move),this.displacement.originScale=this.displacement.scale||1},handelTouchmove(e){if(!this.displacement.moveable)return;e.preventDefault();let n=e.touches,o=n[0],i=n[1];if(i){this.displacement.pageX2||(this.displacement.pageX2=i.pageX),this.displacement.pageY2||(this.displacement.pageY2=i.pageY);let l=this.getDistance({x:o.pageX,y:o.pageY},{x:i.pageX,y:i.pageY})/this.getDistance({x:this.displacement.pageX,y:this.displacement.pageY},{x:this.displacement.pageX2,y:this.displacement.pageY2}),d=this.displacement.originScale*l;d<.5?d=.5:d>3&&(d=3),this.displacement.scale=d,this.styleZoom=`scale(${d})`,this.styleOrigin="0 0",console.log("styleZoom",d)}else console.log("\u79FB\u52A8",e.touches[0].clientX-this.startX,e.touches[0].clientY-this.startY),this.moveX=`calc(${(e.touches[0].clientX-this.startX)/this.displacement.scale}px - 50%)`,this.moveY=`calc(${(e.touches[0].clientY-this.startY)/this.displacement.scale}px - 50%)`},getDistance(e,n){return Math.hypot(n.x-e.x,n.y-e.y)},touchstartView(e){this.isOne||(this.duration="transition-duration: 0.05s;transition-timing-function:linear",this.flag=!0,this.windowWidth=(document.documentElement.clientWidth||document.body.clientWidth)/100,this.startX=e.touches[0].clientX,this.startMove=this.move)},touchmoveView(e){this.isOne||(this.startX>e.touches[0].clientX?this.move<=-((this.imagesList.length-1)*100)?this.move=-((this.imagesList.length-1)*100):this.move=this.startMove+Math.ceil((e.touches[0].clientX-this.startX)/this.windowWidth):this.startX<e.touches[0].clientX&&this.move<0&&(this.move>=0?this.move=0:this.move=this.startMove+Math.ceil((e.touches[0].clientX-this.startX)/this.windowWidth)))},touchendView(){if(this.isOne)return;this.duration="transition-duration: 0.2s;transition-timing-function:ease";let e=Math.floor(Math.abs(this.move/100));Math.abs(this.move/100%1)>.5?(this.isIndex=e+2,this.move=(e+1)*100*-1):(this.isIndex=e+1,this.move=e*100*-1),this.flag=!1},handleClose(){this.$emit("update:visible",!1)}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el)})}}),_f="",hl=e=>(t.pushScopeId("data-v-d8a210ac"),e=e(),t.popScopeId(),e),ml={key:0,class:"preview-image"},ul=["src"],gl=["src"],fl={key:2,class:"preview-image-view--page"},Al={class:"page-item"},kl=hl(()=>t.createElementVNode("div",{class:"preview-image-view--close"},null,-1));function yl(e,n,o,i,l,d){return e.visible?(t.openBlock(),t.createElementBlock("div",ml,[t.createElementVNode("div",{class:"preview-image-mask",onClick:n[0]||(n[0]=(...m)=>e.handleClose&&e.handleClose(...m))}),e.isOne?(t.openBlock(),t.createElementBlock("div",{key:1,class:"preview-image-view--one",onTouchstart:n[5]||(n[5]=(...m)=>e.handelTouchstart&&e.handelTouchstart(...m)),onTouchmove:n[6]||(n[6]=(...m)=>e.handelTouchmove&&e.handelTouchmove(...m)),style:t.normalizeStyle(`transform:${e.styleZoom} translate(${e.moveX},${e.moveY});${e.duration};${e.styleOrigin?`transformOrigin:${e.styleOrigin}`:""};`)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.imagesList,(m,f)=>(t.openBlock(),t.createElementBlock("img",{class:"img-view",key:f,src:m},null,8,gl))),128))],36)):(t.openBlock(),t.createElementBlock("div",{key:0,class:"preview-image-view--img",style:t.normalizeStyle(`transform: translate(${e.move}%,-50%);${e.duration}`),onTouchstart:n[2]||(n[2]=(...m)=>e.touchstartView&&e.touchstartView(...m)),onTouchmove:n[3]||(n[3]=(...m)=>e.touchmoveView&&e.touchmoveView(...m)),onTouchend:n[4]||(n[4]=(...m)=>e.touchendView&&e.touchendView(...m))},[t.createElementVNode("div",{class:"preview-image-mask",onClick:n[1]||(n[1]=(...m)=>e.handleClose&&e.handleClose(...m)),style:{opacity:"0","z-index":"1"}}),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.imagesList,(m,f)=>(t.openBlock(),t.createElementBlock("img",{class:"img-view",key:f,src:m},null,8,ul))),128))],36)),e.isOne?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",fl,[t.createElementVNode("span",Al,t.toDisplayString(e.isIndex)+"/"+t.toDisplayString(e.imagesList.length),1)])),kl])):t.createCommentVNode("",!0)}const Ts=U(pl,[["render",yl],["__scopeId","data-v-d8a210ac"]]),qn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAECBJREFUeF7dW21QVFeaPu+53TQEkU+VKKDyIQ4x0k3HuMnsjFbUmcq0hOjKbkpJpVIbQzSx/DH5Mdl/82f9laxGE6tI2FQsJ5s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GT3tV9MEq9kw76PQO5ktbKjYFQ2XDuRBlIA1Aage8io+q1+3GV8ao3fcbLxW4Po6cy8nR9NBN+YKfjzVVSyqf5PTVav393yJZuwigwsAqAWsU7TdktVMCQABhbkkwDeIRtd+dTIkz/96hsHSrmZyKsnxfq8scy+xWflsrnLEwYvZVAzgRsYaAKjiYimBnabFRoWACsMoJI75kEQegnoZeAIg3YmbWxDvbk3c9n2AUesSkRrMo//Bwdf9ZzE6Zx0AAAAAElFTkSuQmCC",Cl=re({name:"ViewAttchList",components:{PreView:_n,TopPopup:ee,PreviewImage:Ts},computed:{del(){return qn},doc(){return $n},file(){return eo},image(){return to},pdf(){return so},xls(){return no},zip(){return oo}},props:{inList:{type:Array,default:()=>[]}},data(){return{listData:[],imgIcon:["jpg","jpge","png","gif"],docIcon:["doc","docx"],xlsIcon:["xls","xlsx"],zipIcon:["zip","rar","7z"],preList:[],fileUrl:"",visible:!1,visibleImg:!1,lists:[],indexd:0}},watch:{inList:{handler(e,n){if(e.length){this.listData=e,this.lists=[];let o=[];e.map((i,l)=>{this.imgIcon.includes(i.name.substring(i.name.lastIndexOf(".")+1).toLowerCase())}),o=e.filter(i=>this.imgIcon.includes(i.name.substring(i.name.lastIndexOf(".")+1).toLowerCase())),o.forEach((i,l)=>{this.lists.push(i.url)})}},immediate:!0,deep:!0}},methods:{viewFile(e){this.imgIcon.includes(e.url.substring(e.url.lastIndexOf(".")+1).toLowerCase())?(this.visibleImg=!0,this.indexd=this.lists.indexOf(e.url)):(this.fileUrl=e.url,this.visible=!0)},loadFile(e){var n;if(Xn.hasNativeMethod("vueUpLoadFile"))Xn.call("vueUpLoadFile",e.url);else{if(typeof nativeMethod<"u"&&(nativeMethod==null?void 0:nativeMethod.vueUpLoadFile))return nativeMethod.vueUpLoadFile(e.url),!1;const o=document.createElement("a");o.download=(n=e.url)==null?void 0:n.match(/([^\/]+)$/g)[0],o.href=e.url,o.click()}}}}),qf="",io=e=>(t.pushScopeId("data-v-e0d8023e"),e=e(),t.popScopeId(),e),El={class:"process-wrap"},Bl={key:0,class:"attch-list"},Il={class:"list-items-icon"},Nl=["src"],bl=["src"],Tl=["src"],wl=["src"],vl=["src"],Vl=["src"],Sl=["onClick"],Dl={class:"info-name"},Ql={class:"info-name-text"},Ol={class:"info-attribute"},Ml={class:"info-attribute-time"},xl={class:"info-attribute-size"},Fl=["onClick"],Pl=[io(()=>t.createElementVNode("span",{class:"download-text"},"\u4E0B\u8F7D",-1))],Ll={key:1,class:"attch-list"},Ul=[io(()=>t.createElementVNode("div",{class:"attch-list--white"},[t.createElementVNode("div",{class:"attch-list--label"},"\u6682\u65E0\u9644\u4EF6")],-1))];function Jl(e,n,o,i,l,d){const m=t.resolveComponent("PreView"),f=t.resolveComponent("TopPopup"),k=t.resolveComponent("PreviewImage");return t.openBlock(),t.createElementBlock("div",El,[e.listData.length>0?(t.openBlock(),t.createElementBlock("div",Bl,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.listData,(C,u)=>(t.openBlock(),t.createElementBlock("div",{key:C.id,class:"list-items"},[t.createElementVNode("div",Il,[e.xlsIcon.includes(C.name.substring(C.name.lastIndexOf(".")+1).toLowerCase())?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon-img",src:e.xls},null,8,Nl)):e.imgIcon.includes(C.name.substring(C.name.lastIndexOf(".")+1).toLowerCase())?(t.openBlock(),t.createElementBlock("img",{key:1,class:"icon-img",src:e.image},null,8,bl)):C.name.substring(C.name.lastIndexOf(".")+1).toLowerCase()=="pdf"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon-img",src:e.pdf},null,8,Tl)):e.docIcon.includes(C.name.substring(C.name.lastIndexOf(".")+1).toLowerCase())?(t.openBlock(),t.createElementBlock("img",{key:3,class:"icon-img",src:e.doc},null,8,wl)):e.zipIcon.includes(C.name.substring(C.name.lastIndexOf(".")+1).toLowerCase())?(t.openBlock(),t.createElementBlock("img",{key:4,class:"icon-img",src:e.zip},null,8,vl)):(t.openBlock(),t.createElementBlock("img",{key:5,class:"icon-img",src:e.file},null,8,Vl))]),t.createElementVNode("div",{class:"list-items-info",onClick:h=>e.viewFile(C)},[t.createElementVNode("div",Dl,[t.createElementVNode("span",Ql,t.toDisplayString(C.name),1)]),t.createElementVNode("div",Ol,[t.createElementVNode("span",Ml,t.toDisplayString(C.uploadTime),1),t.createElementVNode("span",xl,t.toDisplayString(C.size<1024?C.size:C.size/1024>1024?parseFloat((C.size/1024/1024).toFixed(2)):parseFloat((C.size/1024).toFixed(2)))+t.toDisplayString(C.size<1024?"b":parseFloat((C.size/1024).toFixed(2))<1024?"kb":"M"),1)])],8,Sl),t.createElementVNode("div",{class:"list-items-download",onClick:h=>e.loadFile(C)},Pl,8,Fl)]))),128))])):(t.openBlock(),t.createElementBlock("div",Ll,Ul)),t.createVNode(f,{visible:e.visible,"onUpdate:visible":n[0]||(n[0]=C=>e.visible=C),ref:"TopPopup",titleText:"\u9644\u4EF6\u9884\u89C8",isDrawer:"",isIndex:99},{default:t.withCtx(()=>[t.createVNode(m,{file:e.fileUrl},null,8,["file"])]),_:1},8,["visible"]),t.createVNode(k,{images:e.lists,visible:e.visibleImg,"onUpdate:visible":n[1]||(n[1]=C=>e.visibleImg=C),indexd:e.indexd},null,8,["images","visible","indexd"])])}const ao=U(Cl,[["render",Jl],["__scopeId","data-v-e0d8023e"]]),Gl=re({name:"TopTab",components:{TopPopup:ee,ViewAttchList:ao},props:{tapList:{type:Array,default:()=>[]},selfTapList:{type:Array,default:()=>[]},track:{type:String,default:""},taskComment:{type:Array,default:()=>[]},trackList:{type:Array,default:()=>[]}},data(){return{trackUrl:"",taskCommentList:[],active:"",defaultTabList:[{label:"\u57FA\u672C\u4FE1\u606F",key:"a",type:"default",slot:"default"},{label:"\u6D41\u7A0B\u56FE",key:"b",type:"default",slot:"b"},{label:"\u5BA1\u6279\u8BB0\u5F55",key:"c",type:"default",slot:"c"}],isTapList:[{label:"\u57FA\u672C\u4FE1\u606F",key:"a",type:"default",slot:"default"},{label:"\u6D41\u7A0B\u56FE",key:"b",type:"default",slot:"b"},{label:"\u5BA1\u6279\u8BB0\u5F55",key:"c",type:"default",slot:"c"}],label:document.getElementsByClassName("tops-tab-header-items"),visible:!1,inList:[],visibleTack:!1,trackListss:[]}},watch:{tapList:{handler(e,n){this.selfTapList.length||(this.isTapList=[].concat(this.defaultTabList),e.length>0&&e.forEach((o,i)=>{o.sort&&o.sort>1?this.isTapList.splice(o.sort-1,0,o):o.sort==1?this.isTapList.unshift(o):this.isTapList.push(o)}),this.active=this.isTapList[0].key)},immediate:!0,deep:!0},selfTapList:{handler(e,n){e.length&&(this.isTapList=[].concat(e),this.active=this.isTapList[0].key)},immediate:!0,deep:!0},track:{handler(e,n){e&&(this.trackUrl=e,window.location.protocol=="https:"&&(this.trackUrl=this.trackUrl.replace("http://59.53.91.230:8088/","https://kq.ddzg.cn:8093/"),this.trackUrl=this.trackUrl.replace("http://59.53.91.231:8088/","https://qt.ddzg.cn:2119/"),this.trackUrl=this.trackUrl.replace("http://121.40.143.183:80/","https://www.ddzg.cn:2119/"),this.trackUrl=this.trackUrl.replace("http://121.40.143.183/","https://www.ddzg.cn:2119/")))},immediate:!0,deep:!0},taskComment:{handler(e,n){e&&(this.taskCommentList=e)},immediate:!0,deep:!0},trackList:{handler(e,n){e&&(this.trackListss=e)},immediate:!0,deep:!0}},mounted(){this.tabAnimation(0)},methods:{handleActive(e,n){e!==this.active&&(this.active=e,this.tabAnimation(n))},tabAnimation(e){if(this.label.length){let n=document.getElementsByClassName("bottom-line")[0],o;if(n.offsetWidth<this.label[e].offsetWidth-10){let i=(this.label[e].offsetWidth-n.offsetWidth-10)/2;o=`${this.label[e].offsetLeft+i}px`}else if(n.offsetWidth>this.label[e].offsetWidth-10){let i=(n.offsetWidth-this.label[e].offsetWidth+10)/2;o=`${this.label[e].offsetLeft-i}px`}else o=`${this.label[e].offsetLeft}px`;n.style.transition=".3s",n.style.transform=`translateX(${o})`}},viewList(e){this.visible=!0,this.inList=e}}}),tA="",ke=e=>(t.pushScopeId("data-v-3c441f41"),e=e(),t.popScopeId(),e),Rl={class:"tops-tab"},jl={class:"tops-tab-header"},Kl=["onClick"],Yl={key:0,class:"bottom-line"},Hl={class:"tops-tab-body"},Wl=["name"],zl=["src"],Zl={key:2,class:"textnone"},Xl={key:2,style:{height:"100%"}},_l={class:"seal-list__item--option"},ql=ke(()=>t.createElementVNode("span",null,"\u8282\u70B9\u540D\u79F0",-1)),$l={class:"seal-list__item--option"},ec=ke(()=>t.createElementVNode("span",null,"\u5BA1\u6279\u4EBA",-1)),tc={class:"seal-list__item--option"},sc=ke(()=>t.createElementVNode("span",null,"\u5BA1\u6279\u64CD\u4F5C",-1)),nc={class:"seal-list__item--option"},oc=ke(()=>t.createElementVNode("span",null,"\u5BA1\u6279\u610F\u89C1",-1)),ic=["innerHTML"],ac={class:"seal-list__item--option"},lc=ke(()=>t.createElementVNode("span",null,"\u5BA1\u6279\u65F6\u95F4",-1)),cc=["onClick"],dc=[ke(()=>t.createElementVNode("span",null,"\u67E5\u770B\u9644\u4EF6",-1))],rc={key:1,class:"textnone"},pc={class:"seal-list__item--option"},hc=ke(()=>t.createElementVNode("span",null,"\u5E8F\u53F7",-1)),mc={style:{"max-width":"100px"}},uc={class:"seal-list__item--option"},gc=ke(()=>t.createElementVNode("span",null,"\u8282\u70B9\u540D\u79F0",-1)),fc={style:{"max-width":"100px"}},Ac={class:"seal-list__item--option"},kc=ke(()=>t.createElementVNode("span",null,"\u5BA1\u6279\u4EBA",-1)),yc={style:{"max-width":"100px"}};function Cc(e,n,o,i,l,d){const m=t.resolveComponent("ViewAttchList"),f=t.resolveComponent("TopPopup");return t.openBlock(),t.createElementBlock("div",Rl,[t.createElementVNode("div",jl,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.isTapList,(k,C)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["tops-tab-header-items",[k.key===e.active?"active":""]]),onClick:u=>e.handleActive(k.key,C)},t.toDisplayString(k.label),11,Kl))),256)),e.isTapList.length?(t.openBlock(),t.createElementBlock("div",Yl)):t.createCommentVNode("",!0)]),t.createElementVNode("div",Hl,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.isTapList,k=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:k.key,style:{height:"100%"},class:t.normalizeClass([k.key==="c"&&"tops-tab-body-taskcommentlist"])},[k.key==="a"&&k.type==="default"?t.renderSlot(e.$slots,"default",{key:0},void 0,!0):t.createCommentVNode("",!0),k.key==="b"&&k.type==="default"?(t.openBlock(),t.createElementBlock("div",{key:1,style:{height:"100%"},name:k.slot},[e.trackUrl?(t.openBlock(),t.createElementBlock("div",{key:0,style:{padding:"10px 20px",color:"#1389ff"},onClick:n[0]||(n[0]=()=>e.visibleTack=!0)}," \u67E5\u770B\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F ")):t.createCommentVNode("",!0),e.trackUrl?(t.openBlock(),t.createElementBlock("iframe",{key:1,src:e.trackUrl,style:{width:"100%",height:"calc(100% - 41px)",border:"none"},scrolling:"no",frameborder:"0"},null,8,zl)):(t.openBlock(),t.createElementBlock("div",Zl," \u6682\u65E0\u6D41\u7A0B\u56FE "))],8,Wl)):t.createCommentVNode("",!0),k.key==="c"&&k.type==="default"?(t.openBlock(),t.createElementBlock("div",Xl,[e.taskCommentList.length>0?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.taskCommentList,(C,u)=>(t.openBlock(),t.createElementBlock("div",{key:C.id,class:"seal-list__item"},[t.createElementVNode("div",null,[t.createElementVNode("div",_l,[ql,t.createElementVNode("span",null,t.toDisplayString(C.activityName),1)]),t.createElementVNode("div",$l,[ec,t.createElementVNode("span",null,t.toDisplayString(C.createUserName),1)]),t.createElementVNode("div",tc,[sc,t.createElementVNode("span",null,t.toDisplayString(C.actionName),1)]),t.createElementVNode("div",nc,[oc,t.createElementVNode("span",{innerHTML:C.msg},null,8,ic)]),t.createElementVNode("div",ac,[lc,t.createElementVNode("span",null,t.toDisplayString(C.createDate),1)]),C.metaAnnexList&&C.metaAnnexList.length?(t.openBlock(),t.createElementBlock("div",{key:0,class:"seal-list__item--attch",onClick:h=>e.viewList(C.metaAnnexList)},dc,8,cc)):t.createCommentVNode("",!0)])]))),128)):(t.openBlock(),t.createElementBlock("div",rc,"\u6682\u65E0\u6570\u636E"))])):t.createCommentVNode("",!0),k.type=="slot"?t.renderSlot(e.$slots,k.slot,{key:3},void 0,!0):t.createCommentVNode("",!0)],2)),[[t.vShow,e.active===k.key]])),128))]),t.createVNode(f,{visible:e.visible,"onUpdate:visible":n[1]||(n[1]=k=>e.visible=k),ref:"TopPopup",titleText:"\u9644\u4EF6\u5217\u8868",isDrawer:"",isIndex:5},{default:t.withCtx(()=>[t.createVNode(m,{inList:e.inList},null,8,["inList"])]),_:1},8,["visible"]),t.createVNode(f,{visible:e.visibleTack,"onUpdate:visible":n[2]||(n[2]=k=>e.visibleTack=k),ref:"TopPopups",titleText:"\u6D41\u7A0B\u4FE1\u606F",isDrawer:"",width:"60vw"},{default:t.withCtx(()=>[e.trackListss&&e.trackListss.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.trackListss,(k,C)=>(t.openBlock(),t.createElementBlock("div",{key:k.id,class:"seal-list__item"},[t.createElementVNode("div",null,[t.createElementVNode("div",pc,[hc,t.createElementVNode("span",mc,t.toDisplayString(k.no),1)]),t.createElementVNode("div",uc,[gc,t.createElementVNode("span",fc,t.toDisplayString(k.name)+t.toDisplayString(k.type!=="\u666E\u901A"?`[${k.type}]`:""),1)]),t.createElementVNode("div",Ac,[kc,t.createElementVNode("span",yc,t.toDisplayString(k.assigneeNames),1)])])]))),128)):t.createCommentVNode("",!0)]),_:1},8,["visible"])])}const Ec=U(Gl,[["render",Cc],["__scopeId","data-v-3c441f41"]]),Bc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR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GwQMqV3AlnCFggGVq2LUfAAilXciecIWCBZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcIWCAZWrYtR8ACKVdyJ5whYIFkaNm2HAELpFzJnXCGgAWSoWXbcgQskHIld8IZAhZIhpZtyxGwQMqV3AlnCFggGVq2LUfAAilXciecIWCBZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcIWCAZWrYtR8ACKVdyJ5whYIFkaNm2HAELpFzJnXCGgAWSoWXbcgQskHIld8IZAhZIhpZtyxGwQMqV3AlnCFggGVq2LUfAAilXciecIWCBZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcI/B+xx2bn1cBs4wAAAABJRU5ErkJggg==",ws="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADR9JREFUeF7tnXvIbkUVxp9VVtrF0hQMM8MgoahMu3cqzVI6x9KkC9lRhKAoxS5aWXZHIqMrWIQWohlZlkWpJ092v1BEEFlkQlAQBVEmRRcqW7E68x1ev/N977f3emdmz+z17H/fWWtmPWt+7+zL7LUFPKgAFdhUAaE2VIAKbK4AAeHsoAJLFCAgnB5UgIBwDlABnwJcQXy60SqIAgQkSKIZpk8BAuLTjVZBFCAgQRLNMH0KEBCfbrQKogABCZJohulTgID4dKNVEAUISJBEM0yfAgTEpxutgihAQIIkmmH6FCAgPt1oFUQBAhIk0QzTpwAB8elGqyAKEJAgiWaYPgU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CxL6XYe+4zxkSwtEQWl0BEgASwtEQHDaU7gCZMSSEozE4ugVkhpAQjgbh6BqQGUFCOBqFo3tAZgAJ4WgYjlkA0jEkhKNxOGYDSIeQEI4O4JgVIB1BQjg6gWN2gHQACeHoCI5ZAtIwJISjMzhmC0iDkHwBwAu5t6o/Qrp8kj5UZlVtYe+WwfGCuX3ffWgOem83a0AaWEkIR+eEzB6QCSEhHJ3DMetrkPW5qXy6RThmAEcoQCquJIRjJnCEA6QCJIRjRnCEBKQgJIRjZnCEBaQAJIRjhnCEBmQBkt0AnrJCfgnHCuK1bhriNu+yJKSvRVm1FA8khKP1Gb7i+MIDklaS/QGMhYRwrDj5ejAnIAtZUtUr7FNsAxJ3mYi8YkA7NulcAQKyLoHps85v3+SU63cAzl/ly7idz5dwwycgm6RcVY8A8FQARwK4DcAvROTWcDMkeMAEJPgEYPjLFSAgnCFUYIkCBITTgwoQEM4BKuBTgCuITzdaBVGAgARJNMP0KUBAfLrRKogCBCRIohmmTwEC4tONVkEUICBBEs0wfQoQEJ9utAqiAAEJkmiG6VOAgPh0o1UQBQhIkEQzTJ8CBMSnG62CKEBAgiSaYfoUICA+3WgVRAECEiTRDNOnAAHx6UarIAoQkCCJZpg+BQiITzdaBVGAgARJNMP0KUBAfLrRKogCBCRIohmmTwEC4tONVkEUICBBEs0wfQoQEJ9utAqiAAEJkmiG6VOAgPh0o1UQBQhIkEQzTJ8CBMSnG62CKEBAgiSaYfoUICA+3WgVRAECEiTRDNOnAAHx6UarIAoQkCCJZpg+BQiITzdaBVGAgARJNMP0KUBAfLrRKogCBCRIohmmTwEC4tONVkEUICBBEs0wfQoQEJ9utAqiAAEJkmiG6VPgf/UDKvbyCmTdAAAAAElFTkSuQmCC",Nc=re({name:"TopTips",props:{text:{default:"",type:String},type:{default:"default",type:String},statusTips:{default:!1,type:Boolean},domNode:{default:"",type:String},visible:{default:!1,type:Boolean}},data(){return{show:!1,status:"",timeOut:null}},computed:{error(){return Bc},loading(){return Ic},success(){return ws}},watch:{type:{handler(e,n){if(e=="loading"){clearInterval(this.timeOut);return}else this.timeOut=setTimeout(()=>{this.show=!1},1500)},immediate:!0,deep:!0}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el)})},methods:{handleOpen(){this.show||(this.show=!0,this.type=="loading"?clearInterval(this.timeOut):this.timeOut=setTimeout(()=>{this.show=!1},1500))},handleClose(){this.show=!1}}}),nA="",bc={key:0},Tc={key:0,class:"top-tipss-text"},wc={class:"top-tipss-status"},vc={key:0,class:"top-tipss-loadinig"},Vc=["src"],Sc={key:0,class:"top-tipss-status-text"},Dc={key:1,class:"top-tipss-success"},Qc=["src"],Oc={key:0,class:"top-tipss-status-text"},Mc={key:2,class:"top-tipss-error"},xc=["src"],Fc={key:0,class:"top-tipss-status-text"};function Pc(e,n,o,i,l,d){return e.show?(t.openBlock(),t.createElementBlock("div",bc,[e.statusTips?(t.openBlock(),t.createElementBlock("div",{key:1,class:"top-tipss",style:t.normalizeStyle(e.show?"visibility: visible; opacity: 1;":"visibility: hidden; opacity: 0;")},[t.createElementVNode("div",wc,[e.type=="loading"?(t.openBlock(),t.createElementBlock("div",vc,[t.createElementVNode("img",{src:e.loading},null,8,Vc),e.text?(t.openBlock(),t.createElementBlock("div",Sc,t.toDisplayString(e.text),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.type=="success"?(t.openBlock(),t.createElementBlock("div",Dc,[t.createElementVNode("img",{src:e.success},null,8,Qc),e.text?(t.openBlock(),t.createElementBlock("div",Oc,t.toDisplayString(e.text),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.type=="error"?(t.openBlock(),t.createElementBlock("div",Mc,[t.createElementVNode("img",{src:e.error},null,8,xc),e.text?(t.openBlock(),t.createElementBlock("div",Fc,t.toDisplayString(e.text),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])],4)):(t.openBlock(),t.createElementBlock("div",{key:0,class:"top-tipss",style:t.normalizeStyle(e.show?"visibility: visible; opacity: 1;":"visibility: hidden; opacity: 0;")},[e.text?(t.openBlock(),t.createElementBlock("div",Tc,t.toDisplayString(e.text),1)):t.createCommentVNode("",!0)],4)),t.createElementVNode("div",{class:"top-tipss-mask",style:t.normalizeStyle(e.show&&e.statusTips?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;")},null,4)])):t.createCommentVNode("",!0)}const pe=U(Nc,[["render",Pc],["__scopeId","data-v-239e459d"]]),Lc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACfVJREFUeF7tnT2S1FYYRaUCYgJ2wArYgRMIYQPGMVUQt8bDAoDRxFBFbLwBE5qEHbACdkBAbCi5HjxgGKbn6b7Wz9O7h9B8avV3rk7J6r7VtA1/IACBvQRa2EAAAvsJIAhXBwQuIYAgXB4QQBCuAQjkEeAOkseNo0wIIIhJ0KyZRwBB8rhxlAkBBDEJmjXzCCBIHjeOMiGAICZBs2YeAQTJ48ZRJgQQxCRo1swjgCB53DjKhACCmATNmnkEECSPG0eZEEAQk6BZM48AguRx4ygTAghiEjRr5hFAkDxuHGVCAEFMgmbNPAIIkseNo0wIIIhJ0KyZRwBB8rhxlAkBBDEJmjXzCCBIHjeOMiGAICZBs2YeAQTJ48ZRJgQQxCRo1swjgCB53DjKhACCmATNmnkEECSPG0eZEEAQk6BZM48AguRx4ygTAghiEjRr5hFAkDxuHGVCAEFMgmbNPAIIkseNo0wIIIhJ0KyZRwBB8rhxlAkBBDEJmjXzCCBIHjeOMiGAICZBs2YeAQTJ48ZRJgQQxCRo1swjgCB53DjKhACCmATNmnkEECSPG0eZEPhFkL7vnzZN86fJ/qwJgbMEnnVdd3z2P1x4Bzk9PX0+DMND2EHAhUDbti92u92j8/vu/V+svu//aprmvgsg9r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I2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBL4Csq/cvbKQGitAAAAAElFTkSuQmCC",Jc=re({name:"TopDownSelect",props:{option:{type:Array,default:[]},optionStyle:{type:String,default:""},maskShow:{type:Boolean,default:!0},border:{type:Boolean,default:!1},defaultValue:{type:String,default:""},placeholder:{type:String,default:"\u8BF7\u9009\u62E9"},isSlots:{type:Boolean,default:!1},disibled:{type:Boolean,default:!1}},data(){return{value:{id:"",text:""},lists:[],expand:!1,active:"",activeItem:{}}},watch:{option:{handler(e,n){e&&e.length&&(this.lists=e,console.log("select::::",e,this.lists))},immediate:!0,deep:!0},defaultValue:{handler(e,n){this.active=e;let o=this.lists.filter((i,l)=>i.id==e);this.activeItem=o[0],this.$emit("change",this.activeItem)}}},computed:{arrow(){return Lc},check(){return Uc}},methods:{handleExpand(){this.disibled||(this.expand?this.expand=!1:this.expand=!0)},handleClick(e,n){this.active!=e.id&&(this.active=e.id,this.activeItem=e,this.expand=!1,this.$emit("change",this.activeItem,this.lists))},handleClose(){this.expand=!1}}}),oA="",Gc={class:"top-select"},Rc={key:0,style:{position:"relative","z-index":"80"}},jc=["src"],Kc=["onClick"],Yc=["src"];function Hc(e,n,o,i,l,d){return t.openBlock(),t.createElementBlock("div",Gc,[e.isSlots?(t.openBlock(),t.createElementBlock("div",Rc,[t.renderSlot(e.$slots,"header",{data:{...e.activeItem,placeholder:e.placeholder}},void 0,!0)])):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["top-select-menu",[e.border&&"top-select-menu-border",!e.activeItem.name&&"top-select-menu-placeholder"]]),onClick:n[0]||(n[0]=(...m)=>e.handleExpand&&e.handleExpand(...m))},[t.createTextVNode(t.toDisplayString(e.activeItem.name?e.activeItem.name:e.placeholder)+" ",1),e.disibled?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(["top-select-menu--arrow",[e.expand?"arrow-active":""]]),src:e.arrow},null,10,jc))],2)),e.maskShow?(t.openBlock(),t.createElementBlock("div",{key:2,class:"top-select-option-mask",style:t.normalizeStyle(e.expand?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;")},null,4)):t.createCommentVNode("",!0),e.lists&&e.lists.length?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(["top-select-option",[e.border&&"top-select-option-border"]]),style:t.normalizeStyle(`${e.expand?"transform: translateY(2%);visibility: visible; opacity: 1;":"transform: translateY(-50%);visibility: hidden; opacity: 0"};${e.optionStyle?e.optionStyle:""}`)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.lists,(m,f)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["option-items",[e.active==m.id?"option-items-active":""]]),key:m.id,onClick:k=>e.handleClick(m,f)},[t.createTextVNode(t.toDisplayString(m.name)+" ",1),e.active==m.id?(t.openBlock(),t.createElementBlock("img",{key:0,class:"option-items-check",src:e.check},null,8,Yc)):t.createCommentVNode("",!0)],10,Kc))),128))],6)):t.createCommentVNode("",!0)])}const lo=U(Jc,[["render",Hc],["__scopeId","data-v-67940d2e"]]);var he={exports:{}};(function(e,n){(function(o,i){i(n,si.default)})(Ot,function(o,i){function l(s,a){const c=Object.create(null),r=s.split(",");for(let p=0;p<r.length;p++)c[r[p]]=!0;return a?p=>!!c[p.toLowerCase()]:p=>!!c[p]}function d(s){if(v(s)){const a={};for(let c=0;c<s.length;c++){const r=s[c],p=ue(r)?C(r):d(r);if(p)for(const g in p)a[g]=p[g]}return a}else if(ue(s)||Z(s))return s}const m=/;(?![^(]*\))/g,f=/:([^]+)/,k=/\/\*.*?\*\//gs;function C(s){const a={};return s.replace(k,"").split(m).forEach(c=>{if(c){const r=c.split(f);r.length>1&&(a[r[0].trim()]=r[1].trim())}}),a}function u(s){let a="";if(ue(s))a=s;else if(v(s))for(let c=0;c<s.length;c++){const r=u(s[c]);r&&(a+=r+" ")}else if(Z(s))for(const c in s)s[c]&&(a+=c+" ");return a.trim()}const h=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const E=()=>{},w=/^on[^a-z]/,S=s=>w.test(s),Q=Object.assign,me=(s,a)=>{const c=s.indexOf(a);c>-1&&s.splice(c,1)},G=Object.prototype.hasOwnProperty,Je=(s,a)=>G.call(s,a),v=Array.isArray,be=s=>xt(s)==="[object Map]",Ss=s=>xt(s)==="[object Set]",R=s=>typeof s=="function",ue=s=>typeof s=="string",Ds=s=>typeof s=="symbol",Z=s=>s!==null&&typeof s=="object",bm=s=>Z(s)&&R(s.then)&&R(s.catch),Tm=Object.prototype.toString,xt=s=>Tm.call(s),po=s=>xt(s).slice(8,-1),wm=s=>xt(s)==="[object Object]",Qs=s=>ue(s)&&s!=="NaN"&&s[0]!=="-"&&""+parseInt(s,10)===s,vm=(s=>{const a=Object.create(null);return c=>a[c]||(a[c]=s(c))})(s=>s.charAt(0).toUpperCase()+s.slice(1)),Ft=(s,a)=>!Object.is(s,a),Vm=(s,a,c)=>{Object.defineProperty(s,a,{configurable:!0,enumerable:!1,value:c})};let ho;const Sm=()=>ho||(ho=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Ot<"u"?Ot:{});function mo(s,...a){console.warn(`[Vue warn] ${s}`,...a)}let uo;function Dm(s,a=uo){a&&a.active&&a.effects.push(s)}function Qm(){return uo}const Os=s=>{const a=new Set(s);return a.w=0,a.n=0,a},go=s=>(s.w&Te)>0,fo=s=>(s.n&Te)>0,Om=({deps:s})=>{if(s.length)for(let a=0;a<s.length;a++)s[a].w|=Te},Mm=s=>{const{deps:a}=s;if(a.length){let c=0;for(let r=0;r<a.length;r++){const p=a[r];go(p)&&!fo(p)?p.delete(s):a[c++]=p,p.w&=~Te,p.n&=~Te}a.length=c}},Ms=new WeakMap;let mt=0,Te=1;const xs=30;let X;const Ge=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),Fs=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");class xm{constructor(a,c=null,r){this.fn=a,this.scheduler=c,this.active=!0,this.deps=[],this.parent=void 0,Dm(this,r)}run(){if(!this.active)return this.fn();let a=X,c=Re;for(;a;){if(a===this)return;a=a.parent}try{return this.parent=X,X=this,Re=!0,Te=1<<++mt,mt<=xs?Om(this):Ao(this),this.fn()}finally{mt<=xs&&Mm(this),Te=1<<--mt,X=this.parent,Re=c,this.parent=void 0,this.deferStop&&this.stop()}}stop(){X===this?this.deferStop=!0:this.active&&(Ao(this),this.onStop&&this.onStop(),this.active=!1)}}function Ao(s){const{deps:a}=s;if(a.length){for(let c=0;c<a.length;c++)a[c].delete(s);a.length=0}}let Re=!0;const ko=[];function yo(){ko.push(Re),Re=!1}function Co(){const s=ko.pop();Re=s===void 0?!0:s}function te(s,a,c){if(Re&&X){let r=Ms.get(s);r||Ms.set(s,r=new Map);let p=r.get(c);p||r.set(c,p=Os());const g=process.env.NODE_ENV!=="production"?{effect:X,target:s,type:a,key:c}:void 0;Fm(p,g)}}function Fm(s,a){let c=!1;mt<=xs?fo(s)||(s.n|=Te,c=!go(s)):c=!s.has(X),c&&(s.add(X),X.deps.push(s),process.env.NODE_ENV!=="production"&&X.onTrack&&X.onTrack(Object.assign({effect:X},a)))}function we(s,a,c,r,p,g){const A=Ms.get(s);if(!A)return;let B=[];if(a==="clear")B=[...A.values()];else if(c==="length"&&v(s)){const y=Number(r);A.forEach((T,I)=>{(I==="length"||I>=y)&&B.push(T)})}else switch(c!==void 0&&B.push(A.get(c)),a){case"add":v(s)?Qs(c)&&B.push(A.get("length")):(B.push(A.get(Ge)),be(s)&&B.push(A.get(Fs)));break;case"delete":v(s)||(B.push(A.get(Ge)),be(s)&&B.push(A.get(Fs)));break;case"set":be(s)&&B.push(A.get(Ge));break}const N=process.env.NODE_ENV!=="production"?{target:s,type:a,key:c,newValue:r,oldValue:p,oldTarget:g}:void 0;if(B.length===1)B[0]&&(process.env.NODE_ENV!=="production"?Pt(B[0],N):Pt(B[0]));else{const y=[];for(const T of B)T&&y.push(...T);process.env.NODE_ENV!=="production"?Pt(Os(y),N):Pt(Os(y))}}function Pt(s,a){const c=v(s)?s:[...s];for(const r of c)r.computed&&Eo(r,a);for(const r of c)r.computed||Eo(r,a)}function Eo(s,a){(s!==X||s.allowRecurse)&&(process.env.NODE_ENV!=="production"&&s.onTrigger&&s.onTrigger(Q({effect:s},a)),s.scheduler?s.scheduler():s.run())}const Pm=l("__proto__,__v_isRef,__isVue"),Bo=new Set(Object.getOwnPropertyNames(Symbol).filter(s=>s!=="arguments"&&s!=="caller").map(s=>Symbol[s]).filter(Ds)),Lm=Ps(),Um=Ps(!0),Jm=Ps(!0,!0),Io=Gm();function Gm(){const s={};return["includes","indexOf","lastIndexOf"].forEach(a=>{s[a]=function(...c){const r=O(this);for(let g=0,A=this.length;g<A;g++)te(r,"get",g+"");const p=r[a](...c);return p===-1||p===!1?r[a](...c.map(O)):p}}),["push","pop","shift","unshift","splice"].forEach(a=>{s[a]=function(...c){yo();const r=O(this)[a].apply(this,c);return Co(),r}}),s}function Rm(s){const a=O(this);return te(a,"has",s),a.hasOwnProperty(s)}function Ps(s=!1,a=!1){return function(c,r,p){if(r==="__v_isReactive")return!s;if(r==="__v_isReadonly")return s;if(r==="__v_isShallow")return a;if(r==="__v_raw"&&p===(s?a?Qo:Do:a?ou:So).get(c))return c;const g=v(c);if(!s){if(g&&Je(Io,r))return Reflect.get(Io,r,p);if(r==="hasOwnProperty")return Rm}const A=Reflect.get(c,r,p);return(Ds(r)?Bo.has(r):Pm(r))||(s||te(c,"get",r),a)?A:_(A)?g&&Qs(r)?A:A.value:Z(A)?s?Mo(A):Oo(A):A}}const jm=Km();function Km(s=!1){return function(a,c,r,p){let g=a[c];if(Ke(g)&&_(g)&&!_(r))return!1;if(!s&&(!Gs(r)&&!Ke(r)&&(g=O(g),r=O(r)),!v(a)&&_(g)&&!_(r)))return g.value=r,!0;const A=v(a)&&Qs(c)?Number(c)<a.length:Je(a,c),B=Reflect.set(a,c,r,p);return a===O(p)&&(A?Ft(r,g)&&we(a,"set",c,r,g):we(a,"add",c,r)),B}}function Ym(s,a){const c=Je(s,a),r=s[a],p=Reflect.deleteProperty(s,a);return p&&c&&we(s,"delete",a,void 0,r),p}function Hm(s,a){const c=Reflect.has(s,a);return(!Ds(a)||!Bo.has(a))&&te(s,"has",a),c}function Wm(s){return te(s,"iterate",v(s)?"length":Ge),Reflect.ownKeys(s)}const zm={get:Lm,set:jm,deleteProperty:Ym,has:Hm,ownKeys:Wm},No={get:Um,set(s,a){return process.env.NODE_ENV!=="production"&&mo(`Set operation on key "${String(a)}" failed: target is readonly.`,s),!0},deleteProperty(s,a){return process.env.NODE_ENV!=="production"&&mo(`Delete operation on key "${String(a)}" failed: target is readonly.`,s),!0}},Zm=Q({},No,{get:Jm}),Ls=s=>s,Lt=s=>Reflect.getPrototypeOf(s);function Ut(s,a,c=!1,r=!1){s=s.__v_raw;const p=O(s),g=O(a);c||(a!==g&&te(p,"get",a),te(p,"get",g));const{has:A}=Lt(p),B=r?Ls:c?Ks:js;if(A.call(p,a))return B(s.get(a));if(A.call(p,g))return B(s.get(g));s!==p&&s.get(a)}function Jt(s,a=!1){const c=this.__v_raw,r=O(c),p=O(s);return a||(s!==p&&te(r,"has",s),te(r,"has",p)),s===p?c.has(s):c.has(s)||c.has(p)}function Gt(s,a=!1){return s=s.__v_raw,!a&&te(O(s),"iterate",Ge),Reflect.get(s,"size",s)}function bo(s){s=O(s);const a=O(this);return Lt(a).has.call(a,s)||(a.add(s),we(a,"add",s,s)),this}function To(s,a){a=O(a);const c=O(this),{has:r,get:p}=Lt(c);let g=r.call(c,s);g?process.env.NODE_ENV!=="production"&&Vo(c,r,s):(s=O(s),g=r.call(c,s));const A=p.call(c,s);return c.set(s,a),g?Ft(a,A)&&we(c,"set",s,a,A):we(c,"add",s,a),this}function wo(s){const a=O(this),{has:c,get:r}=Lt(a);let p=c.call(a,s);p?process.env.NODE_ENV!=="production"&&Vo(a,c,s):(s=O(s),p=c.call(a,s));const g=r?r.call(a,s):void 0,A=a.delete(s);return p&&we(a,"delete",s,void 0,g),A}function vo(){const s=O(this),a=s.size!==0,c=process.env.NODE_ENV!=="production"?be(s)?new Map(s):new Set(s):void 0,r=s.clear();return a&&we(s,"clear",void 0,void 0,c),r}function Rt(s,a){return function(c,r){const p=this,g=p.__v_raw,A=O(g),B=a?Ls:s?Ks:js;return!s&&te(A,"iterate",Ge),g.forEach((N,y)=>c.call(r,B(N),B(y),p))}}function jt(s,a,c){return function(...r){const p=this.__v_raw,g=O(p),A=be(g),B=s==="entries"||s===Symbol.iterator&&A,N=s==="keys"&&A,y=p[s](...r),T=c?Ls:a?Ks:js;return!a&&te(g,"iterate",N?Fs:Ge),{next(){const{value:I,done:V}=y.next();return V?{value:I,done:V}:{value:B?[T(I[0]),T(I[1])]:T(I),done:V}},[Symbol.iterator](){return this}}}}function ve(s){return function(...a){if(process.env.NODE_ENV!=="production"){const c=a[0]?`on key "${a[0]}" `:"";console.warn(`${vm(s)} operation ${c}failed: target is readonly.`,O(this))}return s==="delete"?!1:this}}function Xm(){const s={get(p){return Ut(this,p)},get size(){return Gt(this)},has:Jt,add:bo,set:To,delete:wo,clear:vo,forEach:Rt(!1,!1)},a={get(p){return Ut(this,p,!1,!0)},get size(){return Gt(this)},has:Jt,add:bo,set:To,delete:wo,clear:vo,forEach:Rt(!1,!0)},c={get(p){return Ut(this,p,!0)},get size(){return Gt(this,!0)},has(p){return Jt.call(this,p,!0)},add:ve("add"),set:ve("set"),delete:ve("delete"),clear:ve("clear"),forEach:Rt(!0,!1)},r={get(p){return Ut(this,p,!0,!0)},get size(){return Gt(this,!0)},has(p){return Jt.call(this,p,!0)},add:ve("add"),set:ve("set"),delete:ve("delete"),clear:ve("clear"),forEach:Rt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(p=>{s[p]=jt(p,!1,!1),c[p]=jt(p,!0,!1),a[p]=jt(p,!1,!0),r[p]=jt(p,!0,!0)}),[s,c,a,r]}const[_m,qm,$m,eu]=Xm();function Us(s,a){const c=a?s?eu:$m:s?qm:_m;return(r,p,g)=>p==="__v_isReactive"?!s:p==="__v_isReadonly"?s:p==="__v_raw"?r:Reflect.get(Je(c,p)&&p in r?c:r,p,g)}const tu={get:Us(!1,!1)},su={get:Us(!0,!1)},nu={get:Us(!0,!0)};function Vo(s,a,c){const r=O(c);if(r!==c&&a.call(s,r)){const p=po(s);console.warn(`Reactive ${p} contains both the raw and reactive versions of the same object${p==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const So=new WeakMap,ou=new WeakMap,Do=new WeakMap,Qo=new WeakMap;function iu(s){switch(s){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function au(s){return s.__v_skip||!Object.isExtensible(s)?0:iu(po(s))}function Oo(s){return Ke(s)?s:Js(s,!1,zm,tu,So)}function Mo(s){return Js(s,!0,No,su,Do)}function Kt(s){return Js(s,!0,Zm,nu,Qo)}function Js(s,a,c,r,p){if(!Z(s))return process.env.NODE_ENV!=="production"&&console.warn(`value cannot be made reactive: ${String(s)}`),s;if(s.__v_raw&&!(a&&s.__v_isReactive))return s;const g=p.get(s);if(g)return g;const A=au(s);if(A===0)return s;const B=new Proxy(s,A===2?r:c);return p.set(s,B),B}function je(s){return Ke(s)?je(s.__v_raw):!!(s&&s.__v_isReactive)}function Ke(s){return!!(s&&s.__v_isReadonly)}function Gs(s){return!!(s&&s.__v_isShallow)}function Rs(s){return je(s)||Ke(s)}function O(s){const a=s&&s.__v_raw;return a?O(a):s}function lu(s){return Vm(s,"__v_skip",!0),s}const js=s=>Z(s)?Oo(s):s,Ks=s=>Z(s)?Mo(s):s;function _(s){return!!(s&&s.__v_isRef===!0)}function cu(s){return _(s)?s.value:s}const du={get:(s,a,c)=>cu(Reflect.get(s,a,c)),set:(s,a,c,r)=>{const p=s[a];return _(p)&&!_(c)?(p.value=c,!0):Reflect.set(s,a,c,r)}};function ru(s){return je(s)?s:new Proxy(s,du)}const Ye=[];function pu(s){Ye.push(s)}function hu(){Ye.pop()}function ge(s,...a){if(process.env.NODE_ENV==="production")return;yo();const c=Ye.length?Ye[Ye.length-1].component:null,r=c&&c.appContext.config.warnHandler,p=mu();if(r)He(r,c,11,[s+a.join(""),c&&c.proxy,p.map(({vnode:g})=>`at <${ei(c,g.type)}>`).join(`
7
7
  `),p]);else{const g=[`[Vue warn]: ${s}`,...a];p.length&&g.push(`
8
8
  `,...uu(p)),console.warn(...g)}Co()}function mu(){let s=Ye[Ye.length-1];if(!s)return[];const a=[];for(;s;){const c=a[0];c&&c.vnode===s?c.recurseCount++:a.push({vnode:s,recurseCount:0});const r=s.component&&s.component.parent;s=r&&r.vnode}return a}function uu(s){const a=[];return s.forEach((c,r)=>{a.push(...r===0?[]:[`
@@ -39,4 +39,4 @@ Component that was made reactive: `,s)),Ru(s,a,c,r,p,A,g,!0)}function Ku(s){retu
39
39
  left:0;
40
40
  right:0;
41
41
  margin: 0 auto;
42
- `,document.body.appendChild(this.mainContainer)}message(a={}){let c=sessionStorage.getItem(this.sessionStorageName),r=c?JSON.parse(c):null;if(a.againBtn&&a.content&&r&&Array.isArray(r)&&r.includes(a.content))return;const p=ng({type:a.type,content:a.content,duration:a.duration,delay:a.delay,againBtn:a.againBtn,minWidth:this.minWidth,maxWidth:this.maxWidth},this.mainContainer);this.mainContainer.appendChild(p.els),tn(this.mainContainer),og(p,this)}beforeDestory(){this.mainContainer&&this.mainContainer.remove?this.mainContainer.remove():document.body.removeChild(this.mainContainer),this.mainContainer=null}}const ig=zt({name:"checked",props:{},data(){return{dialogVisible:!1,jsonData:[]}},watch:{visible:{deep:!0,immediate:!0,handler:function(s,a){if(!s)return!1;this.$nextTick(()=>{})}}},computed:{checkedNumber(){const s=this.jsonData.filter(g=>g.type==1).length,a=this.jsonData.filter(g=>g.type==2).length,c=this.jsonData.filter(g=>g.type==3||g.type==6).length,r=this.jsonData.filter(g=>g.type==5).length;let p=[];return s>0&&p.push(`\u7EC4\u7EC7(${s})`),r>0&&p.push(`\u7FA4\u7EC4(${r})`),a>0&&p.push(`\u90E8\u95E8(${a})`),c>0&&p.push(`\u4EBA\u5458(${c})`),b(p)?"":"\u5DF2\u9009\u62E9"+p.join("\uFF0C")},companyJson(){return this.jsonData.filter(s=>s.type==1||s.type==5)},deptJson(){return this.jsonData.filter(s=>s.type==2)},userJson(){return this.jsonData.filter(s=>s.type==3||s.type==6)}},mounted(){},methods:{init(s,a){this.dialogVisible=s,this.jsonData=a},handleRemove(s){this.jsonData=this.jsonData.filter(a=>a.uniqueId!==s.uniqueId||a.isNoDelete),this.$emit("callback",this.jsonData)},handleSlotUser(s){return{id:s.id,name:s.name,uid:s.uid}},isBool(s){return b(s)},handleClose(){this.init(!1,this.jsonData)}}}),$t=(s,a)=>{const c=s.__vccOpts||s;for(const[r,p]of a)c[r]=p;return c},ag={key:0,class:"checked-main"},lg={class:"checked-content"},cg={class:"checked-title"},dg={class:"checked-name"},rg={class:"checked-section"},pg={class:"checked-depart"},hg={class:"checked-departItem-content"},mg={class:"name"},ug=["onClick"],gg={class:"checked-departItem-content"},fg={class:"name"},Ag={key:0},kg={class:"content"},yg=["onClick"],Cg={class:"checked-user"},Eg={class:"checked-userItem-icon"},Bg={key:0},Ig=["src"],Ng={class:"checked-userItem-content"},bg={class:"checked-userItem-left"},Tg={class:"checked-userItem-name"},wg={class:"checked-userItem-phone"},vg={key:0,class:"checked-userItem-txt"},Vg={class:"deper-person-slot"},Sg=["onClick"];function Dg(s,a,c,r,p,g){return s.dialogVisible?(i.openBlock(),i.createElementBlock("main",ag,[i.createElementVNode("div",{onClick:a[0]||(a[0]=(...A)=>s.handleClose&&s.handleClose(...A)),class:"checked-mask"}),i.createElementVNode("div",lg,[i.createElementVNode("div",cg,[i.createElementVNode("div",dg,i.toDisplayString(s.checkedNumber),1),i.createElementVNode("div",{onClick:a[1]||(a[1]=(...A)=>s.handleClose&&s.handleClose(...A)),class:"checked-btn"},"\u5173\u95ED")]),i.createElementVNode("section",rg,[i.createElementVNode("div",pg,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.companyJson,A=>(i.openBlock(),i.createElementBlock("div",{key:A.uniqueId,class:"checked-depart-item"},[i.createElementVNode("div",hg,[i.createElementVNode("div",mg,[i.createElementVNode("span",null,i.toDisplayString(A.name),1)])]),A.isNoDelete?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",{key:0,onClick:B=>s.handleRemove(A),class:"checked-remove"},"\u79FB\u9664",8,ug))]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.deptJson,A=>(i.openBlock(),i.createElementBlock("div",{key:A.uniqueId,class:"checked-depart-item"},[i.createElementVNode("div",gg,[i.createElementVNode("div",fg,[i.createElementVNode("span",{class:i.normalizeClass({width:A.orgRecordsType==4})},i.toDisplayString(A.name),3),A.orgRecordsType==4?(i.openBlock(),i.createElementBlock("label",Ag,"\u5305\u542B\u5B50\u7EA7")):i.createCommentVNode("",!0)]),i.createElementVNode("div",kg,i.toDisplayString(A.ancestorNames),1)]),A.isNoDelete?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",{key:0,onClick:B=>s.handleRemove(A),class:"checked-remove"},"\u79FB\u9664",8,yg))]))),128))]),i.createElementVNode("div",Cg,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.userJson,A=>(i.openBlock(),i.createElementBlock("div",{key:A.uniqueId,class:"checked-user-item"},[i.createElementVNode("div",Eg,[A.avatar.length<1?(i.openBlock(),i.createElementBlock("span",Bg,i.toDisplayString(A.iconName),1)):(i.openBlock(),i.createElementBlock("img",{key:1,src:A.avatar},null,8,Ig))]),i.createElementVNode("div",Ng,[i.createElementVNode("div",bg,[i.createElementVNode("div",Tg,i.toDisplayString(A.name),1),i.createElementVNode("div",wg,i.toDisplayString(A.phone),1),s.isBool(A.ancestorNamesList)?(i.openBlock(),i.createElementBlock("div",vg,i.toDisplayString(A.ancestorNames),1)):(i.openBlock(!0),i.createElementBlock(i.Fragment,{key:1},i.renderList(A.ancestorNamesList,(B,N)=>(i.openBlock(),i.createElementBlock("div",{key:N,class:"checked-userItem-txt"},i.toDisplayString(B),1))),128)),i.createElementVNode("div",Vg,[i.renderSlot(s.$slots,"user",{item:s.handleSlotUser(A)},void 0,!0)])]),A.isNoDelete?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",{key:0,onClick:B=>s.handleRemove(A),class:"checked-remove"},"\u79FB\u9664",8,Sg))])]))),128))])])])])):i.createCommentVNode("",!0)}const Qg=$t(ig,[["render",Dg],["__scopeId","data-v-0472994d"]]),Og=zt({name:"dcSwitch",props:{modelValue:{type:Boolean,default:!1},name:{type:String,default:""},activeColor:{type:String,default:"#409EFF"},inactiveColor:{type:String,default:"#c9c9c9"}},watch:{modelValue:{deep:!0,immediate:!0,handler:function(s,a){this.setColor()}}},computed:{contentCss(){let s=this.width>30?"px":"rem";return{width:this.width+s,height:this.height+s}}},methods:{switchClick(){this.$emit("update:modelValue",!this.modelValue),this.$nextTick(()=>{this.setColor()})},setColor(){this.$nextTick(()=>{if(this.activeColor||this.inactiveColor){let s=this.modelValue?this.activeColor:this.inactiveColor;this.$refs.core.style.borderColor=s,this.$refs.core.style.backgroundColor=s}this.$refs.input.checked=this.modelValue})}}}),Mg=s=>(i.pushScopeId("data-v-ca60242b"),s=s(),i.popScopeId(),s),xg={class:"x_switch_core",ref:"core"},Fg=[Mg(()=>i.createElementVNode("span",{class:"x_switch_btn"},null,-1))],Pg=["name"];function Lg(s,a,c,r,p,g){return i.openBlock(),i.createElementBlock("div",{onClick:a[0]||(a[0]=(...A)=>s.switchClick&&s.switchClick(...A)),class:i.normalizeClass(["x_switch",{"x-switch-checked":s.modelValue}])},[i.createElementVNode("span",xg,Fg,512),i.createElementVNode("input",{type:"checkbox",class:"x-switch-input",name:s.name,ref:"input"},null,8,Pg)],2)}const Ug=$t(Og,[["render",Lg],["__scopeId","data-v-ca60242b"]]),Jg=zt({name:"dcLoading"}),Gg={role:"dialog",tabindex:"0",class:"dc-loading"},Rg=[i.createStaticVNode('<div class="dc-loading-section" data-v-789cc72a><div class="dc-loading-spinner" aria-live="polite" aria-busy="true" data-v-789cc72a><span data-v-789cc72a><i class="dc-loading-line dc-loading-line-1" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-2" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-3" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-4" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-5" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-6" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-7" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-8" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-9" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-10" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-11" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-12" data-v-789cc72a></i></span></div><div class="dc-loading-text" data-v-789cc72a>\u52A0\u8F7D\u4E2D...</div></div>',1)];function jg(s,a,c,r,p,g){return i.openBlock(),i.createElementBlock("div",Gg,Rg)}const Kg=zt({components:{checked:Qg,dcSwitch:Ug,dcLoading:$t(Jg,[["render",jg],["__scopeId","data-v-789cc72a"]])},name:"departPerson",props:{visible:{type:Boolean,default:!1},isTitle:{type:Boolean,default:!0},source:{type:String,default:"0"},type:{type:String,default:"0"},request:{type:Function,default:()=>({get:()=>{},post:()=>{}})},businessId:{type:String,default:""},orgType:{type:Array,default:()=>[0]},codeType:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!1},deptCode:{type:String,default:""},deptCodeArray:{type:Array,default:()=>[]},itemCode:{type:String,default:""},subjectName:{type:String,default:""},checkedArray:{type:Array,default:()=>[]},maxMultiple:{type:Number,default:0},businessCallack:{type:Function,default:()=>new Promise((s,a)=>{s(!0)})}},data(){return{isSon:!1,deptId:"",subjectId:"",jsonData:[],breadcrumb:[],checkedJson:[],keyword:"",isQuery:!0,isLoading:!1,checkedAll:!1,isShowChecked:!1,activeOrgType:0}},watch:{visible:{deep:!0,immediate:!0,handler:function(s,a){if(!s)return!1;b(this.businessId)?this.getCards(()=>{this.defaultGet()}):this.getDetail(()=>{this.defaultGet()})}},isSon:{deep:!0,handler:function(s,a){let c=[];const r=this.checkedJson.map(p=>{const g=this.entityJson.findIndex(A=>A.id===p.id&&p.type==A.type&&p.type==2)>-1?s&&p.type==2?"4":p.type:p.orgRecordsType;return(g==4||p.type==1)&&c.push(p.id),{...p,orgRecordsType:g}});this.checkedJson=r.filter(p=>p.ancestors.split(",").findIndex(g=>c.indexOf(g)>-1)===-1)}},checkedArray:{deep:!0,immediate:!0,handler:function(s,a){b(this.businessId)&&this.getCards()}}},computed:{queryImg(){return eg},entityJson(){const s=this.checkedJson;return this.jsonData.map(a=>{const c=b(a.ancestors)?"":a.ancestors,r=b(a.ancestorNames)?"":a.ancestorNames,p=c+a.id+"__"+a.type,g=s.find(V=>V.uniqueId===p),A=!b(g),B=A?!1:s.findIndex(V=>V.id===a.id&&a.subjectId===V.subjectId)>-1,N=A?a.type==1||g.orgRecordsType==4:!1,y=b(s)?0:N?a.counts:s.filter(V=>V.type!=1&&V.ancestors.indexOf(a.id)>-1).length,T=A?g.isNoDelete:!1,I=this.isNotLevel?!1:this.isDeptOne&&a.type==2?a.deptCounts>0:a.counts>0;return{type:a.type,id:a.id,name:a.name,counts:b(a.counts)?0:a.counts,num:y,phone:tg(a.phone),uid:a.uid,iconName:en(a.name,2),checked:A,ancestors:c,ancestorNames:r,deptName:sg(a.ancestorNames,"/",this.activeOrgType==0?"last":"find"),deptId:b(a.deptId)?"":a.deptId,uniqueId:p,isDisabled:B,isLevel:N,subjectId:a.subjectId,sex:a.sex,avatar:b(a.avatar)?"":a.avatar,isNoDelete:T,showLevel:I}})},companyJson(){return this.entityJson.filter(s=>s.type==1||s.type==5)},deptJson(){return this.entityJson.filter(s=>s.type==2)},userJson(){return this.entityJson.filter(s=>s.type==3||s.type==6)},checkedNumber(){const s=this.checkedJson.filter(g=>g.type==1).length,a=this.checkedJson.filter(g=>g.type==2).length,c=this.checkedJson.filter(g=>g.type==3||g.type==6).length,r=this.checkedJson.filter(g=>g.type==5).length;let p=[];return s>0&&p.push(s+"\u4E2A\u7EC4\u7EC7"),r>0&&p.push(r+"\u4E2A\u7FA4\u7EC4"),a>0&&p.push(a+"\u4E2A\u90E8\u95E8"),c>0&&p.push(c+"\u4E2A\u6210\u5458"),b(p)?"":"\u5DF2\u9009\u62E9"+p.join("\uFF0C")},breadcrumb_subjectId(){const s=this.breadcrumb.filter((a,c)=>a.value!=="-1");return b(s)?"":s[0].value},breadcrumb_level(){const s=this.breadcrumb.filter((a,c)=>a.value!=="-1");return{ancestors:s.map(a=>a.value).join(","),ancestorNames:s.map(a=>a.name).join("/")}},isDept(){return this.jsonData.findIndex(s=>s.type==2)>-1&&this.isShowDept},isShowSubject(){return this.codeType.findIndex(s=>s==1||s==5)>-1},isShowDept(){return this.codeType.findIndex(s=>s==2)>-1},isNotLevel(){return this.isShowSubject&&this.codeType.length===1},isDeptOne(){return this.isShowDept&&this.codeType.length===1},isShowQuery(){return this.codeType.findIndex(s=>s==3||s==6)>-1},getHight(){let s=349;return this.isDept||(s-=55),this.isAll||(s-=59),this.isShowQuery||(s-=55),this.orgType.length<2&&(s-=45),`calc(100% - ${s}px)`},getSearchHight(){let s=240;return this.isAll||(s-=59),this.orgType.length<2&&(s-=45),this.isShowQuery||(s-=55),`calc(100% - ${s}px)`},getTitle(){return this.codeType.length==1&&this.codeType[0]==2?"\u9009\u62E9\u90E8\u95E8":this.codeType.length==1&&this.codeType[0]==3?"\u9009\u62E9\u4EBA\u5458":this.codeType.length==1&&this.codeType[0]==5?"\u9009\u62E9\u7FA4\u7EC4":"\u9009\u62E9\u7EC4\u7EC7"},isAll(){return this.multiple?this.isShowSubject?this.isShowDept?!0:this.entityJson.findIndex(s=>s.type!=2)>-1:this.entityJson.findIndex(s=>s.type!=1)>-1:!1},isNoDelete(){return b(this.checkedArray)?[]:this.checkedArray.filter(s=>s.isDeleteNo)},isOrgType(){return!!(b(this.orgType)||this.orgType.findIndex(s=>s===0)>-1)},isOrgGroup(){return this.orgType.findIndex(s=>s===1)>-1},isGroup(){return this.orgType.findIndex(s=>s===2)>-1},showType(){const s=(a,c)=>a.findIndex(r=>r==c)>-1;if(s([0],this.activeOrgType))return s(this.codeType,3)?3:s(this.codeType,2)?2:s(this.codeType,1)?1:-1;if(s([1,2],this.activeOrgType))return s(this.codeType,6)?6:s(this.codeType,5)?5:-1},deptIds(){return b(this.deptCodeArray)?b(this.deptCode)?[]:[this.deptCode]:this.deptCodeArray}},mounted(){this.isTitle&&(document.title=this.getTitle),b(this.businessId)?this.getCards(()=>{this.defaultGet()}):this.getDetail(()=>{this.defaultGet()})},methods:{handleSubmit(){if(this.isLoading)return!1;const s=b(this.checkedJson)?[]:this.checkedJson.map(c=>({type:c.orgRecordsType,id:c.id,name:c.name,ancestors:c.ancestors,ancestorNames:c.ancestorNames,subjectId:c.subjectId,phone:b(c.phone)?"":c.phone,sex:c.sex,avatar:c.avatar,deptId:b(c.deptId)?"":c.deptId,uid:b(c.uid)?"":c.uid}));if(b(this.businessId))return this.$emit("callback",s);const a={businessId:this.businessId,orgRecords:this.checkedJson.map(c=>({type:c.orgRecordsType,bizId:c.id,ancestors:c.ancestors,ancestorNames:c.ancestorNames,uid:c.uid}))};this.isLoading=!0,this.businessCallack(s).then(c=>{c&&this.request.post("/auth/component/org/save",a).then(r=>{r.code===200&&this.$emit("callback",s)}).finally(()=>{this.isLoading=!1})}).catch(c=>{this.isLoading=!1})},handleBreadcrumb(s,a){if(s.disable||a+1==this.breadcrumb.length)return!1;switch(this.activeOrgType){case 0:this.deptId=a===0?this.deptCode:a===1&&b(this.deptCode)?0:s.value,this.itemId="",this.subjectId=s.value==="-1"?"":this.breadcrumb_subjectId;break;case 1:case 2:this.itemId=b(this.itemCode)?s.value==="-1"?"":s.value:itemCode,this.deptId=0,this.subjectId="";break}this.keyword="",this.getSearch(()=>{this.breadcrumb=this.breadcrumb.filter((c,r)=>r<a+1)})},handleEmpty(){this.keyword="",this.handleQuery()},handleQuery(){switch(this.breadcrumb=[],this.activeOrgType){case 0:this.itemId="",this.deptId=this.deptCode,this.subjectId=this.subjectCode;break;case 1:case 2:this.deptId="",this.subjectId="";break}this.getSearch(()=>{this.isQuery=b(this.keyword)})},handleOrgType(s){this.activeOrgType=s,this.keyword="",this.itemId="",this.handleQuery()},handleAllCheckbox(s){(this.isShowDept?this.entityJson:this.entityJson.filter(a=>a.type!=2)).forEach(a=>this.handleCheckbox(s,a))},handleCheckbox(s,a){if(a.isDisabled||a.isNoDelete||(a.type==1||a.type==5)&&!this.isShowSubject||a.type==2&&!this.isShowDept)return!1;if(s.currentTarget.checked){if(this.checkedJson.findIndex(A=>A.uniqueId===a.uniqueId)!=-1)return!1;const c=a.type==1?"0":a.ancestors,r=a.type==1?"":a.ancestorNames,p=this.isDept&&this.isSon&&a.type==2?"4":a.type,g={...a,ancestors:c,ancestorNames:r,orgRecordsType:p};return(a.type==1||p==4)&&(this.checkedJson=this.checkedJson.filter(A=>A.ancestors.indexOf(a.id)===-1)),this.getBoolChecked(a)?(s.currentTarget.checked=!1,!1):this.maxMultiple!==0&&this.checkedJson.length>=this.maxMultiple&&this.multiple?(s.currentTarget.checked=!1,new sn().message({content:`\u6700\u591A\u9009\u62E9${this.maxMultiple}\u9879\u3001\u8BF7\u79FB\u9664\u540E\u518D\u8FDB\u884C\u9009\u62E9`,type:"warning"}),!1):(this.multiple?this.checkedJson.push(g):this.checkedJson=[g],!1)}this.checkedJson=this.checkedJson.filter(c=>c.uniqueId!==a.uniqueId)},handleLevel(s){if(s.isDisabled||s.isLevel)return!1;switch(s.type){case"1":this.deptId="",this.subjectId=s.id,this.itemId="",this.getSearch(()=>{this.breadcrumb.push({name:s.name,value:s.id})});break;case"2":this.deptId=s.id,this.subjectId=this.breadcrumb_subjectId,this.itemId="",this.getSearch(()=>{this.breadcrumb.push({name:s.name,value:s.id})});break;case"5":this.deptId="",this.subjectId="",this.itemId=s.id,this.getSearch(()=>{this.breadcrumb.push({name:s.name,value:s.id})});break}},handleChecked(s,a){this.$refs.checkedDp.init(s,a)},handleCallback(s){this.checkedJson=s},getBoolChecked(s){if(s.type!=3)return!1;const a=s.ancestors.split(","),c=this.checkedJson.filter(p=>p.type==2||p.type==1).find(p=>a.indexOf(p.id)>-1);let r=!1;return b(c)||(c.type==1&&(new sn().message({content:`\u5DF2\u9009\u7684\u7EC4\u7EC7\u3010${c.name}\u3011\u5B58\u5728${s.name}\u4EBA\u5458\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`}),r=!0),c.type==4&&(new sn().message({content:`\u5DF2\u9009\u7684\u90E8\u95E8\u3010${c.name}\u3011\u5B58\u5728${s.name}\u4EBA\u5458\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`}),r=!0)),r},defaultData(){this.deptId=this.deptCode,this.subjectId="",this.itemId=this.itemCode,this.isSon=!1,this.jsonData=[],this.keyword="",this.isQuery=!0,this.isLoading=!1,this.activeOrgType=this.isOrgType?0:this.isOrgGroup?1:this.isGroup?2:"",this.breadcrumb=[],this.defaultBreadcrumb()},defaultGet(){this.defaultData(),b(this.subjectName)?this.getSearch():this.getByName(()=>{this.getSearch()})},getIsSon(){const s=this.entityJson.filter(c=>c.type==2),a=this.checkedJson.filter(c=>c.type==2);this.isSon=a.findIndex(c=>s.findIndex(r=>r.id===c.id&&c.orgRecordsType==4)>-1)>-1},getCheckedAll(){const s=b(this.entityJson)?0:this.entityJson.findIndex(a=>this.checkedJson.findIndex(c=>c.type===a.type&&c.id===a.id&&a.subjectId===c.subjectId)===-1);this.checkedAll=s===-1},getSearch(s=()=>{}){const a={source:this.source,type:this.type,deptId:this.deptId,subjectId:this.subjectId,keyword:this.keyword,showType:this.showType,orgType:this.activeOrgType,itemId:this.itemId,deptIds:this.deptIds.join(",")};b(a.deptId)&&delete a.deptId,b(a.subjectId)&&delete a.subjectId,(b(a.deptIds)||!b(a.deptId))&&delete a.deptIds,this.isLoading||(this.isLoading=!0),this.request.get("/auth/component/org/search",{params:a}).then(c=>{this.jsonData=b(c.data)||c.code!==200?[]:c.data,this.defaultBreadcrumb(b(this.jsonData)?"":c.data[0]),s(),this.getIsSon(),this.getCheckedAll()}).finally(()=>{this.isLoading=!1})},defaultBreadcrumb(s){if(!b(this.breadcrumb))return!1;let a="";switch(this.activeOrgType){case 0:a="\u7EC4\u7EC7";break;case 1:a="\u7FA4\u7EC4";break;case 2:a="\u516C\u5171\u7FA4\u7EC4";break}if(this.breadcrumb=[{name:a,value:"-1"}],b(s)||this.activeOrgType===0&&(b(this.deptCode)||b(this.subjectName))||[1,2].indexOf(this.activeOrgType)>-1&&b(this.itemCode))return!1;let c=s.ancestors.split(",");b(this.itemCode)||c.pop(),this.breadcrumb=c.map((r,p)=>({value:r,name:s.ancestorNames.split("/")[p],disable:p!==array.length-1&&array.length!==0}))},getDetail(s=()=>{}){if(b(this.businessId))return s(),!1;const a={businessId:this.businessId};this.isLoading||(this.isLoading=!0),this.request.get("/auth/component/org/detail",{params:a}).then(c=>{this.checkedJson=b(c.data)||c.code!==200?[]:c.data.map(r=>{const p=r.type==4?"2":r.type,g=r.type==1?"":r.ancestors,A=g+r.bizId+"__"+p,B=this.isNoDelete.findIndex(N=>N.id===r.id||N.uid===r.uid)>-1;return{...r,ancestors:g,id:r.bizId,type:p,uniqueId:A,orgRecordsType:r.type,iconName:en(r.name,2),sex:r.sex,uid:b(r.uid)?"":r.uid,avatar:b(r.avatar)?"":r.avatar,deptId:b(r.deptId)?"":r.deptId,isNoDelete:B}}),s()})},getCards(s=()=>{}){if(b(this.checkedArray))return s(),this.checkedJson=[];const a=this.checkedArray.map(c=>({type:c.type,id:b(c.id)?null:c.id,uid:b(c.uid)?null:c.uid,subjectId:b(c.subjectId)?null:c.subjectId,deptId:b(c.deptId)?null:c.deptId,itemId:b(c.itemId)?null:c.itemId,orgIds:b(this.orgType)?[0]:this.orgType}));this.isLoading||(this.isLoading=!0),this.request.post("/auth/component/org/cards",{params:a}).then(c=>{this.checkedJson=b(c.data)||c.code!==200?[]:c.data.map(r=>{const p=r.type==4?"2":r.type,g=r.type==1?"":r.ancestors,A=r.type==1?"":r.ancestorNames,B=g+r.id+"__"+p,N=this.isNoDelete.findIndex(y=>y.id===r.id||y.uid===r.uid)>-1;return{...r,ancestors:g,ancestorNames:A,id:r.id,type:p,uniqueId:B,orgRecordsType:r.type,iconName:en(r.name,2),sex:r.sex,uid:b(r.uid)?"":r.uid,avatar:b(r.avatar)?"":r.avatar,deptId:b(r.deptId)?"":r.deptId,isNoDelete:N}}),s()})},getByName(s=()=>{}){const a={name:this.subjectName};this.request.get("/auth/component/org/subject/getByName",{params:a}).then(c=>{console.log("getByName",c),c.code===200&&(this.subjectId=c.data,s())})}}}),Yg={class:"departPerson-main"},Hg={class:"deper-top"},Wg={key:0,class:"deper-nav"},zg={class:"deper-query"},Zg=i.createElementVNode("i",{class:"icon-chaxun iconfont chaxun"},null,-1),Xg={key:1,class:"deper-breadcrumb"},_g=["onClick"],qg=i.createElementVNode("i",{class:"icon-jiantouyou iconfont"},null,-1),$g={key:2,class:"deper-all"},ef=i.createElementVNode("label",{class:"label",for:"deper-all"},"\u5168\u9009",-1),tf={key:0,class:"deper-c-depart"},sf=["disabled","onUpdate:modelValue","onChange"],nf={class:"depart-name"},of={class:"name"},af={key:0,class:"number"},lf={class:"label"},cf={key:1,class:"number"},df=["onClick"],rf=[i.createElementVNode("i",{class:"icon-pedigree iconfont"},null,-1),i.createElementVNode("span",null,"\u4E0B\u7EA7",-1)],pf={key:1,class:"deper-c-depart"},hf=["disabled","onUpdate:modelValue","onChange"],mf={class:"depart-name"},uf={class:"name"},gf={key:0,class:"number"},ff={class:"label"},Af={key:1,class:"number"},kf=["onClick"],yf=[i.createElementVNode("i",{class:"icon-pedigree iconfont"},null,-1),i.createElementVNode("span",null,"\u4E0B\u7EA7",-1)],Cf={key:2,class:"deper-c-user"},Ef=["disabled","onUpdate:modelValue","onChange"],Bf={class:"user-icon"},If={key:0},Nf=["src"],bf={class:"user-name"},Tf={class:"span"},wf={class:"phone"},vf={class:"deper-search-section"},Vf={class:"search-user"},Sf=i.createElementVNode("div",{class:"search-title"},"\u641C\u7D22\u7ED3\u679C",-1),Df=["onUpdate:modelValue","disabled","onChange"],Qf={class:"user-icon"},Of={key:0},Mf=["src"],xf={class:"user-name"},Ff={class:"span"},Pf={class:"phone"},Lf={class:"txt"},Uf={key:2,class:"deper-son"},Jf=i.createElementVNode("span",null,"\u5305\u542B\u5B50\u7EA7",-1),Gf={class:"deper-bottom"},Rf={key:0,class:"icon-jiantouyou iconfont"};function jf(s,a,c,r,p,g){const A=i.resolveComponent("dc-switch"),B=i.resolveComponent("checked"),N=i.resolveComponent("dcLoading");return i.openBlock(),i.createElementBlock("main",Yg,[i.createElementVNode("div",Hg,[s.orgType.length>1?(i.openBlock(),i.createElementBlock("div",Wg,[s.isOrgType?(i.openBlock(),i.createElementBlock("div",{key:0,onClick:a[0]||(a[0]=y=>s.handleOrgType(0)),class:i.normalizeClass([{active:s.activeOrgType===0},"deper-n-item"])},"\u7EC4\u7EC7",2)):i.createCommentVNode("",!0),s.isOrgGroup?(i.openBlock(),i.createElementBlock("div",{key:1,onClick:a[1]||(a[1]=y=>s.handleOrgType(1)),class:i.normalizeClass([{active:s.activeOrgType===1},"deper-n-item"])},"\u7FA4\u7EC4",2)):i.createCommentVNode("",!0),s.isGroup?(i.openBlock(),i.createElementBlock("div",{key:2,onClick:a[2]||(a[2]=y=>s.handleOrgType(2)),class:i.normalizeClass([{active:s.activeOrgType===2},"deper-n-item"])},"\u516C\u5171\u7FA4\u7EC4",2)):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0),i.withDirectives(i.createElementVNode("div",zg,[i.createElementVNode("form",{class:"form",onSubmit:a[6]||(a[6]=i.withModifiers(()=>{},["prevent"])),action:"javascript: void(0);"},[Zg,i.withDirectives(i.createElementVNode("input",{class:"input",onKeyup:a[3]||(a[3]=i.withKeys((...y)=>s.handleQuery&&s.handleQuery(...y),["enter"])),"onUpdate:modelValue":a[4]||(a[4]=y=>s.keyword=y),type:"search",placeholder:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u3001\u624B\u673A\u53F7\u7801"},null,544),[[i.vModelText,s.keyword]]),s.keyword.length>0?(i.openBlock(),i.createElementBlock("i",{key:0,onClick:a[5]||(a[5]=(...y)=>s.handleEmpty&&s.handleEmpty(...y)),class:"icon-error-fill iconfont close"})):i.createCommentVNode("",!0)],32)],512),[[i.vShow,s.isShowQuery]]),s.isQuery?(i.openBlock(),i.createElementBlock("div",Xg,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.breadcrumb,(y,T)=>(i.openBlock(),i.createElementBlock("div",{onClick:I=>s.handleBreadcrumb(y,T),key:y.value,class:i.normalizeClass([{disable:y.disable},"deper-b-item"])},[i.createElementVNode("span",null,i.toDisplayString(y.name),1),qg],10,_g))),128))])):i.createCommentVNode("",!0),s.isAll?(i.openBlock(),i.createElementBlock("div",$g,[i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":a[7]||(a[7]=y=>s.checkedAll=y),onChange:a[8]||(a[8]=(...y)=>s.handleAllCheckbox&&s.handleAllCheckbox(...y)),class:"deper-checkbox",type:"checkbox",name:"deper-all",id:"deper-all"},null,544),[[i.vModelCheckbox,s.checkedAll]]),ef])):i.createCommentVNode("",!0)]),s.isQuery?(i.openBlock(),i.createElementBlock("div",{key:0,style:i.normalizeStyle({height:s.getHight}),class:"deper-center"},[s.companyJson.length>0?(i.openBlock(),i.createElementBlock("div",tf,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.companyJson,y=>(i.openBlock(),i.createElementBlock("div",{key:y.uniqueId,class:"depart-item"},[i.createElementVNode("label",{class:i.normalizeClass([{width:s.isNotLevel,isNoDelete:y.isNoDelete},"depart-left"])},[i.withDirectives(i.createElementVNode("input",{disabled:y.isDisabled||y.isNoDelete,"onUpdate:modelValue":T=>y.checked=T,onChange:T=>s.handleCheckbox(T,y),class:"deper-checkbox",type:"checkbox"},null,40,sf),[[i.vShow,s.isShowSubject],[i.vModelCheckbox,y.checked]]),i.createElementVNode("div",nf,[i.createElementVNode("div",of,i.toDisplayString(y.name),1),y.num>0?(i.openBlock(),i.createElementBlock("div",af,[i.createTextVNode("("),i.createElementVNode("label",lf,i.toDisplayString(y.num)+"/"+i.toDisplayString(y.counts),1),i.createTextVNode(")")])):y.counts>0?(i.openBlock(),i.createElementBlock("div",cf,"("+i.toDisplayString(y.counts)+")",1)):i.createCommentVNode("",!0)])],2),y.showLevel?(i.openBlock(),i.createElementBlock("div",{key:0,onClick:T=>s.handleLevel(y),class:i.normalizeClass([{isdisabled:y.isLevel},"depart-right"])},rf,10,df)):i.createCommentVNode("",!0)]))),128))])):i.createCommentVNode("",!0),s.deptJson.length>0?(i.openBlock(),i.createElementBlock("div",pf,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.deptJson,y=>(i.openBlock(),i.createElementBlock("div",{key:y.uniqueId,class:"depart-item"},[i.createElementVNode("label",{class:i.normalizeClass([{isNoDelete:y.isNoDelete},"depart-left"])},[i.withDirectives(i.createElementVNode("input",{disabled:y.isDisabled||y.isNoDelete,"onUpdate:modelValue":T=>y.checked=T,onChange:T=>s.handleCheckbox(T,y),class:"deper-checkbox",type:"checkbox"},null,40,hf),[[i.vShow,s.isShowDept],[i.vModelCheckbox,y.checked]]),i.createElementVNode("div",mf,[i.createElementVNode("div",uf,i.toDisplayString(y.name),1),y.num>0?(i.openBlock(),i.createElementBlock("div",gf,[i.createTextVNode("("),i.createElementVNode("label",ff,i.toDisplayString(y.num)+"/"+i.toDisplayString(y.counts),1),i.createTextVNode(")")])):y.counts>0?(i.openBlock(),i.createElementBlock("div",Af,"("+i.toDisplayString(y.counts)+")",1)):i.createCommentVNode("",!0)])],2),y.showLevel?(i.openBlock(),i.createElementBlock("div",{key:0,onClick:T=>s.handleLevel(y),class:i.normalizeClass([{isdisabled:y.isLevel},"depart-right"])},yf,10,kf)):i.createCommentVNode("",!0)]))),128))])):i.createCommentVNode("",!0),s.userJson.length>0?(i.openBlock(),i.createElementBlock("div",Cf,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.userJson,y=>(i.openBlock(),i.createElementBlock("label",{key:y.uniqueId,class:i.normalizeClass([{isNoDelete:y.isNoDelete},"user-item"])},[i.withDirectives(i.createElementVNode("input",{disabled:y.isDisabled||y.isNoDelete,"onUpdate:modelValue":T=>y.checked=T,onChange:T=>s.handleCheckbox(T,y),class:"deper-checkbox",type:"checkbox"},null,40,Ef),[[i.vModelCheckbox,y.checked]]),i.createElementVNode("div",Bf,[y.avatar.length<1?(i.openBlock(),i.createElementBlock("span",If,i.toDisplayString(y.iconName),1)):(i.openBlock(),i.createElementBlock("img",{key:1,src:y.avatar},null,8,Nf))]),i.createElementVNode("div",bf,[i.createElementVNode("div",Tf,i.toDisplayString(y.name),1),i.createElementVNode("div",wf,i.toDisplayString(y.phone),1)])],2))),128))])):i.createCommentVNode("",!0)],4)):(i.openBlock(),i.createElementBlock("div",{key:1,style:i.normalizeStyle({height:s.getSearchHight}),class:"deper-search"},[i.createCommentVNode("",!0),i.createElementVNode("div",vf,[i.createCommentVNode("",!0),i.createElementVNode("div",Vf,[Sf,(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.userJson,y=>(i.openBlock(),i.createElementBlock("label",{key:y.uniqueId,class:"user-item"},[i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":T=>y.checked=T,disabled:y.isDisabled,onChange:T=>s.handleCheckbox(T,y),class:"deper-checkbox",type:"checkbox"},null,40,Df),[[i.vModelCheckbox,y.checked]]),i.createElementVNode("div",Qf,[y.avatar.length<1?(i.openBlock(),i.createElementBlock("span",Of,i.toDisplayString(y.iconName),1)):(i.openBlock(),i.createElementBlock("img",{key:1,src:y.avatar},null,8,Mf))]),i.createElementVNode("div",xf,[i.createElementVNode("div",Ff,i.toDisplayString(y.name),1),i.createElementVNode("div",Pf,i.toDisplayString(y.phone),1),i.createElementVNode("div",Lf,i.toDisplayString(y.ancestorNames),1)])]))),128))])])],4)),s.isDept?(i.openBlock(),i.createElementBlock("div",Uf,[Jf,i.createVNode(A,{modelValue:s.isSon,name:"isSone"},null,8,["modelValue"])])):i.createCommentVNode("",!0),i.createElementVNode("div",Gf,[i.createElementVNode("div",{onClick:a[9]||(a[9]=y=>s.handleChecked(!0,s.checkedJson)),class:"deper-b-checked"},[i.createElementVNode("span",null,i.toDisplayString(s.checkedNumber),1),s.checkedNumber.length>0?(i.openBlock(),i.createElementBlock("i",Rf)):i.createCommentVNode("",!0)]),i.createElementVNode("div",{onClick:a[10]||(a[10]=(...y)=>s.handleSubmit&&s.handleSubmit(...y)),class:"deper-b-btn"},"\u786E\u5B9A")]),i.createVNode(B,{ref:"checkedDp",onCallback:s.handleCallback},{user:i.withCtx(({item:y})=>[i.renderSlot(s.$slots,"checkedUser",{item:y})]),_:3},8,["onCallback"]),s.isLoading?(i.openBlock(),i.createBlock(N,{key:3})):i.createCommentVNode("",!0)])}const Kf=$t(Kg,[["render",jf]]);o.departPerson=Kf,Object.defineProperties(o,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})})})(he,he.exports);const Wc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADGdJREFUeF7tnVFSHDkMhuVhD7AV9j1wksBJApeA5YnwlJBLQE4COUl63zOpHGAZb3l2mpqQGWYsS7as/qna2oe0ZeuXvpHd7W4Hwh8UgAJbFQjQBgpAge0KABBkBxR4RQEAgvSAAgAEOQAFeAqggvB0Q6uJKABAJhJ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fr40BCAARTCd/pgAIAPGX1YIeAZANYgZKe3G+CMpc11SkayLsuRIRHYCIyOjFyODFkS1+HGX7B0CyJXPbYH4ZurlDmRsE9tHYACRXar/Xcx6K9aIGANkQKexJyk7fISzovPR9iOxeKzQAIABEJM28VhEAAkBEACHGnFumY10rAASASGUY+0UhqQFo2AEgG1Rli6IRoV5sooL8GimGHt3cCsRrpwwqO9+Hts1j9o+lZ0CSWHj1NA8Szht0eT20uRqAbNEdVSQjIZ1Wj6QAAHklD/A8ZD9I8CR9g07ep1ijy6tK8oBNfNthASATBiS5niBJ/z84oBNa0Lv9flc7vCrQGWfUAGTigHCSpsc23DcK01P0Hv3dZ8whfXKV88MxlSnWPiJ6uYYLiBf/Rf0AIKJymjAGQATDAEAExTRiCoAIBgKACIppxBQAEQwEABEU04gpACIYCAAiKKYRUwBEMBAARFBMI6aw/0wwEIztN93s5hWUqStTAEQwXJ6/7i4oU1em3tzG6+D4oV/NYDwt6PjnVcj6HBIqSM0IMfrCvjOGaJuaMNYfyQwAEdJf0wx7e7fmoDqzzakeAKSjIK+mWmnjYv4XBTvyU2GoRZ8/QgVRiIiWyRdnpJ9o9ePE7hCJ7n9chpsSfwBIiXoN247b/RsOwWzXuQvx1xwBIGbDjIFZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUOA/PPf9I/jtWsEAAAAASUVORK5CYII=",zc=re({name:"TopSubmitPopup",components:{TopPopup:ee,TopDownSelect:lo,PreviewImage:Ts,departPerson:he.exports.departPerson,TopTips:pe},props:{isCheckType:{type:String,default:"0"},visible:{type:Boolean,default:!1},request:{type:[Function,Object],default:()=>({get:()=>{},post:()=>{},upload:()=>{}})},appId:{type:String,default:""},processName:{type:String,default:""},resubmit:{type:Boolean,default:!1},id:{type:String,default:""},businessType:{type:[String,Number]},todoParameter:{type:Object,default(){return{}}},isClearHistory:{type:Boolean,default:!1},title:{type:String,default:"\u6D4B\u8BD5"},showType:{type:String,default:"all"},beforeFunction:{type:Function,default:null},manual:{type:Boolean,default:!1},selfList:{type:Array,default:()=>[]},isOrgType:{type:Array,default:()=>[0]},isCodeType:{type:Array,default:()=>[3]}},data(){return{show:!1,option:[],checkedItem:{},personList:[],trackUrl:[],taskurlshow:!1,isStyle:"width:35%",visiblePerson:!1,entity:{source:"0",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:!1,checkedArray:[]},multiNodeParticipant:{},personListCopy:{},partNode:{},personObjId:"",processId:"",textTips:"",statusTips:!1,typeTips:"success",firstPerson:[],selectDefaultValue:"",businessTypeData:"",idData:"",processNameData:"",titleData:"",todoParameterData:{},humanPerformerName:"",btnLoading:!1}},watch:{visible:{async handler(e,n){this.show=e,this.$emit("update:visible",this.show),e?this.handleOption():this.$refs.TopDownSelect.handleClose()}},show:{handler(e,n){e||this.$refs.TopDownSelect.handleClose()}},businessType:{handler(e,n){this.businessTypeData=e},immediate:!0},id:{handler(e,n){e&&(this.idData=e,this.getProcessInstance())},immediate:!0},processName:{handler(e,n){this.processNameData=e},immediate:!0},title:{handler(e,n){this.titleData=e},immediate:!0},todoParameter:{handler(e,n){this.todoParameterData=e},immediate:!0,deep:!0},selfList:{handler(e,n){e&&e.length&&(this.option=e,this.checkedItem=this.option[0],this.selectDefaultValue=this.checkedItem.id,this.$emit("change",this.checkedItem,this.option),this.handlefirstNode(this.checkedItem.id),this.getDiagramUrl())},immediate:!0,deep:!0},resubmit:{handler(e,n){e&&this.getProcessInstance()}}},computed:{ProcessImg(){return Wc}},methods:{handleSelect(){this.$refs.TopDownSelect.handleExpand()},async handleOption(){this.checkedItem={},this.firstPerson=[],this.personList=[],!(this.selfList&&this.selfList.length)&&(this.handleTips("",!0,"loading"),await this.request.get("/aws/repository/getProcessDefList",{params:{appId:this.appId,processGroupName:this.processNameData}}).then(e=>{e.code==200&&(this.option=e.data,e.data&&e.data.length?(this.handleTips("",!0,"success"),this.checkedItem=this.option[0],this.selectDefaultValue=this.checkedItem.id,this.$emit("change",this.checkedItem,this.option),this.handlefirstNode(this.checkedItem.id),this.getProcessInstance(),this.getDiagramUrl()):(this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F",!0,"error"),this.option=[]))}))},async getProcessInstance(){this.id&&await this.request.get("/aws/pis/getProcessInstanceByBusinessKey",{params:{businessKey:this.id}}).then(e=>{e.code==200&&(this.processId=e.data.id,this.processId&&this.option.map((n,o)=>{n.id===e.data.processDefId&&(this.checkedItem=n,this.selectDefaultValue=this.checkedItem.id,this.$emit("change",this.checkedItem,this.option),this.handlefirstNode(this.checkedItem.id),this.getDiagramUrl())}))})},async handlefirstNode(e){e&&(this.handleTips("",!0,"loading"),await this.request.get("/aws/repository/getFirstProcessNode",{params:{processDefId:e}}).then(n=>{n.code===200?(this.firstPerson=n.data,this.getAfferentParticipantNodeList()):(this.firstPerson=[],this.getAfferentParticipantNodeList())}).catch(n=>{this.firstPerson=[],this.getAfferentParticipantNodeList()}))},async handleChange(e,n){this.handleTips("",!0,"loading"),this.checkedItem={},this.firstPerson=[],this.personList=[],this.checkedItem=e,this.handlefirstNode(this.checkedItem.id),this.getDiagramUrl(),this.$emit("change",e,n)},async getAfferentParticipantNodeList(){await this.request.get("/aws/repository/getAfferentParticipantNodeList",{params:{processDefId:this.checkedItem.id}}).then(e=>{e.code==200&&(this.firstPerson&&this.firstPerson.length&&(this.personList=e.data.filter(n=>!this.firstPerson.some(o=>o.id==n.id))),this.$emit("change",this.checkedItem,this.option)),this.$refs.topTips.handleClose()})},getDiagramUrl(){this.request.get("/aws/repository/getDiagramUrl",{params:{processDefId:this.checkedItem.id,diagramType:1,type:"pc"}}).then(e=>{e.code==200&&(this.trackUrl=[e.data])})},handleOpenPerson(e){if(this.visiblePerson=!0,this.personObjId=e.id,this.humanPerformerName=e.humanPerformerName,e.humanPerformerName==="\u4EFB\u610F\u6307\u5B9A")this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,checkedArray:[]},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(n=>({uid:n.uid,type:n.type,deptId:this.handleLastStr(n.ancestors,n.subjectId)})):this.entity.checkedArray=[];else if(e.humanPerformerName==="\u56FA\u5B9A\u90E8\u95E8"){let n,o=[];e.routeTxt.departmentIds&&e.routeTxt.departmentIds.length>1?(e.routeTxt.departmentIds.forEach((i,l)=>{o.push(i.rangeId)}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],deptCodeArray:o,multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0}):e.routeTxt.departmentIds&&e.routeTxt.departmentIds.length==1&&(e.routeTxt.departmentIds.forEach((i,l)=>{n=i.rangeId}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],deptCode:n,multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(i=>({uid:i.uid,type:i.type,deptId:n})):this.entity.checkedArray=[]}else if(e.humanPerformerName==="\u56FA\u5B9A\u5355\u4F4D"){let n;e.routeTxt.companyIds.map((o,i)=>{n=o.name}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,subjectName:n},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(o=>({uid:o.uid,type:o.type,deptId:this.handleLastStr(o.ancestors,o.subjectId),subjectName:o.ancestorNames.slice(0,o.ancestorNames.indexOf("/"))})):this.entity.checkedArray=[]}},handleCallback(e){this.personListCopy[this.personObjId]=e,this.entity.checkedArray=e.map(n=>({uid:n.uid,type:n.type,deptId:this.handleLastStr(n.ancestors,n.subjectId),subjectName:this.humanPerformerName==="\u56FA\u5B9A\u5355\u4F4D"?n.ancestorNames.slice(0,n.ancestorNames.indexOf("/")):""})),this.multiNodeParticipant[this.personObjId]=[],this.partNode[this.personObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.personObjId].push(n.uid),this.partNode[this.personObjId].push(n.name)}),this.visiblePerson=!1},handleCancel(){},handleLastStr(e,n){return e.split(",")[e.split(",").length-1]!==n?e.split(",")[e.split(",").length-1]:""},async handleSumbit(){if(!this.btnLoading){if(this.btnLoading=!0,this.firstPerson&&this.firstPerson.length&&!this.firstPerson[0].routeTxt.userNames&&this.firstPerson[0].humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&this.firstPerson[0].humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"&&(!this.multiNodeParticipant[this.firstPerson[0].id]||!this.multiNodeParticipant[this.firstPerson[0].id].length)){this.handleTips(`${this.firstPerson[0].name}\u8282\u70B9\u672A\u9009\u62E9\u5BA1\u6279\u4EBA`,!0,"error"),this.btnLoading=!1;return}this.beforeFunction&&(await this.beforeFunction(),this.manual&&(this.btnLoading=!1)),this.manual||this.$nextTick(async()=>{await this.handleSongshen()})}},handleSongshen(){if(this.btnLoading=!0,this.resubmit)this.handleTips("",!0,"loading"),this.request.post("/aws/pis/reactivate",{processInstId:this.processId,isClearHistory:this.isClearHistory,reactivateReason:"\u91CD\u65B0\u63D0\u4EA4",multiNodeParticipant:this.multiNodeParticipant}).then(e=>{e.code==200?(this.show=!1,this.$emit("update:visible",this.show),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.$emit("successFn"),this.btnLoading=!1):(this.handleTips(e.msg,!0,"error"),this.btnLoading=!1)}).catch(e=>{this.handleTips(e.msg,!0,"error"),this.btnLoading=!1});else{this.handleTips("",!0,"loading");let e={title:this.titleData,processDefId:this.checkedItem.id,processBusinessKey:this.idData,showType:this.showType,businessType:this.businessTypeData,multiNodeParticipant:this.multiNodeParticipant,todoParameter:this.todoParameterData};if(!this.checkedItem.id){this.$refs.topTips.handleClose(),this.btnLoading=!1;return}this.request.post("/aws/pis/createAndStart",e).then(n=>{n.code===200?(this.show=!1,this.$emit("update:visible",this.show),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.$emit("successFn"),this.btnLoading=!1):n.code==499?this.request.post("/aws/pis/reactivate",{processInstId:this.processId,isClearHistory:this.isClearHistory,reactivateReason:"\u91CD\u65B0\u63D0\u4EA4",multiNodeParticipant:this.multiNodeParticipant}).then(o=>{o.code==200?(this.show=!1,this.$emit("update:visible",this.show),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.$emit("successFn"),this.btnLoading=!1):(this.handleTips(o.msg,!0,"error"),this.btnLoading=!1)}).catch(o=>{this.handleTips(o.msg,!0,"error"),this.btnLoading=!1}):(this.handleTips(n.msg,!0,"error"),this.btnLoading=!1)}).catch(n=>{this.handleTips(n.msg,!0,"error"),this.btnLoading=!1})}},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips&&this.$refs.topTips.handleOpen()}}}),iA="",Mt=e=>(t.pushScopeId("data-v-113ef106"),e=e(),t.popScopeId(),e),Zc={class:"sumbmitPopup-select"},Xc=Mt(()=>t.createElementVNode("div",{class:"sumbmitPopup-select-checked-title"}," \u5F53\u524D\u6D41\u7A0B ",-1)),_c={class:"sumbmitPopup-select-viewTrack"},qc=["src"],$c={key:0,class:"person-views"},ed=Mt(()=>t.createElementVNode("div",{class:"person-views-title"},"\u4E0B\u4E00\u6B65\u5904\u7406\u8282\u70B9",-1)),td={class:"views-items"},sd={class:"views-items-name"},nd=Mt(()=>t.createElementVNode("span",{class:"views-items-name--re"},"*",-1)),od={class:"views-items-set"},id={key:0},ad={key:0},ld={key:1},cd={key:2},dd=["onClick"],rd={key:1,class:"person-views"},pd=Mt(()=>t.createElementVNode("div",{class:"person-views-title"},"\u5176\u4ED6\u5904\u7406\u8282\u70B9",-1)),hd={class:"views-items"},md={class:"views-items-name"},ud={class:"views-items-set"},gd=["onClick"],fd={key:0},Ad={key:0},kd={key:1},yd={key:2,class:"person-views-white"},Cd={style:{height:"100%"}};function Ed(e,n,o,i,l,d){const m=t.resolveComponent("TopDownSelect"),f=t.resolveComponent("TopPopup"),k=t.resolveComponent("departPerson"),C=t.resolveComponent("PreviewImage"),u=t.resolveComponent("TopTips");return t.openBlock(),t.createElementBlock("div",null,[t.createVNode(f,{visible:e.show,"onUpdate:visible":n[2]||(n[2]=h=>(e.show=h,e.$emit("update:visible",h))),ref:"TopPopup",titleText:"\u9001\u5BA1",isIndex:99,className:"sumbmitPopup-index sumbmitPopup-index-sumbit",comfigText:"\u9001\u5BA1",comfig:e.handleSumbit},{default:t.withCtx(()=>[t.createVNode(m,{isSlots:"",option:e.option,onChange:e.handleChange,defaultValue:e.selectDefaultValue,ref:"TopDownSelect",disibled:e.resubmit},{header:t.withCtx(h=>[t.createElementVNode("div",Zc,[t.createElementVNode("div",{class:"sumbmitPopup-select-checked",onClick:n[0]||(n[0]=(...E)=>e.handleSelect&&e.handleSelect(...E))},[Xc,t.createElementVNode("div",{class:t.normalizeClass(["sumbmitPopup-select-checked-node",e.resubmit?"sumbmitPopup-select-checked-node--noafter":""])},t.toDisplayString(h.data.name?h.data.name:h.data.placeholder),3)]),t.createElementVNode("div",_c,[e.checkedItem.id?(t.openBlock(),t.createElementBlock("div",{key:0,class:"viewTrack",onClick:n[1]||(n[1]=E=>e.taskurlshow=!0)},[t.createElementVNode("img",{src:e.ProcessImg},null,8,qc),t.createTextVNode(" \u67E5\u770B\u6D41\u7A0B\u56FE ")])):t.createCommentVNode("",!0)])])]),_:1},8,["option","onChange","defaultValue","disibled"]),e.firstPerson&&e.firstPerson.length?(t.openBlock(),t.createElementBlock("div",$c,[ed,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.firstPerson,(h,E)=>(t.openBlock(),t.createElementBlock("div",td,[t.createElementVNode("div",sd,[t.createTextVNode(t.toDisplayString(h.name)+" ",1),nd]),t.createElementVNode("div",od,[e.partNode[h.id]&&e.partNode[h.id].length?(t.openBlock(),t.createElementBlock("div",id,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.partNode[h.id],(w,S)=>(t.openBlock(),t.createElementBlock("span",null,t.toDisplayString(S>=3?"":S==0?w:`,${w}`),1))),256)),e.partNode[h.id].length>3?(t.openBlock(),t.createElementBlock("span",ad,"...\u7B49"+t.toDisplayString(e.partNode[h.id].length)+"\u4EBA",1)):t.createCommentVNode("",!0)])):h.routeTxt&&h.routeTxt.userNames?(t.openBlock(),t.createElementBlock("div",ld,t.toDisplayString(h.routeTxt.userNames),1)):t.createCommentVNode("",!0),h.humanPerformerName=="\u56FA\u5B9A\u8D26\u6237"||h.humanPerformerName=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(t.openBlock(),t.createElementBlock("div",cd)):(t.openBlock(),t.createElementBlock("div",{key:3,class:"views-items-set-btn",onClick:w=>e.handleOpenPerson(h)}," \u8BBE\u7F6E ",8,dd))])]))),256))])):t.createCommentVNode("",!0),e.personList&&e.personList.length?(t.openBlock(),t.createElementBlock("div",rd,[pd,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.personList,(h,E)=>(t.openBlock(),t.createElementBlock("div",hd,[t.createElementVNode("div",md,t.toDisplayString(h.name),1),t.createElementVNode("div",ud,[t.createElementVNode("div",{class:"views-items-set-btn",onClick:w=>e.handleOpenPerson(h)}," \u8BBE\u7F6E ",8,gd),e.partNode[h.id]&&e.partNode[h.id].length?(t.openBlock(),t.createElementBlock("div",fd,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.partNode[h.id],(w,S)=>(t.openBlock(),t.createElementBlock("span",null,t.toDisplayString(S>=3?"":S==0?w:`,${w}`),1))),256)),e.partNode[h.id].length>3?(t.openBlock(),t.createElementBlock("span",Ad,"...\u7B49"+t.toDisplayString(e.partNode[h.id].length)+"\u4EBA",1)):t.createCommentVNode("",!0)])):(t.openBlock(),t.createElementBlock("div",kd))])]))),256))])):t.createCommentVNode("",!0),!e.firstPerson&&!e.firstPerson.length&&!e.personList&&!e.personList.length?(t.openBlock(),t.createElementBlock("div",yd," \u65E0\u9700\u8BBE\u7F6E ")):t.createCommentVNode("",!0)]),_:1},8,["visible","comfig"]),t.createVNode(f,{visible:e.visiblePerson,"onUpdate:visible":n[3]||(n[3]=h=>e.visiblePerson=h),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0,isIndex:199},{default:t.withCtx(()=>[t.createElementVNode("div",Cd,[e.visiblePerson?(t.openBlock(),t.createBlock(k,t.mergeProps({key:0,isTitle:!1,visible:e.visiblePerson},e.entity,{onCallback:e.handleCallback,onCancel:e.handleCancel}),null,16,["visible","onCallback","onCancel"])):t.createCommentVNode("",!0)])]),_:1},8,["visible"]),t.createVNode(C,{images:e.trackUrl,visible:e.taskurlshow,"onUpdate:visible":n[4]||(n[4]=h=>e.taskurlshow=h),indexd:0,isOne:!0,isStyle:e.isStyle},null,8,["images","visible","isStyle"]),t.createVNode(u,{ref:"topTips",text:e.textTips,statusTips:e.statusTips,type:e.typeTips},null,8,["text","statusTips","type"])])}const co=U(zc,[["render",Ed],["__scopeId","data-v-113ef106"]]),Bd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAEmBJREFUeF7tnAt0VdWZx397n3PvDUlISHgEkJfDGxXRVnGqq2o7PtvB1hl0fFun6ji+xhfgzCioq5WA2hFxptUOY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Qwxu6psvDi1RVZ266xgOZqBecneTkFrVAlGYLepaijhn5KjQXed+cq21wgNhYbSmMB39Tg7sBwy55rLJDKpKJWOJU32eE6wwUaztCafaQ1xZai1hQHp60p+vmEpsEV3dyaYiO8Ka0p1vrcpFfba01h+Mi1pihwV+N1SWuKnWyZs/PWS9vmJopTrOJ4kUsiwIVRzQXXx8M1Nxlfg9rfNzdRkhg6oKcvt5QjS1WPpLlJOzX2aS28a27S7GvLJL1m1SaQhMvFddg312AXrvHNTcqkuUkGLYyR5ibW8or6RJubtN1uxe1xZtn+seF0FOcpGKIUpZJkKvaIa48T+8QGSac7fHBRe5zeSbmltMfp2aY9zqYk9C3tcdYXtcf50KftSU6TyLii9jixtWyx8AGWeYHm/nVTVNJHyOqdaWhSvNSdZ1B7UjfpqtKnB/2N4UQUVwFjlEoaLFmMa7CknH2iXEcp7d633r+zBkvSXCl5SaWQdSFxabCkXJcXAUbUgTRYulVrfvPpN1hKQWqnRVfVTFupDOMIOSwwTLAwWmnGttuiqyhVRhb9sRZdRY9OmNJeiy5reFvBklhadEW8ZDWLGqapxq3G307Km/aeffcwyPcWChB1mjR5GzHH5ta1MjCMGI5mnIGRGgYFmr4KpHawp1JJkzd/5tm+yVsyY2uRcu1N0vYsNqwzsELDUgyLopB3++ZYuWyvbPLW0XbrpE1gFg5DUYFvC3iQy+U0rp3XMKUZ6hSmL9Nejnb5nfK315A2gZaNeXjpk2wT+P9KELohNtx5+AAAAABJRU5ErkJggg==",Id=re({name:"attchViews",components:{TopTips:pe,PreviewImage:Ts,PreView:_n,TopPopup:ee},props:{request:{type:Function,defalut:()=>{}},limit:{type:Number|String,default:4},changeFn:{type:Function,default:null},requires:{default:!1},inComing:{type:Array,defalut:()=>[]},deletFn:{type:Function},onlyShow:{type:Boolean,default:!1},linkUrl:{type:Function,defalut:null}},data(){return{lists:[],filesArr:[],imgIcon:["jpg","jpeg","png","gif"],docIcon:["doc","docx"],xlsIcon:["xls","xlsx"],zipIcon:["zip","rar","7z"],extension:["bmp","gif","jpg","jpeg","png","doc","docx","xls","xlsx","ppt","pptx","html","htm","txt","wps","rar","zip","gz","bz2","mp4","avi","rmvb","pdf"],current:"",buttonLoading:!1,handleCloseType:!0,uploadState:!0,textTips:"",statusTips:!1,typeTips:"success",visible:!1,indexd:0,visibleS:!1,fileUrl:""}},watch:{inComing:{handler(e,n){e&&(this.filesArr=[].concat(e),this.emitView())},immediate:!0,deep:!0}},computed:{haveCount(){return this.limit==-1?100:this.limit-this.filesArr.length},addFile(){return Bd},del(){return qn},doc(){return $n},file(){return eo},image(){return to},pdf(){return so},xls(){return no},zip(){return oo}},mounted(){this.$nextTick(()=>{let e=document.createElement("input");e.type="file",e.className="upload-input",e.style="opacity: 0;position: absolute;width:100%;height:100%;visibility: hidden;",e.multiple=!0,e.id="fileUp",e.addEventListener("change",this.handleSelect),document.getElementById("inputfile").appendChild(e)})},methods:{handleClick(){if(typeof nativeMethod<"u"&&nativeMethod.vueSelectFile&&nativeMethod.vueSelectFile(2,"*",this.limit||1),this.haveCount<=0){this.handleTips(`\u6700\u591A\u4E0A\u4F20${props.limit}\u4E2A\u6587\u4EF6`,!1,"success");return}document.getElementById("fileUp").click()},async handleSelect(e,n){this.handleTips("\u4E0A\u4F20\u4E2D",!0,"loading");const o=Array.from(e.target.files);document.getElementById("fileUp").value="";let i=0,l=this.haveCount>o.length?o.length:this.haveCount;try{for(let d=0;d<l;d++)if(this.extension.includes(o[d].name.substring(o[d].name.lastIndexOf(".")+1))){const m=new FormData;m.append("file",o[d]);const f=await this.request.post("/file/upload",m,{headers:{"Content-Type":"multipart/form-data"}});if(f.code===200){if(this.filesArr.length>0){for(let k=0;k<this.filesArr.length;k++)if(f.originFileName==this.filesArr[k].originFileName&&i++,this.filesArr[k].originFileName.includes(`(${i})`)&&i++,i>0){let C=f.originFileName.lastIndexOf(".");f.originFileName=`${f.originFileName.substring(0,C)} (${i}) .${f.originFileName.substring(f.originFileName.lastIndexOf(".")+1)}`}}this.filesArr.push(f.data)}else{this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error"),this.viewImage();return}}else{this.handleTips(`\u6587\u4EF6${o[d].name}\u683C\u5F0F\u9519\u8BEF,\u8BF7\u91CD\u65B0\u4E0A\u4F20`,!0,"error");return}this.handleTips("\u4E0A\u4F20\u6210\u529F",!0,"success"),this.viewImage(),this.emitView()}catch{this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error"),this.emitView()}},handleDel(e,n){if(this.deletFn){if(this.deletFn(n)===!1){this.handleTips("\u5220\u9664\u5931\u8D25",!0,"error");return}this.filesArr.splice(e,1),this.emitView()}else this.filesArr.splice(e,1),this.emitView()},viewFile(e,n){this.imgIcon.includes(e.name.substring(e.name.lastIndexOf(".")+1).toLowerCase())?(this.indexd=this.lists.indexOf(e.url),this.visible=!0):e.url&&(this.fileUrl=e.url,this.visibleS=!0)},viewImage(){this.lists=[];let e=[];this.filesArr.map((n,o)=>{this.imgIcon.includes(n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase())}),e=this.filesArr.filter(n=>this.imgIcon.includes(n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase())),e.forEach((n,o)=>{this.lists.push(n.url)})},emitView(){this.$emit("getValue",this.filesArr)},clearData(){this.filesArr=[]},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()}}}),aA="",Nd={class:"attch-upload"},bd={key:0,class:"attch-upload-mask"},Td={class:"attch-upload-body"},wd={class:"upload-header"},vd={class:"upload-header-title"},Vd={key:0,class:"upload-header-title--re"},Sd={class:"upload-header-upload"},Dd=["src"],Qd={class:"upload-body"},Od={key:0,class:"upload-list"},Md={class:"list-items-icon"},xd=["src"],Fd=["src"],Pd=["src"],Ld=["src"],Ud=["src"],Jd=["src"],Gd={class:"list-items-info"},Rd={class:"info-name"},jd={class:"info-attribute"},Kd={class:"info-attribute-size"},Yd=["onClick"],Hd={key:0,class:"list-items-operation"},Wd=["onClick"],zd=["src"];function Zd(e,n,o,i,l,d){const m=t.resolveComponent("TopTips"),f=t.resolveComponent("PreviewImage"),k=t.resolveComponent("PreView"),C=t.resolveComponent("TopPopup");return t.openBlock(),t.createElementBlock("div",Nd,[e.buttonLoading?(t.openBlock(),t.createElementBlock("div",bd)):t.createCommentVNode("",!0),t.createElementVNode("div",Td,[t.createElementVNode("div",wd,[t.createElementVNode("div",vd,[t.createTextVNode(" \u9644\u4EF6 "),e.requires?(t.openBlock(),t.createElementBlock("span",Vd,"*")):t.createCommentVNode("",!0)]),t.createElementVNode("div",Sd,[e.onlyShow?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:"upload-header-upload--item",id:"inputfile",onClick:n[0]||(n[0]=(...u)=>e.handleClick&&e.handleClick(...u))},[t.createElementVNode("img",{src:e.addFile},null,8,Dd),t.createTextVNode("\u4E0A\u4F20\u9644\u4EF6 ")]))])]),t.createElementVNode("div",Qd,[e.filesArr.length>0?(t.openBlock(),t.createElementBlock("div",Od,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.filesArr,(u,h)=>(t.openBlock(),t.createElementBlock("div",{class:"list-items",key:u.uuid},[t.createElementVNode("div",Md,[e.xlsIcon.includes(u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase())?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon-img",src:e.xls},null,8,xd)):e.imgIcon.includes(u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase())?(t.openBlock(),t.createElementBlock("img",{key:1,class:"icon-img",src:e.image},null,8,Fd)):u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase()=="pdf"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon-img",src:e.pdf},null,8,Pd)):e.docIcon.includes(u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase())?(t.openBlock(),t.createElementBlock("img",{key:3,class:"icon-img",src:e.doc},null,8,Ld)):e.zipIcon.includes(u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase())?(t.openBlock(),t.createElementBlock("img",{key:4,class:"icon-img",src:e.zip},null,8,Ud)):(t.openBlock(),t.createElementBlock("img",{key:5,class:"icon-img",src:e.file},null,8,Jd))]),t.createElementVNode("div",Gd,[t.createElementVNode("div",Rd,t.toDisplayString(u.originFileName),1),t.createElementVNode("div",jd,[t.createElementVNode("span",Kd,t.toDisplayString(u.fileSize<1024?u.fileSize:u.fileSize/1024>1024?parseFloat((u.fileSize/1024/1024).toFixed(2)):parseFloat((u.fileSize/1024).toFixed(2)))+t.toDisplayString(u.fileSize<1024?"b":parseFloat((u.fileSize/1024).toFixed(2))<1024?"kb":"M"),1),t.createElementVNode("span",{class:"info-attribute-views",onClick:E=>e.viewFile(u,h)}," \u9884\u89C8 ",8,Yd)])]),e.onlyShow?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Hd,[t.createElementVNode("div",{onClick:E=>e.handleDel(h,u),class:"list-items-operation-img"},[t.createElementVNode("img",{src:e.del},null,8,zd)],8,Wd)]))]))),128))])):t.createCommentVNode("",!0)])]),t.createVNode(m,{ref:"topTips",text:e.textTips,statusTips:e.statusTips,type:e.typeTips},null,8,["text","statusTips","type"]),t.createVNode(f,{images:e.lists,visible:e.visible,"onUpdate:visible":n[1]||(n[1]=u=>e.visible=u),indexd:e.indexd},null,8,["images","visible","indexd"]),t.createVNode(C,{visible:e.visibleS,"onUpdate:visible":n[2]||(n[2]=u=>e.visibleS=u),ref:"TopPopup",titleText:"\u9644\u4EF6\u9884\u89C8",isDrawer:"",isIndex:99},{default:t.withCtx(()=>[e.visibleS?(t.openBlock(),t.createBlock(k,{key:0,file:e.fileUrl},null,8,["file"])):t.createCommentVNode("",!0)]),_:1},8,["visible"])])}const qe=U(Id,[["render",Zd],["__scopeId","data-v-73da35c4"]]),Xd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADG5JREFUeF7tnVFaGzcXhjUD16WsoLCSwl1qso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4/hNBcbak769rmsvaKZ12FWUEGtIIsm7plwM2aEK9rbXCtwlgv/89k8rGLzYe1TfIsxjCrtXdbbwMCKc3ior7XFWS9e71YwuHhSe2ZV4R1HmbZ5v7fb91uBCLK5FAEIuruaMIgEFGqEYgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsLk5JVbTV5I4tBnGmfj0k1zHicX0doYT7/xd3MvVqZAgoerdqwDYCzlrVcQrXBxc0OMG4Hk3oXrabYZy8BP7WfupBdCQCDrkPsbOGJo+ut1Mv7i1dF0ep1RkSqVCJTks+ZVqNbuullBjJe0vdBPRGJNfq3yuW5g2Z7al9lZ+u1GIH2jC5bkZZ/7+2UXV3/GKnfNWuCOrWyMzVnGRdXPMHmzzK4EUjrzjG1A7ml/3ew/er6uBFJus/Z0yIyoW57slTuB9A2yXLw8onEzlq66Wj1cCoRVZCxa+LGf3lYPlwLpG1VyRDje4TX0nvs8hXS1B1lNMRv2oQ/49PZ7O7labblbgfRWq2kOPpUeG6aniZK7IOBZHG4t1jJRi/1I/yJN00spd5FoPjOLgJt3EW5qvdsVZE0kv6e+UiwrTVR6cwLeV44lEPcC6Rua+EqxN08yH5hNwN1x7mBXkNWGsy/JHpBeKr7JexGVnR3ECrLe4Q3v3lNyIZaWgOt3OW7r6iAFsro/OWjbs8WLKvuNPJt57cDOjTZ/UWjTxIeh/wxh0AJ5KXvzF1bytxMCx/f3e/cE9d4JZCcjgw/dWwIIZG9TS8cUBBCIgiIx9pYAAtnb1NIxBQEEoqBIjL0lgED2NrV0TEHgP1VLsH2X3+jEAAAAAElFTkSuQmCC",lA="",_d={name:"msgList",components:{TopPopup:ee},props:{visible:{type:Boolean,default:!1},request:{default:null},useInfo:{type:Object,default:()=>{}}},data(){return{listData:[],visibleListMsg:!1,opinion:{},textTips:"",statusTips:!1,typeTips:""}},computed:{Del(){return Xd}},watch:{visible:{handler(e,n){e&&this.request.get("/auth/user/opinion/my").then(o=>{o.code===200&&(this.listData=o.data)})}}},methods:{handleMsg(e){this.$emit("handleMsg",e.opinionName)},handleOpenMsg(e){this.opinion=e,this.visibleListMsg=!0},handleTipsCancel(){this.visibleListMsg=!1},async handleDel(){this.opinion.opinionId&&(this.visibleListMsg=!1,this.$emit("handleTips","",!0,"loading"),await this.request.get(`/auth/user/opinion/del/${this.opinion.opinionId}`).then(e=>{e.code===200?(this.$emit("handleTips","\u5220\u9664\u6210\u529F",!0,"success"),this.request.get("/auth/user/opinion/my").then(n=>{n.code===200&&(this.listData=n.data)})):this.$emit("handleTips",e.msg,!0,"error")}).catch(e=>{this.$emit("handleTips",e.msg,!0,"error")}))}}},qd={key:0,class:"top-msg"},$d=["onClick"],er={class:"top-msg-items-text"},tr=["onClick"],sr=["src"];function nr(e,n,o,i,l,d){const m=t.resolveComponent("TopPopup");return t.openBlock(),t.createElementBlock("div",null,[o.visible?(t.openBlock(),t.createElementBlock("div",qd,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.listData,f=>(t.openBlock(),t.createElementBlock("div",{class:"top-msg-items",onClick:k=>d.handleMsg(f)},[t.createElementVNode("div",er,t.toDisplayString(f.opinionName),1),t.createElementVNode("div",{class:"top-msg-items-del",onClick:t.withModifiers(k=>d.handleOpenMsg(f),["stop"])},[t.createElementVNode("img",{src:d.Del},null,8,sr)],8,tr)],8,$d))),256))])):t.createCommentVNode("",!0),t.createVNode(m,{isIndex:2299,titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06\u5E38\u7528\u610F\u89C1'${l.opinion.opinionName}'\u5220\u9664`,cancel:d.handleTipsCancel,comfig:d.handleDel,visible:l.visibleListMsg,"onUpdate:visible":n[0]||(n[0]=f=>l.visibleListMsg=f)},null,8,["context","cancel","comfig","visible"])])}const rt=U(_d,[["render",nr],["__scopeId","data-v-87fc3e49"]]),cA="",or={name:"counterSign",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:pe,attchViews:qe,TopPopup:ee,departPerson:he.exports.departPerson,MsgList:rt},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||"0",request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},actionName:"",visibleListMsg:!1,visibleMsgComfig:!1}},watch:{param:{handler(e,n){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.actionName=e.actionName,e.nextNodeData.length?this.nextNodeData[0].type=="userTask"||this.nextNodeData[0].type=="UserTaskModel"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):this.nextNodeData[0].type=="ExclusiveGatewayModel"||this.nextNodeData[0].type=="InclusiveGatewayModel":e.outGatewayUserTaskModel.length&&(e.outGatewayUserTaskModel[0].type=="userTask"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):e.outGatewayUserTaskModel[0].type=="ExclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="InclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="UserTaskModel"&&(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.checkedArray=[],this.entity.source="1",this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]))},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleOpenPopup(e){this.visible=!0,this.partObjId=e},confirm(){if(!this.commentMsg)return this.textTips="\u8BF7\u8F93\u5165\u52A0\u7B7E\u7406\u7531!",this.$refs.topTips.handleOpen(),!1;let e="";this.multiNodeParticipant[this.partObjId].map((n,o)=>{o==0?e=n:e=`${e} ${n}`}),this.handleTips("",!0,"loading"),this.param.request.post("/aws/tis/createDynamicTask",{title:this.param.formData.title||this.param.formData.reason||this.param.formData.meetingTheme,participant:e,processInstId:this.param.processInstId,adHocType:2,parentTaskInstId:this.param.taskInstId,reason:this.commentMsg}).then(n=>{n.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips(n.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.partObjId].push(n.uid),this.partNode[this.partObjId].push(n.name),this.entity.checkedArray.push({type:3,uid:n.uid})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((o,i)=>{o.size=o.fileSize,o.format=o.originFileName.substring(o.originFileName.lastIndexOf(".")+1),o.uploadTime=o.createTime,o.processInstId=this.param.processInstId,o.taskInstId=this.param.taskInstId,o.name=o.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("counterSign")}}},pt=e=>(t.pushScopeId("data-v-7c557bcb"),e=e(),t.popScopeId(),e),ir={class:"process-popup-content"},ar={class:"process-popup-content-msg"},lr={key:0},cr=pt(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createTextVNode(" \u52A0\u7B7E\u7406\u7531\uFF1A"),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),dr={class:"process-pc-value"},rr={class:"process-popup-textarea"},pr={class:"process-popup-textarea-num"},hr={key:0,class:"msg-btn"},mr={key:0,class:"process-popup-content-person"},ur=pt(()=>t.createElementVNode("div",null,[t.createElementVNode("br"),t.createTextVNode(" \u5BA1\u6279\u4EBA "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),gr=["onClick"],fr={class:"process-pc-value--people"},Ar={key:0,class:"process-pc-value--data"},kr={key:1,class:"process-pc-value--data",style:{color:"#888"}},yr=[pt(()=>t.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1))],Cr=pt(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createElementVNode("br"),t.createTextVNode(" \u5BA1\u6279\u4EBA "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),Er=["onClick"],Br={class:"process-pc-value--people"},Ir={key:0,class:"process-pc-value--data"},Nr={key:1,class:"process-pc-value--data",style:{color:"#888"}},br=[pt(()=>t.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1))],Tr={style:{height:"100%"}};function wr(e,n,o,i,l,d){const m=t.resolveComponent("TopTips"),f=t.resolveComponent("departPerson"),k=t.resolveComponent("TopPopup"),C=t.resolveComponent("attchViews"),u=t.resolveComponent("MsgList");return t.openBlock(),t.createElementBlock("div",ir,[t.createElementVNode("div",ar,[o.param.isMsg?(t.openBlock(),t.createElementBlock("div",lr,[t.createElementVNode("div",{class:"process-radio-item",onClick:n[0]||(n[0]=h=>d.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px"}}," \u5E38\u7528\u610F\u89C1 ")])):t.createCommentVNode("",!0),cr,t.createElementVNode("div",dr,[t.createElementVNode("div",rr,[t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":n[1]||(n[1]=h=>l.commentMsg=h),class:"textarea-item",name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},null,512),[[t.vModelText,l.commentMsg]]),t.createElementVNode("div",pr,t.toDisplayString(l.commentMsg.length)+"/200 ",1)]),o.param.isMsg?(t.openBlock(),t.createElementBlock("div",hr,[t.createElementVNode("span",{class:"msg-btn-click",onClick:n[2]||(n[2]=h=>d.handleMakeMsg())},"\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])):t.createCommentVNode("",!0)])]),l.taskNode&&l.taskNode.length>0&&l.taskNode[0].taskState!=4?(t.openBlock(),t.createElementBlock("div",mr,[l.nextNodeData.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(l.nextNodeData,h=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[ur,t.createElementVNode("div",{class:"process-pc-value",onClick:E=>d.handleOpenPopup(h.id)},[t.createElementVNode("div",fr,[l.partNode[h.id]&&l.partNode[h.id].length?(t.openBlock(),t.createElementBlock("div",Ar,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.partNode[h.id],(E,w)=>(t.openBlock(),t.createElementBlock("span",null,t.toDisplayString(w==0?E:`,${E}`),1))),256))])):(t.openBlock(),t.createElementBlock("div",kr,yr))])],8,gr)],64))),256)):l.outGatewayUserTaskModel.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(l.outGatewayUserTaskModel,h=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[Cr,t.createElementVNode("div",{class:"process-pc-value",onClick:E=>d.handleOpenPopup(h.id)},[t.createElementVNode("div",Br,[l.partNode[h.id]&&l.partNode[h.id].length?(t.openBlock(),t.createElementBlock("div",Ir,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.partNode[h.id],(E,w)=>(t.openBlock(),t.createElementBlock("span",null,t.toDisplayString(w==0?E:`,${E}`),1))),256))])):(t.openBlock(),t.createElementBlock("div",Nr,br))])],8,Er)],64))),256)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createVNode(m,{ref:"topTips",text:l.textTips,statusTips:l.statusTips,type:l.typeTips},null,8,["text","statusTips","type"]),t.createVNode(k,{visible:l.visible,"onUpdate:visible":n[3]||(n[3]=h=>l.visible=h),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:t.withCtx(()=>[t.createElementVNode("div",Tr,[l.visible?(t.openBlock(),t.createBlock(f,t.mergeProps({key:0,isTitle:!1,visible:l.visible,request:o.param.request},l.entity,{onCallback:d.handleCallback,onCancel:d.handleCancel}),null,16,["visible","request","onCallback","onCancel"])):t.createCommentVNode("",!0)])]),_:1},8,["visible"]),l.labels=="5"?(t.openBlock(),t.createBlock(C,{key:1,limit:l.limit?l.limit:-1,requires:l.requires,request:o.param.request,linkUrl:o.param.linkUrl,onGetValue:d.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):t.createCommentVNode("",!0),t.createVNode(k,{visible:l.visibleListMsg,"onUpdate:visible":n[4]||(n[4]=h=>l.visibleListMsg=h),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:t.withCtx(()=>[t.createVNode(u,{visible:l.visibleListMsg,request:o.param.request,useInfo:o.param.userInfo,onHandleTips:d.handleTips,onHandleMsg:d.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),t.createVNode(k,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${l.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:d.handleTipsCancel,comfig:d.handleTipsComfig,visible:l.visibleMsgComfig,"onUpdate:visible":n[5]||(n[5]=h=>l.visibleMsgComfig=h)},null,8,["context","cancel","comfig","visible"])])}const vr=U(or,[["render",wr],["__scopeId","data-v-7c557bcb"]]),pA="",Vr={name:"delegateTask",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:pe,attchViews:qe,TopPopup:ee,departPerson:he.exports.departPerson,MsgList:rt},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},actionName:"",visibleListMsg:!1,visibleMsgComfig:!1}},watch:{param:{handler(e,n){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.actionName=e.actionName,e.nextNodeData.length?this.nextNodeData[0].type=="userTask"||this.nextNodeData[0].type=="UserTaskModel"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):this.nextNodeData[0].type=="ExclusiveGatewayModel"||this.nextNodeData[0].type=="InclusiveGatewayModel":e.outGatewayUserTaskModel.length&&(e.outGatewayUserTaskModel[0].type=="userTask"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):e.outGatewayUserTaskModel[0].type=="ExclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="InclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="UserTaskModel"&&(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]))},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleOpenPopup(e){this.visible=!0,this.partObjId=e},async confirm(){if(!this.commentMsg){this.textTips="\u8BF7\u8F93\u5165\u8F6C\u5BA1\u7406\u7531!",this.$refs.topTips.handleOpen();return}let e="";this.multiNodeParticipant[this.partObjId].map((n,o)=>{o==0?e=n:e=`${e} ${n}`}),this.handleTips("",!0,"loading"),await this.param.request.post("/aws/tis/delegate",{delegateReason:this.commentMsg,taskInstId:this.param.taskInstId,targetUID:e}).then(n=>{n.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips(n.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.partObjId].push(n.uid),this.partNode[this.partObjId].push(n.name),this.entity.checkedArray.push({type:3,uid:n.uid})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((o,i)=>{o.size=o.fileSize,o.format=o.originFileName.substring(o.originFileName.lastIndexOf(".")+1),o.uploadTime=o.createTime,o.processInstId=this.param.processInstId,o.taskInstId=this.param.taskInstId,o.name=o.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("delegateTask")}}},ht=e=>(t.pushScopeId("data-v-da729aaf"),e=e(),t.popScopeId(),e),Sr={class:"process-popup-content"},Dr={class:"process-popup-content-msg"},Qr={key:0},Or=ht(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createTextVNode(" \u8F6C\u5BA1\u7406\u7531\uFF1A"),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),Mr={class:"process-pc-value"},xr={class:"process-popup-textarea"},Fr={class:"process-popup-textarea-num"},Pr={key:0,class:"msg-btn"},Lr={key:0,class:"process-popup-content-person"},Ur=ht(()=>t.createElementVNode("div",null,[t.createTextVNode(" \u5BA1\u6279\u4EBA "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),Jr=["onClick"],Gr={class:"process-pc-value--people"},Rr={key:0,class:"process-pc-value--data"},jr={key:1,class:"process-pc-value--data",style:{color:"#888"}},Kr=[ht(()=>t.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1))],Yr=ht(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createTextVNode(" \u5BA1\u6279\u4EBA "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),Hr=["onClick"],Wr={class:"process-pc-value--people"},zr={key:0,class:"process-pc-value--data"},Zr={key:1,class:"process-pc-value--data",style:{color:"#888"}},Xr=[ht(()=>t.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1))],_r={style:{height:"100%"}};function qr(e,n,o,i,l,d){const m=t.resolveComponent("TopTips"),f=t.resolveComponent("departPerson"),k=t.resolveComponent("TopPopup"),C=t.resolveComponent("attchViews"),u=t.resolveComponent("MsgList");return t.openBlock(),t.createElementBlock("div",Sr,[t.createElementVNode("div",Dr,[o.param.isMsg?(t.openBlock(),t.createElementBlock("div",Qr,[t.createElementVNode("div",{class:"process-radio-item",onClick:n[0]||(n[0]=h=>d.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px"}}," \u5E38\u7528\u610F\u89C1 ")])):t.createCommentVNode("",!0),Or,t.createElementVNode("div",Mr,[t.createElementVNode("div",xr,[t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":n[1]||(n[1]=h=>l.commentMsg=h),class:"textarea-item",name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},null,512),[[t.vModelText,l.commentMsg]]),t.createElementVNode("div",Fr,t.toDisplayString(l.commentMsg.length)+"/200 ",1)]),o.param.isMsg?(t.openBlock(),t.createElementBlock("div",Pr,[t.createElementVNode("span",{class:"msg-btn-click",onClick:n[2]||(n[2]=h=>d.handleMakeMsg())},"\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])):t.createCommentVNode("",!0)])]),l.taskNode&&l.taskNode.length>0&&l.taskNode[0].taskState!=4?(t.openBlock(),t.createElementBlock("div",Lr,[l.nextNodeData.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(l.nextNodeData,h=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[Ur,t.createElementVNode("div",{class:"process-pc-value",onClick:E=>d.handleOpenPopup(h.id)},[t.createElementVNode("div",Gr,[l.partNode[h.id]&&l.partNode[h.id].length?(t.openBlock(),t.createElementBlock("div",Rr,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.partNode[h.id],(E,w)=>(t.openBlock(),t.createElementBlock("span",null,t.toDisplayString(w==0?E:`,${E}`),1))),256))])):(t.openBlock(),t.createElementBlock("div",jr,Kr))])],8,Jr)],64))),256)):l.outGatewayUserTaskModel.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(l.outGatewayUserTaskModel,h=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[Yr,t.createElementVNode("div",{class:"process-pc-value",onClick:E=>d.handleOpenPopup(h.id)},[t.createElementVNode("div",Wr,[l.partNode[h.id]&&l.partNode[h.id].length?(t.openBlock(),t.createElementBlock("div",zr,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.partNode[h.id],(E,w)=>(t.openBlock(),t.createElementBlock("span",null,t.toDisplayString(w==0?E:`,${E}`),1))),256))])):(t.openBlock(),t.createElementBlock("div",Zr,Xr))])],8,Hr)],64))),256)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createVNode(m,{ref:"topTips",text:l.textTips,statusTips:l.statusTips,type:l.typeTips},null,8,["text","statusTips","type"]),t.createVNode(k,{visible:l.visible,"onUpdate:visible":n[3]||(n[3]=h=>l.visible=h),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:t.withCtx(()=>[t.createElementVNode("div",_r,[l.visible?(t.openBlock(),t.createBlock(f,t.mergeProps({key:0,isTitle:!1,visible:l.visible,request:o.param.request},l.entity,{onCallback:d.handleCallback,onCancel:d.handleCancel}),null,16,["visible","request","onCallback","onCancel"])):t.createCommentVNode("",!0)])]),_:1},8,["visible"]),l.labels=="1"?(t.openBlock(),t.createBlock(C,{key:1,limit:l.limit?l.limit:-1,requires:l.requires,request:o.param.request,linkUrl:o.param.linkUrl,onGetValue:d.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):t.createCommentVNode("",!0),t.createVNode(k,{visible:l.visibleListMsg,"onUpdate:visible":n[4]||(n[4]=h=>l.visibleListMsg=h),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:t.withCtx(()=>[t.createVNode(u,{visible:l.visibleListMsg,request:o.param.request,useInfo:o.param.userInfo,onHandleTips:d.handleTips,onHandleMsg:d.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),t.createVNode(k,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${l.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:d.handleTipsCancel,comfig:d.handleTipsComfig,visible:l.visibleMsgComfig,"onUpdate:visible":n[5]||(n[5]=h=>l.visibleMsgComfig=h)},null,8,["context","cancel","comfig","visible"])])}const $r=U(Vr,[["render",qr],["__scopeId","data-v-da729aaf"]]),ep="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACZ5JREFUeF7tne1xG0cMhkE2EqeS2JXY6iLRZMb2jEdJF3YqiVNJ5EbMzIlhRDIiecAt9uPeh3+9wC5e4BEWx7O0MT4ogAIXFdigDQqgwGUFAITqQIErCgAI5YECAEINoEBMATpITDesRBQAEJFEE2ZMAQCJ6YaViAIAIpJowowpACAx3bASUQBARBJNmDEFACSmG1YiCgCISKIJM6YAgMR0w0pEAQARSTRhxhQAkJhuWIkoACAiiSbMmAIAEtMNKxEFAEQk0YQZUwBAYrphJaIAgIgkmjBjCgBITDesRBQAEJFEE2ZMAQCJ6YaViAIAIpJowowpACAx3bASUQBARBJNmDEFACSmG1YiCgCISKIJM6YAgMR0w0pEAQARSTRhxhQAkJhuWIkoACAiiSbMmAIAEtMNKxEFAEQk0YQZUwBAYrphJaIAgIgkmjBjCgBITDesRBQAEJFEE2ZMAQCJ6YaViAIAIpJowowpACAx3bASUQBARBJNmDEFACSmG1YiCgCISKKHDfPn3Svb2tt/z//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461dpgF11ASkECHA3Ktt6W2oAshQQ46lVqo50AJAoJcDQq2brbAshB7/3fJ5n7R3K+2MPmrm6q2K2FAgByrvr97p2ZvTez/V+WOv082tbunv7yFB8JBQDkUpr3HeW1mf1gZt9sa4+AIcHESZAAopdzInYoACAOsViqpwCA6OWciB0KAIhDLJbqKQAgejknYocCAOIQi6V6CgCIXs6J2KEAgDjEYqmeAgCil3MidigAIA6xWKqnAIDo5ZyIHQoAiEMsluopACB6OSdihwIA4hCLpXoKAIhezonYoQCAOMRiqZ4CAKKXcyJ2KAAgDrFYqqcAgOjlnIgdCgCIQyyW6ikAIHo5J2KHAgDiEIulegoAiF7OidihAIA4xGKpngIAopdzInYoACAOsViqpwCA6OWciB0KAIhDLJbqKQAgejknYocCAOIQi6V6CgCIXs6J2KEAgDjEYqmeAgCil3MidigAIA6xWKqnAIDo5ZyIHQoAiEMsluopACB6OSdihwIA4hCLpXoKAIhezonYoQCAOMRiqZ4CAKKXcyJ2KAAgDrFYqqcAgOjlnIgdCgCIQyyW6inwD771qeduEnFsAAAAAElFTkSuQmCC",uA="",gA="",tp={name:"TreeNode",components:{TopPopup:ee,TopTips:pe,departPerson:he.exports.departPerson},props:{items:{type:Array,default:()=>[]},endNode:{type:Boolean,default:!1},nodeType:{type:String,default:"outing"},param:{type:Object,default:()=>{}},checkType:{type:String,default:""}},data(){return{nodeItems:[],visible:!1,checkBoxArr:[],checkBoxItem:[],radioArr:"",radioItem:[],partObjId:"",entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0},multiNodeParticipant:{},partNode:{},textTips:"",statusTips:!1,typeTips:"success",gateVars:{},onMultiNodeData:{},onVarsData:{},personMake:[],personMakeList:{}}},watch:{items:{handler(e,n){e&&e.length&&(this.multiNodeParticipant={},this.partNode={},this.gateVars={},this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onVars",this.gateVars),this.nodeType=="outing"?this.nodeItems=JSON.parse(JSON.stringify(e)):this.nodeType=="nexting"&&e.forEach(o=>{o.userTaskModelDTO.participantList&&o.userTaskModelDTO.participantList.length&&o.userTaskModelDTO.participantList.map(i=>{this.multiNodeParticipant[o.id]||(this.multiNodeParticipant[o.id]=[]),this.partNode[o.id]||(this.partNode[o.id]=[]),this.multiNodeParticipant[o.id].includes(i.id)||this.multiNodeParticipant[o.id].push(i.id),this.partNode[o.id].includes(i.name)||this.partNode[o.id].push(i.name)}),(o.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||o.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(o.id),this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(i=>{i.code==200&&(this.personMakeList=i.data)}),this.nodeItems=JSON.parse(JSON.stringify(e))}))},immediate:!0,deep:!0}},computed:{check(){return ws}},methods:{clear(){this.radioArr="",this.radioItem=[],this.checkBoxArr=[],this.checkBoxItem=[],this.multiNodeParticipant={},this.partNode={},this.gateVars={}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.partObjId].push(n.uid),this.partNode[this.partObjId].push(n.name)}),this.onMultiNodeData&&(this.multiNodeParticipant={...this.multiNodeParticipant,...this.onMultiNodeData}),this.$emit("onMultiNode",this.multiNodeParticipant)},handleRadioClick(e){e&&(this.multiNodeParticipant={},this.gateVars={},this.$emit("onMultiNode",this.multiNodeParticipant),this.radioArr=e.id,this.radioItem=[e],this.handleNode(e))},handleCheckBoxClick(e){e&&(this.checkBoxArr.includes(e.id)?(delete this.multiNodeParticipant[e.id],this.checkBoxItem.splice(this.checkBoxArr.indexOf(e.id),1),this.checkBoxArr.splice(this.checkBoxArr.indexOf(e.id),1)):(this.checkBoxItem.push(e),this.checkBoxArr.push(e.id)),this.handleNode(e))},handleNode(e){let n=e.childNode&&e.childNode.length?e.childNode:e&&e.length?e:[e];n&&n.length&&n.forEach((o,i)=>{o.participantList&&o.participantList.length?o.participantList.forEach((l,d)=>{this.multiNodeParticipant[o.id]||(this.multiNodeParticipant[o.id]=[]),this.partNode[o.id]||(this.partNode[o.id]=[]),this.multiNodeParticipant[o.id].includes(l.id)||this.multiNodeParticipant[o.id].push(l.id),this.partNode[o.id].includes(l.name)||this.partNode[o.id].push(l.name)}):o.id&&this.param.request.post(`/aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:[o.id]}).then(l=>{l.code==200&&(this.partNode[o.id]={},this.partNode[o.id]=l.data[o.id])}),this.nodeType=="outing"&&(!o.incomingConditionItemList||!o.incomingConditionItemList.length?e&&e.length?this.gateVars[e[0].incomingConditionItemList[0].itemName]=e[0].incomingConditionItemList[0].compareValue:this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue:o.incomingConditionItemList[0].itemName&&o.incomingConditionItemList[0].compareValue&&(this.gateVars[o.incomingConditionItemList[0].itemName]=o.incomingConditionItemList[0].compareValue),this.onVarsData&&(this.gateVars={...this.gateVars,...this.onVarsData}),this.$emit("onVars",this.gateVars))})},handleOpenPopup(e){if(this.visible=!0,this.partObjId=e.id,this.nodeType=="nexting"?e={...e,...e.userTaskModelDTO}:this.nodeType=="outing"?e={...e,humanPerformer:{name:e.humanPerformerName}}:this.handleTips("\u52A0\u8F7D\u5931\u8D25,\u8BF7\u5237\u65B0",!0,"error"),e.humanPerformer.name=="\u56FA\u5B9A\u5355\u4F4D"){let n,o=[];e.routeTxt.companyIds.map((i,l)=>{n=i.name}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((i,l)=>{o.push({type:3,uid:i})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,subjectName:n,checkedArray:o}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u90E8\u95E8"){let n,o=[],i=[];e.routeTxt.departmentIds.forEach((l,d)=>{e.routeTxt.departmentIds.length>1?o.push(l.rangeId):n=l.rangeId}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].forEach((l,d)=>{i.push({type:3,uid:l,deptId:n})}),e.routeTxt.departmentIds.length>1?this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,deptCodeArray:o,checkedArray:i}:this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,deptCode:n,checkedArray:i}}else{let n=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((o,i)=>{n.push({type:3,uid:o})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,checkedArray:n}}},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()},onMultiNode(e){e&&(this.onMultiNodeData=e,this.multiNode={...this.multiNode,...this.onMultiNodeData},this.$emit("onMultiNode",this.multiNode))},onVars(e){e&&(this.onVarsData=e,this.getVars={...this.gateVars,...this.onVarsData},this.$emit("onVars",this.getVars))}}},sp=e=>(t.pushScopeId("data-v-f499df5b"),e=e(),t.popScopeId(),e),np={key:0,class:"treenode"},op={key:0,class:"treenode-multi"},ip={class:"treenode-node",style:{"margin-top":"0"}},ap=["onClick"],lp=["src"],cp=["onClick"],dp=sp(()=>t.createElementVNode("span",null,null,-1)),rp={class:"treenode-node"},pp={key:0},hp={key:1,class:"personselect"},mp={class:"personselect-name"},up={class:"items-person"},gp=["onClick"],fp={key:1,class:"items-person-name"},Ap={key:2,class:"items-person-name"},kp={class:"treenode-node"},yp={key:0},Cp={key:1,class:"personselect"},Ep={class:"personselect-name"},Bp={class:"items-person"},Ip=["onClick"],Np={key:1,class:"items-person-name"},bp={key:2,class:"items-person-name"},Tp={key:1,class:"treenode-single"},wp={class:"treenode-single-items"},vp={class:"personselect"},Vp={class:"personselect-name"},Sp={class:"items-person"},Dp=["onClick"],Qp={key:1,class:"items-person-name"},Op={key:2,class:"items-person-name"},Mp={key:3,class:"items-person-name"};function xp(e,n,o,i,l,d){const m=t.resolveComponent("TreeNode",!0),f=t.resolveComponent("departPerson"),k=t.resolveComponent("TopPopup"),C=t.resolveComponent("TopTips");return l.nodeItems&&l.nodeItems.length?(t.openBlock(),t.createElementBlock("div",np,[o.endNode?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",op,[t.createElementVNode("div",ip,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.nodeItems,u=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[o.checkType=="InclusiveGatewayModel"?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["treenode-checkbox",l.checkBoxArr.includes(u.id)?"treenode-checkbox-active":""]),onClick:h=>d.handleCheckBoxClick(u)},[t.createElementVNode("span",null,[l.checkBoxArr.includes(u.id)?(t.openBlock(),t.createElementBlock("img",{key:0,class:"treenode-checkbox-active-img",src:d.check},null,8,lp)):t.createCommentVNode("",!0)]),t.createTextVNode(" "+t.toDisplayString(u.nodeName||u.name),1)],10,ap)):o.checkType=="ExclusiveGatewayModel"?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["treenode-radio",l.radioArr==u.id?"treenode-radio-active":""]),onClick:h=>d.handleRadioClick(u)},[dp,t.createTextVNode(" "+t.toDisplayString(u.nodeName||u.name),1)],10,cp)):t.createCommentVNode("",!0)],64))),256))]),o.checkType=="InclusiveGatewayModel"&&l.checkBoxItem&&l.checkBoxItem.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(l.checkBoxItem,u=>(t.openBlock(),t.createElementBlock("div",rp,[u.childNode&&u.childNode.length?(t.openBlock(),t.createElementBlock("div",pp,[t.createVNode(m,{items:u.childNode,endNode:u.childNode.length==1,nodeType:o.nodeType,param:o.param,checkType:u.type,onOnMultiNode:d.onMultiNode,onOnVars:d.onVars},null,8,["items","endNode","nodeType","param","checkType","onOnMultiNode","onOnVars"])])):(t.openBlock(),t.createElementBlock("div",hp,[t.createElementVNode("div",mp,t.toDisplayString(u.nodeName||u.name),1),t.createElementVNode("div",up,[u.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&u.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"items-person-set",onClick:t.withModifiers(h=>d.handleOpenPopup(u),["stop"])}," \u8BBE\u7F6E ",8,gp)):t.createCommentVNode("",!0),u.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&u.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(t.openBlock(),t.createElementBlock("div",fp,t.toDisplayString(l.partNode[u.id]?l.partNode[u.id].join(","):""),1)):u.routeTxt&&u.routeTxt.userNames?(t.openBlock(),t.createElementBlock("div",Ap,t.toDisplayString(u.routeTxt.userNames),1)):t.createCommentVNode("",!0)])]))]))),256)):t.createCommentVNode("",!0),o.checkType=="ExclusiveGatewayModel"&&l.radioItem&&l.radioItem.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(l.radioItem,u=>(t.openBlock(),t.createElementBlock("div",kp,[u.childNode&&u.childNode.length?(t.openBlock(),t.createElementBlock("div",yp,[t.createVNode(m,{items:u.childNode,endNode:u.childNode.length==1,nodeType:o.nodeType,param:o.param,checkType:u.type,onOnMultiNode:d.onMultiNode,onOnVars:d.onVars},null,8,["items","endNode","nodeType","param","checkType","onOnMultiNode","onOnVars"])])):(t.openBlock(),t.createElementBlock("div",Cp,[t.createElementVNode("div",Ep,t.toDisplayString(u.nodeName||u.name),1),t.createElementVNode("div",Bp,[u.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&u.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"items-person-set",onClick:t.withModifiers(h=>d.handleOpenPopup(u),["stop"])}," \u8BBE\u7F6E ",8,Ip)):t.createCommentVNode("",!0),u.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&u.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(t.openBlock(),t.createElementBlock("div",Np,t.toDisplayString(l.partNode[u.id]?l.partNode[u.id].join(","):""),1)):u.routeTxt&&u.routeTxt.userNames?(t.openBlock(),t.createElementBlock("div",bp,t.toDisplayString(u.routeTxt.userNames),1)):t.createCommentVNode("",!0)])]))]))),256)):t.createCommentVNode("",!0)])),o.endNode?(t.openBlock(),t.createElementBlock("div",Tp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.nodeItems,u=>(t.openBlock(),t.createElementBlock("div",wp,[t.createElementVNode("div",vp,[t.createElementVNode("div",Vp,t.toDisplayString(u.nodeName||u.name),1),t.createElementVNode("div",Sp,[u.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&u.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"items-person-set",onClick:t.withModifiers(h=>d.handleOpenPopup(u),["stop"])}," \u8BBE\u7F6E ",8,Dp)):t.createCommentVNode("",!0),l.personMakeList[u.id]?(t.openBlock(),t.createElementBlock("div",Qp,t.toDisplayString(l.personMakeList[u.id]),1)):u.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&u.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(t.openBlock(),t.createElementBlock("div",Op,t.toDisplayString(l.partNode[u.id]?l.partNode[u.id].join(","):""),1)):u.routeTxt&&u.routeTxt.userNames?(t.openBlock(),t.createElementBlock("div",Mp,t.toDisplayString(u.routeTxt.userNames),1)):t.createCommentVNode("",!0)])])]))),256))])):t.createCommentVNode("",!0),t.createVNode(k,{visible:l.visible,"onUpdate:visible":n[0]||(n[0]=u=>l.visible=u),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:t.withCtx(()=>[l.visible?(t.openBlock(),t.createBlock(f,t.mergeProps({key:0,isTitle:!1},l.entity,{onCallback:d.handleCallback}),null,16,["onCallback"])):t.createCommentVNode("",!0)]),_:1},8,["visible"]),t.createVNode(C,{ref:"topTips",text:l.textTips,statusTips:l.statusTips,type:l.typeTips},null,8,["text","statusTips","type"])])):t.createCommentVNode("",!0)}const Fp=U(tp,[["render",xp],["__scopeId","data-v-f499df5b"]]),fA="",Pp={name:"treeperson",components:{TreeNode:Fp},props:{items:{type:Array,default:()=>[]},nodeType:{type:String,default:"outing"},param:{type:Object,default:()=>{}}},data(){return{nodeItems:[],visible:!1,partObjId:"",partNode:[],firstCheck:"",firstType:"",childrenItems:[],childrenEndItems:!1,gateVars:{},multiNode:[],getVars:{}}},watch:{items:{handler(e,n){e&&e.length&&(this.nodeType=="nexting"?(this.nodeItems=[],this.childrenEndItems=!0,e.forEach(o=>{o={...o,...o.userTaskModelDTO},o.humanPerformerName=o.humanPerformer.name,this.nodeItems.push(o)})):this.nodeType=="outing"&&(this.nodeItems=e))},immediate:!0,deep:!0}},methods:{onMultiNode(e){this.multiNode=e,this.$emit("onMultiNode",this.multiNode)},onVars(e){e?this.getVars={...this.gateVars,...e}:this.getVars={...this.gateVars},this.$emit("onVars",this.getVars)},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleFirstNodeClick(e){if(e){this.firstCheck=e.id,this.firstType=e.type;let n=[e];e.childNode&&e.childNode.length?(this.childrenItems=e.childNode,this.childrenEndItems=!1):(this.childrenItems=[e],this.childrenEndItems=!0),this.nodeType=="outing"&&(this.gateVars={},n.forEach(o=>{this.gateVars[o.incomingConditionItemList[0].itemName]=o.incomingConditionItemList[0].compareValue}))}}}},vs=e=>(t.pushScopeId("data-v-2a6b462f"),e=e(),t.popScopeId(),e),Lp={class:"test"},Up={key:0},Jp={class:"treeperson"},Gp=vs(()=>t.createElementVNode("div",{class:"treeperson-title"},[t.createTextVNode(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t.createElementVNode("span",{class:"treeperson-title--re"},"*")],-1)),Rp={class:"treeperson-firstnode"},jp=["onClick"],Kp=vs(()=>t.createElementVNode("span",null,null,-1)),Yp=vs(()=>t.createElementVNode("div",{class:"treeperson-title"},[t.createTextVNode(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t.createElementVNode("span",{class:"treeperson-title--re"},"*")],-1));function Hp(e,n,o,i,l,d){const m=t.resolveComponent("TreeNode");return t.openBlock(),t.createElementBlock("div",Lp,[l.nodeItems&&l.nodeItems.length?(t.openBlock(),t.createElementBlock("div",Up,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.nodeItems,f=>(t.openBlock(),t.createElementBlock("div",Jp,[f.childNode&&f.childNode.length?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Gp,o.nodeType=="outing"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",Rp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(f.childNode,k=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["treeperson-radio",l.firstCheck==k.id?"treeperson-radio-active":""]),onClick:C=>d.handleFirstNodeClick(k)},[Kp,t.createTextVNode(" "+t.toDisplayString(k.nodeName||k.name),1)],10,jp))),256))]),t.createVNode(m,{items:l.childrenItems,endNode:l.childrenEndItems,nodeType:o.nodeType,param:o.param,checkType:l.firstType,onOnMultiNode:d.onMultiNode,onOnVars:d.onVars},null,8,["items","endNode","nodeType","param","checkType","onOnMultiNode","onOnVars"])],64)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Yp,o.nodeType=="nexting"?(t.openBlock(),t.createBlock(m,{key:0,items:[f],endNode:l.childrenEndItems,nodeType:o.nodeType,param:o.param,checkType:l.firstType,onOnMultiNode:d.onMultiNode,onOnVars:d.onVars},null,8,["items","endNode","nodeType","param","checkType","onOnMultiNode","onOnVars"])):t.createCommentVNode("",!0)],64))]))),256))])):t.createCommentVNode("",!0)])}const Wp=U(Pp,[["render",Hp],["__scopeId","data-v-2a6b462f"]]),AA="",zp={name:"complete",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:pe,attchViews:qe,TopPopup:ee,departPerson:he.exports.departPerson,MsgList:rt,TreePerson:Wp},computed:{check(){return ws},checkS(){return ep}},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0},multiNodeParticipant:{},partObjId:[],partNode:{},canCheck:!0,radioCheck:"",radioCheckChild:[],radioCheckName:"",radioCheckNameList:[],radioCheckNode:[],radioCheckNodeList:[],partList:[],gateVars:{},personMake:[],personMakeList:{},visibleListMsg:!1,visibleMsgComfig:!1,msgCheck:"",msgCheckList:["\u540C\u610F","\u5982\u62DF","\u5DF2\u9605"],msgCheckListS:["\u540C\u610F","\u5DF2\u9605"],actionName:"",partNodeS:[],makeType:""}},watch:{"param.visible":{handler(e,n){this.nextNodeData=this.param.nextNodeData,this.taskNode=this.param.taskNode,this.outGatewayUserTaskModel=this.param.outGatewayUserTaskModel,this.actionName=this.param.actionName,this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map(o=>{o.type!=="endEvent"&&(o.userTaskModelDTO={name:o.name,humanPerformer:{name:o.humanPerformerName}},o.humanPerformer={name:o.humanPerformerName})}),this.nextNodeData&&this.nextNodeData.length?(this.nextNodeData.map((o,i)=>{o.type!=="endEvent"&&(o.userTaskModelDTO.participantList&&o.userTaskModelDTO.participantList.length&&o.userTaskModelDTO.participantList.map(l=>{this.multiNodeParticipant[o.id]||(this.multiNodeParticipant[o.id]=[]),this.partNode[o.id]||(this.partNode[o.id]=[]),this.multiNodeParticipant[o.id].includes(l.id)||this.multiNodeParticipant[o.id].push(l.id),this.partNode[o.id].includes(l.name)||this.partNode[o.id].push(l.name)}),(o.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||o.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(o.id))}),this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(o=>{o.code==200&&(this.personMakeList=o.data)})):this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map((o,i)=>{o.type!=="endEvent"&&o.participantList&&o.participantList.length&&o.participantList.map(l=>{this.multiNodeParticipant[o.id]||(this.multiNodeParticipant[o.id]=[]),this.partNode[o.id]||(this.partNode[o.id]=[]),this.multiNodeParticipant[o.id].includes(l.id)||this.multiNodeParticipant[o.id].push(l.id),this.partNode[o.id].includes(l.name)||this.partNode[o.id].push(l.name)})})},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth/user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleSaveNode(e){this.makeType=="InclusiveGatewayModel"?(this.radioCheckNameList.includes(e.id)?this.radioCheckNameList.splice(this.radioCheckNameList.indexOf(e.id),1):(this.radioCheckNameList.push(e.id),this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue),this.gateVars[e.itemName]=e.compareValue):(this.radioCheckNameList=[],this.radioCheckNodeList=[],this.radioCheckNameList.push(e.id),e.childNode&&e.childNode.length&&(this.radioCheckNodeList=e.childNode),this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue,this.gateVars[e.itemName]=e.compareValue)},handleSaveNodeS(e){this.makeType=="InclusiveGatewayModel"?this.radioCheckNode.includes(e.id)?this.radioCheckNode.splice(this.radioCheckNode.indexOf(e.id),1):this.radioCheckNode.push(e.id):this.radioCheckNode&&this.radioCheckNode.length?this.radioCheckNode=[]:(this.radioCheckNode.push(e.id),e.childNode&&e.childNode.length&&this.radioCheckNodeList.push(e.childNode))},forRadioChild(e,n){e.map((o,i)=>{o.childNode&&o.childNode.length?this.forRadioChild(o.childNode,!0):n&&this.radioCheckChild.push(o)})},async handleNode(e){this.makeType=e.type,this.radioCheckNameList=[],this.radioCheck=e.id,this.radioCheckName=e.nodeName,this.radioCheckChild=e.childNode&&e.childNode.length?e.childNode:[e],this.radioCheckChild&&this.radioCheckChild.length&&this.radioCheckChild.map(n=>{n.participantList&&n.participantList.length?n.participantList.map(o=>{this.multiNodeParticipant[n.id]||(this.multiNodeParticipant[n.id]=[]),this.partNode[n.id]||(this.partNode[n.id]=[]),this.multiNodeParticipant[n.id].includes(o.id)||this.multiNodeParticipant[n.id].push(o.id),this.partNode[n.id].includes(o.name)||this.partNode[n.id].push(o.name)}):this.param.request.post(`/aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:[n.id]}).then(o=>{o.code==200&&(this.partNodeS=[],this.partNodeS.push(o.data[n.id]))})}),(!this.radioCheckChild[0].incomingConditionItemList||!this.radioCheckChild[0].incomingConditionItemList.length)&&e.incomingConditionItemList&&e.incomingConditionItemList.length&&(this.radioCheckChild[0].incomingConditionItemList=e.incomingConditionItemList),this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&(this.radioCheckChild&&this.radioCheckChild.length?(this.gateVars[this.radioCheckChild[0].incomingConditionItemList[0].itemName]=this.radioCheckChild[0].incomingConditionItemList[0].compareValue,this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue):this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue)},handleOpenPopup(e){if(this.visible=!0,this.partObjId=e.id,this.nextNodeData&&this.nextNodeData.length?e={...e,...e.userTaskModelDTO}:e.humanPerformer||(e={...e,humanPerformer:{name:e.humanPerformerName}}),e.humanPerformer.name=="\u56FA\u5B9A\u5355\u4F4D"){let n,o=[];e.routeTxt.companyIds.map((i,l)=>{n=i.name}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((i,l)=>{o.push({type:3,uid:i})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,subjectName:n,checkedArray:o}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u90E8\u95E8"){let n,o=[],i=[];e.routeTxt.departmentIds.forEach((l,d)=>{e.routeTxt.departmentIds.length>1?o.push(l.rangeId):n=l.rangeId}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].forEach((l,d)=>{i.push({type:3,uid:l,deptId:n})}),e.routeTxt.departmentIds.length>1?this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,deptCodeArray:o,checkedArray:i}:this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,deptCode:n,checkedArray:i}}else{let n=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((o,i)=>{n.push({type:3,uid:o})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,checkedArray:n}}},handleOpenMsg(){this.visibleListMsg=!0},async confirm(){if(this.param.beforeFunction&&!await this.param.beforeFunction())return;if(this.param.ProcessInsObj.processDefId==="obj_94014ede99b6495d8f6d5977314faa15"&&(this.commentMsg="\u540C\u610F"),console.log("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1",this.commentMsg),!this.commentMsg){this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success");return}if(this.requires&&this.attchLists.length<=0){this.handleTips("\u8BF7\u4E0A\u4F20\u9644\u4EF6!",!1,"success");return}let e={};this.radioCheckNameList&&this.radioCheckNameList.length?this.radioCheckChild[0].type!=="EndEventModel"&&this.radioCheckNameList.map((n,o)=>{(!this.multiNodeParticipant[n]||!this.multiNodeParticipant[n].length)&&this.radioCheckChild.map((i,l)=>{i.id==n&&(i.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"||i.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&(!i.childNode||!i.childNode.length||this.radioCheckNode.map((d,m)=>{!this.multiNodeParticipant[d]||this.multiNodeParticipant[d].length,e[d]=this.multiNodeParticipant[d]}))}),e[n]=this.multiNodeParticipant[n]}):e=this.multiNodeParticipant,this.handleTips("",!0,"loading"),this.param.actionComplete,this.commentMsg,this.param.taskInstId,this.param.vars||this.gateVars,await this.param.request.post("/aws/tis/complete",{actionName:this.param.actionComplete,commentMsg:this.commentMsg,taskInstId:this.param.taskInstId,vars:this.param.vars||this.gateVars,multiNodeParticipant:e}).then(n=>{if(n.code==200){if(this.attchLists.length>0){this.uploadAttch();return}this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""}else this.handleTips(n.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.partObjId].push(n.uid),this.partNode[this.partObjId].push(n.name)})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((o,i)=>{o.size=o.fileSize,o.format=o.originFileName.substring(o.originFileName.lastIndexOf(".")+1),o.uploadTime=o.createTime,o.processInstId=this.param.processInstId,o.taskInstId=this.param.taskInstId,o.name=o.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("complete")},onMultiNode(e){this.multiNodeParticipant=e},onVars(e){this.gateVars=e}}},Vs=e=>(t.pushScopeId("data-v-1fdf4dc9"),e=e(),t.popScopeId(),e),Zp={class:"process-popup-content"},Xp={key:0,class:"process-popup-content-msg"},_p={key:0,class:"process-pc-label"},qp={key:1,class:"process-pc-value",style:{display:"flex"}},$p={class:"process-radio",style:{width:"100%"}},eh=["onClick"],th=Vs(()=>t.createElementVNode("span",null,null,-1)),sh=["onClick"],nh=Vs(()=>t.createElementVNode("span",null,null,-1)),oh={key:2},ih=Vs(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createTextVNode(" \u5BA1\u6279\u610F\u89C1 "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),ah={class:"process-pc-value"},lh={class:"process-popup-textarea"},ch={class:"process-popup-textarea-num"},dh={key:0,class:"msg-btn"},rh={key:1,class:"process-popup-content-person"},ph={style:{height:"100%"}};function hh(e,n,o,i,l,d){const m=t.resolveComponent("TreePerson"),f=t.resolveComponent("TopTips"),k=t.resolveComponent("departPerson"),C=t.resolveComponent("TopPopup"),u=t.resolveComponent("MsgList"),h=t.resolveComponent("attchViews");return t.openBlock(),t.createElementBlock("div",Zp,[o.param.ProcessInsObj&&o.param.ProcessInsObj.processDefId!="obj_94014ede99b6495d8f6d5977314faa15"?(t.openBlock(),t.createElementBlock("div",Xp,[o.param.isQuickReply?(t.openBlock(),t.createElementBlock("div",_p," \u5FEB\u6377\u56DE\u590D ")):t.createCommentVNode("",!0),o.param.isQuickReply?(t.openBlock(),t.createElementBlock("div",qp,[t.createElementVNode("div",$p,[o.param.isDocument?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(l.msgCheckList,E=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["process-radio-item",E==l.commentMsg?"process-radio-item--check":""]),onClick:()=>l.commentMsg=E},[th,t.createTextVNode(" "+t.toDisplayString(E),1)],10,eh))),256)):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(l.msgCheckListS,E=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["process-radio-item",E==l.commentMsg?"process-radio-item--check":""]),onClick:()=>l.commentMsg=E},[nh,t.createTextVNode(" "+t.toDisplayString(E),1)],10,sh))),256)),o.param.isMsg?(t.openBlock(),t.createElementBlock("div",{key:2,class:"process-radio-item",onClick:n[0]||(n[0]=E=>d.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px","margin-left":"auto"}}," \u5E38\u7528\u610F\u89C1 ")):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),o.param.isMsg&&!o.param.isQuickReply?(t.openBlock(),t.createElementBlock("div",oh,[t.createElementVNode("div",{class:"process-radio-item",onClick:n[1]||(n[1]=E=>d.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px"}}," \u5E38\u7528\u610F\u89C1 ")])):t.createCommentVNode("",!0),ih,t.createElementVNode("div",ah,[t.createElementVNode("div",lh,[t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":n[2]||(n[2]=E=>l.commentMsg=E),class:"textarea-item",name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},null,512),[[t.vModelText,l.commentMsg]]),t.createElementVNode("div",ch,t.toDisplayString(l.commentMsg.length)+"/200 ",1)]),o.param.isMsg?(t.openBlock(),t.createElementBlock("div",dh,[t.createElementVNode("span",{class:"msg-btn-click",onClick:n[3]||(n[3]=E=>d.handleMakeMsg())},"\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),l.taskNode&&l.taskNode.length>0&&l.taskNode[0].taskState!=4&&l.taskNode[0].taskState!=11?(t.openBlock(),t.createElementBlock("div",rh,[l.nextNodeData.length?(t.openBlock(),t.createBlock(m,{key:0,items:l.nextNodeData,nodeType:"nexting",param:o.param,onOnMultiNode:d.onMultiNode},null,8,["items","param","onOnMultiNode"])):l.outGatewayUserTaskModel.length?(t.openBlock(),t.createBlock(m,{key:1,items:l.outGatewayUserTaskModel,nodeType:"outing",param:o.param,onOnMultiNode:d.onMultiNode,onOnVars:d.onVars},null,8,["items","param","onOnMultiNode","onOnVars"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"completeSlot",{},void 0,!0),t.createVNode(f,{ref:"topTips",text:l.textTips,statusTips:l.statusTips,type:l.typeTips},null,8,["text","statusTips","type"]),t.createVNode(C,{visible:l.visible,"onUpdate:visible":n[4]||(n[4]=E=>l.visible=E),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:t.withCtx(()=>[t.createElementVNode("div",ph,[l.visible?(t.openBlock(),t.createBlock(k,t.mergeProps({key:0,isTitle:!1,visible:l.visible},l.entity,{onCallback:d.handleCallback,onCancel:d.handleCancel}),null,16,["visible","onCallback","onCancel"])):t.createCommentVNode("",!0)])]),_:1},8,["visible"]),t.createVNode(C,{visible:l.visibleListMsg,"onUpdate:visible":n[5]||(n[5]=E=>l.visibleListMsg=E),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:t.withCtx(()=>[t.createVNode(u,{visible:l.visibleListMsg,request:o.param.request,useInfo:o.param.userInfo,onHandleTips:d.handleTips,onHandleMsg:d.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),t.createVNode(C,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${l.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:d.handleTipsCancel,comfig:d.handleTipsComfig,visible:l.visibleMsgComfig,"onUpdate:visible":n[6]||(n[6]=E=>l.visibleMsgComfig=E)},null,8,["context","cancel","comfig","visible"]),l.labels=="1"?(t.openBlock(),t.createBlock(h,{key:2,limit:l.limit?l.limit:-1,requires:l.requires,request:o.param.request,linkUrl:o.param.linkUrl,onGetValue:d.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):t.createCommentVNode("",!0)])}const mh=U(zp,[["render",hh],["__scopeId","data-v-1fdf4dc9"]]),kA="",uh={name:"cancel",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:pe,attchViews:qe,TopPopup:ee,departPerson:he.exports.departPerson,MsgList:rt},watch:{param:{async handler(e,n){this.entity.checkedArray=[],this.actionName=e.actionName},immediate:!0,deep:!0}},data(){return{commentMsg:"",actionName:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[770],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},visibleListMsg:!1,visibleMsgComfig:!1}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleOpenPopup(e){this.visible=!0,this.partObjId=e},async confirm(){if(!this.commentMsg)return this.handleTips("\u8BF7\u8F93\u5165\u62D2\u7EDD\u7406\u7531!",!1,"success"),!1;this.handleTips("",!0,"loading"),await this.param.request.post("/aws/tis/reject",{commentMsg:this.commentMsg,taskInstId:this.param.taskInstId}).then(e=>{e.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips(e.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.partObjId].push(n.uid),this.partNode[this.partObjId].push(n.name),this.entity.checkedArray.push({type:3,uid:n.uid})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((o,i)=>{o.size=o.fileSize,o.format=o.originFileName.substring(o.originFileName.lastIndexOf(".")+1),o.uploadTime=o.createTime,o.processInstId=this.param.processInstId,o.taskInstId=this.param.taskInstId,o.name=o.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("\u62D2\u7EDD")}}},$e=e=>(t.pushScopeId("data-v-a4ea7c79"),e=e(),t.popScopeId(),e),gh={class:"process-popup-content"},fh={class:"process-popup-content-msg"},Ah={key:0},kh=$e(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createTextVNode(" \u62D2\u7EDD\u7406\u7531\uFF1A "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),yh={class:"process-pc-value"},Ch={class:"process-popup-textarea"},Eh={class:"process-popup-textarea-num"},Bh={key:0,class:"msg-btn"},Ih={key:0,class:"process-popup-content-person"},Nh=$e(()=>t.createElementVNode("br",null,null,-1)),bh=$e(()=>t.createElementVNode("span",{class:"process-pc-label--re"},"*",-1)),Th=["onClick"],wh={class:"process-pc-value--people"},vh={key:0,class:"process-pc-value--data"},Vh={key:1,class:"process-pc-value--data",style:{color:"#888"}},Sh=[$e(()=>t.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1))],Dh={style:{"font-size":"15px"}},Qh=$e(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createTextVNode(" \u5BA1\u6279\u4EBA "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),Oh=[$e(()=>t.createElementVNode("div",{class:"process-pc-value--people"},t.toDisplayString(234),-1))],Mh={style:{height:"100%"}};function xh(e,n,o,i,l,d){const m=t.resolveComponent("TopTips"),f=t.resolveComponent("departPerson"),k=t.resolveComponent("TopPopup"),C=t.resolveComponent("attchViews"),u=t.resolveComponent("MsgList");return t.openBlock(),t.createElementBlock("div",gh,[t.createElementVNode("div",fh,[o.param.isMsg?(t.openBlock(),t.createElementBlock("div",Ah,[t.createElementVNode("div",{class:"process-radio-item",onClick:n[0]||(n[0]=h=>d.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px"}}," \u5E38\u7528\u610F\u89C1 ")])):t.createCommentVNode("",!0),kh,t.createElementVNode("div",yh,[t.createElementVNode("div",Ch,[t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":n[1]||(n[1]=h=>l.commentMsg=h),class:"textarea-item",name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},null,512),[[t.vModelText,l.commentMsg]]),t.createElementVNode("div",Eh,t.toDisplayString(l.commentMsg.length)+"/200 ",1)]),o.param.isMsg?(t.openBlock(),t.createElementBlock("div",Bh,[t.createElementVNode("span",{class:"msg-btn-click",onClick:n[2]||(n[2]=h=>d.handleMakeMsg())},"\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])):t.createCommentVNode("",!0)])]),l.taskNode&&l.taskNode.length>0&&l.taskNode[0].taskState!=4?(t.openBlock(),t.createElementBlock("div",Ih,[l.nextNodeData.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(l.nextNodeData,h=>{var E,w;return t.openBlock(),t.createElementBlock(t.Fragment,null,[d.isOption((w=(E=h==null?void 0:h.userTaskModelDTO)==null?void 0:E.humanPerformer)==null?void 0:w.name)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",null,[t.createTextVNode(t.toDisplayString(h.userTaskModelDTO.name)+" ",1),Nh,t.createTextVNode(" \u5BA1\u6279\u4EBA "),bh]),t.createElementVNode("div",{class:"process-pc-value",onClick:S=>d.handleOpenPopup(h.id)},[t.createElementVNode("div",wh,[l.partNode[h.id]&&l.partNode[h.id].length?(t.openBlock(),t.createElementBlock("div",vh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.partNode[h.id],(S,Q)=>(t.openBlock(),t.createElementBlock("span",null,t.toDisplayString(Q==0?S:`,${S}`),1))),256))])):(t.openBlock(),t.createElementBlock("div",Vh,Sh))])],8,Th)],64)):t.createCommentVNode("",!0)],64)}),256)):l.outGatewayUserTaskModel.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(l.outGatewayUserTaskModel,h=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[d.isOption(h.humanPerformerName)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",Dh,t.toDisplayString(h.name),1),Qh,t.createElementVNode("div",{class:"process-pc-value",onClick:n[3]||(n[3]=(...E)=>d.handleOpenPopup&&d.handleOpenPopup(...E))},Oh)],64)):t.createCommentVNode("",!0)],64))),256)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createVNode(m,{ref:"topTips",text:l.textTips,statusTips:l.statusTips,type:l.typeTips},null,8,["text","statusTips","type"]),t.createVNode(k,{visible:l.visible,"onUpdate:visible":n[4]||(n[4]=h=>l.visible=h),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:t.withCtx(()=>[t.createElementVNode("div",Mh,[l.visible?(t.openBlock(),t.createBlock(f,t.mergeProps({key:0,isTitle:!1,visible:l.visible,request:o.param.request},l.entity,{onCallback:d.handleCallback,onCancel:d.handleCancel}),null,16,["visible","request","onCallback","onCancel"])):t.createCommentVNode("",!0)])]),_:1},8,["visible"]),l.labels=="\u62D2\u7EDD"?(t.openBlock(),t.createBlock(C,{key:1,limit:l.limit?l.limit:-1,requires:l.requires,request:o.param.request,linkUrl:o.param.linkUrl,onGetValue:d.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):t.createCommentVNode("",!0),t.createVNode(k,{visible:l.visibleListMsg,"onUpdate:visible":n[5]||(n[5]=h=>l.visibleListMsg=h),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:t.withCtx(()=>[t.createVNode(u,{visible:l.visibleListMsg,request:o.param.request,useInfo:o.param.userInfo,onHandleTips:d.handleTips,onHandleMsg:d.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),t.createVNode(k,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${l.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:d.handleTipsCancel,comfig:d.handleTipsComfig,visible:l.visibleMsgComfig,"onUpdate:visible":n[6]||(n[6]=h=>l.visibleMsgComfig=h)},null,8,["context","cancel","comfig","visible"])])}const Fh=U(uh,[["render",xh],["__scopeId","data-v-a4ea7c79"]]),EA="",Ph={name:"backNode",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:pe,attchViews:qe,TopPopup:ee,departPerson:he.exports.departPerson,TopDownSelect:lo,MsgList:rt},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},option:[],nodeId:"",actionName:"",visibleListMsg:!1,visibleMsgComfig:!1}},watch:{param:{async handler(e,n){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.entity.checkedArray=[],this.actionName=e.actionName},immediate:!0,deep:!0}},created(){this.getReturnNode()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},getReturnNode(){this.param.request.get("/aws/tis/getReturnableNodes",{params:{taskId:this.param.taskInstId}}).then(e=>{e.code===200&&(this.option=e.data)})},handleChange(e){this.nodeId=e.id},handleOpenPopup(e){this.visible=!0,this.partObjId=e},confirm(){if(!this.commentMsg)return this.textTips="\u8BF7\u8F93\u5165\u9000\u56DE\u7406\u7531!",this.$refs.topTips.handleOpen(),!1;if(!this.nodeId)return this.textTips="\u8BF7\u9009\u62E9\u9000\u56DE\u8282\u70B9!",this.$refs.topTips.handleOpen(),!1;this.handleTips("",!0,"loading"),this.param.request.post("/aws/tis/rollback",{taskInstId:this.param.taskInstId,rollbackReason:this.commentMsg,isCompensation:!1,targetActivityId:this.nodeId}).then(e=>{e.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.partObjId].push(n.uid),this.partNode[this.partObjId].push(n.name),this.entity.checkedArray.push({type:3,uid:n.uid})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((o,i)=>{o.size=o.fileSize,o.format=o.originFileName.substring(o.originFileName.lastIndexOf(".")+1),o.uploadTime=o.createTime,o.processInstId=this.param.processInstId,o.taskInstId=this.param.taskInstId,o.name=o.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("\u9000\u56DE")}}},ro=e=>(t.pushScopeId("data-v-4bcd7506"),e=e(),t.popScopeId(),e),Lh={class:"process-popup-content"},Uh={class:"process-popup-content-msg"},Jh=ro(()=>t.createElementVNode("div",{class:"process-pc-label",style:{"background-color":"#fff",position:"relative","z-index":"199",display:"inline-block",width:"50%"}},[t.createTextVNode(" \u9000\u56DE\u8282\u70B9\uFF1A "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),Gh={class:"process-pc-value",style:{display:"inline-block",width:"50%"}},Rh={key:0},jh=ro(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createTextVNode(" \u9000\u56DE\u7406\u7531\uFF1A "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),Kh={class:"process-pc-value"},Yh={class:"process-popup-textarea"},Hh={class:"process-popup-textarea-num"},Wh={key:0,class:"msg-btn"};function zh(e,n,o,i,l,d){const m=t.resolveComponent("TopDownSelect"),f=t.resolveComponent("TopTips"),k=t.resolveComponent("MsgList"),C=t.resolveComponent("TopPopup"),u=t.resolveComponent("attchViews");return t.openBlock(),t.createElementBlock("div",Lh,[t.createElementVNode("div",Uh,[Jh,t.createElementVNode("div",Gh,[t.createVNode(m,{option:l.option,onChange:d.handleChange,optionStyle:"width:calc(100% - 40px);left:20px;",maskShow:!1,border:""},null,8,["option","onChange"])]),o.param.isMsg?(t.openBlock(),t.createElementBlock("div",Rh,[t.createElementVNode("div",{class:"process-radio-item",onClick:n[0]||(n[0]=h=>d.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px"}}," \u5E38\u7528\u610F\u89C1 ")])):t.createCommentVNode("",!0),jh,t.createElementVNode("div",Kh,[t.createElementVNode("div",Yh,[t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":n[1]||(n[1]=h=>l.commentMsg=h),class:"textarea-item",name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},null,512),[[t.vModelText,l.commentMsg]]),t.createElementVNode("div",Hh,t.toDisplayString(l.commentMsg.length)+"/200 ",1)]),o.param.isMsg?(t.openBlock(),t.createElementBlock("div",Wh,[t.createElementVNode("span",{class:"msg-btn-click",onClick:n[2]||(n[2]=h=>d.handleMakeMsg())},"\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])):t.createCommentVNode("",!0)])]),t.createVNode(f,{ref:"topTips",text:l.textTips,statusTips:l.statusTips,type:l.typeTips},null,8,["text","statusTips","type"]),t.createVNode(C,{visible:l.visibleListMsg,"onUpdate:visible":n[3]||(n[3]=h=>l.visibleListMsg=h),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:t.withCtx(()=>[t.createVNode(k,{visible:l.visibleListMsg,request:o.param.request,useInfo:o.param.userInfo,onHandleTips:d.handleTips,onHandleMsg:d.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),t.createVNode(C,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${l.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:d.handleTipsCancel,comfig:d.handleTipsComfig,visible:l.visibleMsgComfig,"onUpdate:visible":n[4]||(n[4]=h=>l.visibleMsgComfig=h)},null,8,["context","cancel","comfig","visible"]),l.labels=="\u9000\u56DE"?(t.openBlock(),t.createBlock(u,{key:0,limit:l.limit?l.limit:-1,requires:l.requires,request:o.param.request,linkUrl:o.param.linkUrl,onGetValue:d.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):t.createCommentVNode("",!0)])}const Zh=U(Ph,[["render",zh],["__scopeId","data-v-4bcd7506"]]),BA="",Xh={name:"ccTask",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:pe,departPerson:he.exports.departPerson},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},actionName:""}},watch:{param:{handler(e,n){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.actionName=e.actionName,e.nextNodeData.length?this.nextNodeData[0].type=="userTask"||this.nextNodeData[0].type=="UserTaskModel"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):this.nextNodeData[0].type=="ExclusiveGatewayModel"||this.nextNodeData[0].type=="InclusiveGatewayModel":e.outGatewayUserTaskModel.length&&(e.outGatewayUserTaskModel[0].type=="userTask"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):e.outGatewayUserTaskModel[0].type=="ExclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="InclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="UserTaskModel"&&(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.checkedArray=[],this.entity.source="1",this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]))},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleOpenPopup(e){this.visible=!0,this.partObjId=e},async confirm(){let e="";this.multiNodeParticipant[this.partObjId].map((n,o)=>{o==0?e=n:e=`${e} ${n}`}),await this.param.request.post("/aws/tis/createCCTask",{processInstId:this.param.processInstId,title:this.param.formData.title||this.param.formData.reason||this.param.formData.meetingTheme,parentTaskInstId:this.param.taskInstId,participant:e}).then(n=>{n.code==200?(this.$emit("handleClosecctaskTopPopup"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal()):this.handleTips(n.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.partObjId].push(n.uid),this.partNode[this.partObjId].push(n.name),this.entity.checkedArray.push({type:3,uid:n.uid})}),e&&e.length&&this.confirm()},handleCancel(){},getValues(e){this.attchLists=e},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("ccTask")}}},_h={style:{height:"100%"}};function qh(e,n,o,i,l,d){const m=t.resolveComponent("departPerson"),f=t.resolveComponent("TopTips");return t.openBlock(),t.createElementBlock("div",_h,[o.param.visible?(t.openBlock(),t.createBlock(m,t.mergeProps({key:0,isTitle:!1,request:o.param.request},l.entity,{onCallback:d.handleCallback,onCancel:d.handleCancel}),null,16,["request","onCallback","onCancel"])):t.createCommentVNode("",!0),t.createVNode(f,{ref:"topTips",text:l.textTips,statusTips:l.statusTips,type:l.typeTips},null,8,["text","statusTips","type"])])}const $h=U(Xh,[["render",qh],["__scopeId","data-v-eef1b0b2"]]),em=re({name:"TopProcess",components:{TopTab:Ec,TopPopup:ee,TopTips:pe,TopSumbitPopup:co},props:{tapList:{require:!1,default:()=>[],type:Array},selfTapList:{require:!1,default:()=>[],type:Array},processDefId:{require:!0,default:"",type:String},processInstId:{require:!0,default:"",type:String},isAdditional:{require:!1,default:!1,type:Boolean},isView:{default:!1,type:Boolean},formData:{default:{},type:Object},getVarsStatus:{default:!0,type:Boolean},getVars:{default:null,type:Function},request:{type:[Function,Object],default:()=>({get:()=>{},post:()=>{}})},endFunction:{type:Function,default:null},beforeFunction:{type:Function,default:null},isDocument:{type:Boolean,default:!1},restartData:{type:Object,default:{businessType:"",showType:"",processName:""}},selfList:{type:Array,default:()=>[]},selfBtn:{type:Array,default:()=>[]},uid:{type:String,default:""},isMsg:{type:Boolean,default:!0},isCheckType:{type:String,default:"0"},isOrgType:{type:Array,default:()=>[0]},isCodeType:{type:Array,default:()=>[3]},isQuickReply:{type:Boolean,default:!1},ccTaskFunction:{type:Function,default:null}},data(){return{processStatus:{},processDefList:{},processBusiness:{},getFirstProcessNode:{},taskNode:[],taskNodeList:[],taskNodeIds:[],taskState:NaN,taskCurrent:0,taskObj:{},taskId:"",taskNodeShow:!1,actionShow:!1,titleText:"",btnStyle:"",processIntId:"",trackUrl:"",taskCommentList:[],operationCom:null,ProcessInsObj:{},popupContext:"",operationParam:{},nextTaskNode:{},annexlabel:"",handleTipsType:"",textTips:"",statusTips:!1,typeTips:"",outGatewayUserTaskModel:[],nextNodeData:[],visibleSong:!1,trackList:[],user:{},canCheck:!0,approveNode:{},restartDataS:{},selfBtnList:[],topNum:144,bottomNum:70,userIdData:"",TopPopup1:!1,cctaskTopPopup:!1,cctaskTopPopupTitle:"\u6284\u9001"}},watch:{processInstId:{async handler(e,n){this.processIntId=this.processInstId||this.formData.processId||this.formData.processInstId,e&&(this.request.get("/aws/repository/getTrackUrl",{params:{processInstId:this.processIntId,type:"mobile"}}).then(o=>{o.code==200&&(this.trackUrl=o.data)}),this.request.get("/aws/pis/findNodeParticipantRows",{params:{processInstId:this.processIntId}}).then(o=>{o.code==200&&(this.trackList=o.data)}),this.request.get("/aws/tis/getTaskCommentList",{params:{processInstId:this.processInstId,processBusinessKey:this.formData.businessKey}}).then(o=>{o.code==200&&(this.taskCommentList=o.data)}),this.getUserInfo(),this.request.get("/aws/pis/getProcessInstanceById",{params:{processInstId:this.processInstId}}).then(o=>{o.code==200&&(this.ProcessInsObj=o.data)}),await this.request.get("/aws/repository/queryTaskNodeList",{params:{processInstId:this.processInstId}}).then(o=>{if(o.code==200)if(this.taskNode=o.data,this.taskNodeList=o.data,this.taskNodeList.length==1){if(this.taskNodeList[0].taskState==4)return this.taskState=4,!1;this.taskNodeList[0].taskState==11&&(this.taskState=11),this.taskNodeList[0].taskId,this.handleGetProcessStatus(),this.handleGetUserTaskModel()}else this.taskNodeList.length>1?(this.taskNodeList.forEach(i=>{i.name=i.nodeName}),this.taskNodeShow=!0,this.actionShow=!0):(this.handleGetProcessStatus(),this.handleGetUserTaskModel())}))},immediate:!0,deep:!0},restartData:{handler(e,n){e&&(this.restartDataS=e)},immediate:!0,deep:!0},selfBtn:{handler(e,n){e&&e.length&&(this.selfBtnList=e)},immediate:!0,deep:!0},uid:{handler(e,n){e&&(this.userIdData=e)},immediate:!0,deep:!0}},mounted(){},computed:{actionBtn(){return this.operBtn.length>3?this.operBtn.slice(3):[]},operBtn(){var o,i;let e=[],n=this.taskNode&&this.taskNode[0]&&this.taskNode[0].taskState!=4;if(this.formData.currentState==="\u5DF2\u64A4\u9500"||this.formData.currentState==="\u5DF2\u9A73\u56DE"||this.processStatus.status==="\u5DF2\u64A4\u9500"||this.processStatus.status==="\u5DF2\u9A73\u56DE"||this.processStatus.bizStatusName==="\u5DF2\u64A4\u9500"||this.processStatus.bizStatusName==="\u5DF2\u9A73\u56DE"){let l={};l.name="\u91CD\u65B0\u63D0\u4EA4",l.btnProps={type:"default"},e.push(l),l.click=this.handleTest}if(n&&!this.isView&&this.taskObj.completeButtonLabel){let l={};l.name=this.taskObj.completeButtonLabel,l.btnProps={type:"primary"},e.push(l),l.click=d=>{this.handleActionClose(),this.showOperation(mh,d,this.request,this.taskObj.completeButtonAnnex)}}if(n&&!this.isView&&this.processStatus.currUserName){let l={};l.name="\u62D2\u7EDD",l.btnProps={type:"danger"},e.push(l),l.click=d=>{this.handleActionClose(),this.showOperation(Fh,d,this.request,this.taskObj.otherButtonAnnexList)}}if(this.selfBtnList&&this.selfBtnList.length&&this.selfBtnList.map(l=>{let d={};d.name=l.name,d.btnProps={type:l.type},e.push(d),d.click=l.click}),n&&!this.isView&&this.taskObj.buttons&&this.taskObj.buttons.length&&this.taskObj.buttons.forEach(l=>{if(l.label==="\u9000\u56DE"){let d={};d.name=l.label,d.btnProps={type:"danger"},e.push(d),d.click=m=>{this.handleActionClose(),this.showOperation(Zh,m,this.request,this.taskObj.otherButtonAnnexList)}}}),n&&!this.isView&&this.taskObj.ccTaskButtonLabel){let l={};l.name=this.taskObj.ccTaskButtonLabel,l.btnProps={type:"default"},l.click=async d=>{this.ccTaskFunction&&!await this.ccTaskFunction()||(this.handleActionClose(),this.showOperation($h,d,this.request,this.taskObj.ccTaskButtonAnnex,"\u6284\u9001"),this.cctaskTopPopupTitle=d)},e.push(l)}if(n&&!this.isView&&this.taskObj.delegateTaskButtonLabel){let l={};l.name=this.taskObj.delegateTaskButtonLabel,l.btnProps={type:"default"},l.click=d=>{this.handleActionClose(),this.showOperation($r,d,this.request,this.taskObj.delegateTaskButtonAnnex)},e.push(l)}if(n&&!this.isView&&this.taskObj.counterSignLabel){let l={};l.name=this.taskObj.counterSignLabel,l.btnProps={type:"primary"},l.click=d=>{this.handleActionClose(),this.showOperation(vr,d,this.request,this.taskObj.counterSignButtonAnnex)},e.push(l)}if(this.processIntId&&this.processStatus.createUid==this.userIdData&&((o=this.taskNode[0])==null?void 0:o.taskState)!=2&&this.processStatus.status!=="\u5DF2\u9A73\u56DE"&&this.processStatus.status!=="\u5DF2\u64A4\u9500"){let l={};l.name="\u50AC\u529E",l.btnProps={type:"default"},l.click=d=>{this.$refs.TopPopup2.handleOpen(),this.handleActionClose(),this.titleText=d,this.popupContext=`\u786E\u5B9A${d}\u5417?`,this.handleTipsType="\u50AC\u529E"},e.push(l)}if(this.processIntId&&this.processStatus.createUid==this.userIdData&&((i=this.taskNode[0])==null?void 0:i.taskState)!=2&&this.processStatus.status!=="\u5DF2\u9A73\u56DE"&&this.processStatus.status!=="\u5DF2\u64A4\u9500"){let l={};l.name="\u64A4\u9500",l.btnProps={type:"default"},l.click=d=>{this.$refs.TopPopup2.handleOpen(),this.handleActionClose(),this.titleText=d,this.popupContext=`\u786E\u5B9A${d}\u5417?`,this.handleTipsType="\u64A4\u9500"},e.push(l)}return e},processCardHeight(){console.log("btnList",this.operBtn);let e=this.topNum+this.bottomNum-10;return this.isAdditional&&!this.operBtn&&!this.operBtn.length&&!this.ProcessInsObj.end&&(e-=this.bottomNum),`calc(100vh - ${e}px)`},processBtn(){if(console.log("btnList",this.operBtn),this.isAdditional&&!this.operBtn&&!this.operBtn.length&&!this.ProcessInsObj.end)return`-${this.bottomNum}px`}},methods:{handleGetHeight(){this.$nextTick(()=>{setTimeout(()=>{let e=document.getElementById("process-header"),n=document.getElementById("process-footer");this.bottomNum=n?n.scrollHeight+10:70,this.topNum=e?e.scrollHeight+10:144,console.log(this.bottomNum,"diss::",this.topNum)},1e3)})},handleTestsss(e,n){console.log("==========:::",e,n)},handleTestS(){this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success")},handleTest(){this.visibleSong=!0},async getUserInfo(){let e=await this.request.get("/app/user/info");e.code===200&&(this.user=e.data||{})},async handleGetSimulation(e){this.handleTips("",!0,"loading");let n={processInstId:this.processInstId,taskInstId:this.taskNode.length?this.taskNode[0].taskId:"",vars:e,errorTip:!1},o=await this.request.post("/aws/tis/simulation",n);if(o.success){this.handleTips("",!1,"success"),this.nextNodeData=o.data;for(let i=0;i<this.nextNodeData.length;i++)this.approveNode=this.nextNodeData[i]}else{let i=this.taskNode&&this.taskNode.length?this.taskNode[0].taskId:"";this.outGatewayUserTaskModel=await this.getOutgoingProcessNode(i,"")}},async getOutgoingProcessNode(e,n){let o=await this.request.get("/aws/repository/getOutgoingProcessNode",{params:{taskId:e,processNodeId:n}});if(o.code==200){if(o.data&&o.data.length){for(let i=0;i<o.data.length;i++){let l=o.data[i];if(l.type!="UserTaskModel"&&l.type!="EndEventModel"){let d=await this.getOutgoingProcessNode(e,l.id);d&&d.length&&(await d.map((m,f)=>{m.nodeName=m.incomingConditionItemList&&m.incomingConditionItemList.length?m.incomingConditionItemList[0].compareValue:""}),l.childNode=d)}}return this.handleTips("",!1,"success"),o.data}return this.handleTips("",!1,"success"),[]}return[]},handleGet(e){this.taskNode=[].concat(e),this.taskNodeShow=!1,this.actionShow=!1,this.handleGetProcessStatus(),this.handleGetUserTaskModel()},handleGetProcessStatus(){this.handleTips("",!0,"loading"),this.request.get("/aws/pis/getProcessStatus",{params:{processInstId:this.processInstId,taskId:this.taskNode.length?this.taskNode[0].taskId:""}}).then(e=>{e.code==200&&(this.processStatus=e.data,this.$emit("processStatus",this.processStatus,this.taskNode),this.processStatus.userNodeGroup&&this.processStatus.userNodeGroup[this.taskNode[0].nodeName]&&this.processStatus.userNodeGroup[this.taskNode[0].nodeName].length>1?this.canCheck=!1:this.canCheck=!0),this.handleGetHeight()}).catch(e=>{this.handleGetHeight()})},handleGetUserTaskModel(){this.taskNode&&this.taskNode.length?this.request.get("/aws/repository/getUserTaskModel",{params:{taskId:this.taskNode[0].taskId}}).then(e=>{e.code==200&&(this.taskObj=e.data),this.handleGetHeight(),this.$refs.topTips.handleClose()}).catch(e=>{this.handleGetHeight(),this.$refs.topTips.handleClose()}):this.$refs.topTips.handleClose()},async showOperation(e,n,o,i,l){if(this.beforeFunction&&(this.operationParam.beforeFunction=this.beforeFunction),this.processStatus.allUserNames&&this.processStatus.allUserNames.length&&this.taskNode[0]&&this.taskNode[0].nodeId){let m;this.getVars&&(m=this.getVars()),await this.handleGetSimulation(m)}switch(o&&(this.operationParam.request=o,this.annexlabel=i),this.titleText=n,this.operationCom=e,this.operationParam.annex=i,this.operationParam.subjectId=this.formData.subjectId,this.operationParam.processInstId=this.processIntId,this.operationParam.taskInstId=this.taskNode&&this.taskNode.length?this.taskNode[0].taskId:"",this.operationParam.actionName=n,this.operationParam.formData=this.formData,this.operationParam.ProcessInsObj=this.ProcessInsObj,this.operationParam.userInfo=this.user,this.operationParam.nextNodeData=this.nextNodeData,this.operationParam.outGatewayUserTaskModel=this.outGatewayUserTaskModel,this.operationParam.taskNode=this.taskNode,this.operationParam.appId=this.processStatus.appId,this.operationParam.endFunction=this.endFunction,this.operationParam.isDocument=this.isDocument,this.operationParam.isQuickReply=this.isQuickReply,this.operationParam.isMsg=this.isMsg,this.operationParam.canCheck=this.canCheck,this.operationParam.isCheckType=this.isCheckType,this.operationParam.isOrgType=this.isOrgType,this.operationParam.isCodeType=this.isCodeType,this.taskObj.commentModels.some(m=>this.operationParam.actionComplete=m!=null&&m.isDefault?m.actionName:""),l){case"\u6284\u9001":this.operationParam.visible=!0,this.cctaskTopPopup=!0;break;default:this.operationParam.visible=!0,this.TopPopup1=!0;break}},handleCancel(){},async handleComfig(){this.$refs.operationRef.confirm()},handleClosePopup1(){this.TopPopup1=!1,this.operationParam.visible=!1},handleClosecctaskTopPopup(){this.cctaskTopPopup=!1,this.operationParam.visible=!1},handleTipsComfig(){this.$refs.TopPopup2.handleCancel(),this.handleTipsType=="\u50AC\u529E"&&(this.handleTips("",!0,"loading"),this.request.get("/aws/tis/reminders",{params:{processInstId:this.processIntId}}).then(e=>{e.code==200?(this.handleTips("\u50AC\u529E\u6210\u529F",!0,"success"),this.endFunction("\u50AC\u529E")):this.handleTips(e.msg,!0,"error")})),this.handleTipsType=="\u64A4\u9500"&&(this.handleTips("",!0,"loading"),this.request.post("/aws/pis/revoke",{processInstId:this.ProcessInsObj.id,processBusinessKey:this.ProcessInsObj.processBusinessKey}).then(e=>{e.code==200?(this.handleTips("\u64A4\u9500\u6210\u529F",!0,"success"),this.endFunction("\u64A4\u9500")):(this.textTips=e.msg,this.typeTips="error",this.handleTips(e.msg,!0,"error"))}))},handleTipsCancel(){},getColor(e){return e=="\u5BA1\u6838\u4E2D"?"#FFA52D":e=="\u5DF2\u9A73\u56DE"?"#F14B4C":e=="\u5DF2\u64A4\u9500"?"#CECECE":e=="\u5DF2\u5B8C\u6210"?"#6DC743":"#1389FF"},handleActionOpen(){this.actionShow=!0},handleActionClose(){this.actionShow=!1},actionClick(e){this.titleText=e,this.actionShow=!1},getBtnStyle(e){switch(e){case"primary":return"background-color:#3c9cff;color:#fff";case"danger":return"background-color:rgb(255, 230, 230);color:rgb(255, 96, 96)";case"default":return"background-color:rgb(241, 241, 241);color:rgb(51, 51, 51)";default:return"background-color:rgb(241, 241, 241);color:rgb(51, 51, 51)"}},async handleRestart(){this.handleTips("",!0,"loading"),await this.request.get("/aws/repository/getProcessDefList",{params:{appId:this.processStatus.appId}}).then(e=>{this.processDefList=e.data,this.request.get("/aws/pis/getProcessInstanceByBusinessKey",{params:{businessKey:this.formData.businessKey}}).then(n=>{this.processBusiness=n.data,this.request.get("/aws/repository/getFirstProcessNode",{params:{processDefId:this.processBusiness.processDefId}}).then(o=>{this.getFirstProcessNode=o.data[0],this.operationParam.getFirstProcessNode=this.getFirstProcessNode,this.operationParam.formData=this.formData,this.handleTips("",!1,"success"),this.handleActionClose(),this.showOperation(void 0,"\u91CD\u65B0\u63D0\u4EA4",this.request)}).catch(o=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})}).catch(n=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})}).catch(e=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()}}}),IA="",et=e=>(t.pushScopeId("data-v-5b493804"),e=e(),t.popScopeId(),e),tm={class:"process-warp"},sm={key:0,class:"process-main",id:"process-header",ref:"processheader"},nm={class:"process-ml-item border"},om=et(()=>t.createElementVNode("div",{class:"process-mli-name"},"\u6D41\u7A0B\u72B6\u6001",-1)),im={class:"process-mli-value"},am={class:"process-ml-item border"},lm=et(()=>t.createElementVNode("div",{class:"process-mli-name"},"\u6D41\u7A0B\u53D1\u8D77\u65F6\u95F4",-1)),cm={class:"process-mli-value"},dm={key:0,class:"process-ml-item"},rm=et(()=>t.createElementVNode("div",{class:"process-mli-name"},"\u5BA1\u6279\u8282\u70B9",-1)),pm={class:"process-mli-value",style:{width:"50%","text-align":"right"}},hm={class:"process-mliv-jd"},mm=["slot"],um={slot:"default",style:{}},gm=["slot"],fm={key:0,class:"footBtnRow"},Am=["onClick"],km=[et(()=>t.createElementVNode("div",{class:"circle"},null,-1)),et(()=>t.createElementVNode("div",{class:"circle"},null,-1)),et(()=>t.createElementVNode("div",{class:"circle"},null,-1))],ym={slot:"completeSlot"},Cm=["onClick"],Em=["onClick"],Bm={slot:"completeSlot"};function Im(e,n,o,i,l,d){const m=t.resolveComponent("TopTab"),f=t.resolveComponent("TopPopup"),k=t.resolveComponent("TopTips"),C=t.resolveComponent("TopSumbitPopup");return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("div",tm,[e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status?(t.openBlock(),t.createElementBlock("div",sm,[t.createElementVNode("div",nm,[om,t.createElementVNode("div",im,[e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status?(t.openBlock(),t.createElementBlock("div",{key:0,class:"process-mliv-dd",style:t.normalizeStyle({background:e.getColor(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)})},t.toDisplayString(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status),5)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",am,[lm,t.createElementVNode("div",cm,[t.createElementVNode("span",null,t.toDisplayString(e.processStatus.createTime),1)])]),e.processStatus.allUserNames&&e.processStatus.allUserNames.length?(t.openBlock(),t.createElementBlock("div",dm,[rm,t.createElementVNode("div",pm,[t.createElementVNode("span",hm,t.toDisplayString(`${e.processStatus.taskState==4?e.processStatus.currUserName:e.processStatus.allUserNames.toString()}\u5BA1\u6279\u4E2D`),1)])])):t.createCommentVNode("",!0)],512)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"process-card",style:t.normalizeStyle({height:e.processCardHeight})},[t.createVNode(m,{tapList:e.tapList,selfTapList:e.selfTapList,processIntId:e.processIntId,track:e.trackUrl,taskComment:e.taskCommentList,trackList:e.trackList},{default:t.withCtx(()=>[e.selfTapList&&e.selfTapList.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.selfTapList,(u,h)=>(t.openBlock(),t.createElementBlock("div",{key:h,slot:u.slot},[t.renderSlot(e.$slots,u.slot,{},void 0,!0)],8,mm))),128)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",um,[t.renderSlot(e.$slots,"default",{},void 0,!0)]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.tapList,(u,h)=>(t.openBlock(),t.createElementBlock("div",{style:{},key:h,slot:u.slot},[t.renderSlot(e.$slots,u.slot,{},void 0,!0)],8,gm))),128))],64))]),_:3},8,["tapList","selfTapList","processIntId","track","taskComment","trackList"])],4),e.isView?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:1,class:"process-btn",id:"process-footer",style:t.normalizeStyle({bottom:e.processBtn})},[e.isAdditional?(t.openBlock(),t.createElementBlock("div",fm,[t.renderSlot(e.$slots,"btn",{data:e.processStatus},void 0,!0)])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.isDocument&&(e.formData.currentState=="\u7F16\u6587\u53F7\u5957\u7EA2"||e.formData.currentState=="\u76D6\u7AE0")?(t.openBlock(),t.createElementBlock("div",{key:0,class:"top-button",style:t.normalizeStyle(e.getBtnStyle("default"))}," \u8BF7\u53BBPC\u7AEF\u5904\u7406\u8BE5\u6D41\u7A0B ",4)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.formData.currentState!="\u5DF2\u5B8C\u6210"||e.processStatus.status!="\u5DF2\u5B8C\u6210"||e.processStatus.bizStatusName!="\u5DF2\u5B8C\u6210"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.operBtn,(u,h)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[h<3?(t.openBlock(),t.createElementBlock("div",{class:"top-button",style:t.normalizeStyle(e.getBtnStyle(u.btnProps.type.toString())),key:u.name,onClick:E=>u.click(u.name)},t.toDisplayString(u.name),13,Am)):t.createCommentVNode("",!0)],64))),256)):t.createCommentVNode("",!0),e.operBtn.length>3&&e.actionBtn&&e.actionBtn.length?(t.openBlock(),t.createElementBlock("div",{key:1,class:"elips",onClick:n[0]||(n[0]=(...u)=>e.handleActionOpen&&e.handleActionOpen(...u))},km)):t.createCommentVNode("",!0)],64))],64))],4))]),t.createVNode(f,{ref:"TopPopup1",cancel:e.handleCancel,comfig:e.handleComfig,titleText:e.titleText,visible:e.TopPopup1,"onUpdate:visible":n[1]||(n[1]=u=>e.TopPopup1=u),className:"toppopup-component"},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.operationCom),{ref:"operationRef",param:e.operationParam,onHandleClosePopup1:e.handleClosePopup1},{default:t.withCtx(()=>[t.createElementVNode("div",ym,[t.renderSlot(e.$slots,"completeSlot",{},void 0,!0)])]),_:3},40,["param","onHandleClosePopup1"]))]),_:3},8,["cancel","comfig","titleText","visible"]),t.createVNode(f,{ref:"TopPopup2",titleText:e.titleText,isTips:!0,context:e.popupContext,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig},null,8,["titleText","context","cancel","comfig"]),t.createVNode(k,{ref:"topTips",text:e.textTips,statusTips:e.statusTips,type:e.typeTips},null,8,["text","statusTips","type"]),e.actionBtn&&e.actionBtn.length||e.taskNodeList&&e.taskNodeList.length?(t.openBlock(),t.createElementBlock("div",{key:0,class:"top-elips",style:t.normalizeStyle(e.actionShow?"transform: translateY(0)":"transform: translateY(100%)")},[e.taskNodeShow?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.taskNodeList,u=>(t.openBlock(),t.createElementBlock("div",{class:"top-elips-items",onClick:h=>e.handleGet(u),key:u.taskId},t.toDisplayString(u.name),9,Cm))),128)):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.actionBtn,u=>(t.openBlock(),t.createElementBlock("div",{class:"top-elips-items",onClick:h=>u.click(u.name),key:u.name},t.toDisplayString(u.name),9,Em))),128)),t.createElementVNode("div",{class:"top-elips-items top-elips-items--cancel",onClick:n[2]||(n[2]=(...u)=>e.handleActionClose&&e.handleActionClose(...u))}," \u53D6\u6D88 ")],4)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"top-elips-mask",onClick:n[3]||(n[3]=(...u)=>e.handleActionClose&&e.handleActionClose(...u)),style:t.normalizeStyle(e.actionShow?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;")},null,4),t.createVNode(C,t.mergeProps({visible:e.visibleSong,ref:"actionPop",request:e.request,appId:e.processStatus.appId,id:e.formData.businessKey,resubmit:!0},e.restartDataS,{onSuccessFn:e.endFunction,selfList:e.selfList,onChange:e.handleTestsss,isCheckType:e.isCheckType,isOrgType:e.isOrgType,isCodeType:e.isCodeType}),null,16,["visible","request","appId","id","onSuccessFn","selfList","onChange","isCheckType","isOrgType","isCodeType"]),t.createVNode(f,{ref:"cctaskTopPopup",titleText:e.cctaskTopPopupTitle,visible:e.cctaskTopPopup,"onUpdate:visible":n[4]||(n[4]=u=>e.cctaskTopPopup=u),isDrawer:!0},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.operationCom),{ref:"cctaskOperationRef",param:e.operationParam,onHandleClosecctaskTopPopup:e.handleClosecctaskTopPopup},{default:t.withCtx(()=>[t.createElementVNode("div",Bm,[t.renderSlot(e.$slots,"completeSlot",{},void 0,!0)])]),_:3},40,["param","onHandleClosecctaskTopPopup"]))]),_:3},8,["titleText","visible"])])}const Nm=U(em,[["render",Im],["__scopeId","data-v-5b493804"]]);le.TopProcess=Nm,le.TopSumbitPopup=co,le.ViewAttchList=ao,le.attchViews=qe,Object.defineProperties(le,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
42
+ `,document.body.appendChild(this.mainContainer)}message(a={}){let c=sessionStorage.getItem(this.sessionStorageName),r=c?JSON.parse(c):null;if(a.againBtn&&a.content&&r&&Array.isArray(r)&&r.includes(a.content))return;const p=ng({type:a.type,content:a.content,duration:a.duration,delay:a.delay,againBtn:a.againBtn,minWidth:this.minWidth,maxWidth:this.maxWidth},this.mainContainer);this.mainContainer.appendChild(p.els),tn(this.mainContainer),og(p,this)}beforeDestory(){this.mainContainer&&this.mainContainer.remove?this.mainContainer.remove():document.body.removeChild(this.mainContainer),this.mainContainer=null}}const ig=zt({name:"checked",props:{},data(){return{dialogVisible:!1,jsonData:[]}},watch:{visible:{deep:!0,immediate:!0,handler:function(s,a){if(!s)return!1;this.$nextTick(()=>{})}}},computed:{checkedNumber(){const s=this.jsonData.filter(g=>g.type==1).length,a=this.jsonData.filter(g=>g.type==2).length,c=this.jsonData.filter(g=>g.type==3||g.type==6).length,r=this.jsonData.filter(g=>g.type==5).length;let p=[];return s>0&&p.push(`\u7EC4\u7EC7(${s})`),r>0&&p.push(`\u7FA4\u7EC4(${r})`),a>0&&p.push(`\u90E8\u95E8(${a})`),c>0&&p.push(`\u4EBA\u5458(${c})`),b(p)?"":"\u5DF2\u9009\u62E9"+p.join("\uFF0C")},companyJson(){return this.jsonData.filter(s=>s.type==1||s.type==5)},deptJson(){return this.jsonData.filter(s=>s.type==2)},userJson(){return this.jsonData.filter(s=>s.type==3||s.type==6)}},mounted(){},methods:{init(s,a){this.dialogVisible=s,this.jsonData=a},handleRemove(s){this.jsonData=this.jsonData.filter(a=>a.uniqueId!==s.uniqueId||a.isNoDelete),this.$emit("callback",this.jsonData)},handleSlotUser(s){return{id:s.id,name:s.name,uid:s.uid}},isBool(s){return b(s)},handleClose(){this.init(!1,this.jsonData)}}}),$t=(s,a)=>{const c=s.__vccOpts||s;for(const[r,p]of a)c[r]=p;return c},ag={key:0,class:"checked-main"},lg={class:"checked-content"},cg={class:"checked-title"},dg={class:"checked-name"},rg={class:"checked-section"},pg={class:"checked-depart"},hg={class:"checked-departItem-content"},mg={class:"name"},ug=["onClick"],gg={class:"checked-departItem-content"},fg={class:"name"},Ag={key:0},kg={class:"content"},yg=["onClick"],Cg={class:"checked-user"},Eg={class:"checked-userItem-icon"},Bg={key:0},Ig=["src"],Ng={class:"checked-userItem-content"},bg={class:"checked-userItem-left"},Tg={class:"checked-userItem-name"},wg={class:"checked-userItem-phone"},vg={key:0,class:"checked-userItem-txt"},Vg={class:"deper-person-slot"},Sg=["onClick"];function Dg(s,a,c,r,p,g){return s.dialogVisible?(i.openBlock(),i.createElementBlock("main",ag,[i.createElementVNode("div",{onClick:a[0]||(a[0]=(...A)=>s.handleClose&&s.handleClose(...A)),class:"checked-mask"}),i.createElementVNode("div",lg,[i.createElementVNode("div",cg,[i.createElementVNode("div",dg,i.toDisplayString(s.checkedNumber),1),i.createElementVNode("div",{onClick:a[1]||(a[1]=(...A)=>s.handleClose&&s.handleClose(...A)),class:"checked-btn"},"\u5173\u95ED")]),i.createElementVNode("section",rg,[i.createElementVNode("div",pg,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.companyJson,A=>(i.openBlock(),i.createElementBlock("div",{key:A.uniqueId,class:"checked-depart-item"},[i.createElementVNode("div",hg,[i.createElementVNode("div",mg,[i.createElementVNode("span",null,i.toDisplayString(A.name),1)])]),A.isNoDelete?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",{key:0,onClick:B=>s.handleRemove(A),class:"checked-remove"},"\u79FB\u9664",8,ug))]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.deptJson,A=>(i.openBlock(),i.createElementBlock("div",{key:A.uniqueId,class:"checked-depart-item"},[i.createElementVNode("div",gg,[i.createElementVNode("div",fg,[i.createElementVNode("span",{class:i.normalizeClass({width:A.orgRecordsType==4})},i.toDisplayString(A.name),3),A.orgRecordsType==4?(i.openBlock(),i.createElementBlock("label",Ag,"\u5305\u542B\u5B50\u7EA7")):i.createCommentVNode("",!0)]),i.createElementVNode("div",kg,i.toDisplayString(A.ancestorNames),1)]),A.isNoDelete?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",{key:0,onClick:B=>s.handleRemove(A),class:"checked-remove"},"\u79FB\u9664",8,yg))]))),128))]),i.createElementVNode("div",Cg,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.userJson,A=>(i.openBlock(),i.createElementBlock("div",{key:A.uniqueId,class:"checked-user-item"},[i.createElementVNode("div",Eg,[A.avatar.length<1?(i.openBlock(),i.createElementBlock("span",Bg,i.toDisplayString(A.iconName),1)):(i.openBlock(),i.createElementBlock("img",{key:1,src:A.avatar},null,8,Ig))]),i.createElementVNode("div",Ng,[i.createElementVNode("div",bg,[i.createElementVNode("div",Tg,i.toDisplayString(A.name),1),i.createElementVNode("div",wg,i.toDisplayString(A.phone),1),s.isBool(A.ancestorNamesList)?(i.openBlock(),i.createElementBlock("div",vg,i.toDisplayString(A.ancestorNames),1)):(i.openBlock(!0),i.createElementBlock(i.Fragment,{key:1},i.renderList(A.ancestorNamesList,(B,N)=>(i.openBlock(),i.createElementBlock("div",{key:N,class:"checked-userItem-txt"},i.toDisplayString(B),1))),128)),i.createElementVNode("div",Vg,[i.renderSlot(s.$slots,"user",{item:s.handleSlotUser(A)},void 0,!0)])]),A.isNoDelete?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",{key:0,onClick:B=>s.handleRemove(A),class:"checked-remove"},"\u79FB\u9664",8,Sg))])]))),128))])])])])):i.createCommentVNode("",!0)}const Qg=$t(ig,[["render",Dg],["__scopeId","data-v-0472994d"]]),Og=zt({name:"dcSwitch",props:{modelValue:{type:Boolean,default:!1},name:{type:String,default:""},activeColor:{type:String,default:"#409EFF"},inactiveColor:{type:String,default:"#c9c9c9"}},watch:{modelValue:{deep:!0,immediate:!0,handler:function(s,a){this.setColor()}}},computed:{contentCss(){let s=this.width>30?"px":"rem";return{width:this.width+s,height:this.height+s}}},methods:{switchClick(){this.$emit("update:modelValue",!this.modelValue),this.$nextTick(()=>{this.setColor()})},setColor(){this.$nextTick(()=>{if(this.activeColor||this.inactiveColor){let s=this.modelValue?this.activeColor:this.inactiveColor;this.$refs.core.style.borderColor=s,this.$refs.core.style.backgroundColor=s}this.$refs.input.checked=this.modelValue})}}}),Mg=s=>(i.pushScopeId("data-v-ca60242b"),s=s(),i.popScopeId(),s),xg={class:"x_switch_core",ref:"core"},Fg=[Mg(()=>i.createElementVNode("span",{class:"x_switch_btn"},null,-1))],Pg=["name"];function Lg(s,a,c,r,p,g){return i.openBlock(),i.createElementBlock("div",{onClick:a[0]||(a[0]=(...A)=>s.switchClick&&s.switchClick(...A)),class:i.normalizeClass(["x_switch",{"x-switch-checked":s.modelValue}])},[i.createElementVNode("span",xg,Fg,512),i.createElementVNode("input",{type:"checkbox",class:"x-switch-input",name:s.name,ref:"input"},null,8,Pg)],2)}const Ug=$t(Og,[["render",Lg],["__scopeId","data-v-ca60242b"]]),Jg=zt({name:"dcLoading"}),Gg={role:"dialog",tabindex:"0",class:"dc-loading"},Rg=[i.createStaticVNode('<div class="dc-loading-section" data-v-789cc72a><div class="dc-loading-spinner" aria-live="polite" aria-busy="true" data-v-789cc72a><span data-v-789cc72a><i class="dc-loading-line dc-loading-line-1" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-2" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-3" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-4" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-5" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-6" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-7" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-8" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-9" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-10" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-11" data-v-789cc72a></i><i class="dc-loading-line dc-loading-line-12" data-v-789cc72a></i></span></div><div class="dc-loading-text" data-v-789cc72a>\u52A0\u8F7D\u4E2D...</div></div>',1)];function jg(s,a,c,r,p,g){return i.openBlock(),i.createElementBlock("div",Gg,Rg)}const Kg=zt({components:{checked:Qg,dcSwitch:Ug,dcLoading:$t(Jg,[["render",jg],["__scopeId","data-v-789cc72a"]])},name:"departPerson",props:{visible:{type:Boolean,default:!1},isTitle:{type:Boolean,default:!0},source:{type:String,default:"0"},type:{type:String,default:"0"},request:{type:Function,default:()=>({get:()=>{},post:()=>{}})},businessId:{type:String,default:""},orgType:{type:Array,default:()=>[0]},codeType:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!1},deptCode:{type:String,default:""},deptCodeArray:{type:Array,default:()=>[]},itemCode:{type:String,default:""},subjectName:{type:String,default:""},checkedArray:{type:Array,default:()=>[]},maxMultiple:{type:Number,default:0},businessCallack:{type:Function,default:()=>new Promise((s,a)=>{s(!0)})}},data(){return{isSon:!1,deptId:"",subjectId:"",jsonData:[],breadcrumb:[],checkedJson:[],keyword:"",isQuery:!0,isLoading:!1,checkedAll:!1,isShowChecked:!1,activeOrgType:0}},watch:{visible:{deep:!0,immediate:!0,handler:function(s,a){if(!s)return!1;b(this.businessId)?this.getCards(()=>{this.defaultGet()}):this.getDetail(()=>{this.defaultGet()})}},isSon:{deep:!0,handler:function(s,a){let c=[];const r=this.checkedJson.map(p=>{const g=this.entityJson.findIndex(A=>A.id===p.id&&p.type==A.type&&p.type==2)>-1?s&&p.type==2?"4":p.type:p.orgRecordsType;return(g==4||p.type==1)&&c.push(p.id),{...p,orgRecordsType:g}});this.checkedJson=r.filter(p=>p.ancestors.split(",").findIndex(g=>c.indexOf(g)>-1)===-1)}},checkedArray:{deep:!0,immediate:!0,handler:function(s,a){b(this.businessId)&&this.getCards()}}},computed:{queryImg(){return eg},entityJson(){const s=this.checkedJson;return this.jsonData.map(a=>{const c=b(a.ancestors)?"":a.ancestors,r=b(a.ancestorNames)?"":a.ancestorNames,p=c+a.id+"__"+a.type,g=s.find(V=>V.uniqueId===p),A=!b(g),B=A?!1:s.findIndex(V=>V.id===a.id&&a.subjectId===V.subjectId)>-1,N=A?a.type==1||g.orgRecordsType==4:!1,y=b(s)?0:N?a.counts:s.filter(V=>V.type!=1&&V.ancestors.indexOf(a.id)>-1).length,T=A?g.isNoDelete:!1,I=this.isNotLevel?!1:this.isDeptOne&&a.type==2?a.deptCounts>0:a.counts>0;return{type:a.type,id:a.id,name:a.name,counts:b(a.counts)?0:a.counts,num:y,phone:tg(a.phone),uid:a.uid,iconName:en(a.name,2),checked:A,ancestors:c,ancestorNames:r,deptName:sg(a.ancestorNames,"/",this.activeOrgType==0?"last":"find"),deptId:b(a.deptId)?"":a.deptId,uniqueId:p,isDisabled:B,isLevel:N,subjectId:a.subjectId,sex:a.sex,avatar:b(a.avatar)?"":a.avatar,isNoDelete:T,showLevel:I}})},companyJson(){return this.entityJson.filter(s=>s.type==1||s.type==5)},deptJson(){return this.entityJson.filter(s=>s.type==2)},userJson(){return this.entityJson.filter(s=>s.type==3||s.type==6)},checkedNumber(){const s=this.checkedJson.filter(g=>g.type==1).length,a=this.checkedJson.filter(g=>g.type==2).length,c=this.checkedJson.filter(g=>g.type==3||g.type==6).length,r=this.checkedJson.filter(g=>g.type==5).length;let p=[];return s>0&&p.push(s+"\u4E2A\u7EC4\u7EC7"),r>0&&p.push(r+"\u4E2A\u7FA4\u7EC4"),a>0&&p.push(a+"\u4E2A\u90E8\u95E8"),c>0&&p.push(c+"\u4E2A\u6210\u5458"),b(p)?"":"\u5DF2\u9009\u62E9"+p.join("\uFF0C")},breadcrumb_subjectId(){const s=this.breadcrumb.filter((a,c)=>a.value!=="-1");return b(s)?"":s[0].value},breadcrumb_level(){const s=this.breadcrumb.filter((a,c)=>a.value!=="-1");return{ancestors:s.map(a=>a.value).join(","),ancestorNames:s.map(a=>a.name).join("/")}},isDept(){return this.jsonData.findIndex(s=>s.type==2)>-1&&this.isShowDept},isShowSubject(){return this.codeType.findIndex(s=>s==1||s==5)>-1},isShowDept(){return this.codeType.findIndex(s=>s==2)>-1},isNotLevel(){return this.isShowSubject&&this.codeType.length===1},isDeptOne(){return this.isShowDept&&this.codeType.length===1},isShowQuery(){return this.codeType.findIndex(s=>s==3||s==6)>-1},getHight(){let s=349;return this.isDept||(s-=55),this.isAll||(s-=59),this.isShowQuery||(s-=55),this.orgType.length<2&&(s-=45),`calc(100% - ${s}px)`},getSearchHight(){let s=240;return this.isAll||(s-=59),this.orgType.length<2&&(s-=45),this.isShowQuery||(s-=55),`calc(100% - ${s}px)`},getTitle(){return this.codeType.length==1&&this.codeType[0]==2?"\u9009\u62E9\u90E8\u95E8":this.codeType.length==1&&this.codeType[0]==3?"\u9009\u62E9\u4EBA\u5458":this.codeType.length==1&&this.codeType[0]==5?"\u9009\u62E9\u7FA4\u7EC4":"\u9009\u62E9\u7EC4\u7EC7"},isAll(){return this.multiple?this.isShowSubject?this.isShowDept?!0:this.entityJson.findIndex(s=>s.type!=2)>-1:this.entityJson.findIndex(s=>s.type!=1)>-1:!1},isNoDelete(){return b(this.checkedArray)?[]:this.checkedArray.filter(s=>s.isDeleteNo)},isOrgType(){return!!(b(this.orgType)||this.orgType.findIndex(s=>s===0)>-1)},isOrgGroup(){return this.orgType.findIndex(s=>s===1)>-1},isGroup(){return this.orgType.findIndex(s=>s===2)>-1},showType(){const s=(a,c)=>a.findIndex(r=>r==c)>-1;if(s([0],this.activeOrgType))return s(this.codeType,3)?3:s(this.codeType,2)?2:s(this.codeType,1)?1:-1;if(s([1,2],this.activeOrgType))return s(this.codeType,6)?6:s(this.codeType,5)?5:-1},deptIds(){return b(this.deptCodeArray)?b(this.deptCode)?[]:[this.deptCode]:this.deptCodeArray}},mounted(){this.isTitle&&(document.title=this.getTitle),b(this.businessId)?this.getCards(()=>{this.defaultGet()}):this.getDetail(()=>{this.defaultGet()})},methods:{handleSubmit(){if(this.isLoading)return!1;const s=b(this.checkedJson)?[]:this.checkedJson.map(c=>({type:c.orgRecordsType,id:c.id,name:c.name,ancestors:c.ancestors,ancestorNames:c.ancestorNames,subjectId:c.subjectId,phone:b(c.phone)?"":c.phone,sex:c.sex,avatar:c.avatar,deptId:b(c.deptId)?"":c.deptId,uid:b(c.uid)?"":c.uid}));if(b(this.businessId))return this.$emit("callback",s);const a={businessId:this.businessId,orgRecords:this.checkedJson.map(c=>({type:c.orgRecordsType,bizId:c.id,ancestors:c.ancestors,ancestorNames:c.ancestorNames,uid:c.uid}))};this.isLoading=!0,this.businessCallack(s).then(c=>{c&&this.request.post("/auth/component/org/save",a).then(r=>{r.code===200&&this.$emit("callback",s)}).finally(()=>{this.isLoading=!1})}).catch(c=>{this.isLoading=!1})},handleBreadcrumb(s,a){if(s.disable||a+1==this.breadcrumb.length)return!1;switch(this.activeOrgType){case 0:this.deptId=a===0?this.deptCode:a===1&&b(this.deptCode)?0:s.value,this.itemId="",this.subjectId=s.value==="-1"?"":this.breadcrumb_subjectId;break;case 1:case 2:this.itemId=b(this.itemCode)?s.value==="-1"?"":s.value:itemCode,this.deptId=0,this.subjectId="";break}this.keyword="",this.getSearch(()=>{this.breadcrumb=this.breadcrumb.filter((c,r)=>r<a+1)})},handleEmpty(){this.keyword="",this.handleQuery()},handleQuery(){switch(this.breadcrumb=[],this.activeOrgType){case 0:this.itemId="",this.deptId=this.deptCode,this.subjectId=this.subjectCode;break;case 1:case 2:this.deptId="",this.subjectId="";break}this.getSearch(()=>{this.isQuery=b(this.keyword)})},handleOrgType(s){this.activeOrgType=s,this.keyword="",this.itemId="",this.handleQuery()},handleAllCheckbox(s){(this.isShowDept?this.entityJson:this.entityJson.filter(a=>a.type!=2)).forEach(a=>this.handleCheckbox(s,a))},handleCheckbox(s,a){if(a.isDisabled||a.isNoDelete||(a.type==1||a.type==5)&&!this.isShowSubject||a.type==2&&!this.isShowDept)return!1;if(s.currentTarget.checked){if(this.checkedJson.findIndex(A=>A.uniqueId===a.uniqueId)!=-1)return!1;const c=a.type==1?"0":a.ancestors,r=a.type==1?"":a.ancestorNames,p=this.isDept&&this.isSon&&a.type==2?"4":a.type,g={...a,ancestors:c,ancestorNames:r,orgRecordsType:p};return(a.type==1||p==4)&&(this.checkedJson=this.checkedJson.filter(A=>A.ancestors.indexOf(a.id)===-1)),this.getBoolChecked(a)?(s.currentTarget.checked=!1,!1):this.maxMultiple!==0&&this.checkedJson.length>=this.maxMultiple&&this.multiple?(s.currentTarget.checked=!1,new sn().message({content:`\u6700\u591A\u9009\u62E9${this.maxMultiple}\u9879\u3001\u8BF7\u79FB\u9664\u540E\u518D\u8FDB\u884C\u9009\u62E9`,type:"warning"}),!1):(this.multiple?this.checkedJson.push(g):this.checkedJson=[g],!1)}this.checkedJson=this.checkedJson.filter(c=>c.uniqueId!==a.uniqueId)},handleLevel(s){if(s.isDisabled||s.isLevel)return!1;switch(s.type){case"1":this.deptId="",this.subjectId=s.id,this.itemId="",this.getSearch(()=>{this.breadcrumb.push({name:s.name,value:s.id})});break;case"2":this.deptId=s.id,this.subjectId=this.breadcrumb_subjectId,this.itemId="",this.getSearch(()=>{this.breadcrumb.push({name:s.name,value:s.id})});break;case"5":this.deptId="",this.subjectId="",this.itemId=s.id,this.getSearch(()=>{this.breadcrumb.push({name:s.name,value:s.id})});break}},handleChecked(s,a){this.$refs.checkedDp.init(s,a)},handleCallback(s){this.checkedJson=s},getBoolChecked(s){if(s.type!=3)return!1;const a=s.ancestors.split(","),c=this.checkedJson.filter(p=>p.type==2||p.type==1).find(p=>a.indexOf(p.id)>-1);let r=!1;return b(c)||(c.type==1&&(new sn().message({content:`\u5DF2\u9009\u7684\u7EC4\u7EC7\u3010${c.name}\u3011\u5B58\u5728${s.name}\u4EBA\u5458\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`}),r=!0),c.type==4&&(new sn().message({content:`\u5DF2\u9009\u7684\u90E8\u95E8\u3010${c.name}\u3011\u5B58\u5728${s.name}\u4EBA\u5458\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`}),r=!0)),r},defaultData(){this.deptId=this.deptCode,this.subjectId="",this.itemId=this.itemCode,this.isSon=!1,this.jsonData=[],this.keyword="",this.isQuery=!0,this.isLoading=!1,this.activeOrgType=this.isOrgType?0:this.isOrgGroup?1:this.isGroup?2:"",this.breadcrumb=[],this.defaultBreadcrumb()},defaultGet(){this.defaultData(),b(this.subjectName)?this.getSearch():this.getByName(()=>{this.getSearch()})},getIsSon(){const s=this.entityJson.filter(c=>c.type==2),a=this.checkedJson.filter(c=>c.type==2);this.isSon=a.findIndex(c=>s.findIndex(r=>r.id===c.id&&c.orgRecordsType==4)>-1)>-1},getCheckedAll(){const s=b(this.entityJson)?0:this.entityJson.findIndex(a=>this.checkedJson.findIndex(c=>c.type===a.type&&c.id===a.id&&a.subjectId===c.subjectId)===-1);this.checkedAll=s===-1},getSearch(s=()=>{}){const a={source:this.source,type:this.type,deptId:this.deptId,subjectId:this.subjectId,keyword:this.keyword,showType:this.showType,orgType:this.activeOrgType,itemId:this.itemId,deptIds:this.deptIds.join(",")};b(a.deptId)&&delete a.deptId,b(a.subjectId)&&delete a.subjectId,(b(a.deptIds)||!b(a.deptId))&&delete a.deptIds,this.isLoading||(this.isLoading=!0),this.request.get("/auth/component/org/search",{params:a}).then(c=>{this.jsonData=b(c.data)||c.code!==200?[]:c.data,this.defaultBreadcrumb(b(this.jsonData)?"":c.data[0]),s(),this.getIsSon(),this.getCheckedAll()}).finally(()=>{this.isLoading=!1})},defaultBreadcrumb(s){if(!b(this.breadcrumb))return!1;let a="";switch(this.activeOrgType){case 0:a="\u7EC4\u7EC7";break;case 1:a="\u7FA4\u7EC4";break;case 2:a="\u516C\u5171\u7FA4\u7EC4";break}if(this.breadcrumb=[{name:a,value:"-1"}],b(s)||this.activeOrgType===0&&(b(this.deptCode)||b(this.subjectName))||[1,2].indexOf(this.activeOrgType)>-1&&b(this.itemCode))return!1;let c=s.ancestors.split(",");b(this.itemCode)||c.pop(),this.breadcrumb=c.map((r,p)=>({value:r,name:s.ancestorNames.split("/")[p],disable:p!==array.length-1&&array.length!==0}))},getDetail(s=()=>{}){if(b(this.businessId))return s(),!1;const a={businessId:this.businessId};this.isLoading||(this.isLoading=!0),this.request.get("/auth/component/org/detail",{params:a}).then(c=>{this.checkedJson=b(c.data)||c.code!==200?[]:c.data.map(r=>{const p=r.type==4?"2":r.type,g=r.type==1?"":r.ancestors,A=g+r.bizId+"__"+p,B=this.isNoDelete.findIndex(N=>N.id===r.id||N.uid===r.uid)>-1;return{...r,ancestors:g,id:r.bizId,type:p,uniqueId:A,orgRecordsType:r.type,iconName:en(r.name,2),sex:r.sex,uid:b(r.uid)?"":r.uid,avatar:b(r.avatar)?"":r.avatar,deptId:b(r.deptId)?"":r.deptId,isNoDelete:B}}),s()})},getCards(s=()=>{}){if(b(this.checkedArray))return s(),this.checkedJson=[];const a=this.checkedArray.map(c=>({type:c.type,id:b(c.id)?null:c.id,uid:b(c.uid)?null:c.uid,subjectId:b(c.subjectId)?null:c.subjectId,deptId:b(c.deptId)?null:c.deptId,itemId:b(c.itemId)?null:c.itemId,orgIds:b(this.orgType)?[0]:this.orgType}));this.isLoading||(this.isLoading=!0),this.request.post("/auth/component/org/cards",{params:a}).then(c=>{this.checkedJson=b(c.data)||c.code!==200?[]:c.data.map(r=>{const p=r.type==4?"2":r.type,g=r.type==1?"":r.ancestors,A=r.type==1?"":r.ancestorNames,B=g+r.id+"__"+p,N=this.isNoDelete.findIndex(y=>y.id===r.id||y.uid===r.uid)>-1;return{...r,ancestors:g,ancestorNames:A,id:r.id,type:p,uniqueId:B,orgRecordsType:r.type,iconName:en(r.name,2),sex:r.sex,uid:b(r.uid)?"":r.uid,avatar:b(r.avatar)?"":r.avatar,deptId:b(r.deptId)?"":r.deptId,isNoDelete:N}}),s()})},getByName(s=()=>{}){const a={name:this.subjectName};this.request.get("/auth/component/org/subject/getByName",{params:a}).then(c=>{console.log("getByName",c),c.code===200&&(this.subjectId=c.data,s())})}}}),Yg={class:"departPerson-main"},Hg={class:"deper-top"},Wg={key:0,class:"deper-nav"},zg={class:"deper-query"},Zg=i.createElementVNode("i",{class:"icon-chaxun iconfont chaxun"},null,-1),Xg={key:1,class:"deper-breadcrumb"},_g=["onClick"],qg=i.createElementVNode("i",{class:"icon-jiantouyou iconfont"},null,-1),$g={key:2,class:"deper-all"},ef=i.createElementVNode("label",{class:"label",for:"deper-all"},"\u5168\u9009",-1),tf={key:0,class:"deper-c-depart"},sf=["disabled","onUpdate:modelValue","onChange"],nf={class:"depart-name"},of={class:"name"},af={key:0,class:"number"},lf={class:"label"},cf={key:1,class:"number"},df=["onClick"],rf=[i.createElementVNode("i",{class:"icon-pedigree iconfont"},null,-1),i.createElementVNode("span",null,"\u4E0B\u7EA7",-1)],pf={key:1,class:"deper-c-depart"},hf=["disabled","onUpdate:modelValue","onChange"],mf={class:"depart-name"},uf={class:"name"},gf={key:0,class:"number"},ff={class:"label"},Af={key:1,class:"number"},kf=["onClick"],yf=[i.createElementVNode("i",{class:"icon-pedigree iconfont"},null,-1),i.createElementVNode("span",null,"\u4E0B\u7EA7",-1)],Cf={key:2,class:"deper-c-user"},Ef=["disabled","onUpdate:modelValue","onChange"],Bf={class:"user-icon"},If={key:0},Nf=["src"],bf={class:"user-name"},Tf={class:"span"},wf={class:"phone"},vf={class:"deper-search-section"},Vf={class:"search-user"},Sf=i.createElementVNode("div",{class:"search-title"},"\u641C\u7D22\u7ED3\u679C",-1),Df=["onUpdate:modelValue","disabled","onChange"],Qf={class:"user-icon"},Of={key:0},Mf=["src"],xf={class:"user-name"},Ff={class:"span"},Pf={class:"phone"},Lf={class:"txt"},Uf={key:2,class:"deper-son"},Jf=i.createElementVNode("span",null,"\u5305\u542B\u5B50\u7EA7",-1),Gf={class:"deper-bottom"},Rf={key:0,class:"icon-jiantouyou iconfont"};function jf(s,a,c,r,p,g){const A=i.resolveComponent("dc-switch"),B=i.resolveComponent("checked"),N=i.resolveComponent("dcLoading");return i.openBlock(),i.createElementBlock("main",Yg,[i.createElementVNode("div",Hg,[s.orgType.length>1?(i.openBlock(),i.createElementBlock("div",Wg,[s.isOrgType?(i.openBlock(),i.createElementBlock("div",{key:0,onClick:a[0]||(a[0]=y=>s.handleOrgType(0)),class:i.normalizeClass([{active:s.activeOrgType===0},"deper-n-item"])},"\u7EC4\u7EC7",2)):i.createCommentVNode("",!0),s.isOrgGroup?(i.openBlock(),i.createElementBlock("div",{key:1,onClick:a[1]||(a[1]=y=>s.handleOrgType(1)),class:i.normalizeClass([{active:s.activeOrgType===1},"deper-n-item"])},"\u7FA4\u7EC4",2)):i.createCommentVNode("",!0),s.isGroup?(i.openBlock(),i.createElementBlock("div",{key:2,onClick:a[2]||(a[2]=y=>s.handleOrgType(2)),class:i.normalizeClass([{active:s.activeOrgType===2},"deper-n-item"])},"\u516C\u5171\u7FA4\u7EC4",2)):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0),i.withDirectives(i.createElementVNode("div",zg,[i.createElementVNode("form",{class:"form",onSubmit:a[6]||(a[6]=i.withModifiers(()=>{},["prevent"])),action:"javascript: void(0);"},[Zg,i.withDirectives(i.createElementVNode("input",{class:"input",onKeyup:a[3]||(a[3]=i.withKeys((...y)=>s.handleQuery&&s.handleQuery(...y),["enter"])),"onUpdate:modelValue":a[4]||(a[4]=y=>s.keyword=y),type:"search",placeholder:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u3001\u624B\u673A\u53F7\u7801"},null,544),[[i.vModelText,s.keyword]]),s.keyword.length>0?(i.openBlock(),i.createElementBlock("i",{key:0,onClick:a[5]||(a[5]=(...y)=>s.handleEmpty&&s.handleEmpty(...y)),class:"icon-error-fill iconfont close"})):i.createCommentVNode("",!0)],32)],512),[[i.vShow,s.isShowQuery]]),s.isQuery?(i.openBlock(),i.createElementBlock("div",Xg,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.breadcrumb,(y,T)=>(i.openBlock(),i.createElementBlock("div",{onClick:I=>s.handleBreadcrumb(y,T),key:y.value,class:i.normalizeClass([{disable:y.disable},"deper-b-item"])},[i.createElementVNode("span",null,i.toDisplayString(y.name),1),qg],10,_g))),128))])):i.createCommentVNode("",!0),s.isAll?(i.openBlock(),i.createElementBlock("div",$g,[i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":a[7]||(a[7]=y=>s.checkedAll=y),onChange:a[8]||(a[8]=(...y)=>s.handleAllCheckbox&&s.handleAllCheckbox(...y)),class:"deper-checkbox",type:"checkbox",name:"deper-all",id:"deper-all"},null,544),[[i.vModelCheckbox,s.checkedAll]]),ef])):i.createCommentVNode("",!0)]),s.isQuery?(i.openBlock(),i.createElementBlock("div",{key:0,style:i.normalizeStyle({height:s.getHight}),class:"deper-center"},[s.companyJson.length>0?(i.openBlock(),i.createElementBlock("div",tf,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.companyJson,y=>(i.openBlock(),i.createElementBlock("div",{key:y.uniqueId,class:"depart-item"},[i.createElementVNode("label",{class:i.normalizeClass([{width:s.isNotLevel,isNoDelete:y.isNoDelete},"depart-left"])},[i.withDirectives(i.createElementVNode("input",{disabled:y.isDisabled||y.isNoDelete,"onUpdate:modelValue":T=>y.checked=T,onChange:T=>s.handleCheckbox(T,y),class:"deper-checkbox",type:"checkbox"},null,40,sf),[[i.vShow,s.isShowSubject],[i.vModelCheckbox,y.checked]]),i.createElementVNode("div",nf,[i.createElementVNode("div",of,i.toDisplayString(y.name),1),y.num>0?(i.openBlock(),i.createElementBlock("div",af,[i.createTextVNode("("),i.createElementVNode("label",lf,i.toDisplayString(y.num)+"/"+i.toDisplayString(y.counts),1),i.createTextVNode(")")])):y.counts>0?(i.openBlock(),i.createElementBlock("div",cf,"("+i.toDisplayString(y.counts)+")",1)):i.createCommentVNode("",!0)])],2),y.showLevel?(i.openBlock(),i.createElementBlock("div",{key:0,onClick:T=>s.handleLevel(y),class:i.normalizeClass([{isdisabled:y.isLevel},"depart-right"])},rf,10,df)):i.createCommentVNode("",!0)]))),128))])):i.createCommentVNode("",!0),s.deptJson.length>0?(i.openBlock(),i.createElementBlock("div",pf,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.deptJson,y=>(i.openBlock(),i.createElementBlock("div",{key:y.uniqueId,class:"depart-item"},[i.createElementVNode("label",{class:i.normalizeClass([{isNoDelete:y.isNoDelete},"depart-left"])},[i.withDirectives(i.createElementVNode("input",{disabled:y.isDisabled||y.isNoDelete,"onUpdate:modelValue":T=>y.checked=T,onChange:T=>s.handleCheckbox(T,y),class:"deper-checkbox",type:"checkbox"},null,40,hf),[[i.vShow,s.isShowDept],[i.vModelCheckbox,y.checked]]),i.createElementVNode("div",mf,[i.createElementVNode("div",uf,i.toDisplayString(y.name),1),y.num>0?(i.openBlock(),i.createElementBlock("div",gf,[i.createTextVNode("("),i.createElementVNode("label",ff,i.toDisplayString(y.num)+"/"+i.toDisplayString(y.counts),1),i.createTextVNode(")")])):y.counts>0?(i.openBlock(),i.createElementBlock("div",Af,"("+i.toDisplayString(y.counts)+")",1)):i.createCommentVNode("",!0)])],2),y.showLevel?(i.openBlock(),i.createElementBlock("div",{key:0,onClick:T=>s.handleLevel(y),class:i.normalizeClass([{isdisabled:y.isLevel},"depart-right"])},yf,10,kf)):i.createCommentVNode("",!0)]))),128))])):i.createCommentVNode("",!0),s.userJson.length>0?(i.openBlock(),i.createElementBlock("div",Cf,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.userJson,y=>(i.openBlock(),i.createElementBlock("label",{key:y.uniqueId,class:i.normalizeClass([{isNoDelete:y.isNoDelete},"user-item"])},[i.withDirectives(i.createElementVNode("input",{disabled:y.isDisabled||y.isNoDelete,"onUpdate:modelValue":T=>y.checked=T,onChange:T=>s.handleCheckbox(T,y),class:"deper-checkbox",type:"checkbox"},null,40,Ef),[[i.vModelCheckbox,y.checked]]),i.createElementVNode("div",Bf,[y.avatar.length<1?(i.openBlock(),i.createElementBlock("span",If,i.toDisplayString(y.iconName),1)):(i.openBlock(),i.createElementBlock("img",{key:1,src:y.avatar},null,8,Nf))]),i.createElementVNode("div",bf,[i.createElementVNode("div",Tf,i.toDisplayString(y.name),1),i.createElementVNode("div",wf,i.toDisplayString(y.phone),1)])],2))),128))])):i.createCommentVNode("",!0)],4)):(i.openBlock(),i.createElementBlock("div",{key:1,style:i.normalizeStyle({height:s.getSearchHight}),class:"deper-search"},[i.createCommentVNode("",!0),i.createElementVNode("div",vf,[i.createCommentVNode("",!0),i.createElementVNode("div",Vf,[Sf,(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.userJson,y=>(i.openBlock(),i.createElementBlock("label",{key:y.uniqueId,class:"user-item"},[i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":T=>y.checked=T,disabled:y.isDisabled,onChange:T=>s.handleCheckbox(T,y),class:"deper-checkbox",type:"checkbox"},null,40,Df),[[i.vModelCheckbox,y.checked]]),i.createElementVNode("div",Qf,[y.avatar.length<1?(i.openBlock(),i.createElementBlock("span",Of,i.toDisplayString(y.iconName),1)):(i.openBlock(),i.createElementBlock("img",{key:1,src:y.avatar},null,8,Mf))]),i.createElementVNode("div",xf,[i.createElementVNode("div",Ff,i.toDisplayString(y.name),1),i.createElementVNode("div",Pf,i.toDisplayString(y.phone),1),i.createElementVNode("div",Lf,i.toDisplayString(y.ancestorNames),1)])]))),128))])])],4)),s.isDept?(i.openBlock(),i.createElementBlock("div",Uf,[Jf,i.createVNode(A,{modelValue:s.isSon,name:"isSone"},null,8,["modelValue"])])):i.createCommentVNode("",!0),i.createElementVNode("div",Gf,[i.createElementVNode("div",{onClick:a[9]||(a[9]=y=>s.handleChecked(!0,s.checkedJson)),class:"deper-b-checked"},[i.createElementVNode("span",null,i.toDisplayString(s.checkedNumber),1),s.checkedNumber.length>0?(i.openBlock(),i.createElementBlock("i",Rf)):i.createCommentVNode("",!0)]),i.createElementVNode("div",{onClick:a[10]||(a[10]=(...y)=>s.handleSubmit&&s.handleSubmit(...y)),class:"deper-b-btn"},"\u786E\u5B9A")]),i.createVNode(B,{ref:"checkedDp",onCallback:s.handleCallback},{user:i.withCtx(({item:y})=>[i.renderSlot(s.$slots,"checkedUser",{item:y})]),_:3},8,["onCallback"]),s.isLoading?(i.openBlock(),i.createBlock(N,{key:3})):i.createCommentVNode("",!0)])}const Kf=$t(Kg,[["render",jf]]);o.departPerson=Kf,Object.defineProperties(o,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})})})(he,he.exports);const Wc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADGdJREFUeF7tnVFSHDkMhuVhD7AV9j1wksBJApeA5YnwlJBLQE4COUl63zOpHGAZb3l2mpqQGWYsS7as/qna2oe0ZeuXvpHd7W4Hwh8UgAJbFQjQBgpAge0KABBkBxR4RQEAgvSAAgAEOQAFeAqggvB0Q6uJKABAJhJouMlTAIDwdEOriSgAQCYSaLjJUwCA8HRDq4koAEAmEmi4yVMAgPB0Q6uJKNAdIH9+jEezGb0PkY5oRkeU/k/L/4ZlzAINtKAhBhpmC/r6/So8TiSWcFNBgS4AOfwcz2Kkt4HoA0ODgSI9hkhfAAtDvYk3MQ3IXx/jSZzR3apClIcq0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gG1Rli6IRoV5sooL8GimGHt3cCsRrpwwqO9+Hts1j9o+lZ0CSWHj1NA8Szht0eT20uRqAbNEdVSQjIZ1Wj6QAAHklD/A8ZD9I8CR9g07ep1ijy6tK8oBNfNthASATBiS5niBJ/z84oBNa0Lv9flc7vCrQGWfUAGTigHCSpsc23DcK01P0Hv3dZ8whfXKV88MxlSnWPiJ6uYYLiBf/Rf0AIKJymjAGQATDAEAExTRiCoAIBgKACIppxBQAEQwEABEU04gpACIYCAAiKKYRUwBEMBAARFBMI6aw/0wwEIztN93s5hWUqStTAEQwXJ6/7i4oU1em3tzG6+D4oV/NYDwt6PjnVcj6HBIqSM0IMfrCvjOGaJuaMNYfyQwAEdJf0wx7e7fmoDqzzakeAKSjIK+mWmnjYv4XBTvyU2GoRZ8/QgVRiIiWyRdnpJ9o9ePE7hCJ7n9chpsSfwBIiXoN247b/RsOwWzXuQvx1xwBIGbDjIFZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUOA/PPf9I/jtWsEAAAAASUVORK5CYII=",zc=re({name:"TopSubmitPopup",components:{TopPopup:ee,TopDownSelect:lo,PreviewImage:Ts,departPerson:he.exports.departPerson,TopTips:pe},props:{isCheckType:{type:String,default:"0"},visible:{type:Boolean,default:!1},request:{type:[Function,Object],default:()=>({get:()=>{},post:()=>{},upload:()=>{}})},appId:{type:String,default:""},processName:{type:String,default:""},resubmit:{type:Boolean,default:!1},id:{type:String,default:""},businessType:{type:[String,Number]},todoParameter:{type:Object,default(){return{}}},isClearHistory:{type:Boolean,default:!1},title:{type:String,default:"\u6D4B\u8BD5"},showType:{type:String,default:"all"},beforeFunction:{type:Function,default:null},manual:{type:Boolean,default:!1},selfList:{type:Array,default:()=>[]},isOrgType:{type:Array,default:()=>[0]},isCodeType:{type:Array,default:()=>[3]}},data(){return{show:!1,option:[],checkedItem:{},personList:[],trackUrl:[],taskurlshow:!1,isStyle:"width:35%",visiblePerson:!1,entity:{source:"0",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:!1,checkedArray:[]},multiNodeParticipant:{},personListCopy:{},partNode:{},personObjId:"",processId:"",textTips:"",statusTips:!1,typeTips:"success",firstPerson:[],selectDefaultValue:"",businessTypeData:"",idData:"",processNameData:"",titleData:"",todoParameterData:{},humanPerformerName:"",btnLoading:!1}},watch:{visible:{async handler(e,n){this.show=e,this.$emit("update:visible",this.show),e?this.handleOption():this.$refs.TopDownSelect.handleClose()}},show:{handler(e,n){e||this.$refs.TopDownSelect.handleClose()}},businessType:{handler(e,n){this.businessTypeData=e},immediate:!0},id:{handler(e,n){e&&(this.idData=e,this.getProcessInstance())},immediate:!0},processName:{handler(e,n){this.processNameData=e},immediate:!0},title:{handler(e,n){this.titleData=e},immediate:!0},todoParameter:{handler(e,n){this.todoParameterData=e},immediate:!0,deep:!0},selfList:{handler(e,n){e&&e.length&&(this.option=e,this.checkedItem=this.option[0],this.selectDefaultValue=this.checkedItem.id,this.$emit("change",this.checkedItem,this.option),this.handlefirstNode(this.checkedItem.id),this.getDiagramUrl())},immediate:!0,deep:!0},resubmit:{handler(e,n){e&&this.getProcessInstance()}}},computed:{ProcessImg(){return Wc}},methods:{handleSelect(){this.$refs.TopDownSelect.handleExpand()},async handleOption(){this.checkedItem={},this.firstPerson=[],this.personList=[],!(this.selfList&&this.selfList.length)&&(this.handleTips("",!0,"loading"),await this.request.get("/aws/repository/getProcessDefList",{params:{appId:this.appId,processGroupName:this.processNameData}}).then(e=>{e.code==200&&(this.option=e.data,e.data&&e.data.length?(this.handleTips("",!0,"success"),this.checkedItem=this.option[0],this.selectDefaultValue=this.checkedItem.id,this.$emit("change",this.checkedItem,this.option),this.handlefirstNode(this.checkedItem.id),this.getProcessInstance(),this.getDiagramUrl()):(this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F",!0,"error"),this.option=[]))}))},async getProcessInstance(){this.id&&await this.request.get("/aws/pis/getProcessInstanceByBusinessKey",{params:{businessKey:this.id}}).then(e=>{e.code==200&&(this.processId=e.data.id,this.processId&&this.option.map((n,o)=>{n.id===e.data.processDefId&&(this.checkedItem=n,this.selectDefaultValue=this.checkedItem.id,this.$emit("change",this.checkedItem,this.option),this.handlefirstNode(this.checkedItem.id),this.getDiagramUrl())}))})},async handlefirstNode(e){e&&(this.handleTips("",!0,"loading"),await this.request.get("/aws/repository/getFirstProcessNode",{params:{processDefId:e}}).then(n=>{n.code===200?(this.firstPerson=n.data,this.getAfferentParticipantNodeList()):(this.firstPerson=[],this.getAfferentParticipantNodeList())}).catch(n=>{this.firstPerson=[],this.getAfferentParticipantNodeList()}))},async handleChange(e,n){this.handleTips("",!0,"loading"),this.checkedItem={},this.firstPerson=[],this.personList=[],this.checkedItem=e,this.handlefirstNode(this.checkedItem.id),this.getDiagramUrl(),this.$emit("change",e,n)},async getAfferentParticipantNodeList(){await this.request.get("/aws/repository/getAfferentParticipantNodeList",{params:{processDefId:this.checkedItem.id}}).then(e=>{e.code==200&&(this.firstPerson&&this.firstPerson.length&&(this.personList=e.data.filter(n=>!this.firstPerson.some(o=>o.id==n.id))),this.$emit("change",this.checkedItem,this.option)),this.$refs.topTips.handleClose()})},getDiagramUrl(){this.request.get("/aws/repository/getDiagramUrl",{params:{processDefId:this.checkedItem.id,diagramType:1,type:"pc"}}).then(e=>{e.code==200&&(this.trackUrl=[e.data])})},handleOpenPerson(e){if(this.visiblePerson=!0,this.personObjId=e.id,this.humanPerformerName=e.humanPerformerName,e.humanPerformerName==="\u4EFB\u610F\u6307\u5B9A")this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,checkedArray:[]},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(n=>({uid:n.uid,type:n.type,deptId:this.handleLastStr(n.ancestors,n.subjectId)})):this.entity.checkedArray=[];else if(e.humanPerformerName==="\u56FA\u5B9A\u90E8\u95E8"){let n,o=[];e.routeTxt.departmentIds&&e.routeTxt.departmentIds.length>1?(e.routeTxt.departmentIds.forEach((i,l)=>{o.push(i.rangeId)}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],deptCodeArray:o,multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0}):e.routeTxt.departmentIds&&e.routeTxt.departmentIds.length==1&&(e.routeTxt.departmentIds.forEach((i,l)=>{n=i.rangeId}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],deptCode:n,multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(i=>({uid:i.uid,type:i.type,deptId:n})):this.entity.checkedArray=[]}else if(e.humanPerformerName==="\u56FA\u5B9A\u5355\u4F4D"){let n;e.routeTxt.companyIds.map((o,i)=>{n=o.name}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,subjectName:n},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(o=>({uid:o.uid,type:o.type,deptId:this.handleLastStr(o.ancestors,o.subjectId),subjectName:o.ancestorNames.slice(0,o.ancestorNames.indexOf("/"))})):this.entity.checkedArray=[]}},handleCallback(e){this.personListCopy[this.personObjId]=e,this.entity.checkedArray=e.map(n=>({uid:n.uid,type:n.type,deptId:this.handleLastStr(n.ancestors,n.subjectId),subjectName:this.humanPerformerName==="\u56FA\u5B9A\u5355\u4F4D"?n.ancestorNames.slice(0,n.ancestorNames.indexOf("/")):""})),this.multiNodeParticipant[this.personObjId]=[],this.partNode[this.personObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.personObjId].push(n.uid),this.partNode[this.personObjId].push(n.name)}),this.visiblePerson=!1},handleCancel(){},handleLastStr(e,n){return e.split(",")[e.split(",").length-1]!==n?e.split(",")[e.split(",").length-1]:""},async handleSumbit(){if(!this.btnLoading){if(this.btnLoading=!0,this.firstPerson&&this.firstPerson.length&&!this.firstPerson[0].routeTxt.userNames&&this.firstPerson[0].humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&this.firstPerson[0].humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"&&(!this.multiNodeParticipant[this.firstPerson[0].id]||!this.multiNodeParticipant[this.firstPerson[0].id].length)){this.handleTips(`${this.firstPerson[0].name}\u8282\u70B9\u672A\u9009\u62E9\u5BA1\u6279\u4EBA`,!0,"error"),this.btnLoading=!1;return}this.beforeFunction&&(await this.beforeFunction(),this.manual&&(this.btnLoading=!1)),this.manual||this.$nextTick(async()=>{await this.handleSongshen()})}},handleSongshen(){if(this.btnLoading=!0,this.resubmit)this.handleTips("",!0,"loading"),this.request.post("/aws/pis/reactivate",{processInstId:this.processId,isClearHistory:this.isClearHistory,reactivateReason:"\u91CD\u65B0\u63D0\u4EA4",multiNodeParticipant:this.multiNodeParticipant}).then(e=>{e.code==200?(this.show=!1,this.$emit("update:visible",this.show),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.$emit("successFn"),this.btnLoading=!1):(this.handleTips(e.msg,!0,"error"),this.btnLoading=!1)}).catch(e=>{this.handleTips(e.msg,!0,"error"),this.btnLoading=!1});else{this.handleTips("",!0,"loading");let e={title:this.titleData,processDefId:this.checkedItem.id,processBusinessKey:this.idData,showType:this.showType,businessType:this.businessTypeData,multiNodeParticipant:this.multiNodeParticipant,todoParameter:this.todoParameterData};if(!this.checkedItem.id){this.$refs.topTips.handleClose(),this.btnLoading=!1;return}this.request.post("/aws/pis/createAndStart",e).then(n=>{n.code===200?(this.show=!1,this.$emit("update:visible",this.show),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.$emit("successFn"),this.btnLoading=!1):n.code==499?this.request.post("/aws/pis/reactivate",{processInstId:this.processId,isClearHistory:this.isClearHistory,reactivateReason:"\u91CD\u65B0\u63D0\u4EA4",multiNodeParticipant:this.multiNodeParticipant}).then(o=>{o.code==200?(this.show=!1,this.$emit("update:visible",this.show),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.$emit("successFn"),this.btnLoading=!1):(this.handleTips(o.msg,!0,"error"),this.btnLoading=!1)}).catch(o=>{this.handleTips(o.msg,!0,"error"),this.btnLoading=!1}):(this.handleTips(n.msg,!0,"error"),this.btnLoading=!1)}).catch(n=>{this.handleTips(n.msg,!0,"error"),this.btnLoading=!1})}},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips&&this.$refs.topTips.handleOpen()}}}),iA="",Mt=e=>(t.pushScopeId("data-v-113ef106"),e=e(),t.popScopeId(),e),Zc={class:"sumbmitPopup-select"},Xc=Mt(()=>t.createElementVNode("div",{class:"sumbmitPopup-select-checked-title"}," \u5F53\u524D\u6D41\u7A0B ",-1)),_c={class:"sumbmitPopup-select-viewTrack"},qc=["src"],$c={key:0,class:"person-views"},ed=Mt(()=>t.createElementVNode("div",{class:"person-views-title"},"\u4E0B\u4E00\u6B65\u5904\u7406\u8282\u70B9",-1)),td={class:"views-items"},sd={class:"views-items-name"},nd=Mt(()=>t.createElementVNode("span",{class:"views-items-name--re"},"*",-1)),od={class:"views-items-set"},id={key:0},ad={key:0},ld={key:1},cd={key:2},dd=["onClick"],rd={key:1,class:"person-views"},pd=Mt(()=>t.createElementVNode("div",{class:"person-views-title"},"\u5176\u4ED6\u5904\u7406\u8282\u70B9",-1)),hd={class:"views-items"},md={class:"views-items-name"},ud={class:"views-items-set"},gd=["onClick"],fd={key:0},Ad={key:0},kd={key:1},yd={key:2,class:"person-views-white"},Cd={style:{height:"100%"}};function Ed(e,n,o,i,l,d){const m=t.resolveComponent("TopDownSelect"),f=t.resolveComponent("TopPopup"),k=t.resolveComponent("departPerson"),C=t.resolveComponent("PreviewImage"),u=t.resolveComponent("TopTips");return t.openBlock(),t.createElementBlock("div",null,[t.createVNode(f,{visible:e.show,"onUpdate:visible":n[2]||(n[2]=h=>(e.show=h,e.$emit("update:visible",h))),ref:"TopPopup",titleText:"\u9001\u5BA1",isIndex:99,className:"sumbmitPopup-index sumbmitPopup-index-sumbit",comfigText:"\u9001\u5BA1",comfig:e.handleSumbit},{default:t.withCtx(()=>[t.createVNode(m,{isSlots:"",option:e.option,onChange:e.handleChange,defaultValue:e.selectDefaultValue,ref:"TopDownSelect",disibled:e.resubmit},{header:t.withCtx(h=>[t.createElementVNode("div",Zc,[t.createElementVNode("div",{class:"sumbmitPopup-select-checked",onClick:n[0]||(n[0]=(...E)=>e.handleSelect&&e.handleSelect(...E))},[Xc,t.createElementVNode("div",{class:t.normalizeClass(["sumbmitPopup-select-checked-node",e.resubmit?"sumbmitPopup-select-checked-node--noafter":""])},t.toDisplayString(h.data.name?h.data.name:h.data.placeholder),3)]),t.createElementVNode("div",_c,[e.checkedItem.id?(t.openBlock(),t.createElementBlock("div",{key:0,class:"viewTrack",onClick:n[1]||(n[1]=E=>e.taskurlshow=!0)},[t.createElementVNode("img",{src:e.ProcessImg},null,8,qc),t.createTextVNode(" \u67E5\u770B\u6D41\u7A0B\u56FE ")])):t.createCommentVNode("",!0)])])]),_:1},8,["option","onChange","defaultValue","disibled"]),e.firstPerson&&e.firstPerson.length?(t.openBlock(),t.createElementBlock("div",$c,[ed,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.firstPerson,(h,E)=>(t.openBlock(),t.createElementBlock("div",td,[t.createElementVNode("div",sd,[t.createTextVNode(t.toDisplayString(h.name)+" ",1),nd]),t.createElementVNode("div",od,[e.partNode[h.id]&&e.partNode[h.id].length?(t.openBlock(),t.createElementBlock("div",id,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.partNode[h.id],(w,S)=>(t.openBlock(),t.createElementBlock("span",null,t.toDisplayString(S>=3?"":S==0?w:`,${w}`),1))),256)),e.partNode[h.id].length>3?(t.openBlock(),t.createElementBlock("span",ad,"...\u7B49"+t.toDisplayString(e.partNode[h.id].length)+"\u4EBA",1)):t.createCommentVNode("",!0)])):h.routeTxt&&h.routeTxt.userNames?(t.openBlock(),t.createElementBlock("div",ld,t.toDisplayString(h.routeTxt.userNames),1)):t.createCommentVNode("",!0),h.humanPerformerName=="\u56FA\u5B9A\u8D26\u6237"||h.humanPerformerName=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(t.openBlock(),t.createElementBlock("div",cd)):(t.openBlock(),t.createElementBlock("div",{key:3,class:"views-items-set-btn",onClick:w=>e.handleOpenPerson(h)}," \u8BBE\u7F6E ",8,dd))])]))),256))])):t.createCommentVNode("",!0),e.personList&&e.personList.length?(t.openBlock(),t.createElementBlock("div",rd,[pd,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.personList,(h,E)=>(t.openBlock(),t.createElementBlock("div",hd,[t.createElementVNode("div",md,t.toDisplayString(h.name),1),t.createElementVNode("div",ud,[t.createElementVNode("div",{class:"views-items-set-btn",onClick:w=>e.handleOpenPerson(h)}," \u8BBE\u7F6E ",8,gd),e.partNode[h.id]&&e.partNode[h.id].length?(t.openBlock(),t.createElementBlock("div",fd,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.partNode[h.id],(w,S)=>(t.openBlock(),t.createElementBlock("span",null,t.toDisplayString(S>=3?"":S==0?w:`,${w}`),1))),256)),e.partNode[h.id].length>3?(t.openBlock(),t.createElementBlock("span",Ad,"...\u7B49"+t.toDisplayString(e.partNode[h.id].length)+"\u4EBA",1)):t.createCommentVNode("",!0)])):(t.openBlock(),t.createElementBlock("div",kd))])]))),256))])):t.createCommentVNode("",!0),!e.firstPerson&&!e.firstPerson.length&&!e.personList&&!e.personList.length?(t.openBlock(),t.createElementBlock("div",yd," \u65E0\u9700\u8BBE\u7F6E ")):t.createCommentVNode("",!0)]),_:1},8,["visible","comfig"]),t.createVNode(f,{visible:e.visiblePerson,"onUpdate:visible":n[3]||(n[3]=h=>e.visiblePerson=h),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0,isIndex:199},{default:t.withCtx(()=>[t.createElementVNode("div",Cd,[e.visiblePerson?(t.openBlock(),t.createBlock(k,t.mergeProps({key:0,isTitle:!1,visible:e.visiblePerson},e.entity,{onCallback:e.handleCallback,onCancel:e.handleCancel}),null,16,["visible","onCallback","onCancel"])):t.createCommentVNode("",!0)])]),_:1},8,["visible"]),t.createVNode(C,{images:e.trackUrl,visible:e.taskurlshow,"onUpdate:visible":n[4]||(n[4]=h=>e.taskurlshow=h),indexd:0,isOne:!0,isStyle:e.isStyle},null,8,["images","visible","isStyle"]),t.createVNode(u,{ref:"topTips",text:e.textTips,statusTips:e.statusTips,type:e.typeTips},null,8,["text","statusTips","type"])])}const co=U(zc,[["render",Ed],["__scopeId","data-v-113ef106"]]),Bd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAEmBJREFUeF7tnAt0VdWZx397n3PvDUlISHgEkJfDGxXRVnGqq2o7PtvB1hl0fFun6ji+xhfgzCioq5WA2hFxptUOY23VqlNf06laW7VrVUfs8gEqgmBFRZ4hIRBIcu85e8/69j4HriEJAYLiY691181Ncs/Z+3/++/u+/b0U3T1mWM0AAlZhmaEirFUoZZlus+WlDM8ZJqKpsJZhCiYAxmgC5T8Pk+lYWG4Vy7UhBrSF15ViOYaNrZr5TVt4lxtUfuu1Z9iQASh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J4kUsiwIVRzQXXx8M1Nxlfg9rfNzdRkhg6oKcvt5QjS1WPpLlJOzX2aS28a27S7GvLJL1m1SaQhMvFddg312AXrvHNTcqkuUkGLYyR5ibW8or6RJubtN1uxe1xZtn+seF0FOcpGKIUpZJkKvaIa48T+8QGSac7fHBRe5zeSbmltMfp2aY9zqYk9C3tcdYXtcf50KftSU6TyLii9jixtWyx8AGWeYHm/nVTVNJHyOqdaWhSvNSdZ1B7UjfpqtKnB/2N4UQUVwFjlEoaLFmMa7CknH2iXEcp7d633r+zBkvSXCl5SaWQdSFxabCkXJcXAUbUgTRYulVrfvPpN1hKQWqnRVfVTFupDOMIOSwwTLAwWmnGttuiqyhVRhb9sRZdRY9OmNJeiy5reFvBklhadEW8ZDWLGqapxq3G307Km/aeffcwyPcWChB1mjR5GzHH5ta1MjCMGI5mnIGRGgYFmr4KpHawp1JJkzd/5tm+yVsyY2uRcu1N0vYsNqwzsELDUgyLopB3++ZYuWyvbPLW0XbrpE1gFg5DUYFvC3iQy+U0rp3XMKUZ6hSmL9Nejnb5nfK315A2gZaNeXjpk2wT+P9KELohNtx5+AAAAABJRU5ErkJggg==",Id=re({name:"attchViews",components:{TopTips:pe,PreviewImage:Ts,PreView:_n,TopPopup:ee},props:{request:{type:Function,defalut:()=>{}},limit:{type:Number|String,default:4},changeFn:{type:Function,default:null},requires:{default:!1},inComing:{type:Array,defalut:()=>[]},deletFn:{type:Function},onlyShow:{type:Boolean,default:!1},linkUrl:{type:Function,defalut:null}},data(){return{lists:[],filesArr:[],imgIcon:["jpg","jpeg","png","gif"],docIcon:["doc","docx"],xlsIcon:["xls","xlsx"],zipIcon:["zip","rar","7z"],extension:["bmp","gif","jpg","jpeg","png","doc","docx","xls","xlsx","ppt","pptx","html","htm","txt","wps","rar","zip","gz","bz2","mp4","avi","rmvb","pdf"],current:"",buttonLoading:!1,handleCloseType:!0,uploadState:!0,textTips:"",statusTips:!1,typeTips:"success",visible:!1,indexd:0,visibleS:!1,fileUrl:""}},watch:{inComing:{handler(e,n){e&&(this.filesArr=[].concat(e),this.emitView())},immediate:!0,deep:!0}},computed:{haveCount(){return this.limit==-1?100:this.limit-this.filesArr.length},addFile(){return Bd},del(){return qn},doc(){return $n},file(){return eo},image(){return to},pdf(){return so},xls(){return no},zip(){return oo}},mounted(){this.$nextTick(()=>{let e=document.createElement("input");e.type="file",e.className="upload-input",e.style="opacity: 0;position: absolute;width:100%;height:100%;visibility: hidden;",e.multiple=!0,e.id="fileUp",e.addEventListener("change",this.handleSelect),document.getElementById("inputfile").appendChild(e)})},methods:{handleClick(){if(typeof nativeMethod<"u"&&nativeMethod.vueSelectFile&&nativeMethod.vueSelectFile(2,"*",this.limit||1),this.haveCount<=0){this.handleTips(`\u6700\u591A\u4E0A\u4F20${props.limit}\u4E2A\u6587\u4EF6`,!1,"success");return}document.getElementById("fileUp").click()},async handleSelect(e,n){this.handleTips("\u4E0A\u4F20\u4E2D",!0,"loading");const o=Array.from(e.target.files);document.getElementById("fileUp").value="";let i=0,l=this.haveCount>o.length?o.length:this.haveCount;try{for(let d=0;d<l;d++)if(this.extension.includes(o[d].name.substring(o[d].name.lastIndexOf(".")+1))){const m=new FormData;m.append("file",o[d]);const f=await this.request.post("/file/upload",m,{headers:{"Content-Type":"multipart/form-data"}});if(f.code===200){if(this.filesArr.length>0){for(let k=0;k<this.filesArr.length;k++)if(f.originFileName==this.filesArr[k].originFileName&&i++,this.filesArr[k].originFileName.includes(`(${i})`)&&i++,i>0){let C=f.originFileName.lastIndexOf(".");f.originFileName=`${f.originFileName.substring(0,C)} (${i}) .${f.originFileName.substring(f.originFileName.lastIndexOf(".")+1)}`}}this.filesArr.push(f.data)}else{this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error"),this.viewImage();return}}else{this.handleTips(`\u6587\u4EF6${o[d].name}\u683C\u5F0F\u9519\u8BEF,\u8BF7\u91CD\u65B0\u4E0A\u4F20`,!0,"error");return}this.handleTips("\u4E0A\u4F20\u6210\u529F",!0,"success"),this.viewImage(),this.emitView()}catch{this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error"),this.emitView()}},handleDel(e,n){if(this.deletFn){if(this.deletFn(n)===!1){this.handleTips("\u5220\u9664\u5931\u8D25",!0,"error");return}this.filesArr.splice(e,1),this.emitView()}else this.filesArr.splice(e,1),this.emitView()},viewFile(e,n){this.imgIcon.includes(e.name.substring(e.name.lastIndexOf(".")+1).toLowerCase())?(this.indexd=this.lists.indexOf(e.url),this.visible=!0):e.url&&(this.fileUrl=e.url,this.visibleS=!0)},viewImage(){this.lists=[];let e=[];this.filesArr.map((n,o)=>{this.imgIcon.includes(n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase())}),e=this.filesArr.filter(n=>this.imgIcon.includes(n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase())),e.forEach((n,o)=>{this.lists.push(n.url)})},emitView(){this.$emit("getValue",this.filesArr)},clearData(){this.filesArr=[]},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()}}}),aA="",Nd={class:"attch-upload"},bd={key:0,class:"attch-upload-mask"},Td={class:"attch-upload-body"},wd={class:"upload-header"},vd={class:"upload-header-title"},Vd={key:0,class:"upload-header-title--re"},Sd={class:"upload-header-upload"},Dd=["src"],Qd={class:"upload-body"},Od={key:0,class:"upload-list"},Md={class:"list-items-icon"},xd=["src"],Fd=["src"],Pd=["src"],Ld=["src"],Ud=["src"],Jd=["src"],Gd={class:"list-items-info"},Rd={class:"info-name"},jd={class:"info-attribute"},Kd={class:"info-attribute-size"},Yd=["onClick"],Hd={key:0,class:"list-items-operation"},Wd=["onClick"],zd=["src"];function Zd(e,n,o,i,l,d){const m=t.resolveComponent("TopTips"),f=t.resolveComponent("PreviewImage"),k=t.resolveComponent("PreView"),C=t.resolveComponent("TopPopup");return t.openBlock(),t.createElementBlock("div",Nd,[e.buttonLoading?(t.openBlock(),t.createElementBlock("div",bd)):t.createCommentVNode("",!0),t.createElementVNode("div",Td,[t.createElementVNode("div",wd,[t.createElementVNode("div",vd,[t.createTextVNode(" \u9644\u4EF6 "),e.requires?(t.openBlock(),t.createElementBlock("span",Vd,"*")):t.createCommentVNode("",!0)]),t.createElementVNode("div",Sd,[e.onlyShow?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:"upload-header-upload--item",id:"inputfile",onClick:n[0]||(n[0]=(...u)=>e.handleClick&&e.handleClick(...u))},[t.createElementVNode("img",{src:e.addFile},null,8,Dd),t.createTextVNode("\u4E0A\u4F20\u9644\u4EF6 ")]))])]),t.createElementVNode("div",Qd,[e.filesArr.length>0?(t.openBlock(),t.createElementBlock("div",Od,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.filesArr,(u,h)=>(t.openBlock(),t.createElementBlock("div",{class:"list-items",key:u.uuid},[t.createElementVNode("div",Md,[e.xlsIcon.includes(u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase())?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon-img",src:e.xls},null,8,xd)):e.imgIcon.includes(u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase())?(t.openBlock(),t.createElementBlock("img",{key:1,class:"icon-img",src:e.image},null,8,Fd)):u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase()=="pdf"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon-img",src:e.pdf},null,8,Pd)):e.docIcon.includes(u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase())?(t.openBlock(),t.createElementBlock("img",{key:3,class:"icon-img",src:e.doc},null,8,Ld)):e.zipIcon.includes(u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase())?(t.openBlock(),t.createElementBlock("img",{key:4,class:"icon-img",src:e.zip},null,8,Ud)):(t.openBlock(),t.createElementBlock("img",{key:5,class:"icon-img",src:e.file},null,8,Jd))]),t.createElementVNode("div",Gd,[t.createElementVNode("div",Rd,t.toDisplayString(u.originFileName),1),t.createElementVNode("div",jd,[t.createElementVNode("span",Kd,t.toDisplayString(u.fileSize<1024?u.fileSize:u.fileSize/1024>1024?parseFloat((u.fileSize/1024/1024).toFixed(2)):parseFloat((u.fileSize/1024).toFixed(2)))+t.toDisplayString(u.fileSize<1024?"b":parseFloat((u.fileSize/1024).toFixed(2))<1024?"kb":"M"),1),t.createElementVNode("span",{class:"info-attribute-views",onClick:E=>e.viewFile(u,h)}," \u9884\u89C8 ",8,Yd)])]),e.onlyShow?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Hd,[t.createElementVNode("div",{onClick:E=>e.handleDel(h,u),class:"list-items-operation-img"},[t.createElementVNode("img",{src:e.del},null,8,zd)],8,Wd)]))]))),128))])):t.createCommentVNode("",!0)])]),t.createVNode(m,{ref:"topTips",text:e.textTips,statusTips:e.statusTips,type:e.typeTips},null,8,["text","statusTips","type"]),t.createVNode(f,{images:e.lists,visible:e.visible,"onUpdate:visible":n[1]||(n[1]=u=>e.visible=u),indexd:e.indexd},null,8,["images","visible","indexd"]),t.createVNode(C,{visible:e.visibleS,"onUpdate:visible":n[2]||(n[2]=u=>e.visibleS=u),ref:"TopPopup",titleText:"\u9644\u4EF6\u9884\u89C8",isDrawer:"",isIndex:99},{default:t.withCtx(()=>[e.visibleS?(t.openBlock(),t.createBlock(k,{key:0,file:e.fileUrl},null,8,["file"])):t.createCommentVNode("",!0)]),_:1},8,["visible"])])}const qe=U(Id,[["render",Zd],["__scopeId","data-v-73da35c4"]]),Xd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADG5JREFUeF7tnVFaGzcXhjUD16WsoLCSwl1qsoeElRRWEroHcLkL/0rqfwUpvS6jPuPYiXGw0ZE+4TOel6s8T6Rj6T36pE/yWNME/iAAgY0EGthAAAKbCSAQRgcEthBAIAwPCCAQxgAE8giwguRxo9ZICCAQR4n+8u7dybfmHB5+/fe//86O7+9njpo5qqYgkB2kuxfCQduexRB+ibE5a5rQi+G7O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QzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsLk5JVbTV5I4tBnGmfj0k1zHicX0doYT7/xd3MvVqZAgoerdqwDYCzlrVcQrXBxc0OMG4Hk3oXrabYZy8BP7WfupBdCQCDrkPsbOGJo+ut1Mv7i1dF0ep1RkSqVCJTks+ZVqNbuullBjJe0vdBPRGJNfq3yuW5g2Z7al9lZ+u1GIH2jC5bkZZ/7+2UXV3/GKnfNWuCOrWyMzVnGRdXPMHmzzK4EUjrzjG1A7ml/3ew/er6uBFJus/Z0yIyoW57slTuB9A2yXLw8onEzlq66Wj1cCoRVZCxa+LGf3lYPlwLpG1VyRDje4TX0nvs8hXS1B1lNMRv2oQ/49PZ7O7labblbgfRWq2kOPpUeG6aniZK7IOBZHG4t1jJRi/1I/yJN00spd5FoPjOLgJt3EW5qvdsVZE0kv6e+UiwrTVR6cwLeV44lEPcC6Rua+EqxN08yH5hNwN1x7mBXkNWGsy/JHpBeKr7JexGVnR3ECrLe4Q3v3lNyIZaWgOt3OW7r6iAFsro/OWjbs8WLKvuNPJt57cDOjTZ/UWjTxIeh/wxh0AJ5KXvzF1bytxMCx/f3e/cE9d4JZCcjgw/dWwIIZG9TS8cUBBCIgiIx9pYAAtnb1NIxBQEEoqBIjL0lgED2NrV0TEHgP1VLsH2X3+jEAAAAAElFTkSuQmCC",lA="",_d={name:"msgList",components:{TopPopup:ee},props:{visible:{type:Boolean,default:!1},request:{default:null},useInfo:{type:Object,default:()=>{}}},data(){return{listData:[],visibleListMsg:!1,opinion:{},textTips:"",statusTips:!1,typeTips:""}},computed:{Del(){return Xd}},watch:{visible:{handler(e,n){e&&this.request.get("/auth/user/opinion/my").then(o=>{o.code===200&&(this.listData=o.data)})}}},methods:{handleMsg(e){this.$emit("handleMsg",e.opinionName)},handleOpenMsg(e){this.opinion=e,this.visibleListMsg=!0},handleTipsCancel(){this.visibleListMsg=!1},async handleDel(){this.opinion.opinionId&&(this.visibleListMsg=!1,this.$emit("handleTips","",!0,"loading"),await this.request.get(`/auth/user/opinion/del/${this.opinion.opinionId}`).then(e=>{e.code===200?(this.$emit("handleTips","\u5220\u9664\u6210\u529F",!0,"success"),this.request.get("/auth/user/opinion/my").then(n=>{n.code===200&&(this.listData=n.data)})):this.$emit("handleTips",e.msg,!0,"error")}).catch(e=>{this.$emit("handleTips",e.msg,!0,"error")}))}}},qd={key:0,class:"top-msg"},$d=["onClick"],er={class:"top-msg-items-text"},tr=["onClick"],sr=["src"];function nr(e,n,o,i,l,d){const m=t.resolveComponent("TopPopup");return t.openBlock(),t.createElementBlock("div",null,[o.visible?(t.openBlock(),t.createElementBlock("div",qd,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.listData,f=>(t.openBlock(),t.createElementBlock("div",{class:"top-msg-items",onClick:k=>d.handleMsg(f)},[t.createElementVNode("div",er,t.toDisplayString(f.opinionName),1),t.createElementVNode("div",{class:"top-msg-items-del",onClick:t.withModifiers(k=>d.handleOpenMsg(f),["stop"])},[t.createElementVNode("img",{src:d.Del},null,8,sr)],8,tr)],8,$d))),256))])):t.createCommentVNode("",!0),t.createVNode(m,{isIndex:2299,titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06\u5E38\u7528\u610F\u89C1'${l.opinion.opinionName}'\u5220\u9664`,cancel:d.handleTipsCancel,comfig:d.handleDel,visible:l.visibleListMsg,"onUpdate:visible":n[0]||(n[0]=f=>l.visibleListMsg=f)},null,8,["context","cancel","comfig","visible"])])}const rt=U(_d,[["render",nr],["__scopeId","data-v-87fc3e49"]]),cA="",or={name:"counterSign",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:pe,attchViews:qe,TopPopup:ee,departPerson:he.exports.departPerson,MsgList:rt},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||"0",request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},actionName:"",visibleListMsg:!1,visibleMsgComfig:!1}},watch:{param:{handler(e,n){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.actionName=e.actionName,e.nextNodeData.length?this.nextNodeData[0].type=="userTask"||this.nextNodeData[0].type=="UserTaskModel"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):this.nextNodeData[0].type=="ExclusiveGatewayModel"||this.nextNodeData[0].type=="InclusiveGatewayModel":e.outGatewayUserTaskModel.length&&(e.outGatewayUserTaskModel[0].type=="userTask"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):e.outGatewayUserTaskModel[0].type=="ExclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="InclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="UserTaskModel"&&(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.checkedArray=[],this.entity.source="1",this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]))},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleOpenPopup(e){this.visible=!0,this.partObjId=e},confirm(){if(!this.commentMsg)return this.textTips="\u8BF7\u8F93\u5165\u52A0\u7B7E\u7406\u7531!",this.$refs.topTips.handleOpen(),!1;let e="";this.multiNodeParticipant[this.partObjId].map((n,o)=>{o==0?e=n:e=`${e} ${n}`}),this.handleTips("",!0,"loading"),this.param.request.post("/aws/tis/createDynamicTask",{title:this.param.formData.title||this.param.formData.reason||this.param.formData.meetingTheme,participant:e,processInstId:this.param.processInstId,adHocType:2,parentTaskInstId:this.param.taskInstId,reason:this.commentMsg}).then(n=>{n.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips(n.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.partObjId].push(n.uid),this.partNode[this.partObjId].push(n.name),this.entity.checkedArray.push({type:3,uid:n.uid})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((o,i)=>{o.size=o.fileSize,o.format=o.originFileName.substring(o.originFileName.lastIndexOf(".")+1),o.uploadTime=o.createTime,o.processInstId=this.param.processInstId,o.taskInstId=this.param.taskInstId,o.name=o.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("counterSign")}}},pt=e=>(t.pushScopeId("data-v-7c557bcb"),e=e(),t.popScopeId(),e),ir={class:"process-popup-content"},ar={class:"process-popup-content-msg"},lr={key:0},cr=pt(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createTextVNode(" \u52A0\u7B7E\u7406\u7531\uFF1A"),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),dr={class:"process-pc-value"},rr={class:"process-popup-textarea"},pr={class:"process-popup-textarea-num"},hr={key:0,class:"msg-btn"},mr={key:0,class:"process-popup-content-person"},ur=pt(()=>t.createElementVNode("div",null,[t.createElementVNode("br"),t.createTextVNode(" \u5BA1\u6279\u4EBA "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),gr=["onClick"],fr={class:"process-pc-value--people"},Ar={key:0,class:"process-pc-value--data"},kr={key:1,class:"process-pc-value--data",style:{color:"#888"}},yr=[pt(()=>t.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1))],Cr=pt(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createElementVNode("br"),t.createTextVNode(" \u5BA1\u6279\u4EBA "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),Er=["onClick"],Br={class:"process-pc-value--people"},Ir={key:0,class:"process-pc-value--data"},Nr={key:1,class:"process-pc-value--data",style:{color:"#888"}},br=[pt(()=>t.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1))],Tr={style:{height:"100%"}};function wr(e,n,o,i,l,d){const m=t.resolveComponent("TopTips"),f=t.resolveComponent("departPerson"),k=t.resolveComponent("TopPopup"),C=t.resolveComponent("attchViews"),u=t.resolveComponent("MsgList");return t.openBlock(),t.createElementBlock("div",ir,[t.createElementVNode("div",ar,[o.param.isMsg?(t.openBlock(),t.createElementBlock("div",lr,[t.createElementVNode("div",{class:"process-radio-item",onClick:n[0]||(n[0]=h=>d.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px"}}," \u5E38\u7528\u610F\u89C1 ")])):t.createCommentVNode("",!0),cr,t.createElementVNode("div",dr,[t.createElementVNode("div",rr,[t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":n[1]||(n[1]=h=>l.commentMsg=h),class:"textarea-item",name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},null,512),[[t.vModelText,l.commentMsg]]),t.createElementVNode("div",pr,t.toDisplayString(l.commentMsg.length)+"/200 ",1)]),o.param.isMsg?(t.openBlock(),t.createElementBlock("div",hr,[t.createElementVNode("span",{class:"msg-btn-click",onClick:n[2]||(n[2]=h=>d.handleMakeMsg())},"\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])):t.createCommentVNode("",!0)])]),l.taskNode&&l.taskNode.length>0&&l.taskNode[0].taskState!=4?(t.openBlock(),t.createElementBlock("div",mr,[l.nextNodeData.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(l.nextNodeData,h=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[ur,t.createElementVNode("div",{class:"process-pc-value",onClick:E=>d.handleOpenPopup(h.id)},[t.createElementVNode("div",fr,[l.partNode[h.id]&&l.partNode[h.id].length?(t.openBlock(),t.createElementBlock("div",Ar,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.partNode[h.id],(E,w)=>(t.openBlock(),t.createElementBlock("span",null,t.toDisplayString(w==0?E:`,${E}`),1))),256))])):(t.openBlock(),t.createElementBlock("div",kr,yr))])],8,gr)],64))),256)):l.outGatewayUserTaskModel.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(l.outGatewayUserTaskModel,h=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[Cr,t.createElementVNode("div",{class:"process-pc-value",onClick:E=>d.handleOpenPopup(h.id)},[t.createElementVNode("div",Br,[l.partNode[h.id]&&l.partNode[h.id].length?(t.openBlock(),t.createElementBlock("div",Ir,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.partNode[h.id],(E,w)=>(t.openBlock(),t.createElementBlock("span",null,t.toDisplayString(w==0?E:`,${E}`),1))),256))])):(t.openBlock(),t.createElementBlock("div",Nr,br))])],8,Er)],64))),256)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createVNode(m,{ref:"topTips",text:l.textTips,statusTips:l.statusTips,type:l.typeTips},null,8,["text","statusTips","type"]),t.createVNode(k,{visible:l.visible,"onUpdate:visible":n[3]||(n[3]=h=>l.visible=h),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:t.withCtx(()=>[t.createElementVNode("div",Tr,[l.visible?(t.openBlock(),t.createBlock(f,t.mergeProps({key:0,isTitle:!1,visible:l.visible,request:o.param.request},l.entity,{onCallback:d.handleCallback,onCancel:d.handleCancel}),null,16,["visible","request","onCallback","onCancel"])):t.createCommentVNode("",!0)])]),_:1},8,["visible"]),l.labels=="5"?(t.openBlock(),t.createBlock(C,{key:1,limit:l.limit?l.limit:-1,requires:l.requires,request:o.param.request,linkUrl:o.param.linkUrl,onGetValue:d.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):t.createCommentVNode("",!0),t.createVNode(k,{visible:l.visibleListMsg,"onUpdate:visible":n[4]||(n[4]=h=>l.visibleListMsg=h),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:t.withCtx(()=>[t.createVNode(u,{visible:l.visibleListMsg,request:o.param.request,useInfo:o.param.userInfo,onHandleTips:d.handleTips,onHandleMsg:d.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),t.createVNode(k,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${l.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:d.handleTipsCancel,comfig:d.handleTipsComfig,visible:l.visibleMsgComfig,"onUpdate:visible":n[5]||(n[5]=h=>l.visibleMsgComfig=h)},null,8,["context","cancel","comfig","visible"])])}const vr=U(or,[["render",wr],["__scopeId","data-v-7c557bcb"]]),pA="",Vr={name:"delegateTask",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:pe,attchViews:qe,TopPopup:ee,departPerson:he.exports.departPerson,MsgList:rt},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},actionName:"",visibleListMsg:!1,visibleMsgComfig:!1}},watch:{param:{handler(e,n){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.actionName=e.actionName,e.nextNodeData.length?this.nextNodeData[0].type=="userTask"||this.nextNodeData[0].type=="UserTaskModel"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):this.nextNodeData[0].type=="ExclusiveGatewayModel"||this.nextNodeData[0].type=="InclusiveGatewayModel":e.outGatewayUserTaskModel.length&&(e.outGatewayUserTaskModel[0].type=="userTask"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):e.outGatewayUserTaskModel[0].type=="ExclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="InclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="UserTaskModel"&&(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]))},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleOpenPopup(e){this.visible=!0,this.partObjId=e},async confirm(){if(!this.commentMsg){this.textTips="\u8BF7\u8F93\u5165\u8F6C\u5BA1\u7406\u7531!",this.$refs.topTips.handleOpen();return}let e="";this.multiNodeParticipant[this.partObjId].map((n,o)=>{o==0?e=n:e=`${e} ${n}`}),this.handleTips("",!0,"loading"),await this.param.request.post("/aws/tis/delegate",{delegateReason:this.commentMsg,taskInstId:this.param.taskInstId,targetUID:e}).then(n=>{n.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips(n.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.partObjId].push(n.uid),this.partNode[this.partObjId].push(n.name),this.entity.checkedArray.push({type:3,uid:n.uid})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((o,i)=>{o.size=o.fileSize,o.format=o.originFileName.substring(o.originFileName.lastIndexOf(".")+1),o.uploadTime=o.createTime,o.processInstId=this.param.processInstId,o.taskInstId=this.param.taskInstId,o.name=o.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("delegateTask")}}},ht=e=>(t.pushScopeId("data-v-da729aaf"),e=e(),t.popScopeId(),e),Sr={class:"process-popup-content"},Dr={class:"process-popup-content-msg"},Qr={key:0},Or=ht(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createTextVNode(" \u8F6C\u5BA1\u7406\u7531\uFF1A"),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),Mr={class:"process-pc-value"},xr={class:"process-popup-textarea"},Fr={class:"process-popup-textarea-num"},Pr={key:0,class:"msg-btn"},Lr={key:0,class:"process-popup-content-person"},Ur=ht(()=>t.createElementVNode("div",null,[t.createTextVNode(" \u5BA1\u6279\u4EBA "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),Jr=["onClick"],Gr={class:"process-pc-value--people"},Rr={key:0,class:"process-pc-value--data"},jr={key:1,class:"process-pc-value--data",style:{color:"#888"}},Kr=[ht(()=>t.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1))],Yr=ht(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createTextVNode(" \u5BA1\u6279\u4EBA "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),Hr=["onClick"],Wr={class:"process-pc-value--people"},zr={key:0,class:"process-pc-value--data"},Zr={key:1,class:"process-pc-value--data",style:{color:"#888"}},Xr=[ht(()=>t.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1))],_r={style:{height:"100%"}};function qr(e,n,o,i,l,d){const m=t.resolveComponent("TopTips"),f=t.resolveComponent("departPerson"),k=t.resolveComponent("TopPopup"),C=t.resolveComponent("attchViews"),u=t.resolveComponent("MsgList");return t.openBlock(),t.createElementBlock("div",Sr,[t.createElementVNode("div",Dr,[o.param.isMsg?(t.openBlock(),t.createElementBlock("div",Qr,[t.createElementVNode("div",{class:"process-radio-item",onClick:n[0]||(n[0]=h=>d.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px"}}," \u5E38\u7528\u610F\u89C1 ")])):t.createCommentVNode("",!0),Or,t.createElementVNode("div",Mr,[t.createElementVNode("div",xr,[t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":n[1]||(n[1]=h=>l.commentMsg=h),class:"textarea-item",name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},null,512),[[t.vModelText,l.commentMsg]]),t.createElementVNode("div",Fr,t.toDisplayString(l.commentMsg.length)+"/200 ",1)]),o.param.isMsg?(t.openBlock(),t.createElementBlock("div",Pr,[t.createElementVNode("span",{class:"msg-btn-click",onClick:n[2]||(n[2]=h=>d.handleMakeMsg())},"\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])):t.createCommentVNode("",!0)])]),l.taskNode&&l.taskNode.length>0&&l.taskNode[0].taskState!=4?(t.openBlock(),t.createElementBlock("div",Lr,[l.nextNodeData.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(l.nextNodeData,h=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[Ur,t.createElementVNode("div",{class:"process-pc-value",onClick:E=>d.handleOpenPopup(h.id)},[t.createElementVNode("div",Gr,[l.partNode[h.id]&&l.partNode[h.id].length?(t.openBlock(),t.createElementBlock("div",Rr,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.partNode[h.id],(E,w)=>(t.openBlock(),t.createElementBlock("span",null,t.toDisplayString(w==0?E:`,${E}`),1))),256))])):(t.openBlock(),t.createElementBlock("div",jr,Kr))])],8,Jr)],64))),256)):l.outGatewayUserTaskModel.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(l.outGatewayUserTaskModel,h=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[Yr,t.createElementVNode("div",{class:"process-pc-value",onClick:E=>d.handleOpenPopup(h.id)},[t.createElementVNode("div",Wr,[l.partNode[h.id]&&l.partNode[h.id].length?(t.openBlock(),t.createElementBlock("div",zr,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.partNode[h.id],(E,w)=>(t.openBlock(),t.createElementBlock("span",null,t.toDisplayString(w==0?E:`,${E}`),1))),256))])):(t.openBlock(),t.createElementBlock("div",Zr,Xr))])],8,Hr)],64))),256)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createVNode(m,{ref:"topTips",text:l.textTips,statusTips:l.statusTips,type:l.typeTips},null,8,["text","statusTips","type"]),t.createVNode(k,{visible:l.visible,"onUpdate:visible":n[3]||(n[3]=h=>l.visible=h),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:t.withCtx(()=>[t.createElementVNode("div",_r,[l.visible?(t.openBlock(),t.createBlock(f,t.mergeProps({key:0,isTitle:!1,visible:l.visible,request:o.param.request},l.entity,{onCallback:d.handleCallback,onCancel:d.handleCancel}),null,16,["visible","request","onCallback","onCancel"])):t.createCommentVNode("",!0)])]),_:1},8,["visible"]),l.labels=="1"?(t.openBlock(),t.createBlock(C,{key:1,limit:l.limit?l.limit:-1,requires:l.requires,request:o.param.request,linkUrl:o.param.linkUrl,onGetValue:d.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):t.createCommentVNode("",!0),t.createVNode(k,{visible:l.visibleListMsg,"onUpdate:visible":n[4]||(n[4]=h=>l.visibleListMsg=h),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:t.withCtx(()=>[t.createVNode(u,{visible:l.visibleListMsg,request:o.param.request,useInfo:o.param.userInfo,onHandleTips:d.handleTips,onHandleMsg:d.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),t.createVNode(k,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${l.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:d.handleTipsCancel,comfig:d.handleTipsComfig,visible:l.visibleMsgComfig,"onUpdate:visible":n[5]||(n[5]=h=>l.visibleMsgComfig=h)},null,8,["context","cancel","comfig","visible"])])}const $r=U(Vr,[["render",qr],["__scopeId","data-v-da729aaf"]]),ep="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACZ5JREFUeF7tne1xG0cMhkE2EqeS2JXY6iLRZMb2jEdJF3YqiVNJ5EbMzIlhRDIiecAt9uPeh3+9wC5e4BEWx7O0MT4ogAIXFdigDQqgwGUFAITqQIErCgAI5YECAEINoEBMATpITDesRBQAEJFEE2ZMAQCJ6YaViAIAIpJowowpACAx3bASUQBARBJNmDEFACSmG1YiCgCISKIJM6YAgMR0w0pEAQARSTRhxhQAkJhuWIkoACAiiSbMmAIAEtMNKxEFAEQk0YQZUwBAYrphJaIAgIgkmjBjCgBITDesRBQAEJFEE2ZMAQCJ6YaViAIAIpJowowpACAx3bASUQBARBJNmDEFACSmG1YiCgCISKIJM6YAgMR0w0pEAQARSTRhxhQAkJhuWIkoACAiiSbMmAIAEtMNKxEFAEQk0YQZUwBAYrphJaIAgIgkmjBjCgBITDesRBQAEJFEE2ZMAQCJ6YaViAIAIpJowowpACAx3bASUQBARBJNmDEFACSmG1YiCgCISKKHDfPn3Svb2tt/z//NtvZonzZfa8UDILWUZh+fAs9gfDgzfDSzL/aw+ehzGFsNIDHdsMpUYA/Hn2b26so2j/aw+THzGJNvAMlWGP8+BX7dvbbvT3DM+aRDAiBz0sCaOgrc796b2fmV6tbe03Xr7tai6L8DSFQ57Moq8MvuT9vY65DTrb3JGtwBJJQRjIopMM0bG/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knYocCAOIQi6V6CgCIXs6J2KEAgDjEYqmeAgCil3MidigAIA6xWKqnAIDo5ZyIHQoAiEMsluopACB6OSdihwIA4hCLpXoKAIhezonYoQCAOMRiqZ4CAKKXcyJ2KAAgDrFYqqcAgOjlnIgdCgCIQyyW6ikAIHo5J2KHAgDiEIulegoAiF7OidihAIA4xGKpngIAopdzInYoACAOsViqpwCA6OWciB0KAIhDLJbqKQAgejknYocCAOIQi6V6CgCIXs6J2KEAgDjEYqmeAgCil3MidigAIA6xWKqnAIDo5ZyIHQoAiEMsluopACB6OSdihwIA4hCLpXoKAIhezonYoQCAOMRiqZ4CAKKXcyJ2KAAgDrFYqqcAgOjlnIgdCgCIQyyW6inwD771qeduEnFsAAAAAElFTkSuQmCC",uA="",gA="",tp={name:"TreeNode",components:{TopPopup:ee,TopTips:pe,departPerson:he.exports.departPerson},props:{items:{type:Array,default:()=>[]},endNode:{type:Boolean,default:!1},nodeType:{type:String,default:"outing"},param:{type:Object,default:()=>{}},checkType:{type:String,default:""}},data(){return{nodeItems:[],visible:!1,checkBoxArr:[],checkBoxItem:[],radioArr:"",radioItem:[],partObjId:"",entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0},multiNodeParticipant:{},partNode:{},textTips:"",statusTips:!1,typeTips:"success",gateVars:{},onMultiNodeData:{},onVarsData:{},personMake:[],personMakeList:{}}},watch:{items:{handler(e,n){e&&e.length&&(this.multiNodeParticipant={},this.partNode={},this.gateVars={},this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onVars",this.gateVars),this.nodeType=="outing"?this.nodeItems=JSON.parse(JSON.stringify(e)):this.nodeType=="nexting"&&e.forEach(o=>{o.userTaskModelDTO.participantList&&o.userTaskModelDTO.participantList.length&&o.userTaskModelDTO.participantList.map(i=>{this.multiNodeParticipant[o.id]||(this.multiNodeParticipant[o.id]=[]),this.partNode[o.id]||(this.partNode[o.id]=[]),this.multiNodeParticipant[o.id].includes(i.id)||this.multiNodeParticipant[o.id].push(i.id),this.partNode[o.id].includes(i.name)||this.partNode[o.id].push(i.name)}),(o.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||o.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(o.id),this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(i=>{i.code==200&&(this.personMakeList=i.data)}),this.nodeItems=JSON.parse(JSON.stringify(e))}))},immediate:!0,deep:!0}},computed:{check(){return ws}},methods:{clear(){this.radioArr="",this.radioItem=[],this.checkBoxArr=[],this.checkBoxItem=[],this.multiNodeParticipant={},this.partNode={},this.gateVars={}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.partObjId].push(n.uid),this.partNode[this.partObjId].push(n.name)}),this.onMultiNodeData&&(this.multiNodeParticipant={...this.multiNodeParticipant,...this.onMultiNodeData}),this.$emit("onMultiNode",this.multiNodeParticipant)},handleRadioClick(e){e&&(this.multiNodeParticipant={},this.gateVars={},this.$emit("onMultiNode",this.multiNodeParticipant),this.radioArr=e.id,this.radioItem=[e],this.handleNode(e))},handleCheckBoxClick(e){e&&(this.checkBoxArr.includes(e.id)?(delete this.multiNodeParticipant[e.id],this.checkBoxItem.splice(this.checkBoxArr.indexOf(e.id),1),this.checkBoxArr.splice(this.checkBoxArr.indexOf(e.id),1)):(this.checkBoxItem.push(e),this.checkBoxArr.push(e.id)),this.handleNode(e))},handleNode(e){let n=e.childNode&&e.childNode.length?e.childNode:e&&e.length?e:[e];n&&n.length&&n.forEach((o,i)=>{o.participantList&&o.participantList.length?o.participantList.forEach((l,d)=>{this.multiNodeParticipant[o.id]||(this.multiNodeParticipant[o.id]=[]),this.partNode[o.id]||(this.partNode[o.id]=[]),this.multiNodeParticipant[o.id].includes(l.id)||this.multiNodeParticipant[o.id].push(l.id),this.partNode[o.id].includes(l.name)||this.partNode[o.id].push(l.name)}):o.id&&this.param.request.post(`/aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:[o.id]}).then(l=>{l.code==200&&(this.partNode[o.id]={},this.partNode[o.id]=l.data[o.id])}),this.nodeType=="outing"&&(!o.incomingConditionItemList||!o.incomingConditionItemList.length?e&&e.length?this.gateVars[e[0].incomingConditionItemList[0].itemName]=e[0].incomingConditionItemList[0].compareValue:this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue:o.incomingConditionItemList[0].itemName&&o.incomingConditionItemList[0].compareValue&&(this.gateVars[o.incomingConditionItemList[0].itemName]=o.incomingConditionItemList[0].compareValue),this.onVarsData&&(this.gateVars={...this.gateVars,...this.onVarsData}),this.$emit("onVars",this.gateVars))})},handleOpenPopup(e){if(this.visible=!0,this.partObjId=e.id,this.nodeType=="nexting"?e={...e,...e.userTaskModelDTO}:this.nodeType=="outing"?e={...e,humanPerformer:{name:e.humanPerformerName}}:this.handleTips("\u52A0\u8F7D\u5931\u8D25,\u8BF7\u5237\u65B0",!0,"error"),e.humanPerformer.name=="\u56FA\u5B9A\u5355\u4F4D"){let n,o=[];e.routeTxt.companyIds.map((i,l)=>{n=i.name}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((i,l)=>{o.push({type:3,uid:i})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,subjectName:n,checkedArray:o}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u90E8\u95E8"){let n,o=[],i=[];e.routeTxt.departmentIds.forEach((l,d)=>{e.routeTxt.departmentIds.length>1?o.push(l.rangeId):n=l.rangeId}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].forEach((l,d)=>{i.push({type:3,uid:l,deptId:n})}),e.routeTxt.departmentIds.length>1?this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,deptCodeArray:o,checkedArray:i}:this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,deptCode:n,checkedArray:i}}else{let n=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((o,i)=>{n.push({type:3,uid:o})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,checkedArray:n}}},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()},onMultiNode(e){e&&(this.onMultiNodeData=e,this.multiNode={...this.multiNode,...this.onMultiNodeData},this.$emit("onMultiNode",this.multiNode))},onVars(e){e&&(this.onVarsData=e,this.getVars={...this.gateVars,...this.onVarsData},this.$emit("onVars",this.getVars))}}},sp=e=>(t.pushScopeId("data-v-f499df5b"),e=e(),t.popScopeId(),e),np={key:0,class:"treenode"},op={key:0,class:"treenode-multi"},ip={class:"treenode-node",style:{"margin-top":"0"}},ap=["onClick"],lp=["src"],cp=["onClick"],dp=sp(()=>t.createElementVNode("span",null,null,-1)),rp={class:"treenode-node"},pp={key:0},hp={key:1,class:"personselect"},mp={class:"personselect-name"},up={class:"items-person"},gp=["onClick"],fp={key:1,class:"items-person-name"},Ap={key:2,class:"items-person-name"},kp={class:"treenode-node"},yp={key:0},Cp={key:1,class:"personselect"},Ep={class:"personselect-name"},Bp={class:"items-person"},Ip=["onClick"],Np={key:1,class:"items-person-name"},bp={key:2,class:"items-person-name"},Tp={key:1,class:"treenode-single"},wp={class:"treenode-single-items"},vp={class:"personselect"},Vp={class:"personselect-name"},Sp={class:"items-person"},Dp=["onClick"],Qp={key:1,class:"items-person-name"},Op={key:2,class:"items-person-name"},Mp={key:3,class:"items-person-name"};function xp(e,n,o,i,l,d){const m=t.resolveComponent("TreeNode",!0),f=t.resolveComponent("departPerson"),k=t.resolveComponent("TopPopup"),C=t.resolveComponent("TopTips");return l.nodeItems&&l.nodeItems.length?(t.openBlock(),t.createElementBlock("div",np,[o.endNode?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",op,[t.createElementVNode("div",ip,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.nodeItems,u=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[o.checkType=="InclusiveGatewayModel"?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["treenode-checkbox",l.checkBoxArr.includes(u.id)?"treenode-checkbox-active":""]),onClick:h=>d.handleCheckBoxClick(u)},[t.createElementVNode("span",null,[l.checkBoxArr.includes(u.id)?(t.openBlock(),t.createElementBlock("img",{key:0,class:"treenode-checkbox-active-img",src:d.check},null,8,lp)):t.createCommentVNode("",!0)]),t.createTextVNode(" "+t.toDisplayString(u.nodeName||u.name),1)],10,ap)):o.checkType=="ExclusiveGatewayModel"?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["treenode-radio",l.radioArr==u.id?"treenode-radio-active":""]),onClick:h=>d.handleRadioClick(u)},[dp,t.createTextVNode(" "+t.toDisplayString(u.nodeName||u.name),1)],10,cp)):t.createCommentVNode("",!0)],64))),256))]),o.checkType=="InclusiveGatewayModel"&&l.checkBoxItem&&l.checkBoxItem.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(l.checkBoxItem,u=>(t.openBlock(),t.createElementBlock("div",rp,[u.childNode&&u.childNode.length?(t.openBlock(),t.createElementBlock("div",pp,[t.createVNode(m,{items:u.childNode,endNode:u.childNode.length==1,nodeType:o.nodeType,param:o.param,checkType:u.type,onOnMultiNode:d.onMultiNode,onOnVars:d.onVars},null,8,["items","endNode","nodeType","param","checkType","onOnMultiNode","onOnVars"])])):(t.openBlock(),t.createElementBlock("div",hp,[t.createElementVNode("div",mp,t.toDisplayString(u.nodeName||u.name),1),t.createElementVNode("div",up,[u.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&u.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"items-person-set",onClick:t.withModifiers(h=>d.handleOpenPopup(u),["stop"])}," \u8BBE\u7F6E ",8,gp)):t.createCommentVNode("",!0),u.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&u.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(t.openBlock(),t.createElementBlock("div",fp,t.toDisplayString(l.partNode[u.id]?l.partNode[u.id].join(","):""),1)):u.routeTxt&&u.routeTxt.userNames?(t.openBlock(),t.createElementBlock("div",Ap,t.toDisplayString(u.routeTxt.userNames),1)):t.createCommentVNode("",!0)])]))]))),256)):t.createCommentVNode("",!0),o.checkType=="ExclusiveGatewayModel"&&l.radioItem&&l.radioItem.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(l.radioItem,u=>(t.openBlock(),t.createElementBlock("div",kp,[u.childNode&&u.childNode.length?(t.openBlock(),t.createElementBlock("div",yp,[t.createVNode(m,{items:u.childNode,endNode:u.childNode.length==1,nodeType:o.nodeType,param:o.param,checkType:u.type,onOnMultiNode:d.onMultiNode,onOnVars:d.onVars},null,8,["items","endNode","nodeType","param","checkType","onOnMultiNode","onOnVars"])])):(t.openBlock(),t.createElementBlock("div",Cp,[t.createElementVNode("div",Ep,t.toDisplayString(u.nodeName||u.name),1),t.createElementVNode("div",Bp,[u.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&u.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"items-person-set",onClick:t.withModifiers(h=>d.handleOpenPopup(u),["stop"])}," \u8BBE\u7F6E ",8,Ip)):t.createCommentVNode("",!0),u.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&u.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(t.openBlock(),t.createElementBlock("div",Np,t.toDisplayString(l.partNode[u.id]?l.partNode[u.id].join(","):""),1)):u.routeTxt&&u.routeTxt.userNames?(t.openBlock(),t.createElementBlock("div",bp,t.toDisplayString(u.routeTxt.userNames),1)):t.createCommentVNode("",!0)])]))]))),256)):t.createCommentVNode("",!0)])),o.endNode?(t.openBlock(),t.createElementBlock("div",Tp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.nodeItems,u=>(t.openBlock(),t.createElementBlock("div",wp,[t.createElementVNode("div",vp,[t.createElementVNode("div",Vp,t.toDisplayString(u.nodeName||u.name),1),t.createElementVNode("div",Sp,[u.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&u.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"items-person-set",onClick:t.withModifiers(h=>d.handleOpenPopup(u),["stop"])}," \u8BBE\u7F6E ",8,Dp)):t.createCommentVNode("",!0),l.personMakeList[u.id]?(t.openBlock(),t.createElementBlock("div",Qp,t.toDisplayString(l.personMakeList[u.id]),1)):u.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&u.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(t.openBlock(),t.createElementBlock("div",Op,t.toDisplayString(l.partNode[u.id]?l.partNode[u.id].join(","):""),1)):u.routeTxt&&u.routeTxt.userNames?(t.openBlock(),t.createElementBlock("div",Mp,t.toDisplayString(u.routeTxt.userNames),1)):t.createCommentVNode("",!0)])])]))),256))])):t.createCommentVNode("",!0),t.createVNode(k,{visible:l.visible,"onUpdate:visible":n[0]||(n[0]=u=>l.visible=u),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:t.withCtx(()=>[l.visible?(t.openBlock(),t.createBlock(f,t.mergeProps({key:0,isTitle:!1},l.entity,{onCallback:d.handleCallback}),null,16,["onCallback"])):t.createCommentVNode("",!0)]),_:1},8,["visible"]),t.createVNode(C,{ref:"topTips",text:l.textTips,statusTips:l.statusTips,type:l.typeTips},null,8,["text","statusTips","type"])])):t.createCommentVNode("",!0)}const Fp=U(tp,[["render",xp],["__scopeId","data-v-f499df5b"]]),fA="",Pp={name:"treeperson",components:{TreeNode:Fp},props:{items:{type:Array,default:()=>[]},nodeType:{type:String,default:"outing"},param:{type:Object,default:()=>{}}},data(){return{nodeItems:[],visible:!1,partObjId:"",partNode:[],firstCheck:"",firstType:"",childrenItems:[],childrenEndItems:!1,gateVars:{},multiNode:[],getVars:{}}},watch:{items:{handler(e,n){e&&e.length&&(this.nodeType=="nexting"?(this.nodeItems=[],this.childrenEndItems=!0,e.forEach(o=>{o={...o,...o.userTaskModelDTO},o.humanPerformerName=o.humanPerformer.name,this.nodeItems.push(o)})):this.nodeType=="outing"&&(this.nodeItems=e,console.log("nodeItems",this.nodeItems)))},immediate:!0,deep:!0}},methods:{onMultiNode(e){this.multiNode=e,this.$emit("onMultiNode",this.multiNode)},onVars(e){e?this.getVars={...this.gateVars,...e}:this.getVars={...this.gateVars},this.$emit("onVars",this.getVars)},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleFirstNodeClick(e){if(e){this.firstCheck=e.id,this.firstType=e.type;let n=[e];e.childNode&&e.childNode.length?(this.childrenItems=e.childNode,this.childrenEndItems=!1):(this.childrenItems=[e],this.childrenEndItems=!0),this.nodeType=="outing"&&(this.gateVars={},n.forEach(o=>{this.gateVars[o.incomingConditionItemList[0].itemName]=o.incomingConditionItemList[0].compareValue}))}}}},vs=e=>(t.pushScopeId("data-v-410b7b71"),e=e(),t.popScopeId(),e),Lp={class:"test"},Up={key:0},Jp={class:"treeperson"},Gp=vs(()=>t.createElementVNode("div",{class:"treeperson-title"},[t.createTextVNode(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t.createElementVNode("span",{class:"treeperson-title--re"},"*")],-1)),Rp={class:"treeperson-firstnode"},jp=["onClick"],Kp=vs(()=>t.createElementVNode("span",null,null,-1)),Yp=vs(()=>t.createElementVNode("div",{class:"treeperson-title"},[t.createTextVNode(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t.createElementVNode("span",{class:"treeperson-title--re"},"*")],-1));function Hp(e,n,o,i,l,d){const m=t.resolveComponent("TreeNode");return t.openBlock(),t.createElementBlock("div",Lp,[l.nodeItems&&l.nodeItems.length?(t.openBlock(),t.createElementBlock("div",Up,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.nodeItems,f=>(t.openBlock(),t.createElementBlock("div",Jp,[f.childNode&&f.childNode.length?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Gp,o.nodeType=="outing"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",Rp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(f.childNode,k=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["treeperson-radio",l.firstCheck==k.id?"treeperson-radio-active":""]),onClick:C=>d.handleFirstNodeClick(k)},[Kp,t.createTextVNode(" "+t.toDisplayString(k.nodeName||k.name),1)],10,jp))),256))]),t.createVNode(m,{items:l.childrenItems,endNode:l.childrenEndItems,nodeType:o.nodeType,param:o.param,checkType:l.firstType,onOnMultiNode:d.onMultiNode,onOnVars:d.onVars},null,8,["items","endNode","nodeType","param","checkType","onOnMultiNode","onOnVars"])],64)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Yp,o.nodeType=="nexting"?(t.openBlock(),t.createBlock(m,{key:0,items:[f],endNode:l.childrenEndItems,nodeType:o.nodeType,param:o.param,checkType:l.firstType,onOnMultiNode:d.onMultiNode,onOnVars:d.onVars},null,8,["items","endNode","nodeType","param","checkType","onOnMultiNode","onOnVars"])):(t.openBlock(),t.createBlock(m,{key:1,items:[f],endNode:!0,nodeType:"nexting",param:o.param,checkType:l.firstType,onOnMultiNode:d.onMultiNode,onOnVars:d.onVars},null,8,["items","param","checkType","onOnMultiNode","onOnVars"]))],64))]))),256))])):t.createCommentVNode("",!0)])}const Wp=U(Pp,[["render",Hp],["__scopeId","data-v-410b7b71"]]),AA="",zp={name:"complete",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:pe,attchViews:qe,TopPopup:ee,departPerson:he.exports.departPerson,MsgList:rt,TreePerson:Wp},computed:{check(){return ws},checkS(){return ep}},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0},multiNodeParticipant:{},partObjId:[],partNode:{},canCheck:!0,radioCheck:"",radioCheckChild:[],radioCheckName:"",radioCheckNameList:[],radioCheckNode:[],radioCheckNodeList:[],partList:[],gateVars:{},personMake:[],personMakeList:{},visibleListMsg:!1,visibleMsgComfig:!1,msgCheck:"",msgCheckList:["\u540C\u610F","\u5982\u62DF","\u5DF2\u9605"],msgCheckListS:["\u540C\u610F","\u5DF2\u9605"],actionName:"",partNodeS:[],makeType:""}},watch:{"param.visible":{handler(e,n){this.nextNodeData=this.param.nextNodeData,this.taskNode=this.param.taskNode,this.outGatewayUserTaskModel=this.param.outGatewayUserTaskModel,this.actionName=this.param.actionName,this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map(o=>{o.type!=="endEvent"&&(o.userTaskModelDTO={name:o.name,humanPerformer:{name:o.humanPerformerName}},o.humanPerformer={name:o.humanPerformerName})}),this.nextNodeData&&this.nextNodeData.length?(this.nextNodeData.map((o,i)=>{o.type!=="endEvent"&&(o.userTaskModelDTO.participantList&&o.userTaskModelDTO.participantList.length&&o.userTaskModelDTO.participantList.map(l=>{this.multiNodeParticipant[o.id]||(this.multiNodeParticipant[o.id]=[]),this.partNode[o.id]||(this.partNode[o.id]=[]),this.multiNodeParticipant[o.id].includes(l.id)||this.multiNodeParticipant[o.id].push(l.id),this.partNode[o.id].includes(l.name)||this.partNode[o.id].push(l.name)}),(o.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||o.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(o.id))}),this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(o=>{o.code==200&&(this.personMakeList=o.data)})):this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map((o,i)=>{o.type!=="endEvent"&&o.participantList&&o.participantList.length&&o.participantList.map(l=>{this.multiNodeParticipant[o.id]||(this.multiNodeParticipant[o.id]=[]),this.partNode[o.id]||(this.partNode[o.id]=[]),this.multiNodeParticipant[o.id].includes(l.id)||this.multiNodeParticipant[o.id].push(l.id),this.partNode[o.id].includes(l.name)||this.partNode[o.id].push(l.name)})})},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth/user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleSaveNode(e){this.makeType=="InclusiveGatewayModel"?(this.radioCheckNameList.includes(e.id)?this.radioCheckNameList.splice(this.radioCheckNameList.indexOf(e.id),1):(this.radioCheckNameList.push(e.id),this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue),this.gateVars[e.itemName]=e.compareValue):(this.radioCheckNameList=[],this.radioCheckNodeList=[],this.radioCheckNameList.push(e.id),e.childNode&&e.childNode.length&&(this.radioCheckNodeList=e.childNode),this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue,this.gateVars[e.itemName]=e.compareValue)},handleSaveNodeS(e){this.makeType=="InclusiveGatewayModel"?this.radioCheckNode.includes(e.id)?this.radioCheckNode.splice(this.radioCheckNode.indexOf(e.id),1):this.radioCheckNode.push(e.id):this.radioCheckNode&&this.radioCheckNode.length?this.radioCheckNode=[]:(this.radioCheckNode.push(e.id),e.childNode&&e.childNode.length&&this.radioCheckNodeList.push(e.childNode))},forRadioChild(e,n){e.map((o,i)=>{o.childNode&&o.childNode.length?this.forRadioChild(o.childNode,!0):n&&this.radioCheckChild.push(o)})},async handleNode(e){this.makeType=e.type,this.radioCheckNameList=[],this.radioCheck=e.id,this.radioCheckName=e.nodeName,this.radioCheckChild=e.childNode&&e.childNode.length?e.childNode:[e],this.radioCheckChild&&this.radioCheckChild.length&&this.radioCheckChild.map(n=>{n.participantList&&n.participantList.length?n.participantList.map(o=>{this.multiNodeParticipant[n.id]||(this.multiNodeParticipant[n.id]=[]),this.partNode[n.id]||(this.partNode[n.id]=[]),this.multiNodeParticipant[n.id].includes(o.id)||this.multiNodeParticipant[n.id].push(o.id),this.partNode[n.id].includes(o.name)||this.partNode[n.id].push(o.name)}):this.param.request.post(`/aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:[n.id]}).then(o=>{o.code==200&&(this.partNodeS=[],this.partNodeS.push(o.data[n.id]))})}),(!this.radioCheckChild[0].incomingConditionItemList||!this.radioCheckChild[0].incomingConditionItemList.length)&&e.incomingConditionItemList&&e.incomingConditionItemList.length&&(this.radioCheckChild[0].incomingConditionItemList=e.incomingConditionItemList),this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&(this.radioCheckChild&&this.radioCheckChild.length?(this.gateVars[this.radioCheckChild[0].incomingConditionItemList[0].itemName]=this.radioCheckChild[0].incomingConditionItemList[0].compareValue,this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue):this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue)},handleOpenPopup(e){if(this.visible=!0,this.partObjId=e.id,this.nextNodeData&&this.nextNodeData.length?e={...e,...e.userTaskModelDTO}:e.humanPerformer||(e={...e,humanPerformer:{name:e.humanPerformerName}}),e.humanPerformer.name=="\u56FA\u5B9A\u5355\u4F4D"){let n,o=[];e.routeTxt.companyIds.map((i,l)=>{n=i.name}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((i,l)=>{o.push({type:3,uid:i})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,subjectName:n,checkedArray:o}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u90E8\u95E8"){let n,o=[],i=[];e.routeTxt.departmentIds.forEach((l,d)=>{e.routeTxt.departmentIds.length>1?o.push(l.rangeId):n=l.rangeId}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].forEach((l,d)=>{i.push({type:3,uid:l,deptId:n})}),e.routeTxt.departmentIds.length>1?this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,deptCodeArray:o,checkedArray:i}:this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,deptCode:n,checkedArray:i}}else{let n=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((o,i)=>{n.push({type:3,uid:o})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality!=1,maxMultiple:e.loopCardinality>0?e.loopCardinality:0,checkedArray:n}}},handleOpenMsg(){this.visibleListMsg=!0},async confirm(){if(this.param.ProcessInsObj.processDefId==="obj_94014ede99b6495d8f6d5977314faa15"&&(this.commentMsg="\u540C\u610F"),!this.commentMsg){this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success");return}if(this.requires&&this.attchLists.length<=0){this.handleTips("\u8BF7\u4E0A\u4F20\u9644\u4EF6!",!1,"success");return}let e={};this.radioCheckNameList&&this.radioCheckNameList.length?this.radioCheckChild[0].type!=="EndEventModel"&&this.radioCheckNameList.map((n,o)=>{(!this.multiNodeParticipant[n]||!this.multiNodeParticipant[n].length)&&this.radioCheckChild.map((i,l)=>{i.id==n&&(i.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"||i.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&(!i.childNode||!i.childNode.length||this.radioCheckNode.map((d,m)=>{!this.multiNodeParticipant[d]||this.multiNodeParticipant[d].length,e[d]=this.multiNodeParticipant[d]}))}),e[n]=this.multiNodeParticipant[n]}):e=this.multiNodeParticipant,this.handleTips("",!0,"loading"),this.param.actionComplete,this.commentMsg,this.param.taskInstId,this.param.vars||this.gateVars,!(this.param.beforeFunction&&!await this.param.beforeFunction())&&await this.param.request.post("/aws/tis/complete",{actionName:this.param.actionComplete,commentMsg:this.commentMsg,taskInstId:this.param.taskInstId,vars:this.param.vars||this.gateVars,multiNodeParticipant:e}).then(n=>{if(n.code==200){if(this.attchLists.length>0){this.uploadAttch();return}this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""}else this.handleTips(n.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.partObjId].push(n.uid),this.partNode[this.partObjId].push(n.name)})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((o,i)=>{o.size=o.fileSize,o.format=o.originFileName.substring(o.originFileName.lastIndexOf(".")+1),o.uploadTime=o.createTime,o.processInstId=this.param.processInstId,o.taskInstId=this.param.taskInstId,o.name=o.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("complete")},onMultiNode(e){this.multiNodeParticipant=e},onVars(e){this.gateVars=e}}},Vs=e=>(t.pushScopeId("data-v-59037001"),e=e(),t.popScopeId(),e),Zp={class:"process-popup-content"},Xp={key:0,class:"process-popup-content-msg"},_p={key:0,class:"process-pc-label"},qp={key:1,class:"process-pc-value",style:{display:"flex"}},$p={class:"process-radio",style:{width:"100%"}},eh=["onClick"],th=Vs(()=>t.createElementVNode("span",null,null,-1)),sh=["onClick"],nh=Vs(()=>t.createElementVNode("span",null,null,-1)),oh={key:2},ih=Vs(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createTextVNode(" \u5BA1\u6279\u610F\u89C1 "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),ah={class:"process-pc-value"},lh={class:"process-popup-textarea"},ch={class:"process-popup-textarea-num"},dh={key:0,class:"msg-btn"},rh={key:1,class:"process-popup-content-person"},ph={style:{height:"100%"}};function hh(e,n,o,i,l,d){const m=t.resolveComponent("TreePerson"),f=t.resolveComponent("TopTips"),k=t.resolveComponent("departPerson"),C=t.resolveComponent("TopPopup"),u=t.resolveComponent("MsgList"),h=t.resolveComponent("attchViews");return t.openBlock(),t.createElementBlock("div",Zp,[o.param.ProcessInsObj&&o.param.ProcessInsObj.processDefId!="obj_94014ede99b6495d8f6d5977314faa15"?(t.openBlock(),t.createElementBlock("div",Xp,[o.param.isQuickReply?(t.openBlock(),t.createElementBlock("div",_p," \u5FEB\u6377\u56DE\u590D ")):t.createCommentVNode("",!0),o.param.isQuickReply?(t.openBlock(),t.createElementBlock("div",qp,[t.createElementVNode("div",$p,[o.param.isDocument?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(l.msgCheckList,E=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["process-radio-item",E==l.commentMsg?"process-radio-item--check":""]),onClick:()=>l.commentMsg=E},[th,t.createTextVNode(" "+t.toDisplayString(E),1)],10,eh))),256)):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(l.msgCheckListS,E=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["process-radio-item",E==l.commentMsg?"process-radio-item--check":""]),onClick:()=>l.commentMsg=E},[nh,t.createTextVNode(" "+t.toDisplayString(E),1)],10,sh))),256)),o.param.isMsg?(t.openBlock(),t.createElementBlock("div",{key:2,class:"process-radio-item",onClick:n[0]||(n[0]=E=>d.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px","margin-left":"auto"}}," \u5E38\u7528\u610F\u89C1 ")):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),o.param.isMsg&&!o.param.isQuickReply?(t.openBlock(),t.createElementBlock("div",oh,[t.createElementVNode("div",{class:"process-radio-item",onClick:n[1]||(n[1]=E=>d.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px"}}," \u5E38\u7528\u610F\u89C1 ")])):t.createCommentVNode("",!0),ih,t.createElementVNode("div",ah,[t.createElementVNode("div",lh,[t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":n[2]||(n[2]=E=>l.commentMsg=E),class:"textarea-item",name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},null,512),[[t.vModelText,l.commentMsg]]),t.createElementVNode("div",ch,t.toDisplayString(l.commentMsg.length)+"/200 ",1)]),o.param.isMsg?(t.openBlock(),t.createElementBlock("div",dh,[t.createElementVNode("span",{class:"msg-btn-click",onClick:n[3]||(n[3]=E=>d.handleMakeMsg())},"\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),l.taskNode&&l.taskNode.length>0&&l.taskNode[0].taskState!=4&&l.taskNode[0].taskState!=11?(t.openBlock(),t.createElementBlock("div",rh,[l.nextNodeData.length?(t.openBlock(),t.createBlock(m,{key:0,items:l.nextNodeData,nodeType:"nexting",param:o.param,onOnMultiNode:d.onMultiNode},null,8,["items","param","onOnMultiNode"])):l.outGatewayUserTaskModel.length?(t.openBlock(),t.createBlock(m,{key:1,items:l.outGatewayUserTaskModel,nodeType:"outing",param:o.param,onOnMultiNode:d.onMultiNode,onOnVars:d.onVars},null,8,["items","param","onOnMultiNode","onOnVars"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"completeSlot",{},void 0,!0),t.createVNode(f,{ref:"topTips",text:l.textTips,statusTips:l.statusTips,type:l.typeTips},null,8,["text","statusTips","type"]),t.createVNode(C,{visible:l.visible,"onUpdate:visible":n[4]||(n[4]=E=>l.visible=E),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:t.withCtx(()=>[t.createElementVNode("div",ph,[l.visible?(t.openBlock(),t.createBlock(k,t.mergeProps({key:0,isTitle:!1,visible:l.visible},l.entity,{onCallback:d.handleCallback,onCancel:d.handleCancel}),null,16,["visible","onCallback","onCancel"])):t.createCommentVNode("",!0)])]),_:1},8,["visible"]),t.createVNode(C,{visible:l.visibleListMsg,"onUpdate:visible":n[5]||(n[5]=E=>l.visibleListMsg=E),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:t.withCtx(()=>[t.createVNode(u,{visible:l.visibleListMsg,request:o.param.request,useInfo:o.param.userInfo,onHandleTips:d.handleTips,onHandleMsg:d.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),t.createVNode(C,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${l.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:d.handleTipsCancel,comfig:d.handleTipsComfig,visible:l.visibleMsgComfig,"onUpdate:visible":n[6]||(n[6]=E=>l.visibleMsgComfig=E)},null,8,["context","cancel","comfig","visible"]),l.labels=="1"?(t.openBlock(),t.createBlock(h,{key:2,limit:l.limit?l.limit:-1,requires:l.requires,request:o.param.request,linkUrl:o.param.linkUrl,onGetValue:d.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):t.createCommentVNode("",!0)])}const mh=U(zp,[["render",hh],["__scopeId","data-v-59037001"]]),kA="",uh={name:"cancel",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:pe,attchViews:qe,TopPopup:ee,departPerson:he.exports.departPerson,MsgList:rt},watch:{param:{async handler(e,n){this.entity.checkedArray=[],this.actionName=e.actionName},immediate:!0,deep:!0}},data(){return{commentMsg:"",actionName:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[770],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},visibleListMsg:!1,visibleMsgComfig:!1}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleOpenPopup(e){this.visible=!0,this.partObjId=e},async confirm(){if(!this.commentMsg)return this.handleTips("\u8BF7\u8F93\u5165\u62D2\u7EDD\u7406\u7531!",!1,"success"),!1;this.handleTips("",!0,"loading"),await this.param.request.post("/aws/tis/reject",{commentMsg:this.commentMsg,taskInstId:this.param.taskInstId}).then(e=>{e.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips(e.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.partObjId].push(n.uid),this.partNode[this.partObjId].push(n.name),this.entity.checkedArray.push({type:3,uid:n.uid})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((o,i)=>{o.size=o.fileSize,o.format=o.originFileName.substring(o.originFileName.lastIndexOf(".")+1),o.uploadTime=o.createTime,o.processInstId=this.param.processInstId,o.taskInstId=this.param.taskInstId,o.name=o.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("\u62D2\u7EDD")}}},$e=e=>(t.pushScopeId("data-v-a4ea7c79"),e=e(),t.popScopeId(),e),gh={class:"process-popup-content"},fh={class:"process-popup-content-msg"},Ah={key:0},kh=$e(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createTextVNode(" \u62D2\u7EDD\u7406\u7531\uFF1A "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),yh={class:"process-pc-value"},Ch={class:"process-popup-textarea"},Eh={class:"process-popup-textarea-num"},Bh={key:0,class:"msg-btn"},Ih={key:0,class:"process-popup-content-person"},Nh=$e(()=>t.createElementVNode("br",null,null,-1)),bh=$e(()=>t.createElementVNode("span",{class:"process-pc-label--re"},"*",-1)),Th=["onClick"],wh={class:"process-pc-value--people"},vh={key:0,class:"process-pc-value--data"},Vh={key:1,class:"process-pc-value--data",style:{color:"#888"}},Sh=[$e(()=>t.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1))],Dh={style:{"font-size":"15px"}},Qh=$e(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createTextVNode(" \u5BA1\u6279\u4EBA "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),Oh=[$e(()=>t.createElementVNode("div",{class:"process-pc-value--people"},t.toDisplayString(234),-1))],Mh={style:{height:"100%"}};function xh(e,n,o,i,l,d){const m=t.resolveComponent("TopTips"),f=t.resolveComponent("departPerson"),k=t.resolveComponent("TopPopup"),C=t.resolveComponent("attchViews"),u=t.resolveComponent("MsgList");return t.openBlock(),t.createElementBlock("div",gh,[t.createElementVNode("div",fh,[o.param.isMsg?(t.openBlock(),t.createElementBlock("div",Ah,[t.createElementVNode("div",{class:"process-radio-item",onClick:n[0]||(n[0]=h=>d.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px"}}," \u5E38\u7528\u610F\u89C1 ")])):t.createCommentVNode("",!0),kh,t.createElementVNode("div",yh,[t.createElementVNode("div",Ch,[t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":n[1]||(n[1]=h=>l.commentMsg=h),class:"textarea-item",name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},null,512),[[t.vModelText,l.commentMsg]]),t.createElementVNode("div",Eh,t.toDisplayString(l.commentMsg.length)+"/200 ",1)]),o.param.isMsg?(t.openBlock(),t.createElementBlock("div",Bh,[t.createElementVNode("span",{class:"msg-btn-click",onClick:n[2]||(n[2]=h=>d.handleMakeMsg())},"\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])):t.createCommentVNode("",!0)])]),l.taskNode&&l.taskNode.length>0&&l.taskNode[0].taskState!=4?(t.openBlock(),t.createElementBlock("div",Ih,[l.nextNodeData.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(l.nextNodeData,h=>{var E,w;return t.openBlock(),t.createElementBlock(t.Fragment,null,[d.isOption((w=(E=h==null?void 0:h.userTaskModelDTO)==null?void 0:E.humanPerformer)==null?void 0:w.name)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",null,[t.createTextVNode(t.toDisplayString(h.userTaskModelDTO.name)+" ",1),Nh,t.createTextVNode(" \u5BA1\u6279\u4EBA "),bh]),t.createElementVNode("div",{class:"process-pc-value",onClick:S=>d.handleOpenPopup(h.id)},[t.createElementVNode("div",wh,[l.partNode[h.id]&&l.partNode[h.id].length?(t.openBlock(),t.createElementBlock("div",vh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.partNode[h.id],(S,Q)=>(t.openBlock(),t.createElementBlock("span",null,t.toDisplayString(Q==0?S:`,${S}`),1))),256))])):(t.openBlock(),t.createElementBlock("div",Vh,Sh))])],8,Th)],64)):t.createCommentVNode("",!0)],64)}),256)):l.outGatewayUserTaskModel.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(l.outGatewayUserTaskModel,h=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[d.isOption(h.humanPerformerName)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",Dh,t.toDisplayString(h.name),1),Qh,t.createElementVNode("div",{class:"process-pc-value",onClick:n[3]||(n[3]=(...E)=>d.handleOpenPopup&&d.handleOpenPopup(...E))},Oh)],64)):t.createCommentVNode("",!0)],64))),256)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createVNode(m,{ref:"topTips",text:l.textTips,statusTips:l.statusTips,type:l.typeTips},null,8,["text","statusTips","type"]),t.createVNode(k,{visible:l.visible,"onUpdate:visible":n[4]||(n[4]=h=>l.visible=h),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:t.withCtx(()=>[t.createElementVNode("div",Mh,[l.visible?(t.openBlock(),t.createBlock(f,t.mergeProps({key:0,isTitle:!1,visible:l.visible,request:o.param.request},l.entity,{onCallback:d.handleCallback,onCancel:d.handleCancel}),null,16,["visible","request","onCallback","onCancel"])):t.createCommentVNode("",!0)])]),_:1},8,["visible"]),l.labels=="\u62D2\u7EDD"?(t.openBlock(),t.createBlock(C,{key:1,limit:l.limit?l.limit:-1,requires:l.requires,request:o.param.request,linkUrl:o.param.linkUrl,onGetValue:d.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):t.createCommentVNode("",!0),t.createVNode(k,{visible:l.visibleListMsg,"onUpdate:visible":n[5]||(n[5]=h=>l.visibleListMsg=h),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:t.withCtx(()=>[t.createVNode(u,{visible:l.visibleListMsg,request:o.param.request,useInfo:o.param.userInfo,onHandleTips:d.handleTips,onHandleMsg:d.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),t.createVNode(k,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${l.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:d.handleTipsCancel,comfig:d.handleTipsComfig,visible:l.visibleMsgComfig,"onUpdate:visible":n[6]||(n[6]=h=>l.visibleMsgComfig=h)},null,8,["context","cancel","comfig","visible"])])}const Fh=U(uh,[["render",xh],["__scopeId","data-v-a4ea7c79"]]),EA="",Ph={name:"backNode",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:pe,attchViews:qe,TopPopup:ee,departPerson:he.exports.departPerson,TopDownSelect:lo,MsgList:rt},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},option:[],nodeId:"",actionName:"",visibleListMsg:!1,visibleMsgComfig:!1}},watch:{param:{async handler(e,n){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.entity.checkedArray=[],this.actionName=e.actionName},immediate:!0,deep:!0}},created(){this.getReturnNode()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},getReturnNode(){this.param.request.get("/aws/tis/getReturnableNodes",{params:{taskId:this.param.taskInstId}}).then(e=>{e.code===200&&(this.option=e.data)})},handleChange(e){this.nodeId=e.id},handleOpenPopup(e){this.visible=!0,this.partObjId=e},confirm(){if(!this.commentMsg)return this.textTips="\u8BF7\u8F93\u5165\u9000\u56DE\u7406\u7531!",this.$refs.topTips.handleOpen(),!1;if(!this.nodeId)return this.textTips="\u8BF7\u9009\u62E9\u9000\u56DE\u8282\u70B9!",this.$refs.topTips.handleOpen(),!1;this.handleTips("",!0,"loading"),this.param.request.post("/aws/tis/rollback",{taskInstId:this.param.taskInstId,rollbackReason:this.commentMsg,isCompensation:!1,targetActivityId:this.nodeId}).then(e=>{e.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.partObjId].push(n.uid),this.partNode[this.partObjId].push(n.name),this.entity.checkedArray.push({type:3,uid:n.uid})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((o,i)=>{o.size=o.fileSize,o.format=o.originFileName.substring(o.originFileName.lastIndexOf(".")+1),o.uploadTime=o.createTime,o.processInstId=this.param.processInstId,o.taskInstId=this.param.taskInstId,o.name=o.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("\u9000\u56DE")}}},ro=e=>(t.pushScopeId("data-v-4bcd7506"),e=e(),t.popScopeId(),e),Lh={class:"process-popup-content"},Uh={class:"process-popup-content-msg"},Jh=ro(()=>t.createElementVNode("div",{class:"process-pc-label",style:{"background-color":"#fff",position:"relative","z-index":"199",display:"inline-block",width:"50%"}},[t.createTextVNode(" \u9000\u56DE\u8282\u70B9\uFF1A "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),Gh={class:"process-pc-value",style:{display:"inline-block",width:"50%"}},Rh={key:0},jh=ro(()=>t.createElementVNode("div",{class:"process-pc-label"},[t.createTextVNode(" \u9000\u56DE\u7406\u7531\uFF1A "),t.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),Kh={class:"process-pc-value"},Yh={class:"process-popup-textarea"},Hh={class:"process-popup-textarea-num"},Wh={key:0,class:"msg-btn"};function zh(e,n,o,i,l,d){const m=t.resolveComponent("TopDownSelect"),f=t.resolveComponent("TopTips"),k=t.resolveComponent("MsgList"),C=t.resolveComponent("TopPopup"),u=t.resolveComponent("attchViews");return t.openBlock(),t.createElementBlock("div",Lh,[t.createElementVNode("div",Uh,[Jh,t.createElementVNode("div",Gh,[t.createVNode(m,{option:l.option,onChange:d.handleChange,optionStyle:"width:calc(100% - 40px);left:20px;",maskShow:!1,border:""},null,8,["option","onChange"])]),o.param.isMsg?(t.openBlock(),t.createElementBlock("div",Rh,[t.createElementVNode("div",{class:"process-radio-item",onClick:n[0]||(n[0]=h=>d.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px"}}," \u5E38\u7528\u610F\u89C1 ")])):t.createCommentVNode("",!0),jh,t.createElementVNode("div",Kh,[t.createElementVNode("div",Yh,[t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":n[1]||(n[1]=h=>l.commentMsg=h),class:"textarea-item",name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},null,512),[[t.vModelText,l.commentMsg]]),t.createElementVNode("div",Hh,t.toDisplayString(l.commentMsg.length)+"/200 ",1)]),o.param.isMsg?(t.openBlock(),t.createElementBlock("div",Wh,[t.createElementVNode("span",{class:"msg-btn-click",onClick:n[2]||(n[2]=h=>d.handleMakeMsg())},"\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])):t.createCommentVNode("",!0)])]),t.createVNode(f,{ref:"topTips",text:l.textTips,statusTips:l.statusTips,type:l.typeTips},null,8,["text","statusTips","type"]),t.createVNode(C,{visible:l.visibleListMsg,"onUpdate:visible":n[3]||(n[3]=h=>l.visibleListMsg=h),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:t.withCtx(()=>[t.createVNode(k,{visible:l.visibleListMsg,request:o.param.request,useInfo:o.param.userInfo,onHandleTips:d.handleTips,onHandleMsg:d.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),t.createVNode(C,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${l.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:d.handleTipsCancel,comfig:d.handleTipsComfig,visible:l.visibleMsgComfig,"onUpdate:visible":n[4]||(n[4]=h=>l.visibleMsgComfig=h)},null,8,["context","cancel","comfig","visible"]),l.labels=="\u9000\u56DE"?(t.openBlock(),t.createBlock(u,{key:0,limit:l.limit?l.limit:-1,requires:l.requires,request:o.param.request,linkUrl:o.param.linkUrl,onGetValue:d.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):t.createCommentVNode("",!0)])}const Zh=U(Ph,[["render",zh],["__scopeId","data-v-4bcd7506"]]),BA="",Xh={name:"ccTask",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:pe,departPerson:he.exports.departPerson},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},actionName:""}},watch:{param:{handler(e,n){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.actionName=e.actionName,e.nextNodeData.length?this.nextNodeData[0].type=="userTask"||this.nextNodeData[0].type=="UserTaskModel"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):this.nextNodeData[0].type=="ExclusiveGatewayModel"||this.nextNodeData[0].type=="InclusiveGatewayModel":e.outGatewayUserTaskModel.length&&(e.outGatewayUserTaskModel[0].type=="userTask"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):e.outGatewayUserTaskModel[0].type=="ExclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="InclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="UserTaskModel"&&(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.checkedArray=[],this.entity.source="1",this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]))},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleOpenPopup(e){this.visible=!0,this.partObjId=e},async confirm(){let e="";this.multiNodeParticipant[this.partObjId].map((n,o)=>{o==0?e=n:e=`${e} ${n}`}),await this.param.request.post("/aws/tis/createCCTask",{processInstId:this.param.processInstId,title:this.param.formData.title||this.param.formData.reason||this.param.formData.meetingTheme,parentTaskInstId:this.param.taskInstId,participant:e}).then(n=>{n.code==200?(this.$emit("handleClosecctaskTopPopup"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal()):this.handleTips(n.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((n,o)=>{this.multiNodeParticipant[this.partObjId].push(n.uid),this.partNode[this.partObjId].push(n.name),this.entity.checkedArray.push({type:3,uid:n.uid})}),e&&e.length&&this.confirm()},handleCancel(){},getValues(e){this.attchLists=e},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("ccTask")}}},_h={style:{height:"100%"}};function qh(e,n,o,i,l,d){const m=t.resolveComponent("departPerson"),f=t.resolveComponent("TopTips");return t.openBlock(),t.createElementBlock("div",_h,[o.param.visible?(t.openBlock(),t.createBlock(m,t.mergeProps({key:0,isTitle:!1,request:o.param.request},l.entity,{onCallback:d.handleCallback,onCancel:d.handleCancel}),null,16,["request","onCallback","onCancel"])):t.createCommentVNode("",!0),t.createVNode(f,{ref:"topTips",text:l.textTips,statusTips:l.statusTips,type:l.typeTips},null,8,["text","statusTips","type"])])}const $h=U(Xh,[["render",qh],["__scopeId","data-v-eef1b0b2"]]),em=re({name:"TopProcess",components:{TopTab:Ec,TopPopup:ee,TopTips:pe,TopSumbitPopup:co},props:{tapList:{require:!1,default:()=>[],type:Array},selfTapList:{require:!1,default:()=>[],type:Array},processDefId:{require:!0,default:"",type:String},processInstId:{require:!0,default:"",type:String},isAdditional:{require:!1,default:!1,type:Boolean},isView:{default:!1,type:Boolean},formData:{default:{},type:Object},getVarsStatus:{default:!0,type:Boolean},getVars:{default:null,type:Function},request:{type:[Function,Object],default:()=>({get:()=>{},post:()=>{}})},endFunction:{type:Function,default:null},beforeFunction:{type:Function,default:null},isDocument:{type:Boolean,default:!1},restartData:{type:Object,default:{businessType:"",showType:"",processName:""}},selfList:{type:Array,default:()=>[]},selfBtn:{type:Array,default:()=>[]},uid:{type:String,default:""},isMsg:{type:Boolean,default:!0},isCheckType:{type:String,default:"0"},isOrgType:{type:Array,default:()=>[0]},isCodeType:{type:Array,default:()=>[3]},isQuickReply:{type:Boolean,default:!1},ccTaskFunction:{type:Function,default:null}},data(){return{processStatus:{},processDefList:{},processBusiness:{},getFirstProcessNode:{},taskNode:[],taskNodeList:[],taskNodeIds:[],taskState:NaN,taskCurrent:0,taskObj:{},taskId:"",taskNodeShow:!1,actionShow:!1,titleText:"",btnStyle:"",processIntId:"",trackUrl:"",taskCommentList:[],operationCom:null,ProcessInsObj:{},popupContext:"",operationParam:{},nextTaskNode:{},annexlabel:"",handleTipsType:"",textTips:"",statusTips:!1,typeTips:"",outGatewayUserTaskModel:[],nextNodeData:[],visibleSong:!1,trackList:[],user:{},canCheck:!0,approveNode:{},restartDataS:{},selfBtnList:[],topNum:144,bottomNum:70,userIdData:"",TopPopup1:!1,cctaskTopPopup:!1,cctaskTopPopupTitle:"\u6284\u9001"}},watch:{processInstId:{async handler(e,n){this.processIntId=this.processInstId||this.formData.processId||this.formData.processInstId,e&&(this.request.get("/aws/repository/getTrackUrl",{params:{processInstId:this.processIntId,type:"mobile"}}).then(o=>{o.code==200&&(this.trackUrl=o.data)}),this.request.get("/aws/pis/findNodeParticipantRows",{params:{processInstId:this.processIntId}}).then(o=>{o.code==200&&(this.trackList=o.data)}),this.request.get("/aws/tis/getTaskCommentList",{params:{processInstId:this.processInstId,processBusinessKey:this.formData.businessKey}}).then(o=>{o.code==200&&(this.taskCommentList=o.data)}),this.getUserInfo(),this.request.get("/aws/pis/getProcessInstanceById",{params:{processInstId:this.processInstId}}).then(o=>{o.code==200&&(this.ProcessInsObj=o.data)}),await this.request.get("/aws/repository/queryTaskNodeList",{params:{processInstId:this.processInstId}}).then(o=>{if(o.code==200)if(this.taskNode=o.data,this.taskNodeList=o.data,this.taskNodeList.length==1){if(this.taskNodeList[0].taskState==4)return this.taskState=4,!1;this.taskNodeList[0].taskState==11&&(this.taskState=11),this.taskNodeList[0].taskId,this.handleGetProcessStatus(),this.handleGetUserTaskModel()}else this.taskNodeList.length>1?(this.taskNodeList.forEach(i=>{i.name=i.nodeName}),this.taskNodeShow=!0,this.actionShow=!0):(this.handleGetProcessStatus(),this.handleGetUserTaskModel())}))},immediate:!0,deep:!0},restartData:{handler(e,n){e&&(this.restartDataS=e)},immediate:!0,deep:!0},selfBtn:{handler(e,n){e&&e.length&&(this.selfBtnList=e)},immediate:!0,deep:!0},uid:{handler(e,n){e&&(this.userIdData=e)},immediate:!0,deep:!0}},mounted(){},computed:{actionBtn(){return this.operBtn.length>3?this.operBtn.slice(3):[]},operBtn(){var o,i;let e=[],n=this.taskNode&&this.taskNode[0]&&this.taskNode[0].taskState!=4;if(this.formData.currentState==="\u5DF2\u64A4\u9500"||this.formData.currentState==="\u5DF2\u9A73\u56DE"||this.processStatus.status==="\u5DF2\u64A4\u9500"||this.processStatus.status==="\u5DF2\u9A73\u56DE"||this.processStatus.bizStatusName==="\u5DF2\u64A4\u9500"||this.processStatus.bizStatusName==="\u5DF2\u9A73\u56DE"){let l={};l.name="\u91CD\u65B0\u63D0\u4EA4",l.btnProps={type:"default"},e.push(l),l.click=this.handleTest}if(n&&!this.isView&&this.taskObj.completeButtonLabel){let l={};l.name=this.taskObj.completeButtonLabel,l.btnProps={type:"primary"},e.push(l),l.click=d=>{this.handleActionClose(),this.showOperation(mh,d,this.request,this.taskObj.completeButtonAnnex)}}if(n&&!this.isView&&this.processStatus.currUserName){let l={};l.name="\u62D2\u7EDD",l.btnProps={type:"danger"},e.push(l),l.click=d=>{this.handleActionClose(),this.showOperation(Fh,d,this.request,this.taskObj.otherButtonAnnexList)}}if(this.selfBtnList&&this.selfBtnList.length&&this.selfBtnList.map(l=>{let d={};d.name=l.name,d.btnProps={type:l.type},e.push(d),d.click=l.click}),n&&!this.isView&&this.taskObj.buttons&&this.taskObj.buttons.length&&this.taskObj.buttons.forEach(l=>{if(l.label==="\u9000\u56DE"){let d={};d.name=l.label,d.btnProps={type:"danger"},e.push(d),d.click=m=>{this.handleActionClose(),this.showOperation(Zh,m,this.request,this.taskObj.otherButtonAnnexList)}}}),n&&!this.isView&&this.taskObj.ccTaskButtonLabel){let l={};l.name=this.taskObj.ccTaskButtonLabel,l.btnProps={type:"default"},l.click=async d=>{this.ccTaskFunction&&!await this.ccTaskFunction()||(this.handleActionClose(),this.showOperation($h,d,this.request,this.taskObj.ccTaskButtonAnnex,"\u6284\u9001"),this.cctaskTopPopupTitle=d)},e.push(l)}if(n&&!this.isView&&this.taskObj.delegateTaskButtonLabel){let l={};l.name=this.taskObj.delegateTaskButtonLabel,l.btnProps={type:"default"},l.click=d=>{this.handleActionClose(),this.showOperation($r,d,this.request,this.taskObj.delegateTaskButtonAnnex)},e.push(l)}if(n&&!this.isView&&this.taskObj.counterSignLabel){let l={};l.name=this.taskObj.counterSignLabel,l.btnProps={type:"primary"},l.click=d=>{this.handleActionClose(),this.showOperation(vr,d,this.request,this.taskObj.counterSignButtonAnnex)},e.push(l)}if(this.processIntId&&this.processStatus.createUid==this.userIdData&&((o=this.taskNode[0])==null?void 0:o.taskState)!=2&&this.processStatus.status!=="\u5DF2\u9A73\u56DE"&&this.processStatus.status!=="\u5DF2\u64A4\u9500"){let l={};l.name="\u50AC\u529E",l.btnProps={type:"default"},l.click=d=>{this.$refs.TopPopup2.handleOpen(),this.handleActionClose(),this.titleText=d,this.popupContext=`\u786E\u5B9A${d}\u5417?`,this.handleTipsType="\u50AC\u529E"},e.push(l)}if(this.processIntId&&this.processStatus.createUid==this.userIdData&&((i=this.taskNode[0])==null?void 0:i.taskState)!=2&&this.processStatus.status!=="\u5DF2\u9A73\u56DE"&&this.processStatus.status!=="\u5DF2\u64A4\u9500"){let l={};l.name="\u64A4\u9500",l.btnProps={type:"default"},l.click=d=>{this.$refs.TopPopup2.handleOpen(),this.handleActionClose(),this.titleText=d,this.popupContext=`\u786E\u5B9A${d}\u5417?`,this.handleTipsType="\u64A4\u9500"},e.push(l)}return e},processCardHeight(){console.log("btnList",this.operBtn);let e=this.topNum+this.bottomNum-10;return this.isAdditional&&!this.operBtn&&!this.operBtn.length&&!this.ProcessInsObj.end&&(e-=this.bottomNum),`calc(100vh - ${e}px)`},processBtn(){if(console.log("btnList",this.operBtn),this.isAdditional&&!this.operBtn&&!this.operBtn.length&&!this.ProcessInsObj.end)return`-${this.bottomNum}px`}},methods:{handleGetHeight(){this.$nextTick(()=>{setTimeout(()=>{let e=document.getElementById("process-header"),n=document.getElementById("process-footer");this.bottomNum=n?n.scrollHeight+10:70,this.topNum=e?e.scrollHeight+10:144,console.log(this.bottomNum,"diss::",this.topNum)},1e3)})},handleTestsss(e,n){console.log("==========:::",e,n)},handleTestS(){this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success")},handleTest(){this.visibleSong=!0},async getUserInfo(){let e=await this.request.get("/app/user/info");e.code===200&&(this.user=e.data||{})},async handleGetSimulation(e){this.handleTips("",!0,"loading");let n={processInstId:this.processInstId,taskInstId:this.taskNode.length?this.taskNode[0].taskId:"",vars:e,errorTip:!1},o=await this.request.post("/aws/tis/simulation",n);if(o.success){this.handleTips("",!1,"success"),this.nextNodeData=o.data;for(let i=0;i<this.nextNodeData.length;i++)this.approveNode=this.nextNodeData[i]}else{let i=this.taskNode&&this.taskNode.length?this.taskNode[0].taskId:"";this.outGatewayUserTaskModel=await this.getOutgoingProcessNode(i,"")}},async getOutgoingProcessNode(e,n){let o=await this.request.get("/aws/repository/getOutgoingProcessNode",{params:{taskId:e,processNodeId:n}});if(o.code==200){if(o.data&&o.data.length){for(let i=0;i<o.data.length;i++){let l=o.data[i];if(l.type!="UserTaskModel"&&l.type!="EndEventModel"){let d=await this.getOutgoingProcessNode(e,l.id);d&&d.length&&(await d.map((m,f)=>{m.nodeName=m.incomingConditionItemList&&m.incomingConditionItemList.length?m.incomingConditionItemList[0].compareValue:""}),l.childNode=d)}}return this.handleTips("",!1,"success"),o.data}return this.handleTips("",!1,"success"),[]}return[]},handleGet(e){this.taskNode=[].concat(e),this.taskNodeShow=!1,this.actionShow=!1,this.handleGetProcessStatus(),this.handleGetUserTaskModel()},handleGetProcessStatus(){this.handleTips("",!0,"loading"),this.request.get("/aws/pis/getProcessStatus",{params:{processInstId:this.processInstId,taskId:this.taskNode.length?this.taskNode[0].taskId:""}}).then(e=>{e.code==200&&(this.processStatus=e.data,this.$emit("processStatus",this.processStatus,this.taskNode),this.processStatus.userNodeGroup&&this.processStatus.userNodeGroup[this.taskNode[0].nodeName]&&this.processStatus.userNodeGroup[this.taskNode[0].nodeName].length>1?this.canCheck=!1:this.canCheck=!0),this.handleGetHeight()}).catch(e=>{this.handleGetHeight()})},handleGetUserTaskModel(){this.taskNode&&this.taskNode.length?this.request.get("/aws/repository/getUserTaskModel",{params:{taskId:this.taskNode[0].taskId}}).then(e=>{e.code==200&&(this.taskObj=e.data),this.handleGetHeight(),this.$refs.topTips.handleClose()}).catch(e=>{this.handleGetHeight(),this.$refs.topTips.handleClose()}):this.$refs.topTips.handleClose()},async showOperation(e,n,o,i,l){if(this.beforeFunction&&(this.operationParam.beforeFunction=this.beforeFunction),this.processStatus.allUserNames&&this.processStatus.allUserNames.length&&this.taskNode[0]&&this.taskNode[0].nodeId){let m;this.getVars&&(m=this.getVars()),await this.handleGetSimulation(m)}switch(o&&(this.operationParam.request=o,this.annexlabel=i),this.titleText=n,this.operationCom=e,this.operationParam.annex=i,this.operationParam.subjectId=this.formData.subjectId,this.operationParam.processInstId=this.processIntId,this.operationParam.taskInstId=this.taskNode&&this.taskNode.length?this.taskNode[0].taskId:"",this.operationParam.actionName=n,this.operationParam.formData=this.formData,this.operationParam.ProcessInsObj=this.ProcessInsObj,this.operationParam.userInfo=this.user,this.operationParam.nextNodeData=this.nextNodeData,this.operationParam.outGatewayUserTaskModel=this.outGatewayUserTaskModel,console.log("outGatewayUserTaskModel",this.outGatewayUserTaskModel),this.operationParam.taskNode=this.taskNode,this.operationParam.appId=this.processStatus.appId,this.operationParam.endFunction=this.endFunction,this.operationParam.isDocument=this.isDocument,this.operationParam.isQuickReply=this.isQuickReply,this.operationParam.isMsg=this.isMsg,this.operationParam.canCheck=this.canCheck,this.operationParam.isCheckType=this.isCheckType,this.operationParam.isOrgType=this.isOrgType,this.operationParam.isCodeType=this.isCodeType,this.taskObj.commentModels.some(m=>this.operationParam.actionComplete=m!=null&&m.isDefault?m.actionName:""),l){case"\u6284\u9001":this.operationParam.visible=!0,this.cctaskTopPopup=!0;break;default:this.operationParam.visible=!0,this.TopPopup1=!0;break}},handleCancel(){},async handleComfig(){this.$refs.operationRef.confirm()},handleClosePopup1(){this.TopPopup1=!1,this.operationParam.visible=!1},handleClosecctaskTopPopup(){this.cctaskTopPopup=!1,this.operationParam.visible=!1},handleTipsComfig(){this.$refs.TopPopup2.handleCancel(),this.handleTipsType=="\u50AC\u529E"&&(this.handleTips("",!0,"loading"),this.request.get("/aws/tis/reminders",{params:{processInstId:this.processIntId}}).then(e=>{e.code==200?(this.handleTips("\u50AC\u529E\u6210\u529F",!0,"success"),this.endFunction("\u50AC\u529E")):this.handleTips(e.msg,!0,"error")})),this.handleTipsType=="\u64A4\u9500"&&(this.handleTips("",!0,"loading"),this.request.post("/aws/pis/revoke",{processInstId:this.ProcessInsObj.id,processBusinessKey:this.ProcessInsObj.processBusinessKey}).then(e=>{e.code==200?(this.handleTips("\u64A4\u9500\u6210\u529F",!0,"success"),this.endFunction("\u64A4\u9500")):(this.textTips=e.msg,this.typeTips="error",this.handleTips(e.msg,!0,"error"))}))},handleTipsCancel(){},getColor(e){return e=="\u5BA1\u6838\u4E2D"?"#FFA52D":e=="\u5DF2\u9A73\u56DE"?"#F14B4C":e=="\u5DF2\u64A4\u9500"?"#CECECE":e=="\u5DF2\u5B8C\u6210"?"#6DC743":"#1389FF"},handleActionOpen(){this.actionShow=!0},handleActionClose(){this.actionShow=!1},actionClick(e){this.titleText=e,this.actionShow=!1},getBtnStyle(e){switch(e){case"primary":return"background-color:#3c9cff;color:#fff";case"danger":return"background-color:rgb(255, 230, 230);color:rgb(255, 96, 96)";case"default":return"background-color:rgb(241, 241, 241);color:rgb(51, 51, 51)";default:return"background-color:rgb(241, 241, 241);color:rgb(51, 51, 51)"}},async handleRestart(){this.handleTips("",!0,"loading"),await this.request.get("/aws/repository/getProcessDefList",{params:{appId:this.processStatus.appId}}).then(e=>{this.processDefList=e.data,this.request.get("/aws/pis/getProcessInstanceByBusinessKey",{params:{businessKey:this.formData.businessKey}}).then(n=>{this.processBusiness=n.data,this.request.get("/aws/repository/getFirstProcessNode",{params:{processDefId:this.processBusiness.processDefId}}).then(o=>{this.getFirstProcessNode=o.data[0],this.operationParam.getFirstProcessNode=this.getFirstProcessNode,this.operationParam.formData=this.formData,this.handleTips("",!1,"success"),this.handleActionClose(),this.showOperation(void 0,"\u91CD\u65B0\u63D0\u4EA4",this.request)}).catch(o=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})}).catch(n=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})}).catch(e=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})},handleTips(e,n,o){this.textTips=e,this.statusTips=n,this.typeTips=o,this.$refs.topTips.handleOpen()}}}),IA="",et=e=>(t.pushScopeId("data-v-5b493804"),e=e(),t.popScopeId(),e),tm={class:"process-warp"},sm={key:0,class:"process-main",id:"process-header",ref:"processheader"},nm={class:"process-ml-item border"},om=et(()=>t.createElementVNode("div",{class:"process-mli-name"},"\u6D41\u7A0B\u72B6\u6001",-1)),im={class:"process-mli-value"},am={class:"process-ml-item border"},lm=et(()=>t.createElementVNode("div",{class:"process-mli-name"},"\u6D41\u7A0B\u53D1\u8D77\u65F6\u95F4",-1)),cm={class:"process-mli-value"},dm={key:0,class:"process-ml-item"},rm=et(()=>t.createElementVNode("div",{class:"process-mli-name"},"\u5BA1\u6279\u8282\u70B9",-1)),pm={class:"process-mli-value",style:{width:"50%","text-align":"right"}},hm={class:"process-mliv-jd"},mm=["slot"],um={slot:"default",style:{}},gm=["slot"],fm={key:0,class:"footBtnRow"},Am=["onClick"],km=[et(()=>t.createElementVNode("div",{class:"circle"},null,-1)),et(()=>t.createElementVNode("div",{class:"circle"},null,-1)),et(()=>t.createElementVNode("div",{class:"circle"},null,-1))],ym={slot:"completeSlot"},Cm=["onClick"],Em=["onClick"],Bm={slot:"completeSlot"};function Im(e,n,o,i,l,d){const m=t.resolveComponent("TopTab"),f=t.resolveComponent("TopPopup"),k=t.resolveComponent("TopTips"),C=t.resolveComponent("TopSumbitPopup");return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("div",tm,[e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status?(t.openBlock(),t.createElementBlock("div",sm,[t.createElementVNode("div",nm,[om,t.createElementVNode("div",im,[e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status?(t.openBlock(),t.createElementBlock("div",{key:0,class:"process-mliv-dd",style:t.normalizeStyle({background:e.getColor(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)})},t.toDisplayString(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status),5)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",am,[lm,t.createElementVNode("div",cm,[t.createElementVNode("span",null,t.toDisplayString(e.processStatus.createTime),1)])]),e.processStatus.allUserNames&&e.processStatus.allUserNames.length?(t.openBlock(),t.createElementBlock("div",dm,[rm,t.createElementVNode("div",pm,[t.createElementVNode("span",hm,t.toDisplayString(`${e.processStatus.taskState==4?e.processStatus.currUserName:e.processStatus.allUserNames.toString()}\u5BA1\u6279\u4E2D`),1)])])):t.createCommentVNode("",!0)],512)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"process-card",style:t.normalizeStyle({height:e.processCardHeight})},[t.createVNode(m,{tapList:e.tapList,selfTapList:e.selfTapList,processIntId:e.processIntId,track:e.trackUrl,taskComment:e.taskCommentList,trackList:e.trackList},{default:t.withCtx(()=>[e.selfTapList&&e.selfTapList.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.selfTapList,(u,h)=>(t.openBlock(),t.createElementBlock("div",{key:h,slot:u.slot},[t.renderSlot(e.$slots,u.slot,{},void 0,!0)],8,mm))),128)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",um,[t.renderSlot(e.$slots,"default",{},void 0,!0)]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.tapList,(u,h)=>(t.openBlock(),t.createElementBlock("div",{style:{},key:h,slot:u.slot},[t.renderSlot(e.$slots,u.slot,{},void 0,!0)],8,gm))),128))],64))]),_:3},8,["tapList","selfTapList","processIntId","track","taskComment","trackList"])],4),e.isView?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:1,class:"process-btn",id:"process-footer",style:t.normalizeStyle({bottom:e.processBtn})},[e.isAdditional?(t.openBlock(),t.createElementBlock("div",fm,[t.renderSlot(e.$slots,"btn",{data:e.processStatus},void 0,!0)])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.isDocument&&(e.formData.currentState=="\u7F16\u6587\u53F7\u5957\u7EA2"||e.formData.currentState=="\u76D6\u7AE0")?(t.openBlock(),t.createElementBlock("div",{key:0,class:"top-button",style:t.normalizeStyle(e.getBtnStyle("default"))}," \u8BF7\u53BBPC\u7AEF\u5904\u7406\u8BE5\u6D41\u7A0B ",4)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.formData.currentState!="\u5DF2\u5B8C\u6210"||e.processStatus.status!="\u5DF2\u5B8C\u6210"||e.processStatus.bizStatusName!="\u5DF2\u5B8C\u6210"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.operBtn,(u,h)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[h<3?(t.openBlock(),t.createElementBlock("div",{class:"top-button",style:t.normalizeStyle(e.getBtnStyle(u.btnProps.type.toString())),key:u.name,onClick:E=>u.click(u.name)},t.toDisplayString(u.name),13,Am)):t.createCommentVNode("",!0)],64))),256)):t.createCommentVNode("",!0),e.operBtn.length>3&&e.actionBtn&&e.actionBtn.length?(t.openBlock(),t.createElementBlock("div",{key:1,class:"elips",onClick:n[0]||(n[0]=(...u)=>e.handleActionOpen&&e.handleActionOpen(...u))},km)):t.createCommentVNode("",!0)],64))],64))],4))]),t.createVNode(f,{ref:"TopPopup1",cancel:e.handleCancel,comfig:e.handleComfig,titleText:e.titleText,visible:e.TopPopup1,"onUpdate:visible":n[1]||(n[1]=u=>e.TopPopup1=u),className:"toppopup-component"},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.operationCom),{ref:"operationRef",param:e.operationParam,onHandleClosePopup1:e.handleClosePopup1},{default:t.withCtx(()=>[t.createElementVNode("div",ym,[t.renderSlot(e.$slots,"completeSlot",{},void 0,!0)])]),_:3},40,["param","onHandleClosePopup1"]))]),_:3},8,["cancel","comfig","titleText","visible"]),t.createVNode(f,{ref:"TopPopup2",titleText:e.titleText,isTips:!0,context:e.popupContext,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig},null,8,["titleText","context","cancel","comfig"]),t.createVNode(k,{ref:"topTips",text:e.textTips,statusTips:e.statusTips,type:e.typeTips},null,8,["text","statusTips","type"]),e.actionBtn&&e.actionBtn.length||e.taskNodeList&&e.taskNodeList.length?(t.openBlock(),t.createElementBlock("div",{key:0,class:"top-elips",style:t.normalizeStyle(e.actionShow?"transform: translateY(0)":"transform: translateY(100%)")},[e.taskNodeShow?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.taskNodeList,u=>(t.openBlock(),t.createElementBlock("div",{class:"top-elips-items",onClick:h=>e.handleGet(u),key:u.taskId},t.toDisplayString(u.name),9,Cm))),128)):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.actionBtn,u=>(t.openBlock(),t.createElementBlock("div",{class:"top-elips-items",onClick:h=>u.click(u.name),key:u.name},t.toDisplayString(u.name),9,Em))),128)),t.createElementVNode("div",{class:"top-elips-items top-elips-items--cancel",onClick:n[2]||(n[2]=(...u)=>e.handleActionClose&&e.handleActionClose(...u))}," \u53D6\u6D88 ")],4)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"top-elips-mask",onClick:n[3]||(n[3]=(...u)=>e.handleActionClose&&e.handleActionClose(...u)),style:t.normalizeStyle(e.actionShow?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;")},null,4),t.createVNode(C,t.mergeProps({visible:e.visibleSong,ref:"actionPop",request:e.request,appId:e.processStatus.appId,id:e.formData.businessKey,resubmit:!0},e.restartDataS,{onSuccessFn:e.endFunction,selfList:e.selfList,onChange:e.handleTestsss,isCheckType:e.isCheckType,isOrgType:e.isOrgType,isCodeType:e.isCodeType}),null,16,["visible","request","appId","id","onSuccessFn","selfList","onChange","isCheckType","isOrgType","isCodeType"]),t.createVNode(f,{ref:"cctaskTopPopup",titleText:e.cctaskTopPopupTitle,visible:e.cctaskTopPopup,"onUpdate:visible":n[4]||(n[4]=u=>e.cctaskTopPopup=u),isDrawer:!0},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.operationCom),{ref:"cctaskOperationRef",param:e.operationParam,onHandleClosecctaskTopPopup:e.handleClosecctaskTopPopup},{default:t.withCtx(()=>[t.createElementVNode("div",Bm,[t.renderSlot(e.$slots,"completeSlot",{},void 0,!0)])]),_:3},40,["param","onHandleClosecctaskTopPopup"]))]),_:3},8,["titleText","visible"])])}const Nm=U(em,[["render",Im],["__scopeId","data-v-5b493804"]]);le.TopProcess=Nm,le.TopSumbitPopup=co,le.ViewAttchList=ao,le.attchViews=qe,Object.defineProperties(le,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});