set-idp-development-plan.component.html 39.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575
<div class="header-title-type">
    <div class="flex justify-between">
        <div class="flex">
            <!-- Content ของ div แรก -->
            <!-- <div class="flex gap-x-6">
           <div class="flex items-center">
             <input type="checkbox" class="ti-form-checkbox mt-0.5" id="hs-checkbox-group-1">
             <label for="hs-checkbox-group-1" class="text-sm text-gray-500 ltr:ml-2 rtl:mr-2 dark:text-white/70">0 Selected</label>
           </div>
   
           <div class="flex items-center">
             <i (click)="toggleCheckbox()" [ngClass]="{'ri-checkbox-multiple-line': !isChecked, 'ri-checkbox-multiple-fill': isChecked}"
             class="ri-checkbox-multiple-line text-gray-500 dark:text-white/70"></i>
             <label for="hs-checkbox-group-2" class="text-sm text-gray-500 ltr:ml-2 rtl:mr-2 dark:text-white/70" (click)="toggleCheckbox()">Select All</label>
         </div>
         
         </div> -->
        </div>

        <div class="flex justify-end">
            <!-- <div class="px-1">
                 <div class="relative shadow-md">
                     <input type="text" id="hs-leading-icon" name="hs-leading-icon"
                         class="ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 " placeholder="Search by No. or Name" style="height: 40px;">
                     <div
                         class="absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4">
                         <i class="ri-search-line text-gray"></i>
                     </div>
                 </div>
             </div> -->
            <div class="px-1">
                <button href="javascript:void(0);" class="ti-btn ti-btn-soft-success h-10 m-0 shadow-md"
                    data-hs-overlay="#set-idp-development-plan-alert-delete-modal">
                    <i class="ri-save-3-line"></i>
                    Save
                </button>
            </div>
            <div class="px-1">
                <button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-10 m-0 shadow-md">
                    <i class="ti ti-book fs-l"></i>
                    Help
                </button>
            </div>
        </div>
    </div>
</div>


<div class="page px-rem">
    <p class="pb-2">ตั่งค่าคะแนนประเมินตัวชี้วัดที่ไม่ติด GAP</p>
    <div class="overflow-auto table-bordered rounded-t-none" style="max-width: 50%;">
        <div id="card-type-1" role="tabpanel" aria-labelledby="card-type-item-1">
            <div class="overflow-auto shadow-md">
                <table class="ti-custom-table-one ti-custom-table-head" style="border-collapse: collapse; width: 100%; table-layout: auto;">
                    <thead>
                        <tr>
                            <!-- กำหนดให้คอลัมน์ "คะแนน" กว้างกว่า -->
                            <th class="text-base font-bold" style=" width: 23%;height: 40px;">คะแนน</th>
                            <th>5</th>
                            <th>4</th>
                            <th>3</th>
                            <th>2</th>
                            <th>1</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td class="text-base font-bold" style="height: 70px;">ไม่ผ่าน<br>(ไม่ติดGAP)</td>
                            <td><input type="radio" name="score5" value="5"></td>
                            <td><input type="radio" name="score4" value="4"></td>
                            <td><input type="radio" name="score3" value="3"></td>
                            <td><input type="radio" name="score2" value="2"></td>
                            <td><input type="radio" name="score1" value="1"></td>
                        </tr>
                        <!-- เพิ่มแถวเพิ่มเติมถ้าต้องการ -->
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>

