2 lines
5.2 KiB
JavaScript
2 lines
5.2 KiB
JavaScript
import{R as x,_ as k,S as w,D as R}from"./element-plus.517d4382.js";import{P as O}from"./index.b17dae19.js";import{a as j}from"./custom.99349afc.js";import{d as _,s as p,a0 as f,o as s,c as i,V as l,M as e,T as o,U as n,W as P,a8 as S}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as V}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 I={class:"detail-popup"},L={key:0},N={style:{"margin-left":"5px",display:"block"}},T={key:1},M=_({name:"customdetail"}),U=_({...M,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(W,{expose:b,emit:d}){const g=p(),m=p();f({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=f({}),r=async u=>{Object.assign(a,u)},E=async u=>{const c=await j({id:u.id});r(c)},y=async()=>{var u;(u=m.value)==null||u.close()},F=()=>{var u;(u=m.value)==null||u.open()},B=()=>{d("close")};return b({open:F,setFormData:r,getDetail:E}),(u,c)=>{const t=x,D=k,h=w,v=R;return s(),i("div",I,[l(O,{ref_key:"popupRef",ref:m,title:"\u7ADE\u4E89\u5BF9\u624B\u8BE6\u60C5",async:!0,width:"80%",onConfirm:y,onClose:B},{default:e(()=>[l(v,{ref_key:"formRef",ref:g,model:a,"label-width":"120px"},{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:"\u7ADE\u4E89\u5BF9\u624B\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.competitor_name),1)]),_:1}),l(t,{label:"\u7ADE\u4E89\u5BF9\u624B\u8054\u7CFB\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.competitor_contacts),1)]),_:1}),l(t,{label:"\u8054\u7CFB\u4EBA\u7535\u8BDD","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.competitor_contacts_phone),1)]),_:1}),l(t,{label:"\u7ADE\u4E89\u80FD\u529B","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.competitive_power),1)]),_:1}),l(t,{label:"\u7ADE\u4E89\u5BF9\u624B\u4F18\u52BF","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.competitor_advantages),1)]),_:1}),l(t,{label:"\u7ADE\u4E89\u5BF9\u624B\u52A3\u52BF","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.competitor_disadvantages),1)]),_:1}),l(t,{label:"\u5907\u6CE8","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[o(n(a.remark),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(()=>[a.annex.length>0?(s(),i("div",L,[(s(!0),i(P,null,S(a.annex,(A,C)=>(s(),i("div",N,[l(D,{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:A,target:"_blank"},{default:e(()=>[o("\u6587\u4EF6"+n(C+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),256))])):(s(),i("div",T," \u6682\u65E0\u9644\u4EF6 "))]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const vl=V(U,[["__scopeId","data-v-923816df"]]);export{vl as default};
|