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

2 lines
4.0 KiB
JavaScript

import{y as V,A as k,B as R,C as S,D as I}from"./element-plus.517d4382.js";import{_ as O}from"./picker.6eb62d2f.js";import{P as N}from"./index.b17dae19.js";import{a as P}from"./custom.99349afc.js";import{d as E,s as m,a0 as c,o as d,c as f,V as t,M as e,T as u,U as n,S as j,b7 as q,b6 as T,a as U}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as M}from"./index.8b1962e9.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.ee772d81.js";import"./index.vue_vue_type_script_setup_true_lang.5ae95555.js";import"./index.0a0ddda3.js";import"./index.vue_vue_type_script_setup_true_lang.f8507404.js";import"./usePaging.f6660143.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.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const z=l=>(q("data-v-0161da10"),l=l(),T(),l),G={class:"detail-popup"},H={key:0},J=z(()=>U("div",null," \u6682\u65E0\u6587\u4EF6 ",-1)),K=E({name:"customdetail"}),L=E({...K,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(l,{expose:b,emit:y}){const B=m(),r=m();c({provinceOptions:[],cityOptions:[],areaOptions:[]});const o=c({}),_=async a=>{Object.assign(o,a)},D=async a=>{const i=await P({id:a.id});_(i)},g=async()=>{var a;(a=r.value)==null||a.close()},v=()=>{var a;console.log("1111111"),(a=r.value)==null||a.open()},C=()=>{y("close")};return b({open:v,setFormData:_,getDetail:D}),(a,i)=>{const p=V,s=k,F=O,h=R,x=S,A=I;return d(),f("div",G,[t(N,{ref_key:"popupRef",ref:r,title:"\u5206\u90E8\u5206\u9879\u5212\u5206\u8BE6\u60C5",async:!0,width:"80%",onConfirm:g,onClose:C},{default:e(()=>[t(A,{ref_key:"formRef",ref:B,model:o,"label-width":"120px"},{default:e(()=>[t(x,{class:"mb-2"},{default:e(()=>[t(h,null,{default:e(()=>[t(s,{span:12},{default:e(()=>[t(p,{label:"\u5206\u90E8\u5DE5\u7A0B"},{default:e(()=>[u(n(o.division_engineering),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(p,{label:"\u5B50\u5206\u90E8\u5DE5\u7A0B"},{default:e(()=>[u(n(o.sub_division_engineering),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(p,{label:"\u5206\u9879\u5DE5\u7A0B"},{default:e(()=>[u(n(o.subentry_engineering),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(p,{label:"\u5206\u9879\u5DE5\u7A0B\u7F16\u7801"},{default:e(()=>[u(n(o.subentry_engineering_code),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(p,{label:"\u5DE5\u5E8F\u6B65\u9AA4\u53F7"},{default:e(()=>[u(n(o.process_step_no),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(p,{label:"\u5DE5\u5E8F\u6B65\u9AA4"},{default:e(()=>[u(n(o.process_step),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(p,{label:"\u8D28\u91CF\u63A7\u5236\u70B9"},{default:e(()=>[u(n(o.quality_control_points),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(p,{label:"\u8D28\u91CF\u63A7\u5236\u70B9"},{default:e(()=>[u(n(o.quality_control_points),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(p,{label:"\u56FE\u4F8B\u8BF4\u660E"},{default:e(()=>[o.annex&&o.annex.length>0?(d(),f("div",H,[t(F,{modelValue:o.annex,"onUpdate:modelValue":i[0]||(i[0]=w=>o.annex=w)},null,8,["modelValue"])])):j("",!0),J]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Tt=M(L,[["__scopeId","data-v-0161da10"]]);export{Tt as default};