<div class="page px-rem mt-5">
    <p class="pb-2">ตารางกำหนดแผนพัฒนา</p>
    <div class="overflow-auto table-bordered rounded-t-md" style="max-width: 70%;">
      <div id="card-type-1" role="tabpanel" aria-labelledby="card-type-item-1">
          <div class="overflow-auto shadow-md">
              <table class="ti-custom-table ti-custom-table-head">
                  <thead>
                        <tr>
                            <th rowspan="3">จำนวน BI ที่ติด GAP</th>
                            <th colspan="3" style="width: 70%;height: 40px;">เครื่องมือพัฒนา</th>
                        </tr>
                        <tr>
                            <th style="width: 20%;height: 30px;">70</th>
                            <th style="width: 20%;height: 30px;">20</th>
                            <th style="width: 20%;height: 30px;">10</th>
                        </tr>
                        <tr>
                            <th style="width: 20%;height: 60px;">OJT/Job <br>Assignment</th>
                            <th style="width: 20%;height: 60px;">Coach/Mentor</th>
                            <th style="width: 20%;height: 60px;">Training</th>
                        </tr>
                  </thead>
                  <tbody>
                    <tr>
                        <td>1</td>
                        <td><input type="radio"></td>
                        <td><input type="radio"></td>
                        <td><input type="radio"></td>
                    </tr>
                    <tr>
                        <td>2</td>
                        <td><input type="radio"></td>
                        <td><input type="radio"></td>
                        <td><input type="radio"></td>
                    </tr>
                    <tr>
                        <td>3</td>
                        <td><input type="radio"></td>
                        <td><input type="radio"></td>
                        <td><input type="radio"></td>
                    </tr>
                    <tr>
                        <td>4</td>
                        <td><input type="radio"></td>
                        <td><input type="radio"></td>
                        <td><input type="radio"></td>
                    </tr>
                  </tbody>
              </table>
          </div>
      </div>
    </div>
</div>










<div id="set-idp-development-plan-modal-add" class="hs-overlay hidden ti-modal">
    <div class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]">
        <div class="max-h-full overflow-hidden ti-modal-content">
            <div class="ti-modal-header">
                <h3 class="text-xxl font-bold text-primary">
                    เพิ่มหลักสูตรการพัฒนา
                </h3>
                <div class="flex justify-end">
                    <button type="button" class="hs-dropdown-toggle ti-modal-clode-btn text-danger"
                        data-hs-overlay="#set-idp-development-plan-modal-add">
                        <span class="sr-only">Close</span>
                        <i class="ti ti-circle-x fs-xxl"></i>
                    </button>
                </div>
            </div>
            <div class="ti-modal-center">
                <div class="flex justify-end" style="padding-right: 1rem;">
                    <div class="px-1">
                        <button type="button" class="ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md">
                            <svg class="svg-indigo" width="16" height="16" viewBox="0 0 64.00 64.00"
                                xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#595BEA" stroke-width="3.84"
                                transform="rotate(45)matrix(-1, 0, 0, 1, 0, 0)">
                                <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
                                <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
                                <g id="SVGRepo_iconCarrier">
                                    <path d="M15 49A24 24 0 0 1 32 8"></path>
                                    <path d="M49 15a24 24 0 0 1-17 41"></path>
                                    <polyline points="15.03 40 15.03 48.97 8 48.97"></polyline>
                                    <polyline points="48.97 24 48.97 15.03 56 15.03"></polyline>
                                </g>
                            </svg>
                            Clear
                        </button>
                    </div>
                    <div class="px-1">
                        <button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
                            <i class="ti ti-book fs-l"></i>
                            Help
                        </button>
                    </div>
                </div>
            </div>
            <div class="ti-modal-body mt-1">
                <label for="input-label" class="ti-form-label">รหัสหลักสูตร*</label>
                <input type="text" id="input-label" class="ti-form-input w-1/2" placeholder="">
                <label for="detail_th" class="ti-form-label mt-2rem">ชื่อหลักสูตร (ไทย)*</label>
                <input type="text" id="detail_th" class="ti-form-input h-10" placeholder="">
                <label for="detail_eng" class="ti-form-label mt-2rem">ชื่อหลักสูตร (อังกฤษ)</label>
                <input type="text" id="detail_eng" class="ti-form-input h-10" placeholder="">
                <label for="detail_eng" class="ti-form-label mt-2rem">วัตถุประสงค์</label>
                <textarea type="text" id="detail_eng" class="ti-form-input" rows="4" cols="50"> </textarea>
                <label for="detail_eng" class="ti-form-label mt-2rem">หัวข้อเรื่อง</label>
                <textarea type="text" id="detail_eng" class="ti-form-input" rows="4" cols="50"> </textarea>
                <div class="flex justify-end mt-3rem mb-1rem space-x-4">
                    <button type="button"
                        class="hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
                        data-hs-overlay="#set-idp-development-plan-modal-add">
                        ย้อนกลับ
                    </button>
                    <a class="ti-btn ti-btn-success" href="javascript:void(0);"
                        data-hs-overlay="#set-idp-development-plan-alert-add-modal">
                        บันทึกข้อมูล
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>

