fix PosType EmpType
This commit is contained in:
parent
b6b3fec14b
commit
98bc7cb6ba
2 changed files with 3 additions and 2 deletions
|
|
@ -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) => ({
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue