refactor code
This commit is contained in:

parent
8bb0d56a80
commit
b53ce8bd83
@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<div>
|
||||
<div
|
||||
class=" d-flex justify-space-between"
|
||||
class="d-flex justify-space-between"
|
||||
style="height: 45px;"
|
||||
>
|
||||
<span class="txt custom-subtitle-tab">검침 대상 추가 정보</span>
|
||||
<span class="txt custom-subtitle-tab">검침 대상 추가 정보</span>
|
||||
<Buttons
|
||||
:parentPrgmId="parentPrgmId"
|
||||
:bindingData="gridName"
|
||||
@ -103,7 +103,6 @@ export default {
|
||||
},
|
||||
gridInit() {
|
||||
const gridHeight = this.$refs.gridParent.offsetHeight - 30;
|
||||
console.log(gridHeight);
|
||||
|
||||
const myOptions = {
|
||||
columnOptions: {
|
||||
@ -144,7 +143,6 @@ export default {
|
||||
class CustomRenderer {
|
||||
constructor(props) {
|
||||
//const { min, max } = props.columnInfo.renderer.options;
|
||||
//console.log('props: %o', props);
|
||||
|
||||
const el = document.createElement('input');
|
||||
if (
|
||||
@ -216,15 +214,12 @@ export default {
|
||||
}
|
||||
$(el).addClass('tui-grid-content-text');
|
||||
}
|
||||
// console.log('props: %o', props);
|
||||
// console.log('el: %o', el);
|
||||
this.el = el;
|
||||
|
||||
this.render(props);
|
||||
}
|
||||
|
||||
change(ev) {
|
||||
//console.log('props: %o', ev);
|
||||
if (ev.target.checked) {
|
||||
ev.target.value = 1;
|
||||
} else {
|
||||
@ -246,7 +241,6 @@ export default {
|
||||
} else {
|
||||
this.el.value = String(props.value);
|
||||
}
|
||||
//console.log('props: %o', props);
|
||||
}
|
||||
|
||||
mounted() {
|
||||
@ -324,8 +318,6 @@ export default {
|
||||
},
|
||||
//{ header: "추가 정보 값", name: "addInfoVal", align: "center" , editor: "text",
|
||||
// formatter({ value, row , column}) {
|
||||
// console.log("addInfoVal row : ", row);
|
||||
// console.log("addInfoVal state : ", column);
|
||||
// if(row.addInfoDataKind === "NUM"){
|
||||
// column.align = "right";
|
||||
// }else{
|
||||
|
Reference in New Issue
Block a user