数通互联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
7.3 KiB

4 months ago
import{a as d,f as N,q as F,d as pe,r,ax as H,G as fe,e,b as t,h as l,as as we,H as s,Y as ge,c as f,j as w,I as g,F as ve,f4 as he,f5 as ye,a7 as ke,ae as K,f6 as L,aj as Ce,an as be,ab as xe,ao as Fe,b3 as ze,cz as Ee,b4 as Be,aA as He,aQ as $e,at as Se,_ as Te}from"./index-e450010e.js";import{_ as Ve}from"./edit-e81858b0.js";import{_ as Ie}from"./message-box-dd2a869b.js";import{_ as Me}from"./setting-7a244cf7.js";import{_ as qe}from"./delete-811387fa.js";import{_ as De}from"./plus-f2947ec6.js";import{_ as Ue}from"./refresh-f1723430.js";import{_ as We}from"./search-71444aff.js";import Ke from"./createform-8047db6a.js";import{_ as Le}from"./setupconfig.vue_vue_type_script_setup_true_lang-231b7670.js";import{_ as Ne}from"./datatablestructure.vue_vue_type_style_index_0_lang-5526175c.js";import{_ as Pe}from"./flowDrawingBoard.vue_vue_type_style_index_0_lang-97c313ad.js";import"./vueFile.vue_vue_type_script_setup_true_lang-0652262e.js";/* empty css */import"./index-75199847.js";import"./Editor-e214347c.js";import"./bianKuangYuanjiao-da7c4bc6.js";import"./siJiao-b8f63525.js";import"./v4-4a60fe23.js";/* empty css *//* empty css */import"./layout-9d8fdf58.js";import"./aceDrawer-bed1e945.js";import"./setupfield.vue_vue_type_script_setup_true_lang-937cce37.js";import"./nodeWrap-ecd3ef30.js";import"./index-caeb545b.js";import"./index-fc6972c3.js";import"./conditionDrawer.vue_vue_type_style_index_0_lang-57154b88.js";import"./employeesDialog.vue_vue_type_script_setup_true_lang-a1a5351e.js";import"./index-a04a5857.js";/* empty css */import"./copyerDrawer-4006f251.js";const Qe={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"},je=F("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"},null,-1),Oe=[je];function Re(P,p){return d(),N("svg",Qe,[...Oe])}const Ae={name:"ep-operation",render:Re},Ge={class:"app-container"},Ye={class:"search"},Je=pe({__name:"index",setup(P){const p=r(),_=H({page:1,pagesize:15}),v=r([]),h=H([]),Q=r(!1),y=r(!1),c=r(!1),j=r(0),$=r(),z=r(),S=r(""),E=H({formname:"",formlogo:""}),B=r("");function i(){he(_).then(({data:a})=>{j.value=a.total,$.value=a.list}).finally(()=>{})}function O(){_.page=1,_.keywords=""}function R(){var a;B.value="",z.value=(a=p.value)==null?void 0:a.clientWidth,ye().then(({data:o})=>{E.formlogo=o.formlogo,E.formname=o.formname}).finally(()=>{c.value=!0})}function A(){v.value.length<1?ke.error("没有选中要删除得数据!"):K.confirm("请问是否真的删除?删除后数据将无法找回!","温馨提示!",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning",draggable:!0}).then(()=>{L({id:v.value.map(String),status:3,is_delete:!1}).then(({data:a})=>{i()})}).catch(()=>{i()})}function G(a){h.push(a.id),K.confirm("请问是否真的删除?删除后数据将无法找回!","温馨提示!",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning",draggable:!0}).then(()=>{L({id:h,status:3,is_delete:!1}).then(({data:o})=>{i(),h.splice(0,h.length)})}).catch(()=>{i()})}function Y(a){v.value=a.map(o=>o.id)}function J(a){S.value=a.id,y.value=!0}fe(()=>{i()}),window.addEventListener("resize",function(){});function X(a){var o;z.value=(o=p.value)==null?void 0:o.clientWidth,B.value=a.id.toString(),c.value=!0}const k=r(!1),T=r(),Z=a=>{T.value=a,k.value=!0},C=r(!1),V=r(),I=r(!1),M=r(),q=r(),D=r(),ee=a=>{var o;V.value=(o=p.value)==null?void 0:o.clientWidth,C.value=!0,I.value=!0,q.value=a.name,M.value=a.id.toString(),D.value=a.flowkey.toString()};return(a,o)=>{const oe=Ce,U=be,te=We,m=xe,ne=Ue,ae=Fe,le=De,W=qe,u=ze,b=Ee,re=Me,se=Ie,ie=Ve,me=Ae,ce=Be,ue=He,de=$e,_e=Se;return d(),N(ve,null,[F("div",{ref_key:"contbody",ref:p},[F("div",Ge,[F("div",Ye,[e(ae,{ref:"queryFormRef",model:l(_),inline:!0},{default:t(()=>[e(U,{label:"关键字",prop:"keywor