engineering/public/admin/assets/index.bf17e801.js
2024-02-27 10:28:16 +08:00

2 lines
6.8 KiB
JavaScript

import{w as S,y as z,D as H,C as M,L as q,M as I,N as O}from"./element-plus.517d4382.js";import{_ as U}from"./index.vue_vue_type_script_setup_true_lang.5ae95555.js";import{f as G,a as J}from"./index.8b1962e9.js";import{u as K}from"./usePaging.f6660143.js";import{u as Q}from"./useDictOptions.b5854a9e.js";import{_ as W,a as X,b as Y}from"./edit.vue_vue_type_script_setup_true_name_taskHandlingThreeLevelReviewEdit_lang.aa4b9ff0.js";import"./lodash.1d82ee7c.js";import{d as A,s as Z,r as B,a0 as oo,ai as eo,o as i,c as to,V as o,M as t,O as d,u as r,L as s,S as lo,a as F,k as uo,T as n,n as D}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";import"./picker.6eb62d2f.js";import"./index.b17dae19.js";import"./index.ee772d81.js";import"./index.0a0ddda3.js";import"./index.vue_vue_type_script_setup_true_lang.f8507404.js";import"./vue3-video-play.b66b1487.js";import"./vuedraggable.05ef589e.js";import"./vue.6436c619.js";import"./sortablejs.81b741d7.js";const ao=n("\u67E5\u8BE2"),ro=n("\u91CD\u7F6E"),io=n(" \u65B0\u589E "),po=n(" \u5220\u9664 "),so={class:"mt-4"},no=n(" \u7F16\u8F91 "),mo=n(" \u5220\u9664 "),co={class:"flex mt-4 justify-end"},wo=A({name:"taskHandlingThreeLevelReviewLists"}),pe=A({...wo,setup(_o){const c=Z(),w=B(!1),v=oo({}),h=B([]),g=u=>{h.value=u.map(({id:l})=>l)},{dictData:C}=Q(""),{pager:m,getLists:_,resetParams:k,resetPage:y}=K({fetchFun:X,params:v}),T=async()=>{var u;w.value=!0,await D(),(u=c.value)==null||u.open("add")},x=async u=>{var l,a;w.value=!0,await D(),(l=c.value)==null||l.open("edit"),(a=c.value)==null||a.setFormData(u)},E=async u=>{await G.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await Y({id:u}),_()};return _(),(u,l)=>{const a=S,L=z,V=H,b=M,R=J,e=q,$=I,j=U,f=eo("perms"),N=O;return i(),to("div",null,[o(b,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[o(V,{class:"mb-[-16px]",model:v,inline:""},{default:t(()=>[o(L,null,{default:t(()=>[o(a,{type:"primary",onClick:r(y)},{default:t(()=>[ao]),_:1},8,["onClick"]),o(a,{onClick:r(k)},{default:t(()=>[ro]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),d((i(),s(b,{class:"!border-none",shadow:"never"},{default:t(()=>[d((i(),s(a,{type:"primary",onClick:T},{icon:t(()=>[o(R,{name:"el-icon-Plus"})]),default:t(()=>[io]),_:1})),[[f,["task_handling_three_level_review/add"]]]),d((i(),s(a,{disabled:!h.value.length,onClick:l[0]||(l[0]=p=>E(h.value))},{default:t(()=>[po]),_:1},8,["disabled"])),[[f,["task_handling_three_level_review/delete"]]]),F("div",so,[o($,{data:r(m).lists,onSelectionChange:g},{default:t(()=>[o(e,{type:"selection",width:"55"}),o(e,{label:"",prop:"dataid","show-overflow-tooltip":""}),o(e,{label:"\u5355\u636E\u7F16\u53F7",prop:"num","show-overflow-tooltip":""}),o(e,{label:"\u9879\u76EE\u540D\u79F0",prop:"project","show-overflow-tooltip":""}),o(e,{label:"\u9879\u76EE\u7F16\u53F7",prop:"project_num","show-overflow-tooltip":""}),o(e,{label:"\u4EFB\u52A1\u540D\u79F0",prop:"task","show-overflow-tooltip":""}),o(e,{label:"\u5DE5\u5E8F",prop:"processes","show-overflow-tooltip":""}),o(e,{label:"\u4EFB\u52A1\u7C7B\u578B",prop:"rtype","show-overflow-tooltip":""}),o(e,{label:"\u4E13\u4E1A\u7C7B\u578B",prop:"zType","show-overflow-tooltip":""}),o(e,{label:"\u5DE5\u7A0B\u5E08",prop:"engineer","show-overflow-tooltip":""}),o(e,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"head","show-overflow-tooltip":""}),o(e,{label:"\u5BA1\u6838\u6D41\u7A0B",prop:"examine","show-overflow-tooltip":""}),o(e,{label:"\u4E00\u7EA7\u5BA1\u6838\u4EBA",prop:"one","show-overflow-tooltip":""}),o(e,{label:"\u4E8C\u7EA7\u5BA1\u6838\u4EBA",prop:"two","show-overflow-tooltip":""}),o(e,{label:"\u4E09\u7EA7\u5BA1\u6838\u4EBA",prop:"three","show-overflow-tooltip":""}),o(e,{label:"\u767B\u8BB0\u65E5\u671F",prop:"apptime","show-overflow-tooltip":""}),o(e,{label:"\u4EFB\u52A1\u7EA7\u6B21",prop:"level","show-overflow-tooltip":""}),o(e,{label:"\u5EFA\u7B51\u9762\u79EF",prop:"area","show-overflow-tooltip":""}),o(e,{label:"\u5EFA\u7B51\u7ED3\u6784\u7C7B\u578B",prop:"type","show-overflow-tooltip":""}),o(e,{label:"\u5EFA\u7B51\u7528\u9014",prop:"use","show-overflow-tooltip":""}),o(e,{label:"\u65BD\u5DE5\u5355\u4F4D",prop:"construction","show-overflow-tooltip":""}),o(e,{label:"\u7F16\u5236\u8981\u6C42",prop:"ask","show-overflow-tooltip":""}),o(e,{label:"\u9020\u4EF7\u4F9D\u636E",prop:"according","show-overflow-tooltip":""}),o(e,{label:"\u6750\u6599\u8865\u5DEE",prop:"clbc","show-overflow-tooltip":""}),o(e,{label:"\u9001\u5BA1\u91D1\u989D",prop:"ssje","show-overflow-tooltip":""}),o(e,{label:"\u5DE5\u7A0B\u5E08\u6838\u5B9A\u4EF7",prop:"gcshd","show-overflow-tooltip":""}),o(e,{label:"\u6838\u589E/\u6838\u51CF\u91D1\u989D",prop:"hzhj","show-overflow-tooltip":""}),o(e,{label:"\u4EBA\u5DE5\u5355\u4EF7",prop:"rg","show-overflow-tooltip":""}),o(e,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA\u6838\u5B9A\u4EF7",prop:"xmhd","show-overflow-tooltip":""}),o(e,{label:"\u90E8\u95E8\u8D1F\u8D23\u4EBA\u6838\u5B9A\u4EF7",prop:"bmhd","show-overflow-tooltip":""}),o(e,{label:"\u5BA1\u6838\u90E8\u6838\u5B9A\u4EF7",prop:"shbhd","show-overflow-tooltip":""}),o(e,{label:"\u5F00\u5DE5\u65E5\u671F",prop:"kaigong","show-overflow-tooltip":""}),o(e,{label:"\u7AE3\u5DE5\u65E5\u671F",prop:"jungong","show-overflow-tooltip":""}),o(e,{label:"\u5907\u6CE8",prop:"bz","show-overflow-tooltip":""}),o(e,{label:"\u64CD\u4F5C",width:"120",fixed:"right"},{default:t(({row:p})=>[d((i(),s(a,{type:"primary",link:"",onClick:P=>x(p)},{default:t(()=>[no]),_:2},1032,["onClick"])),[[f,["task_handling_three_level_review/edit"]]]),d((i(),s(a,{type:"danger",link:"",onClick:P=>E(p.id)},{default:t(()=>[mo]),_:2},1032,["onClick"])),[[f,["task_handling_three_level_review/delete"]]])]),_:1})]),_:1},8,["data"])]),F("div",co,[o(j,{modelValue:r(m),"onUpdate:modelValue":l[1]||(l[1]=p=>uo(m)?m.value=p:null),onChange:r(_)},null,8,["modelValue","onChange"])])]),_:1})),[[N,r(m).loading]]),w.value?(i(),s(W,{key:0,ref_key:"editRef",ref:c,"dict-data":r(C),onSuccess:r(_),onClose:l[2]||(l[2]=p=>w.value=!1)},null,8,["dict-data","onSuccess"])):lo("",!0)])}}});export{pe as default};