Commit 26bb7495 by Nattana Chaiyamat

สาขาและหน่วยธุรกิจ => หน่วยธุรกิจ

parent b2a8a5ae
<div class="font-size-16px font-weight-600 pt-2rem pb-1rem text-primary"> <div class="font-size-16px font-weight-600 pt-2rem pb-1rem text-primary">
รายละเอียดสาขาและหน่วยธุรกิจ รายละเอียดหน่วยธุรกิจ
</div> </div>
<div class="page"> <div class="page">
<nav class="flex rtl:space-x-reverse space-x-2"> <nav class="flex rtl:space-x-reverse space-x-2">
......
...@@ -6,12 +6,12 @@ import { Component, EventEmitter, Input, Output } from '@angular/core'; ...@@ -6,12 +6,12 @@ import { Component, EventEmitter, Input, Output } from '@angular/core';
styleUrls: ['./branch-business-unit.component.scss'] styleUrls: ['./branch-business-unit.component.scss']
}) })
export class BranchBusinessUnitComponent { export class BranchBusinessUnitComponent {
@Input() pathTitle = ['การจัดการข้อมูลองค์กร', 'ทะเบียนบริษัท', 'สาขาและหน่วยธุรกิจ', 'ทะเบียนฝ่าย'] @Input() pathTitle = ['การจัดการข้อมูลองค์กร', 'ทะเบียนบริษัท', 'หน่วยธุรกิจ', 'ทะเบียนฝ่าย']
@Output() sendPathTitle: EventEmitter<string[]> = new EventEmitter<string[]>(); @Output() sendPathTitle: EventEmitter<string[]> = new EventEmitter<string[]>();
currentTab = 1 currentTab = 1
onSendPathTitle(pathTitle: string) { onSendPathTitle(pathTitle: string) {
this.sendPathTitle.emit(['การจัดการข้อมูลองค์กร', 'ทะเบียนบริษัท', 'สาขาและหน่วยธุรกิจ', pathTitle]) this.sendPathTitle.emit(['การจัดการข้อมูลองค์กร', 'ทะเบียนบริษัท', 'หน่วยธุรกิจ', pathTitle])
} }
} }
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
<a class="font-size-16px font-weight-500 hs-tab-active:font-weight-700 hs-tab-active:border-secondary hs-tab-active:text-secondary pb-3 px-1 inline-flex items-center gap-2 border-b-[3px] border-transparent whitespace-nowrap text-gray-500 hover:text-secondary" <a class="font-size-16px font-weight-500 hs-tab-active:font-weight-700 hs-tab-active:border-secondary hs-tab-active:text-secondary pb-3 px-1 inline-flex items-center gap-2 border-b-[3px] border-transparent whitespace-nowrap text-gray-500 hover:text-secondary"
href="javascript:void(0);" id="underline-item-2" data-hs-tab="#underline-2" href="javascript:void(0);" id="underline-item-2" data-hs-tab="#underline-2"
aria-controls="underline-2" aria-controls="underline-2"
(click)="pathTitle = ['การจัดการข้อมูลองค์กร', 'ทะเบียนบริษัท','สาขาและหน่วยธุรกิจ' ,'ทะเบียนฝ่าย'];currentPath=2"> (click)="pathTitle = ['การจัดการข้อมูลองค์กร', 'ทะเบียนบริษัท','หน่วยธุรกิจ' ,'ทะเบียนฝ่าย'];currentPath=2">
สาขาและหน่วยธุรกิจ หน่วยธุรกิจ
</a> </a>
</nav> </nav>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment