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() {
|
async function fetchType() {
|
||||||
showLoader();
|
showLoader();
|
||||||
await http
|
await http
|
||||||
.get(config.API.orgEmployeeTypeTemp)
|
.get(config.API.orgEmployeeType)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
posTypeMain.value = res.data.result;
|
posTypeMain.value = res.data.result;
|
||||||
posTypeOp.value = res.data.result.map((e: OptionType) => ({
|
posTypeOp.value = res.data.result.map((e: OptionType) => ({
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,7 @@ function close() {
|
||||||
async function fetchType() {
|
async function fetchType() {
|
||||||
showLoader();
|
showLoader();
|
||||||
await http
|
await http
|
||||||
.get(config.API.orgEmployeeTypeTemp)
|
.get(config.API.orgEmployeeType)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
dataLevel.value = res.data.result;
|
dataLevel.value = res.data.result;
|
||||||
typeOpsMain.value = res.data.result.map((e: OptionType) => ({
|
typeOpsMain.value = res.data.result.map((e: OptionType) => ({
|
||||||
|
|
@ -606,6 +606,7 @@ watch(
|
||||||
class="full-height"
|
class="full-height"
|
||||||
icon="search"
|
icon="search"
|
||||||
@click="getSearch()"
|
@click="getSearch()"
|
||||||
|
outline
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue