This commit is contained in:
iriska-gri committed 2024-03-06 16:20:33 +03:00
1 parent 22921ce0b5
commit 1c23d09d9c
1 file changed
+2 -1
+2 -1
View File
@@ -132,7 +132,7 @@ setup(){
const filterStore = usePortalFilterStore() const filterStore = usePortalFilterStore()
const alldata =ref({period: [], staff: 0, beforperiod: [], feedback: {criteria: [], feed: [], last_comment:{time_create:'1190-01-01'}}}) const alldata =ref({period: [], staff: 0, beforperiod: [], feedback: {criteria: [], feed: [], last_comment:{time_create:'1990-01-01'}}})
const visition = () => { const visition = () => {
axiosApiInstance.get(`api/watcher/testwatcher/?start=${formatDash(filterStore.date_period.startdate)}&end=${formatDash(filterStore.date_period.enddate)}`).then(result => { axiosApiInstance.get(`api/watcher/testwatcher/?start=${formatDash(filterStore.date_period.startdate)}&end=${formatDash(filterStore.date_period.enddate)}`).then(result => {
@@ -143,6 +143,7 @@ setup(){
})} })}
console.log(alldata.value.feedback.last_comment,'alldata.feedback.last_comment.time_create');
visition() visition()
const preparedata=(data)=>{ const preparedata=(data)=>{
let beforperiod = [] let beforperiod = []