HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.2.20
System: Linux 825a8fd6cf8c 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User: apache (48)
PHP: 8.2.20
Disabled: NONE
Upload Files
File: /var/www/html/public/static/js/index-2a224bbf.js
import{useWorkShop as P}from"./hook-cfa946aa.js";import{b as T,P as U}from"./index.es-82a3cef7.js";import{u as i}from"./hooks-925dc7bd.js";import{_ as W}from"./Form.vue_vue_type_script_setup_true_lang-b7b210a7.js";import{D as F}from"./delete-6d738bc7.js";import{E as I}from"./edit-pen-af58ba35.js";import{d as N}from"./search-cc37b371.js";import{R as O}from"./refresh-74425c09.js";import{A as Q}from"./add-circle-line-5b89a592.js";import{d as v,r as C,A as j,Q as m,e as q,f as G,y as o,m as t,u as e,v as s}from"./runtime-core.esm-bundler-6128546f.js";import{_ as H}from"./_plugin-vue_export-helper-c27b6911.js";import"./message-2472a54a.js";import"./workshop-ac15ac01.js";import"./index-23ee140c.js";import"./preload-helper-78dc9057.js";import"./vue-i18n.runtime.esm-bundler-6949bcab.js";import"./index-b7f916e1.js";import"./_commonjsHelpers-87174ba5.js";import"./vue-router-a383d220.js";import"./utils-2ab4f76a.js";import"./epTheme-e56bbd92.js";import"./index-a7c31d60.js";import"./focus-trap-53f1c6ab.js";import"./error-78e43d3e.js";import"./merge-f215fb43.js";import"./index-9676aad5.js";const J={class:"main"},K=v({name:"/workshop/list/index"}),M=v({...K,setup(X){const c=C(!1),p=j({name:"",cmt:"",id:""}),u=C(),{selectList:k,form:d,loading:_,columns:y,dataList:S,pagination:x,buttonClass:Y,onSearch:f,resetForm:A,handleUpdate:Z,handleDelete:R,handleSizeChange:D,handleCurrentChange:V,handleSelectionChange:$}=P();function g(l){p.name=l.name,p.cmt=l.cmt,p.id=l.id?l.id:"",c.value=!0}return(l,a)=>{const w=m("el-input"),b=m("el-form-item"),r=m("el-button"),z=m("el-form"),B=m("el-popconfirm");return q(),G("div",J,[o(z,{ref_key:"formRef",ref:u,inline:!0,model:e(d),class:"bg-bg_color w-[99/100] pl-8 pt-4"},{default:t(()=>[o(b,{label:"产线名称:",prop:"name"},{default:t(()=>[o(w,{modelValue:e(d).name,"onUpdate:modelValue":a[0]||(a[0]=n=>e(d).name=n),placeholder:"请输入产线名称",clearable:"",class:"!w-[200px]"},null,8,["modelValue"])]),_:1}),o(b,null,{default:t(()=>[o(r,{type:"primary",icon:e(i)(e(N)),loading:e(_),onClick:e(f)},{default:t(()=>[s(" 搜索 ")]),_:1},8,["icon","loading","onClick"]),o(r,{icon:e(i)(e(O)),onClick:a[1]||(a[1]=n=>e(A)(u.value))},{default:t(()=>[s(" 重置 ")]),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),o(e(U),{title:"产线列表",selectArr:e(k),onRefresh:e(f)},{buttons:t(()=>[o(r,{type:"primary",icon:e(i)(e(Q)),onClick:a[2]||(a[2]=n=>g({}))},{default:t(()=>[s(" 新增产线 ")]),_:1},8,["icon"])]),default:t(({size:n,checkList:E})=>[o(e(T),{border:"","align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:e(_),size:"small",data:e(S),columns:e(y),checkList:E,pagination:e(x),paginationSmall:n==="small","header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSelectionChange:e($),onSizeChange:e(D),onCurrentChange:e(V)},{operation:t(({row:h})=>[o(r,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(i)(e(I)),onClick:L=>g(h)},{default:t(()=>[s(" 修改 ")]),_:2},1032,["size","icon","onClick"]),o(B,{title:"是否确认删除?",onConfirm:L=>e(R)(h)},{reference:t(()=>[o(r,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(i)(e(F))},{default:t(()=>[s(" 删除 ")]),_:2},1032,["size","icon"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","data","columns","checkList","pagination","paginationSmall","header-cell-style","onSelectionChange","onSizeChange","onCurrentChange"])]),_:1},8,["selectArr","onRefresh"]),o(W,{visible:c.value,"onUpdate:visible":a[3]||(a[3]=n=>c.value=n),data:p,onAddWorkShop:e(f)},null,8,["visible","data","onAddWorkShop"])])}}});const Re=H(M,[["__scopeId","data-v-a2f8dbb0"]]);export{Re as default};