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

2 lines
4.8 KiB
JavaScript

import{R as C,a2 as v,S as k}from"./element-plus.258bf9e7.js";import{P as w}from"./index.9492d03b.js";import{a as j}from"./custom.13e75d58.js";import{d as _,s as f,a0 as p,o as i,c as u,V as e,M as a,T as o,U as s,W as A,a8 as O}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as R}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 P={class:"detail-popup"},S={key:0},V={style:{"margin-left":"5px",display:"block"}},I={key:1},L=_({name:"customdetail"}),N=_({...L,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(T,{expose:b,emit:d}){f();const m=f();p({provinceOptions:[],cityOptions:[],areaOptions:[]});const l=p({}),c=async n=>{Object.assign(l,n)},g=async n=>{const r=await j({id:n.id});c(r)},y=async()=>{var n;(n=m.value)==null||n.close()},E=()=>{var n;console.log("1111111"),(n=m.value)==null||n.open()},F=()=>{d("close")};return b({open:E,setFormData:c,getDetail:g}),(n,r)=>{const t=C,B=v,D=k;return i(),u("div",P,[e(w,{ref_key:"popupRef",ref:m,title:"\u9879\u76EE\u66F4\u8FD1\u8BB0\u5F55\u8BE6\u60C5",async:!0,width:"80%",onConfirm:y,onClose:F},{default:a(()=>[e(D,{column:2,border:""},{default:a(()=>[e(t,{label:"\u5BA2\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.custom_name),1)]),_:1}),e(t,{label:"\u9879\u76EE\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.project_name),1)]),_:1}),e(t,{label:"\u9879\u76EE\u7F16\u7801","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.project_code),1)]),_:1}),e(t,{label:"\u6267\u884C\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.executor),1)]),_:1}),e(t,{label:"\u8054\u7CFB\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.contacts),1)]),_:1}),e(t,{label:"\u8054\u7CFB\u65B9\u5F0F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.contact_information),1)]),_:1}),e(t,{label:"\u9879\u76EE\u89D2\u8272","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.project_role),1)]),_:1}),e(t,{label:"\u804C\u4F4D","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.position),1)]),_:1}),e(t,{label:"\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.follow_date),1)]),_:1}),e(t,{label:"\u4E3B\u9898","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.theme),1)]),_:1}),e(t,{label:"\u884C\u52A8\u63CF\u8FF0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.action_description),1)]),_:1}),e(t,{label:"\u9879\u76EE\u628A\u63E1\u5EA6","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.project_assurance_text),1)]),_:1}),e(t,{label:"\u72B6\u6001","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.follow_status_text),1)]),_:1}),e(t,{label:"\u9636\u6BB5","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.follow_stage_text),1)]),_:1}),e(t,{label:"\u5907\u6CE8","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.notes),1)]),_:1}),e(t,{label:"\u4E0B\u6B21\u56DE\u8BBF\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(s(l.next_follow_up_date),1)]),_:1}),e(t,{label:"\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[l.file&&l.file.length>0?(i(),u("div",S,[(i(!0),u(A,null,O(l.file,(h,x)=>(i(),u("div",V,[e(B,{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:h,target:"_blank"},{default:a(()=>[o("\u6587\u4EF6"+s(x+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),256))])):(i(),u("div",I,"\u6682\u65E0\u9644\u4EF6"))]),_:1})]),_:1})]),_:1},512)])}}});const Bl=R(N,[["__scopeId","data-v-eb54c614"]]);export{Bl as default};