2 lines
5.7 KiB
JavaScript
2 lines
5.7 KiB
JavaScript
|
import{C as J,D as W,N as z,O as G,w as H,F as K,J as X,P as Y,Q as Z,R as ee}from"./element-plus.ff90c99c.js";import{_ as te}from"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import{u as oe}from"./usePaging.bd7a7dec.js";import{u as ae}from"./useDictOptions.15bfecbd.js";import{i as le}from"./examined.633965f7.js";import"./lodash.3e731b89.js";import"./index.87cea444.js";import ue from"./audit_other.a57d82d2.js";import se from"./audit_town_market.074731e1.js";import{g as ne}from"./dict.a50846ba.js";import{d as P,s as T,r as d,$ as re,b as ie,aq as pe,o as u,c as _,W as e,Q as l,u as t,F as me,a9 as ce,P as p,U as C,R as x,a as L,T as y,j as de,n as _e}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.000b2a9c.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.af59f801.js";const fe={class:"mt-4"},ke={key:0,style:{color:"#f56c6c"}},ve={key:1,style:{color:"#67c23a"}},Fe={key:2,style:{color:"#e6a23c"}},he={class:"flex justify-end mt-4"},Ce=P({name:"flowLists"}),_t=P({...Ce,setup(ye){const w=T(),b=T(),m=d(!1),E=d(1),r=re({name:"",check_status:"",type:"1,4"}),R=d([{id:1,name:"\u5F85\u5BA1\u6838"},{id:2,name:"\u5DF2\u901A\u8FC7"},{id:3,name:"\u672A\u901A\u8FC7"}]),S=d([1,5,6,7,8,9]),B=ie(()=>S.value.includes(E.value)),O=d([]),$=s=>{O.value=s.map(({id:a})=>a)},{dictData:D}=ae(""),{pager:c,getLists:f,resetParams:N,resetPage:U}=oe({fetchFun:le,params:r}),g=async(s,a="edit")=>{var k,i,v,F;console.log(s.type),E.value=s.type,m.value=!0,await _e(),B.value?((k=w.value)==null||k.open(a),(i=w.value)==null||i.setFormData(s)):s.type==4&&((v=b.value)==null||v.open(a),(F=b.value)==null||F.setFormData(s))};return ne().then(s=>{r.type=s.join(","),f()}),(s,a)=>{const k=J,i=W,v=z,F=G,h=H,j=K,V=X,n=Y,I=Z,M=te,q=pe("perms"),Q=ee;return u(),_("div",null,[e(V,{class:"!border-none mb-4",shadow:"never"},{default:l(()=>[e(j,{class:"mb-[-16px]",model:t(r),inline:""},{default:l(()=>[e(i,{label:"\u4EFB\u52A1\u540D\u79F0",prop:"name"},{default:l(()=>[e(k,{class:"w-[280px]",modelValue:t(r).name,"onUpdate:modelValue":a[0]||(a[0]=o=>t(r).name=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4EFB\u52A1\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(i,{label:"\u5BA1\u6838\u72B6\u6001",prop:"name"},{default:l(()=>[e(F,{modelValue:t(r).check_status,"onUpdate:modelValue":a[1]||(a[1]=o=>t(r).check_status=o),placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u72B6\u6001",clearable:"",class:"w-[280px]"},{default:l(()=>[(u(!0),_(me,null,ce(t(R),(o,A)=>(u(),p(v,{key:A,label:o.name,value:o.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(i,null,{default:l(()=>[e(h,{type:"primary",onClick:t(U)},{default:l(()=>[C("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(h,{onClick:t(N)},{default:l(()=>[C("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),x((u(),p(V,{class:"!border-none",shadow:"never"},{default:l(()=>[L("div",fe,[e(I,{data:t(c).lists,onSelectionChange:$},{default:l(()=>[e(n,{label:"ID",prop:"id"}),e(n,{label:"\u4EFB\u52A1\u540D\u79F0",prop:"task.title","show-overflow-tool
|