2 lines
3.4 KiB
JavaScript
2 lines
3.4 KiB
JavaScript
import{y as w,A as x,B as A,C as R,D as k}from"./element-plus.258bf9e7.js";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang.e1e5e943.js";import{P as j}from"./index.9492d03b.js";import{a as P}from"./custom.13e75d58.js";import{d as f,s as c,a0 as d,o as V,c as I,V as t,M as e,T as i,U as p}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as N}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 S={class:"detail-popup"},T=f({name:"customdetail"}),M=f({...T,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(u,{expose:E,emit:D}){const b=c(),n=c();d({provinceOptions:[],cityOptions:[],areaOptions:[]});const o=d({}),m=async a=>{Object.assign(o,a)},y=async a=>{const _=await P({id:a.id});m(_)},v=async()=>{var a;(a=n.value)==null||a.close()},C=()=>{var a;console.log("1111111"),(a=n.value)==null||a.open()},B=()=>{D("close")};return E({open:C,setFormData:m,getDetail:y}),(a,_)=>{const l=w,s=x,r=O,h=A,F=R,g=k;return V(),I("div",S,[t(j,{ref_key:"popupRef",ref:n,title:"\u9879\u76EE\u5E72\u7CFB\u4EBA\u8BE6\u60C5",async:!0,width:"80%",onConfirm:v,onClose:B},{default:e(()=>[t(g,{ref_key:"formRef",ref:b,model:o,"label-width":"160px"},{default:e(()=>[t(F,{class:"mb-2"},{default:e(()=>[t(h,null,{default:e(()=>[t(s,{span:12},{default:e(()=>[t(l,{label:"\u9879\u76EE"},{default:e(()=>[i(p(o.project_name),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(l,{label:"\u9879\u76EE\u7F16\u7801"},{default:e(()=>[i(p(o.project_code),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(l,{label:"\u59D3\u540D"},{default:e(()=>[i(p(o.name),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(l,{label:"\u8EAB\u4EFD"},{default:e(()=>[t(r,{options:u.dictData.identity,value:o.identity},null,8,["options","value"])]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(l,{label:"\u7535\u8BDD"},{default:e(()=>[i(p(o.phone),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(l,{label:"\u90AE\u7BB1"},{default:e(()=>[i(p(o.email),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(l,{label:"\u5BF9\u6211\u65B9\u6001\u5EA6"},{default:e(()=>[t(r,{options:u.dictData.attitude_status,value:o.attitude},null,8,["options","value"])]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(l,{label:"\u5DE5\u4F5C\u914D\u5408\u5EA6"},{default:e(()=>[t(r,{options:u.dictData.degree_adaptability,value:o.degree_adaptability},null,8,["options","value"])]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(l,{label:"\u5907\u6CE8"},{default:e(()=>[i(p(o.remark),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Bt=N(M,[["__scopeId","data-v-7ff5d7ce"]]);export{Bt as default};
|