<div id="set-idp-development-plan-modal-edit" class="hs-overlay hidden ti-modal">
    <div class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]">
        <div class="max-h-full overflow-hidden ti-modal-content">
            <div class="ti-modal-header">
                <h3 class="text-xxl font-bold text-primary">
                    แก้ไขหัวข้อสมรรถนะ
                </h3>
                <div class="flex justify-end">
                    <button type="button" class="hs-dropdown-toggle ti-modal-clode-btn text-danger"
                        data-hs-overlay="#set-idp-development-plan-modal-edit">
                        <span class="sr-only">Close</span>
                        <i class="ti ti-circle-x fs-xxl"></i>
                    </button>
                </div>
            </div>
            <div class="ti-modal-center">
                <div class="flex justify-end" style="padding-right: 1rem;">
                    <div class="px-1">
                        <button type="button" class="ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md">
                            <svg class="svg-indigo" width="16" height="16" viewBox="0 0 64.00 64.00"
                                xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#595BEA" stroke-width="3.84"
                                transform="rotate(45)matrix(-1, 0, 0, 1, 0, 0)">
                                <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
                                <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
                                <g id="SVGRepo_iconCarrier">
                                    <path d="M15 49A24 24 0 0 1 32 8"></path>
                                    <path d="M49 15a24 24 0 0 1-17 41"></path>
                                    <polyline points="15.03 40 15.03 48.97 8 48.97"></polyline>
                                    <polyline points="48.97 24 48.97 15.03 56 15.03"></polyline>
                                </g>
                            </svg>
                            Clear
                        </button>
                    </div>
                    <div class="px-1">
                        <button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
                            <i class="ti ti-book fs-l"></i>
                            Help
                        </button>
                    </div>
                </div>
            </div>
            <div class="ti-modal-body mt-1">
                <label for="input-label" class="ti-form-label">รหัสหลักสูตร*</label>
                <input type="text" id="input-label" class="ti-form-input w-1/2 bg-input-readonly" readonly
                    value="CC-01-01">
                <label for="detail_th" class="ti-form-label mt-2rem">ชื่อหัวข้อหลักสูตร (ไทย)*</label>
                <input type="text" id="detail_th" class="ti-form-input h-10"
                    value="จิตสำนึกด้านความปลอดภัยและคุณภาพ (Safety & Quality) สำหรับพนักงานระดับ O1-O2">
                <label for="detail_eng" class="ti-form-label mt-2rem">ชื่อหัวข้อหลักสูตร (อังกฤษ)</label>
                <input type="text" id="detail_eng" class="ti-form-input h-10"
                    value="จิตสำนึกด้านความปลอดภัยและคุณภาพ (Safety & Quality) สำหรับพนักงานระดับ O1-O2">
                <label for="detail_eng" class="ti-form-label mt-2rem">นิยามสมรรถนะ</label>
                <textarea type="text" id="detail_eng" class="ti-form-input" rows="4" cols="50">1) เพื่อให้ผู้เรียนนสามารถปฏิบัติตามมาตรฐานการทำงานได้
