выв
This commit is contained in:
1 parent
c06b89e769
commit
0200fe6b91
3 files changed
+8
-5
No files matched your search
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-card>
|
<v-card>
|
||||||
<v-card-title>
|
<v-card-title>
|
||||||
<span class="text-h5">Карточка пользователя</span>
|
<span class="text-h5">Карточка пользователя {{userlinks.login}}</span>
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
<v-card-text class="flex-column d-flex pb-0">
|
<v-card-text class="flex-column d-flex pb-0">
|
||||||
<v-row class="flex-grow-0">
|
<v-row class="flex-grow-0">
|
||||||
@@ -82,6 +82,8 @@ import { clearAxios } from '@/utils/axios-api'
|
|||||||
import { ref, onMounted } from 'vue'
|
import { ref, onMounted } from 'vue'
|
||||||
import {useAccountStore} from '@/store/AccountStore'
|
import {useAccountStore} from '@/store/AccountStore'
|
||||||
import {checkremote} from '@/utils/universal_functions'
|
import {checkremote} from '@/utils/universal_functions'
|
||||||
|
import { spravURL } from '@/utils/axios-api'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
@@ -136,7 +138,8 @@ export default {
|
|||||||
accountStore,
|
accountStore,
|
||||||
basicInformation,
|
basicInformation,
|
||||||
subInformation,
|
subInformation,
|
||||||
checkremote
|
checkremote,
|
||||||
|
spravURL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -238,19 +238,19 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
watch(()=> searchname.value,(newValue,oldValue)=>{
|
watch(()=> searchname.value,(newValue,oldValue)=>{
|
||||||
console.log(newValue,'newValue', oldValue,'oldValue');
|
|
||||||
if(newValue){
|
if(newValue){
|
||||||
|
|
||||||
axiosApiInstance.get(`api/general_vacation/dailyload/?id=${idpos.value}&searchname=${newValue}`)
|
axiosApiInstance.get(`api/general_vacation/dailyload/?id=${idpos.value}&searchname=${newValue}`)
|
||||||
.then(data => {
|
.then(data => {
|
||||||
console.log(data.data);
|
|
||||||
t_dailyRound.value = data.data
|
t_dailyRound.value = data.data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
axiosApiInstance.get(`api/general_vacation/dailyload/?id=${idpos.value}`)
|
axiosApiInstance.get(`api/general_vacation/dailyload/?id=${idpos.value}`)
|
||||||
.then(data => {
|
.then(data => {
|
||||||
console.log(data.data, '-----------------');
|
|
||||||
t_dailyRound.value = data.data
|
t_dailyRound.value = data.data
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user