engineering/public/admin/assets/detail.8d844a86.js
2024-03-04 15:04:21 +08:00

2 lines
4.1 KiB
JavaScript

import{y as S,A as T,B as N,L as P,M as U,C as j,D as L}from"./element-plus.258bf9e7.js";import{_ as M}from"./picker.4547601e.js";import{P as q}from"./index.9492d03b.js";import{l as z}from"./build_process_settings.3ec09d85.js";import{d as v,s as b,r as G,a0 as E,o as m,c,V as o,M as e,T as r,U as u,a as g,b7 as H,b6 as J}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as K}from"./index.ec401e3b.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"./index.59cb12da.js";import"./index.vue_vue_type_script_setup_true_lang.60e89e82.js";import"./index.7a6cc892.js";import"./index.vue_vue_type_script_setup_true_lang.84fcd2ee.js";import"./usePaging.f6660143.js";import"./file.vue_vue_type_style_index_0_scoped_5ccc0f84_lang.e4e8877b.js";import"./vue3-video-play.b66b1487.js";import"./vuedraggable.05ef589e.js";import"./vue.6436c619.js";import"./sortablejs.81b741d7.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.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const Q=i=>(H("data-v-13b6233b"),i=i(),J(),i),W={class:"detail-popup"},X=Q(()=>g("div",{style:{margin:"10px 0"}},"\u65BD\u5DE5\u5DE5\u5E8F",-1)),Y={key:0},Z={key:1},$=v({name:"customdetail"}),oo=v({...$,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(i,{expose:h,emit:y}){const D=b(),_=b(),d=G([]);E({provinceOptions:[],cityOptions:[],areaOptions:[]});const l=E({}),B=async t=>{Object.assign(l,t),w(t.id)},w=async t=>{let f=await z({division_id:t,page_no:1,page_size:888});d.value=f.lists},F=async()=>{var t;(t=_.value)==null||t.close()},C=()=>{var t;console.log("1111111"),(t=_.value)==null||t.open()},x=()=>{y("close")};return h({open:C,setFormData:B}),(t,f)=>{const s=S,p=T,A=N,a=P,V=M,k=U,R=j,I=L;return m(),c("div",W,[o(q,{ref_key:"popupRef",ref:_,title:"\u5206\u90E8\u5206\u9879\u5212\u5206\u8BE6\u60C5",async:!0,width:"80%",onConfirm:F,onClose:x},{default:e(()=>[o(I,{ref_key:"formRef",ref:D,model:l,"label-width":"120px"},{default:e(()=>[o(R,{class:"mb-2"},{default:e(()=>[o(A,null,{default:e(()=>[o(p,{span:12},{default:e(()=>[o(s,{label:"\u5206\u90E8\u5DE5\u7A0B"},{default:e(()=>[r(u(l.division_engineering),1)]),_:1})]),_:1}),o(p,{span:12},{default:e(()=>[o(s,{label:"\u5B50\u5206\u90E8\u5DE5\u7A0B"},{default:e(()=>[r(u(l.sub_division_engineering),1)]),_:1})]),_:1}),o(p,{span:12},{default:e(()=>[o(s,{label:"\u5206\u9879\u5DE5\u7A0B"},{default:e(()=>[r(u(l.subentry_engineering),1)]),_:1})]),_:1}),o(p,{span:12},{default:e(()=>[o(s,{label:"\u5206\u9879\u5DE5\u7A0B\u7F16\u7801"},{default:e(()=>[r(u(l.subentry_engineering_code),1)]),_:1})]),_:1})]),_:1}),X,g("div",null,[o(k,{data:d.value},{default:e(()=>[o(a,{label:"\u5DE5\u5E8F\u6B65\u9AA4\u53F7",prop:"process_step_no","show-overflow-tooltip":""}),o(a,{label:"\u5DE5\u5E8F\u6B65\u9AA4",prop:"process_step","show-overflow-tooltip":""}),o(a,{label:"\u8D28\u91CF\u63A7\u5236\u70B9",prop:"quality_control_points","show-overflow-tooltip":""}),o(a,{label:"\u56FE\u4F8B\u8BF4\u660E",prop:"file","show-overflow-tooltip":""},{default:e(({row:n})=>[n.file&&n.file.length>0?(m(),c("div",Y,[o(V,{modelValue:n.file,"onUpdate:modelValue":O=>n.file=O},null,8,["modelValue","onUpdate:modelValue"])])):(m(),c("div",Z,"\u6682\u65E0\u6587\u4EF6"))]),_:1})]),_:1},8,["data"])])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Qo=K(oo,[["__scopeId","data-v-13b6233b"]]);export{Qo as default};