2) เพื่อให้ผู้เรียนสามารถรักษามาตรฐานการทำงานได้
3) เพื่อให้ผู้เรียนสามารถปฏิบัติตามกฏระเบียบของบริษัทได้
4) เพื่อให้ผู้เรียนสามารถเข้าใจหน้างานของตนเองได้
                    </textarea>
                <label for="detail_eng" class="ti-form-label mt-2rem">นิยามสมรรถนะ</label>
                <textarea type="text" id="detail_eng" class="ti-form-input" rows="4" cols="50">1) การปฏิบัติงานโดยให้ความสำคัญกับเรื่องความปลอดภัยเป็นอันดับแรก (Safety First) สวมใส่อุปกรณ์ป้องกันเพื่อความปลอดภัย ระวังสิ่งที่อาจจะเป็นสาเหตุของอุบัติเหตุรอบๆตัว รวมถึงการให้ความสำคัญกับคุณภาพ
2) การปฏิบัติงานตามมาตรฐานด้านความปลอดภัยและคุณภาพของหน่วยงาน
                    </textarea>
                <div class="flex justify-end mt-3rem mb-1rem space-x-4">
                    <button type="button"
                        class="hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
                        data-hs-overlay="#set-idp-development-plan-modal-edit">
                        ย้อนกลับ
                    </button>
                    <a class="ti-btn ti-btn-success" href="javascript:void(0);"
                        data-hs-overlay="#set-idp-development-plan-alert-edit-modal">
                        บันทึกข้อมูล
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>

