parent
c48c0a97da
commit
d242cf7fc6
|
|
@ -879,6 +879,7 @@ function renderWorkNotes(row){
|
|||
|
||||
const req = (row.di_request_note || '').trim();
|
||||
const work = (row.di_work_note || '').trim();
|
||||
const cs = (row.di_cs_note || '').trim();
|
||||
|
||||
let html = '';
|
||||
|
||||
|
|
@ -900,6 +901,15 @@ function renderWorkNotes(row){
|
|||
`;
|
||||
}
|
||||
|
||||
if(cs){
|
||||
html += `
|
||||
<div class="small text-muted mb-1">
|
||||
<strong>CS:</strong>
|
||||
${escapeHtml(cs)}
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
area.innerHTML = html;
|
||||
}
|
||||
|
||||
|
|
@ -1429,6 +1439,7 @@ function renderList(){
|
|||
rows.forEach(row => {
|
||||
const req = (row.di_request_note || '').trim();
|
||||
const work = (row.di_work_note || '').trim();
|
||||
const cs = (row.di_cs_note || '').trim();
|
||||
|
||||
html += `
|
||||
<tr data-uid="${row.di_uid}" class="status-${row.di_status}">
|
||||
|
|
@ -1467,6 +1478,12 @@ function renderList(){
|
|||
<strong>Work:</strong> ${escapeHtml(work)}
|
||||
</div>
|
||||
` : ''}
|
||||
|
||||
${cs ? `
|
||||
<div class="small text-muted">
|
||||
<strong>CS:</strong> ${escapeHtml(cs)}
|
||||
</div>
|
||||
` : ''}
|
||||
</td>
|
||||
</tr>
|
||||
`;
|
||||
|
|
@ -1492,16 +1509,31 @@ function renderWorkCell(row){
|
|||
// 기본 텍스트
|
||||
let main = '';
|
||||
|
||||
// cs note 있음 = 후속작업 있음
|
||||
const afterWork = (row.di_cs_note || '').trim();
|
||||
|
||||
if(status === 'A'){
|
||||
main = `${renderWorkType(row.di_work_type)}`;
|
||||
}else if(status === 'P'){
|
||||
main = `<span class="fw-bold small"> Done</span>`;
|
||||
if(afterWork.length > 0){
|
||||
main = main + `<span class="badge bg-dark text-white ms-2">CS</span>`;
|
||||
}
|
||||
}else if(status === 'M'){
|
||||
main = `<span class="fw-bold small"> Modified</span>`;
|
||||
if(afterWork.length > 0){
|
||||
main = main + `<span class="badge bg-dark text-white ms-2">CS</span>`;
|
||||
}
|
||||
}else if(status === 'X'){
|
||||
main = `<span class="fw-bold small"> Cancelled</span>`;
|
||||
if(afterWork.length > 0){
|
||||
main = main + `<span class="badge bg-dark text-white ms-2">CS</span>`;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// 보조 아이콘
|
||||
const icons = [];
|
||||
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@
|
|||
<div class="d-flex justify-content-between align-items-center">
|
||||
<label class="form-label small">Due date</label>
|
||||
<div>
|
||||
<input class="form-check-input me-2" type="checkbox" id="iwLockDate"><label class="form-check-label small" for="iwLockDate">Preferred Date</label>
|
||||
<input class="form-check-input me-2" type="checkbox" id="iwLockDate"><label class="form-check-label small" for="iwLockDate">Fixed Date</label>
|
||||
</div>
|
||||
</div>
|
||||
<input type="text" id="iwScheduleDate" class="form-control form-control-sm date-picker-form" autocomplete="off" placeholder="yyyy-mm-dd" readonly>
|
||||
|
|
|
|||
Loading…
Reference in New Issue