2 lines
3.1 KiB
JavaScript
2 lines
3.1 KiB
JavaScript
import{y as j,A as w,B as x,C as B,D as R}from"./element-plus.258bf9e7.js";import{P as g}from"./index.9492d03b.js";import{a as A}from"./custom.13e75d58.js";import{d as c,s as n,a0 as m,o as O,c as k,V as t,M as e,T as s,U as u}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as P}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"./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 V={class:"detail-popup"},I=s(),N=c({name:"customdetail"}),S=c({...N,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(T,{expose:d,emit:f}){const E=n(),r=n();m({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=m({}),_=async o=>{Object.assign(a,o)},b=async o=>{const i=await A({id:o.id});_(i)},D=async()=>{var o;(o=r.value)==null||o.close()},C=()=>{var o;console.log("1111111"),(o=r.value)==null||o.open()},y=()=>{f("close")};return d({open:C,setFormData:_,getDetail:b}),(o,i)=>{const l=j,p=w,v=x,h=B,F=R;return O(),k("div",V,[t(g,{ref_key:"popupRef",ref:r,title:"\u9879\u76EE\u8D39\u7528\u6A21\u677F\u8BE6\u60C5",async:!0,width:"80%",onConfirm:D,onClose:y},{default:e(()=>[t(F,{ref_key:"formRef",ref:E,model:a,"label-width":"120px"},{default:e(()=>[t(h,{class:"mb-2"},{default:e(()=>[t(v,null,{default:e(()=>[t(p,{span:12},{default:e(()=>[t(l,{label:"\u9879\u76EE\u7C7B\u578B"},{default:e(()=>[s(u(a.project_type_name),1)]),_:1})]),_:1}),t(p,{span:12},{default:e(()=>[t(l,{label:"\u79D1\u76EE\u7F16\u7801"},{default:e(()=>[s(u(a.subject_code),1)]),_:1})]),_:1}),I,t(p,{span:12},{default:e(()=>[t(l,{label:"\u4E00\u7EA7\u79D1\u76EE"},{default:e(()=>[s(u(a.first_level_subject),1)]),_:1})]),_:1}),t(p,{span:12},{default:e(()=>[t(l,{label:"\u4E8C\u7EA7\u79D1\u76EE"},{default:e(()=>[s(u(a.second_level_subject),1)]),_:1})]),_:1}),t(p,{span:12},{default:e(()=>[t(l,{label:"\u4E09\u7EA7\u79D1\u76EE"},{default:e(()=>[s(u(a.third_level_subject),1)]),_:1})]),_:1}),t(p,{span:12},{default:e(()=>[t(l,{label:"\u5355\u4F4D"},{default:e(()=>[s(u(a.unit),1)]),_:1})]),_:1}),t(p,{span:12},{default:e(()=>[t(l,{label:"\u662F\u5426\u5C5E\u4E8E\u5DEE\u65C5\u79D1\u76EE"},{default:e(()=>[s(u(a.is_travel==1?"\u662F":"\u5426"),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const yt=P(S,[["__scopeId","data-v-f9e65771"]]);export{yt as default};
|