engineering/public/admin/assets/detail.4b0e4d0c.js
shengchanzhe a2653dcd36 提交pc
2024-01-27 11:43:47 +08:00

2 lines
2.5 KiB
JavaScript

import{y as x,A as B,B as R,C as g,D as k}from"./element-plus.4ff6f47d.js";import{P as O}from"./index.ff7c6188.js";import{a as F}from"./custom.01004c04.js";import{d as u,s as c,a0 as _,o as j,c as A,V as o,M as e,T as i,U as m}from"./@vue.ab566ce7.js";import"./lodash.8ea2174a.js";import{_ as P}from"./index.aaca920c.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.8497a500.js";import"./lodash-es.49f4af13.js";import"./dayjs.fc5568d8.js";import"./axios.5b893b79.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.4cbccc26.js";import"./color.033abf8c.js";import"./clone.a6258514.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.7eedf28f.js";import"./ms.a9ae1d6d.js";import"./nprogress.93182424.js";import"./vue-clipboard3.6a55d49e.js";import"./clipboard.2986c82d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const V={class:"detail-popup"},I=u({name:"customdetail"}),N=u({...I,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(S,{expose:f,emit:d}){const y=c(),p=c();_({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=_({}),l=async t=>{Object.assign(a,t)},E=async t=>{const n=await F({id:t.id});l(n)},C=async()=>{var t;(t=p.value)==null||t.close()},b=()=>{var t;console.log("1111111"),(t=p.value)==null||t.open()},D=()=>{d("close")};return f({open:b,setFormData:l,getDetail:E}),(t,n)=>{const s=x,r=B,h=R,v=g,w=k;return j(),A("div",V,[o(O,{ref_key:"popupRef",ref:p,title:"\u9879\u76EE\u5229\u6DA6\u8BE6\u60C5",async:!0,width:"80%",onConfirm:C,onClose:D},{default:e(()=>[o(w,{ref_key:"formRef",ref:y,model:a,"label-width":"120px"},{default:e(()=>[o(v,{class:"mb-2"},{default:e(()=>[o(h,null,{default:e(()=>[o(r,{span:12},{default:e(()=>[o(s,{label:"\u9879\u76EE\u7C7B\u578B"},{default:e(()=>[i(m(a.project_type_name),1)]),_:1})]),_:1}),o(r,{span:12},{default:e(()=>[o(s,{label:"\u6700\u4F4E\u5229\u6DA6\u7387(%)"},{default:e(()=>[i(m(a.profit_rate),1)]),_:1})]),_:1}),o(r,{span:12},{default:e(()=>[o(s,{label:"\u5907\u6CE8"},{default:e(()=>[i(m(a.remark),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const bt=P(N,[["__scopeId","data-v-397feb16"]]);export{bt as default};