<div id="set-idp-development-plan-table-modal-add" class="hs-overlay hidden ti-modal">
    <div class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out lg:!max-w-4xl lg:w-full m-3 lg:!mx-auto">
        <div class="max-h-full overflow-hidden ti-modal-content">
            <div class="ti-modal-header">
                <h3 class="text-xxl font-bold text-primary">
                    ประเภทสมรรถนะ
                </h3>
                <div class="flex justify-end">
                    <button type="button" class="hs-dropdown-toggle ti-modal-clode-btn text-danger"
                        data-hs-overlay="#set-idp-development-plan-modal-add">
                        <span class="sr-only">Close</span>
                        <i class="ti ti-circle-x fs-xxl"></i>
                    </button>
                </div>
            </div>
            <div class="ti-modal-body">
                <div class="flex justify-end pb-1rem">
                    <div class="px-1">
                        <div class="relative shadow-md">
                            <input type="text" id="hs-leading-icon" name="hs-leading-icon"
                                class="ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
                                placeholder="Search by No. or Name">
                            <div
                                class="absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4">
                                <i class="ri-search-line text-gray"></i>
                            </div>
                        </div>
                    </div>
                    <div class="px-1">
                        <button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
                            <i class="ti ti-book fs-l"></i>
                            Help
                        </button>
                    </div>
                </div>
                <div class="overflow-auto table-bordered" style="border-radius: 5px;">
                    <div class="overflow-auto border">
                        <table class="ti-custom-table ti-custom-table-head">
                            <thead>
                                <tr>
                                    <ng-container
                                        *ngFor="let item of ['รหัส','ชื่อประเภท','ชื่อย่อ','Action']; let f = first; let l = last; let i = index">
                                        <th scope="col" class="relative px-10px py-10px bg-soft-secondary text-primary"
                                            [class.!text-center]="f||l">
                                            <span class="text-sm">{{ item }}</span>
                                            <div class="absolute top-1/2 transform -translate-y-1/2 right-0"
                                                *ngIf="!f && i==1">
                                                <svg class="head-table-icon" xmlns="http://www.w3.org/2000/svg"
                                                    width="30" height="13" fill="currentColor" viewBox="0 0 16 16">
                                                    <path
                                                        d="M9.5 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z">
                                                    </path>
                                                </svg>
                                            </div>
                                            <div class="absolute top-1/2 transform -translate-y-1/2 right-0"
                                                *ngIf="!f && i==2">
                                                <svg class="head-table-icon" xmlns="http://www.w3.org/2000/svg"
                                                    width="30" height="13" fill="currentColor" viewBox="0 0 16 16">
                                                    <path
                                                        d="M9.5 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z">
                                                    </path>
                                                </svg>
                                            </div>
                                        </th>
                                    </ng-container>
                                </tr>
                            </thead>
                            <tbody>
                                <tr *ngFor="let item of[
                                ['01', 'Care Competency','CC'],
                                ['02', 'Management Competency','MC'],
                                ['03', 'Position Competency','PC'],];let i = index">
                                    <td class="flex justify-center" style="font-size: 12px;">{{item[0]}}</td>
                                    <td style="font-size: 12px; width: 60%;">{{item[1]}}</td>
                                    <td style="font-size: 12px; width: 20%;">{{item[2]}}</td>
                                    <td class="flex justify-center">
                                        <div class="px-1">
                                            <button type="button"
                                                class="ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
                                                data-hs-overlay="#set-idp-development-plan-modal-add">
                                                <i class="ri-add-line"></i>
                                                Select
                                            </button>
                                        </div>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="body-content" style="margin-top: 20px;">
                    <ul class="nav-tabs">
                        <div class="px-1 bg-white rounded-2 shadow justify-content-center align-items-center">
                            <div class="box-body">
                                <nav class="pagination-style-3 overflow-auto">
                                    <ul class="ti-pagination">
                                        <li>
                                            <a aria-label="anchor" class="page-link" href="javascript:void(0);">
                                                <i class="ri-arrow-left-s-line align-middle rtl:rotate-180"></i>
                                            </a>
                                        </li>
                                        <li><a class="page-link active" href="javascript:void(0);"
                                                aria-current="page">1</a></li>
                                        <li><a class="page-link" href="javascript:void(0);">2</a></li>
                                        <li><a class="page-link" href="javascript:void(0);">3</a></li>
                                        <li><a class="page-link" href="javascript:void(0);">4</a></li>
                                        <li><a class="page-link" href="javascript:void(0);">5</a></li>
                                        <li><a class="page-link" href="javascript:void(0);">...</a></li>
                                        <li><a class="page-link" href="javascript:void(0);">31</a></li>
                                        <li>
                                            <a aria-label="anchor" class="page-link" href="javascript:void(0);">
                                                <i class="ri-arrow-right-s-line align-middle rtl:rotate-180"></i>
                                            </a>
                                        </li>
                                    </ul>
                                </nav>
                            </div>
                        </div>
                    </ul>
                    <ul class="nav-tabs mt-1">
                        <p>Show 1 to 10 of 50 items</p>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>

