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