WokerTask/public/admin/assets/examinedFlow.32374bd7.js

2 lines
5.1 KiB
JavaScript
Raw Normal View History

2023-12-27 14:06:33 +08:00
import{w as N,O as T,t as U,P as Q,I as j,Q as q}from"./element-plus.b0ecf6ae.js";import{_ as K}from"./index.vue_vue_type_script_setup_true_lang.ebbecf1a.js";import{b as M}from"./index.9e5a9063.js";import{u as O}from"./usePaging.2ad8e1e6.js";import{u as z}from"./useDictOptions.adeec031.js";import{g as G,h as H}from"./examined.984daa3a.js";import"./lodash.ffb5376d.js";import{_ as J}from"./editFlow.vue_vue_type_script_setup_true_name_flowEdit_lang.e0bc9439.js";import{d as B,s as W,r as E,$ as X,af as Y,o as t,c as n,M as m,u as p,K as r,L as u,U as o,R as k,a as C,Q as l,k as Z,n as g}from"./@vue.51d7f2d8.js";import"./@vueuse.ec90c285.js";import"./@element-plus.c80b8015.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.f9df025a.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.4b0c77cb.js";import"./color.992612d2.js";import"./clone.d8d3ae9a.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.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.40d5feba.js";import"./index.3a572f9b.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";import"./dialog_index.vue_vue_type_script_setup_true_name_companyLists_lang.25bcb8a7.js";import"./admin.daaa57de.js";const ee={class:"mt-4"},te={key:0},oe={key:1},ae={key:2},se={key:3},le={key:4},ie={key:5},ne={key:6},ue={key:7},pe={class:"flex mt-4 justify-end"},re=B({name:"flowLists"}),tt=B({...re,setup(de){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:i})=>i)},{dictData:F}=z(""),{pager:d,getLists:y,resetParams:me,resetPage:ce}=O({fetchFun:H,params:D}),V=async()=>{var a;_.value=!0,await g(),(a=c.value)==null||a.open("add")},$=async a=>{var i,f;_.value=!0,await g(),(i=c.value)==null||i.open("edit"),(f=c.value)==null||f.setFormData(a)},S=a=>{console.log(a.status),G({id:a.id,status:a.status})};return y(),(a,i)=>{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,[m((t(),r(R,{class:"!border-none",shadow:"never"},{default:u(()=>[m((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(d).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")):l("",!0),e.type==2?(t(),n("span",oe,"\u884C\u653F")):l("",!0),e.type==3?(t(),n("span",ae,"\u8D22\u52A1")):l("",!0),e.type==4?(t(),n("span",se,"\u4EBA\u4E8B")):l("",!0),e.type==5?(t(),n("span",le,"\u5176\u4ED6")):l("",!0),e.type==6?(t(),n("span",ie,"\u62A5\u9500")):l("",!0),e.type==7?(t(),n("span",ne,"\u53D1\u7968")):l("",!0),e.type==8?(t(),n("span",ue,"\u5408\u540C")):l("",!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","show-overflow-tooltip":""}),m((t(),r(s,{label:"\u8D26\u53F7\u72B6\u6001","min-width":"100"},