fix PosType EmpType

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-02-20 15:29:27 +07:00
parent b6b3fec14b
commit 98bc7cb6ba
2 changed files with 3 additions and 2 deletions

View file

@ -95,7 +95,7 @@ function close() {
async function fetchType() {
showLoader();
await http
.get(config.API.orgEmployeeTypeTemp)
.get(config.API.orgEmployeeType)
.then((res) => {
posTypeMain.value = res.data.result;
posTypeOp.value = res.data.result.map((e: OptionType) => ({

View file

@ -207,7 +207,7 @@ function close() {
async function fetchType() {
showLoader();
await http
.get(config.API.orgEmployeeTypeTemp)
.get(config.API.orgEmployeeType)
.then((res) => {
dataLevel.value = res.data.result;
typeOpsMain.value = res.data.result.map((e: OptionType) => ({
@ -606,6 +606,7 @@ watch(
class="full-height"
icon="search"
@click="getSearch()"
outline
/>
</div>