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

2 lines
5.2 KiB
JavaScript

import{R as x,a2 as v,S as A}from"./element-plus.258bf9e7.js";import{P as k}from"./index.9492d03b.js";import{a as O}from"./custom.13e75d58.js";import{d as _,s as f,a0 as p,o as i,c as o,V as e,M as a,T as s,U as n,W as j,a8 as w}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 u=>{Object.assign(l,u)},g=async u=>{const r=await O({id:u.id});c(r)},y=async()=>{var u;(u=m.value)==null||u.close()},E=()=>{var u;(u=m.value)==null||u.open()},F=()=>{d("close")};return b({open:E,setFormData:c,getDetail:g}),(u,r)=>{const t=x,B=v,C=A;return i(),o("div",P,[e(k,{ref_key:"popupRef",ref:m,title:"\u552E\u540E\u5DE5\u5355\u8BE6\u60C5",async:!0,width:"80%",onConfirm:y,onClose:F},{default:a(()=>[e(C,{column:2,title:"\u57FA\u672C\u4FE1\u606F",border:""},{default:a(()=>[e(t,{label:"\u9879\u76EE\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.project_name),1)]),_:1}),e(t,{label:"\u9879\u76EE\u7F16\u7801","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.project_code),1)]),_:1}),e(t,{label:"\u5BA2\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.custom_name),1)]),_:1}),e(t,{label:"\u5408\u540C\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.contract_code),1)]),_:1}),e(t,{label:"\u8054\u7CFB\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.custom_master_name),1)]),_:1}),e(t,{label:"\u8054\u7CFB\u7535\u8BDD","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.custom_master_phone),1)]),_:1}),e(t,{label:"\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.date),1)]),_:1}),e(t,{label:"\u5206\u7C7B","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.classification_text),1)]),_:1}),e(t,{label:"\u7D27\u6025\u7A0B\u5EA6","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.urgency_text),1)]),_:1}),e(t,{label:"\u5904\u7406\u7ED3\u679C","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.processing_result_text),1)]),_:1}),e(t,{label:"\u63A5\u5F85\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.receiver),1)]),_:1}),e(t,{label:"\u6307\u5B9A\u5904\u7406\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.processed_user_name),1)]),_:1}),e(t,{label:"\u82B1\u8D39\u5DE5\u65F6","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.processing_hours),1)]),_:1}),e(t,{label:"\u5B8C\u6210\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.done_date),1)]),_:1}),e(t,{label:"\u6295\u8BC9\u4E3B\u9898","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.name),1)]),_:1}),e(t,{label:"\u95EE\u9898\u63CF\u8FF0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.description),1)]),_:1}),e(t,{label:"\u5904\u7406\u8FC7\u7A0B","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.processing_process),1)]),_:1}),e(t,{label:"\u5907\u6CE8","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[s(n(l.notes),1)]),_:1}),e(t,{label:"\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[l.annex&&l.annex.length>0?(i(),o("div",S,[(i(!0),o(j,null,w(l.annex,(D,h)=>(i(),o("div",V,[e(B,{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:D,target:"_blank"},{default:a(()=>[s("\u6587\u4EF6"+n(h+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),256))])):(i(),o("div",I," \u6682\u65E0\u6587\u4EF6 "))]),_:1})]),_:1})]),_:1},512)])}}});const Bl=R(N,[["__scopeId","data-v-96a2a3ff"]]);export{Bl as default};