WokerTask/public/admin/assets/examinedFlow.0aee48e6.js

2 lines
5.2 KiB
JavaScript
Raw Normal View History

2024-01-24 10:03:39 +08:00
import{w as N,P as U,t as I,Q as j,J as q,R as Q}from"./element-plus.ff90c99c.js";import{_ as J}from"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import{b as W}from"./index.2c97e227.js";import{u as z}from"./usePaging.bd7a7dec.js";import{u as G}from"./useDictOptions.262f9fba.js";import{g as H,h as K}from"./examined.a6d8db5a.js";import"./lodash.2e6f447e.js";import{_ as M}from"./editFlow.vue_vue_type_script_setup_true_name_flowEdit_lang.c5e89150.js";import{d as B,s as O,r as E,$ as X,aq as Y,o as e,c as n,R as d,u as p,P as r,Q as u,W as o,U as k,a as C,T as i,j as Z,n as g}from"./@vue.f8dfc830.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./axios.075403c9.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.b6f240ee.js";import"./color.35874cfa.js";import"./clone.d8e67888.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.e6aad81b.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.79024f1a.js";import"./index.9321816e.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.af59f801.js";import"./dialog_index.vue_vue_type_script_setup_true_name_companyLists_lang.dde03a1a.js";import"./admin.d62b44d7.js";const tt={class:"mt-4"},et={key:0},ot={key:1},at={key:2},st={key:3},it={key:4},lt={key:5},nt={key:6},ut={key:7},pt={class:"flex mt-4 justify-end"},rt=B({name:"flowLists"}),le=B({...rt,setup(mt){const c=O(),_=E(!1),D=X({name:"",check_type:"",type:"",flow_cate:"",department_ids:"",copy_uids:"",remark:"",flow_list:"",admin_id:"",status:"",delete_user_id:""}),b=E([]),A=a=>{b.value=a.map(({id:l})=>l)},{dictData:F}=G(""),{pager:m,getLists:y,resetParams:dt,resetPage:ct}=z({fetchFun:K,params:D}),V=async()=>{var a;_.value=!0,await g(),(a=c.value)==null||a.open("add")},$=async a=>{var l,f;_.value=!0,await g(),(l=c.value)==null||l.open("edit"),(f=c.value)==null||f.setFormData(a)},P=a=>{console.log(a.status),H({id:a.id,status:a.status})};return y(),(a,l)=>{const f=W,w=N,s=U,S=I,x=j,R=J,T=q,h=Y("perms"),L=Q;return e(),n("div",null,[d((e(),r(T,{class:"!border-none",shadow:"never"},{default:u(()=>[d((e(),r(w,{type:"primary",onClick:V},{icon:u(()=>[o(f,{name:"el-icon-Plus"})]),default:u(()=>[k(" \u65B0\u589E ")]),_:1})),[[h,["flow/add"]]]),C("div",tt,[o(x,{data:p(m).lists,onSelectionChange:A},{default:u(()=>[o(s,{type:"selection",width:"55"}),o(s,{label:"\u5BA1\u6279\u6D41\u540D\u79F0",prop:"name","show-overflow-tooltip":""}),o(s,{label:"\u5E94\u7528\u6A21\u5757",prop:"type","show-overflow-tooltip":""},{default:u(({row:t})=>[t.type==1?(e(),n("span",et,"\u5047\u52E4")):i("",!0),t.type==2?(e(),n("span",ot,"\u884C\u653F")):i("",!0),t.type==3?(e(),n("span",at,"\u8D22\u52A1")):i("",!0),t.type==4?(e(),n("span",st,"\u4EBA\u4E8B")):i("",!0),t.type==5?(e(),n("span",it,"\u5176\u4ED6")):i("",!0),t.type==6?(e(),n("span",lt,"\u62A5\u9500")):i("",!0),t.type==7?(e(),n("span",nt,"\u53D1\u7968")):i("",!0),t.type==8?(e(),n("span",ut,"\u5408\u540C")):i("",!0)]),_:1}),o(s,{label:"\u5E94\u7528\u5BA1\u6279\u7C7B\u578Bid",prop:"flow_cate","show-overflow-tooltip":""}),o(s,{label:"\u5E94\u7528\u90E8\u95E8",prop:"department","show-overflow-tooltip":""}),o(s,{label:"\u6284\u9001\u4EBAID",prop:"copy_uids","show-overflow-tooltip":""}),o(s,{label:"\u6D41\u7A0B\u8BF4\u660E",prop:"remark","show-overflow-tooltip":""}),o(s,{label:"\u6D41\u7A0B\u6570\u636E\u5E8F\u5217\u5316",prop:"flow_list","show-overflo