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

2 lines
4.5 KiB
JavaScript

import{R as C,_ as k,S as A}from"./element-plus.517d4382.js";import{P as O}from"./index.b17dae19.js";import{a as j}from"./custom.99349afc.js";import{d as b,s as _,a0 as f,o as i,c as u,V as l,M as e,T as o,U as n,W as w,a8 as R}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as P}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"./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 S={class:"detail-popup"},V={key:0},I={style:{"margin-left":"5px",display:"block"}},L={key:1},N=b({name:"customdetail"}),T=b({...N,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(M,{expose:d,emit:g}){_();const m=_();f({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=f({}),r=async s=>{Object.assign(a,s)},y=async s=>{const p=await j({id:s.id});r(p)},E=async()=>{var s;(s=m.value)==null||s.close()},B=()=>{var s;console.log("1111111"),(s=m.value)==null||s.open()},F=()=>{g("close")};return d({open:B,setFormData:r,getDetail:y}),(s,p)=>{const t=C,D=k,h=A;return i(),u("div",S,[l(O,{ref_key:"popupRef",ref:m,title:"\u89E3\u51B3\u65B9\u6848\u8BE6\u60C5",async:!0,width:"80%",onConfirm:E,onClose:F},{default:e(()=>[l(h,{column:2,border:""},{default:e(()=>[l(t,{label:"\u7EC4\u7EC7\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.org_name),1)]),_:1}),l(t,{label:"\u90E8\u95E8\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.dept_name),1)]),_:1}),l(t,{label:"\u5BA2\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.custom_name),1)]),_:1}),l(t,{label:"\u9879\u76EE\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.project_name),1)]),_:1}),l(t,{label:"\u9879\u76EE\u7F16\u7801","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.project_code),1)]),_:1}),l(t,{label:"\u9700\u6C42\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.customer_demand_name),1)]),_:1}),l(t,{label:"\u89E3\u51B3\u65B9\u6848\u4E3B\u9898","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.theme),1)]),_:1}),l(t,{label:"\u63D0\u4EA4\u65F6\u95F4","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.submission_time),1)]),_:1}),l(t,{label:"\u65B9\u6848\u5185\u5BB9","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.solution_content),1)]),_:1}),l(t,{label:"\u6DFB\u52A0\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.add_user_name),1)]),_:1}),l(t,{label:"\u521B\u5EFA\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.create_time),1)]),_:1}),l(t,{label:"\u66F4\u65B0\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.update_user_name),1)]),_:1}),l(t,{label:"\u66F4\u65B0\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.update_time),1)]),_:1}),l(t,{label:"\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>{var c;return[((c=a.annex)==null?void 0:c.length)>0?(i(),u("div",V,[(i(!0),u(w,null,R(a.annex,(v,x)=>(i(),u("div",I,[l(D,{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:v,target:"_blank"},{default:e(()=>[o("\u6587\u4EF6"+n(x+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),256))])):(i(),u("div",L," \u6682\u65E0\u9644\u4EF6 "))]}),_:1})]),_:1})]),_:1},512)])}}});const Dl=P(T,[["__scopeId","data-v-dcb31f4d"]]);export{Dl as default};