data_center/public/admin/assets/examinedFlow.ef171321.js

2 lines
5.2 KiB
JavaScript
Raw Normal View History

2023-11-21 14:38:14 +08:00
import{w as N,O as T,t as U,P as Q,I as j,Q as q}from"./element-plus.9c2fdfa8.js";import{_ as K}from"./index.vue_vue_type_script_setup_true_lang.261df48b.js";import{b as M}from"./index.5be037e5.js";import{u as O}from"./usePaging.c22e2b6f.js";import{u as z}from"./useDictOptions.aa9aa458.js";import{g as G,h as H}from"./examined.727b963f.js";import"./lodash.47b8af7d.js";import{_ as J}from"./editFlow.vue_vue_type_script_setup_true_name_flowEdit_lang.583c0866.js";import{d as B,s as W,r as E,$ as X,af as Y,o as t,c as n,M as d,u as p,K as r,L as u,Q as i,U as o,R as k,a as C,k as Z,n as g}from"./@vue.53f8d7c3.js";import"./@vueuse.038954e7.js";import"./@element-plus.37f92579.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./axios.96be3cef.js";import"./vue-router.e2f4a118.js";import"./pinia.bd103f5d.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.efc99072.js";import"./color.e83714e9.js";import"./clone.fb54e01d.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.b4b577c6.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.9cf3e967.js";import"./index.da6dd366.js";import"./index.vue_vue_type_style_index_0_scoped_187b1ead_lang.33043b78.js";import"./dialog_index.vue_vue_type_script_setup_true_name_companyLists_lang.9c16227f.js";import"./admin.5be1a20b.js";const ee={class:"mt-4"},te={key:0},oe={key:1},ae={key:2},se={key:3},ie={key:4},le={key:5},ne={key:6},ue={key:7},pe={class:"flex mt-4 justify-end"},re=B({name:"flowLists"}),st=B({...re,setup(me){const c=W(),_=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}=z(""),{pager:m,getLists:y,resetParams:de,resetPage:ce}=O({fetchFun:G,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)},S=a=>{console.log(a.status),H({id:a.id,status:a.status})};return y(),(a,l)=>{const f=M,w=N,s=T,x=U,P=Q,L=K,R=j,h=Y("perms"),I=q;return t(),n("div",null,[d((t(),r(R,{class:"!border-none",shadow:"never"},{default:u(()=>[d((t(),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",ee,[o(P,{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:e})=>[e.type==1?(t(),n("span",te,"\u5047\u52E4")):i("",!0),e.type==2?(t(),n("span",oe,"\u884C\u653F")):i("",!0),e.type==3?(t(),n("span",ae,"\u8D22\u52A1")):i("",!0),e.type==4?(t(),n("span",se,"\u4EBA\u4E8B")):i("",!0),e.type==5?(t(),n("span",ie,"\u5176\u4ED6")):i("",!0),e.type==6?(t(),n("span",le,"\u62A5\u9500")):i("",!0),e.type==7?(t(),n("span",ne,"\u53D1\u7968")):i("",!0),e.type==8?(t(),n("span",ue,"\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-overflow-tooltip":""}),o(s,{label:"\u521B\u5EFA\u4EBAID",prop:"admin_id","sh