WokerTask/public/admin/assets/index.6e6ccc5e.js

2 lines
5.7 KiB
JavaScript
Raw Normal View History

2023-12-27 14:06:33 +08:00
import{B as O,C as j,w as z,D as G,I as H,O as J,t as W,P as X,Q as Y}from"./element-plus.9816852d.js";import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang.f99137a4.js";import{u as ee}from"./usePaging.2ad8e1e6.js";import{u as te}from"./useDictOptions.a2448547.js";import{b as ae,d as oe}from"./task_scheduling.936f15f8.js";import"./lodash.675f209e.js";import{k as D,d as le}from"./index.4eaf9bd5.js";import{_ as se}from"./edit.vue_vue_type_script_setup_true_name_taskSchedulingEdit_lang.295d49b4.js";import{d as ne}from"./dict.041d2017.js";import{_ as ie}from"./money.vue_vue_type_script_setup_true_name_taskSchedulingEdit_lang.8c45d86f.js";import{d as x,r as k,s as w,$ as ue,a4 as me,af as re,o as n,c as pe,U as e,L as o,u as a,R as _,M as f,K as u,a as B,k as de,Q as V,n as ce}from"./@vue.51d7f2d8.js";import"./@vueuse.ec90c285.js";import"./@element-plus.a074d1f6.js";import"./lodash-es.29c53eac.js";import"./dayjs.576af3ba.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./axios.54f807ba.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.0a5c0f85.js";import"./color.e5eb3bba.js";import"./clone.546d9b81.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.aee266dc.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.40d5feba.js";import"./index.2d3a3dd9.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.63481415.js";import"./company.a6553783.js";const _e={class:"mt-4"},fe={class:"flex mt-4 justify-end"},ye=x({name:"taskSchedulingLists"}),ke=x({...ye,setup(ve){const S=k([]),R=w(),v=w(),F=k(!1),C=k(!1),m=ue({create_user_id:"",template_id:"",company_id:"",type:"",status:""}),$=k([]),A=s=>{$.value=s.map(({id:l})=>l)},{dictData:L}=te(""),{pager:r,getLists:p,resetParams:P,resetPage:T}=ee({fetchFun:oe,params:m}),U=async s=>{var l,d;C.value=!0,await ce(),(l=v.value)==null||l.open(s.money?"edit":"add"),(d=v.value)==null||d.setFormData(s)},I=s=>{ae({id:s.id,status:s.status}).finally(()=>{p()})};return ne({type_id:10}).then(s=>{S.value=s.lists}),p(),(s,l)=>{const d=O,h=j,c=z,N=G,b=H,i=J,q=W,E=me("router-link"),Q=X,K=Z,y=re("perms"),M=Y;return n(),pe("div",null,[e(b,{class:"!border-none mb-4",shadow:"never"},{default:o(()=>[e(N,{class:"mb-[-16px] formtabel",model:a(m),inline:"","label-width":"100px"},{default:o(()=>[e(h,{label:"\u533A\u57DF\u7ECF\u7406",prop:"create_user_id"},{default:o(()=>[e(d,{class:"w-[280px]",modelValue:a(m).create_user_id,"onUpdate:modelValue":l[0]||(l[0]=t=>a(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:o(()=>[e(d,{class:"w-[280px]",modelValue:a(m).company_id,"onUpdate:modelValue":l[1]||(l[1]=t=>a(m).company_id=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u516C\u53F8"},null,8,["modelValue"])]),_:1}),e(h,null,{default:o(()=>[e(c,{class:"el-btn",type:"primary",onClick:a(T)},{default:o(()=>[_("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(c,{onClick:a(P)},{default:o(()=>[_("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),f((n(),u(b,{class:"!border-none",shadow:"never"},{default:o(()=>[B("div",_e,[e(Q,{data:a(r).lists,onSelectionChange:A},{default:o(()=>[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-tooltip":""}),e(i,{label:"\u6BCF\u65E5\u6700\u5927\u91D1\u989D",prop:"money