<div id="set-idp-development-plan-table-modal-edit" class="hs-overlay hidden ti-modal">
    <div class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out lg:!max-w-4xl lg:w-full m-3 lg:!mx-auto">
        <div class="max-h-full overflow-hidden ti-modal-content">
            <div class="ti-modal-header">
                <h3 class="text-xxl font-bold text-primary">
                    ประเภทสมรรถนะ
                </h3>
                <div class="flex justify-end">
                    <button type="button" class="hs-dropdown-toggle ti-modal-clode-btn text-danger"
                        data-hs-overlay="#set-idp-development-plan-modal-edit">
                        <span class="sr-only">Close</span>
                        <i class="ti ti-circle-x fs-xxl"></i>
                    </button>
                </div>
            </div>
            <div class="ti-modal-body">
                <div class="flex justify-end pb-1rem">
                    <div class="px-1">
                        <div class="relative shadow-md">
                            <input type="text" id="hs-leading-icon" name="hs-leading-icon"
                                class="ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
                                placeholder="Search by No. or Name">
                            <div
                                class="absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4">
                                <i class="ri-search-line text-gray"></i>
                            </div>
                        </div>
                    </div>
                    <div class="px-1">
                        <button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
                            <i class="ti ti-book fs-l"></i>
                            Help
                        </button>
                    </div>
                </div>
                <div class="overflow-auto table-bordered" style="border-radius: 5px;">
                    <div class="overflow-auto border">
                        <table class="ti-custom-table ti-custom-table-head">
                            <thead>
                                <tr>
                                    <ng-container
                                        *ngFor="let item of ['รหัส','ชื่อประเภท','ชื่อย่อ','Action']; let f = first; let l = last; let i = index">
                                        <th scope="col" class="relative px-10px py-10px bg-soft-secondary text-primary"
                                            [class.!text-center]="f||l">
                                            <span class="text-sm">{{ item }}</span>
                                            <div class="absolute top-1/2 transform -translate-y-1/2 right-0"
                                                *ngIf="!f && i==1">
                                                <svg class="head-table-icon" xmlns="http://www.w3.org/2000/svg"
                                                    width="30" height="13" fill="currentColor" viewBox="0 0 16 16">
                                                    <path
                                                        d="M9.5 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z">
                                                    </path>
                                                </svg>
                                            </div>
                                            <div class="absolute top-1/2 transform -translate-y-1/2 right-0"
                                                *ngIf="!f && i==2">
                                                <svg class="head-table-icon" xmlns="http://www.w3.org/2000/svg"
                                                    width="30" height="13" fill="currentColor" viewBox="0 0 16 16">
                                                    <path
                                                        d="M9.5 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z">
                                                    </path>
                                                </svg>
                                            </div>
                                        </th>
                                    </ng-container>
                                </tr>
                            </thead>
                            <tbody>
                                <tr *ngFor="let item of[
                                ['01', 'Care Competency','CC'],
                                ['02', 'Management Competency','MC'],
                                ['03', 'Position Competency','PC'],];let i = index">
                                    <td class="flex justify-center" style="font-size: 12px;">{{item[0]}}</td>
                                    <td style="font-size: 12px; width: 60%;">{{item[1]}}</td>
                                    <td style="font-size: 12px; width: 20%;">{{item[2]}}</td>
                                    <td class="flex justify-center">
                                        <div class="px-1">
                                            <button type="button"
                                                class="ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
                                                data-hs-overlay="#set-idp-development-plan-modal-edit">
                                                <i class="ri-add-line"></i>
                                                Select
                                            </button>
                                        </div>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="body-content" style="margin-top: 20px;">
                    <ul class="nav-tabs">
                        <div class="px-1 bg-white rounded-2 shadow justify-content-center align-items-center">
                            <div class="box-body">
                                <nav class="pagination-style-3 overflow-auto">
                                    <ul class="ti-pagination">
                                        <li>
                                            <a aria-label="anchor" class="page-link" href="javascript:void(0);">
                                                <i class="ri-arrow-left-s-line align-middle rtl:rotate-180"></i>
                                            </a>
                                        </li>
                                        <li><a class="page-link active" href="javascript:void(0);"
                                                aria-current="page">1</a></li>
                                        <li><a class="page-link" href="javascript:void(0);">2</a></li>
                                        <li><a class="page-link" href="javascript:void(0);">3</a></li>
                                        <li><a class="page-link" href="javascript:void(0);">4</a></li>
                                        <li><a class="page-link" href="javascript:void(0);">5</a></li>
                                        <li><a class="page-link" href="javascript:void(0);">...</a></li>
                                        <li><a class="page-link" href="javascript:void(0);">31</a></li>
                                        <li>
                                            <a aria-label="anchor" class="page-link" href="javascript:void(0);">
                                                <i class="ri-arrow-right-s-line align-middle rtl:rotate-180"></i>
                                            </a>
                                        </li>
                                    </ul>
                                </nav>
                            </div>
                        </div>
                    </ul>
                    <ul class="nav-tabs mt-1">
                        <p>Show 1 to 10 of 50 items</p>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>

