1import d from"./Paging.Codo259r.js";import{_ as m}from"./index.VRUltArI.js";import{c as s,z as e,j as p,s as c,F as u,l as _,W as h,b as n}from"./vendor-vue.DQyCMu5a.js";import{b3 as b}from"./vendor-misc.DlM92jT6.js";import"./vendor-vuetify.Dvtop9lb.js";import"./vendor-axios.B9ygI19o.js";import"./vendor-moment.C5S46NFB.js";import"./vendor-quill.BiOiM682.js";import"./vendor-date-io.C_LH91PS.js";import"./vendor-maps.B8dKhpM0.js";/* empty css */const f={name:"HairThicknessLearningList",components:{Paging:d},props:{learningList:{type:Array,required:!0},totalCnt:{type:Number,required:!0,default:0},pageSize:{type:Number,default:10},pageNo:{type:Number,default:1}},emits:["onActivePage","get-hair-thickness-relearning-list"],computed:{formattedText(){return this.list.combinedResponse?this.list.combinedResponse.replace(/\n/g,"<br>"):""}},methods:{onActivePage(i){this.$emit("onActivePage",i,this.pageSize)},hairlossLearningDelete(i){if(confirm("ì ë§ ìì íìê² ìµëê¹?")){const t={trainingImageId:i},a={success:r=>{r?(alert("ìì ê° ìë£ëììµëë¤."),this.$emit("get-hair-thickness-relearning-list")):alert("ì¼ìì ì¸ ì¤ë¥ê° ë°ìíìµëë¤.")},error:r=>{alert("ì¼ìì ì¸ ì¤ë¥ê° ë°ìíìµëë¤."),console.log(r)}};console.log("모ë°êµµê¸°íìµdelete-idx",t),this.$api.report.hairlossLearningDelete(t,a)}}}},y={class:"report-table__wrap"},k={class:"report-table__container"},v={"data-label":"ì´ë¯¸ì§"},L=["src"],I={"data-label":"ì¬íìµ ìì²ì¬í"},C=["onClick"],z={key:0};function A(i,t,a,r,N,l){const g=h("paging");return n(),s("div",y,[e("table",k,[t[1]||(t[1]=e("colgroup",null,[e("col",{style:{width:"40%"}}),e("col",{style:{width:"45%"}}),e("col",{style:{width:"15%"}})],-1)),t[2]||(t[2]=e("thead",null,[e("tr",null,[e("th",null,"ì´ë¯¸ì§"),e("th",null,"ì¬íìµ ìì²ì¬í"),e("th",null,"ìì ")])],-1)),e("tbody",null,[(n(!0),s(u,null,_(a.learningList,o=>(n(),s("tr",{key:`tb-${o.trainingImageId}`},[e("td",v,[e("img",{src:`data:image/jpeg;base64, ${o.base64Image}`,loading:"lazy",alt:"insertLearningImg",class:"inserImg"},null,8,L)]),e("td",I,[e("span",null,b(o.labelText),1)]),e("td",null,[e("a",{href:"javascript:void(0)",class:"report-link__line",onClick:P=>l.hairlossLearningDelete(o.trainingImageId)},"ìì ",8,C)])]))),128)),a.totalCnt<1?(n(),s("tr",z,t[0]||(t[0]=[e("td",{colspan:3,class:"report-table__empty"}," ê²ì ê²°ê³¼ê° ììµëë¤. ",-1)]))):c("",!0)])]),a.totalCnt>0?(n(),p(g,{key:0,"cur-page-no":a.pageNo,"total-cnt":a.totalCnt,"page-size":a.pageSize,onActivePage:l.onActivePage},null,8,["cur-page-no","total-cnt","page-size","onActivePage"])):c("",!0)])}const V=m(f,[["render",A],["__scopeId","data-v-c6a23de7"]]);export{V as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.