WokerTask/public/admin/assets/index.761b49a3.js

2 lines
5.8 KiB
JavaScript
Raw Normal View History

2024-01-12 13:48:06 +08:00
import{C as W,D as z,w as G,F as H,J as K,P as M,t as O,Q as X,R as Y}from"./element-plus.ff90c99c.js";import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import{u as ee}from"./usePaging.bd7a7dec.js";import{u as te}from"./useDictOptions.e92d912f.js";import{b as oe,d as ae}from"./task_scheduling.7ddf4007.js";import"./lodash.3e731b89.js";import{k as D,d as le}from"./index.000b0758.js";import{_ as se}from"./edit.vue_vue_type_script_setup_true_name_taskSchedulingEdit_lang.6184b62b.js";import{d as ne}from"./dict.20fb4260.js";import{_ as ie}from"./money.vue_vue_type_script_setup_true_name_taskSchedulingEdit_lang.74c11128.js";import{d as x,r as v,s as w,$ as ue,ag as me,aq as re,o as n,c as pe,W as e,Q as a,u as o,U as _,R as f,P as u,a as V,j as de,T as B,n as ce}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.c2babb35.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.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.37ed0e1b.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.8afb4ce5.js";import"./company.e86935db.js";const _e={class:"mt-4"},fe={class:"flex mt-4 justify-end"},ye=x({name:"taskSchedulingLists"}),ve=x({...ye,setup(ke){const S=v([]),R=w(),k=w(),F=v(!1),C=v(!1),m=ue({create_user_id:"",template_id:"",company_id:"",type:"",status:""}),$=v([]),A=s=>{$.value=s.map(({id:l})=>l)},{dictData:P}=te(""),{pager:r,getLists:p,resetParams:T,resetPage:U}=ee({fetchFun:ae,params:m}),L=async s=>{var l,d;C.value=!0,await ce(),(l=k.value)==null||l.open(s.money?"edit":"add"),(d=k.value)==null||d.setFormData(s)},q=s=>{oe({id:s.id,status:s.status}).finally(()=>{p()})};return ne({type_id:10}).then(s=>{S.value=s.lists}),p(),(s,l)=>{const d=W,h=z,c=G,N=H,b=K,i=M,I=O,E=me("router-link"),Q=X,j=Z,y=re("perms"),J=Y;return n(),pe("div",null,[e(b,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[e(N,{class:"mb-[-16px] formtabel",model:o(m),inline:"","label-width":"100px"},{default:a(()=>[e(h,{label:"\u533A\u57DF\u7ECF\u7406",prop:"create_user_id"},{default:a(()=>[e(d,{class:"w-[280px]",modelValue:o(m).create_user_id,"onUpdate:modelValue":l[0]||(l[0]=t=>o(m).create_user_id=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u533A\u57DF\u7ECF\u7406"},null,8,["modelValue"])]),_:1}),e(h,{label:"\u516C\u53F8",prop:"company_id"},{default:a(()=>[e(d,{class:"w-[280px]",modelValue:o(m).company_id,"onUpdate:modelValue":l[1]||(l[1]=t=>o(m).company_id=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u516C\u53F8"},null,8,["modelValue"])]),_:1}),e(h,null,{default:a(()=>[e(c,{class:"el-btn",type:"primary",onClick:o(U)},{default:a(()=>[_("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(c,{onClick:o(T)},{default:a(()=>[_("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),f((n(),u(b,{class:"!border-none",shadow:"never"},{default:a(()=>[V("div",_e,[e(Q,{data:o(r).lists,onSelectionChange:A},{default:a(()=>[e(i,{type:"selection",width:"55"}),e(i,{label:"\u533A\u57DF\u7ECF\u7406",prop:"admin_name","show-overflow-tooltip":""}),e(i,{label:"\u516C\u53F8",prop:"company_name","show-overflow-toolti