<div id="set-idp-development-plan-alert-add-modal" class="hs-overlay hidden ti-modal">
    <div class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center">
        <div class="max-h-full overflow-hidden ti-modal-content w-full">
            <div class="ti-modal-header">
                <h3 class="text-xxl font-bold text-primary">
                    แจ้งเตือน
                </h3>
                <div class="flex justify-end">
                    <button type="button" class="hs-dropdown-toggle ti-modal-clode-btn text-danger"
                        data-hs-overlay="#set-idp-development-plan-alert-add-modal">
                        <span class="sr-only">Close</span>
                        <i class="ti ti-circle-x fs-xxl"></i>
                    </button>
                </div>
            </div>
            <div class="ti-modal-body ">
                <p class="mt-1 text-gray-800 dark:text-white/70">
                    ยืนยันการบันทึกข้อมูลหรือไม่
                </p>

                <div class="flex justify-end mt-2rem mb-1rem">
                    <button type="button"
                        class="hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
                        data-hs-overlay="#set-idp-development-plan-modal-add">
                        ย้อนกลับ
                    </button>
                    <a class="ti-btn ti-btn-success" href="javascript:void(0);"
576
                        data-hs-overlay="#set-idp-development-plan-alert-add-modal" (click)="showSuccess()">
577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611
                        บันทึกข้อมูล
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>

<div id="set-idp-development-plan-alert-edit-modal" class="hs-overlay hidden ti-modal">
    <div class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center">
        <div class="max-h-full overflow-hidden ti-modal-content w-full">
            <div class="ti-modal-header">
                <h3 class="text-xxl font-bold text-primary">
                    แจ้งเตือน
                </h3>
                <div class="flex justify-end">
                    <button type="button" class="hs-dropdown-toggle ti-modal-clode-btn text-danger"
                        data-hs-overlay="#set-idp-development-plan-alert-edit-modal">
                        <span class="sr-only">Close</span>
                        <i class="ti ti-circle-x fs-xxl"></i>
                    </button>
                </div>
            </div>
            <div class="ti-modal-body ">
                <p class="mt-1 text-gray-800 dark:text-white/70">
                    ยืนยันการเเก้ไขข้อมูลหรือไม่
                </p>

                <div class="flex justify-end mt-2rem mb-1rem">
                    <button type="button"
                        class="hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
                        data-hs-overlay="#set-idp-development-plan-modal-edit">
                        ย้อนกลับ
                    </button>
                    <a class="ti-btn ti-btn-success" href="javascript:void(0);"
612
                        data-hs-overlay="#set-idp-development-plan-alert-edit-modal" (click)="showSuccessEdit()">
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647
                        บันทึกข้อมูล
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="set-idp-development-plan-alert-delete-modal" class="hs-overlay hidden ti-modal">
    <div class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center">
        <div class="max-h-full overflow-hidden ti-modal-content w-full">
            <div class="ti-modal-header">
                <h3 class="text-xxl font-bold text-primary">
                    แจ้งเตือน
                </h3>
                <div class="flex justify-end">
                    <button type="button" class="hs-dropdown-toggle ti-modal-clode-btn text-danger"
                        data-hs-overlay="#set-idp-development-plan-alert-delete-modal">
                        <span class="sr-only">Close</span>
                        <i class="ti ti-circle-x fs-xxl"></i>
                    </button>
                </div>
            </div>
            <div class="ti-modal-body ">
                <p class="mt-1 text-gray-800 dark:text-white/70">
                    ยืนยันการลบข้อมูลหรือไม่!
                </p>

                <div class="flex justify-end mt-2rem mb-1rem">
                    <button type="button"
                        class="hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
                        data-hs-overlay="#set-idp-development-plan-alert-delete-modal">
                        ย้อนกลับ
                    </button>
                    <a class="ti-btn ti-btn-success" href="javascript:void(0);"
                        data-hs-overlay="#set-idp-development-plan-alert-delete-modal"
648
                        (click)="showSuccessDelete()">
649 650 651 652 653 654 655
                        ลบข้อมูล
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>