import{w as N}from"./elementPlus.4833989a.js";import{d as h,aA as f,aB as w,ai as d,o as u,M as O,O as e,U as s,u as o,S as r,a,c as g,T as M,R as y}from"./vue.adf17aba.js";const R={key:0},T=a("span",null,"您输入的 ",-1),I={style:{color:"#f1a055"}},z=a("span",null," 相较于上次填入的数据偏离值超过 50% ，是否仍要提交？",-1),D={key:1,class:"pt-2"},S=a("span",null,"ROI < 0，请确认数据填入是否正确!",-1),U=[S],$={class:"dialog-footer"},q=h({__name:"TipDialog",props:f({message:Object,isNormal:{type:Boolean,default:!1},isROI:{type:Boolean,default:!1}},{modelValue:{default:!1},modelModifiers:{}}),emits:f(["submit","update"],["update:modelValue"]),setup(p,{emit:V}){const k=p,{message:m,isNormal:v,isROI:c}=k,l=w(p,"modelValue"),_=V;function b(){_("submit")}function x(){_("update")}return(j,t)=>{const B=d("el-icon"),n=d("el-button"),C=d("el-dialog");return u(),O(C,{modelValue:l.value,"onUpdate:modelValue":t[2]||(t[2]=i=>l.value=i),"align-center":"",style:{"border-radius":"10px"},title:"重要提示",width:"30%"},{title:e(()=>[s(n,{link:"",style:{"font-size":"18px"},type:"warning"},{default:e(()=>[s(B,{size:"22px"},{default:e(()=>[s(o(N))]),_:1}),r(" 重要提示 ")]),_:1})]),footer:e(()=>[a("span",$,[s(n,{onClick:t[0]||(t[0]=i=>l.value=!1)},{default:e(()=>[r("返回修改")]),_:1}),s(n,{type:"primary",onClick:t[1]||(t[1]=i=>o(c)?x():b())},{default:e(()=>[r("继续提交")]),_:1})])]),default:e(()=>[o(m)?(u(),g("div",R,[T,a("span",I,M(o(m)),1),z])):y("",!0),o(v)||o(c)?(u(),g("div",D,U)):y("",!0)]),_:1},8,["modelValue"])}}});export{q as _};
