11
This commit is contained in:
1 parent
3eca1813c5
commit
77fc8a3f9b
10 files changed
+79
-54
No files matched your search
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "front",
|
"name": "front",
|
||||||
"version": "0.0.50",
|
"version": "0.0.51",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "front",
|
"name": "front",
|
||||||
"version": "0.0.50",
|
"version": "0.0.51",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"-": "^0.0.1",
|
"-": "^0.0.1",
|
||||||
"@mdi/font": "7.0.96",
|
"@mdi/font": "7.0.96",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "front",
|
"name": "front",
|
||||||
"version": "0.0.50",
|
"version": "0.0.51",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
|||||||
@@ -10,10 +10,10 @@
|
|||||||
<v-table density="compact" class="px-7">
|
<v-table density="compact" class="px-7">
|
||||||
<thead>
|
<thead>
|
||||||
<tr >
|
<tr >
|
||||||
<th class="text-center text-h6 font-weight-regular">
|
<th class="text-center text-subtitle-1 font-weight-regular">
|
||||||
всего
|
всего
|
||||||
</th>
|
</th>
|
||||||
<th class="text-center text-h6 font-weight-regular">
|
<th class="text-center text-subtitle-1 font-weight-regular">
|
||||||
за период
|
за период
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
:ico="'mdi-comment-multiple-outline'"
|
:ico="'mdi-comment-multiple-outline'"
|
||||||
>
|
>
|
||||||
<template v-slot:filling>
|
<template v-slot:filling>
|
||||||
<my-helper :pretext="feedback"/>
|
|
||||||
<v-row no-gutters class="flex-column gap">
|
<v-row no-gutters class="flex-column gap">
|
||||||
<v-col lg=1 class="w100">
|
<v-col lg=1 class="w100">
|
||||||
<v-card variant="flat" class="text-h6 font-weight-regular">
|
<v-card variant="flat" class="text-subtitle-1 font-weight-regular">
|
||||||
Последний комментарий оставлен: <br> <span class="text-h6 font-weight-bold">{{formaComaTime(feedback.last_comment.time_create)}}</span>
|
Последний комментарий оставлен: <br> <span class="text-subtitle-1 font-weight-bold">{{formaComaTime(feedback.last_comment.time_create)}}</span>
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col lg=2 class="w100">
|
<v-col lg=2 class="w100">
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col class="d-flex flex-column pt-5">
|
<v-col class="d-flex flex-column pt-1">
|
||||||
<slot name="filling_feedback"></slot>
|
<slot name="filling_feedback"></slot>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:item.name="{ value }">
|
<template v-slot:item.name="{ value }">
|
||||||
<span class="font-weight-medium text-grey-darken-3 myleft text-subtitle-1">
|
<span class="font-weight-medium text-grey-darken-3 myleft text-subtitle-2">
|
||||||
{{ value }}
|
{{ value }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -31,54 +31,71 @@
|
|||||||
</v-row>
|
</v-row>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
|
||||||
<pattern-card-feed
|
<pattern-card-feed
|
||||||
v-else
|
v-else
|
||||||
:title="'Средняя оценка'"
|
:title="'Средняя оценка'"
|
||||||
>
|
>
|
||||||
<template v-slot:filling_feedback>
|
<template v-slot:filling_feedback>
|
||||||
|
|
||||||
|
<div v-if="criteria.length!=0">
|
||||||
|
<v-row
|
||||||
<v-row
|
|
||||||
|
|
||||||
class="align-center flex-column scoreheight gap mt-n2"
|
class="align-center flex-column scoreheight gap mt-n2"
|
||||||
no-gutters
|
no-gutters
|
||||||
|
>
|
||||||
|
|
||||||
|
<div class="flex-columnd-flex gap pa-0"
|
||||||
|
|
||||||
|
v-for="(x, key) in criteria"
|
||||||
|
:key = key
|
||||||
|
>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<v-col lg=1 class="text-subtitle-1 font-weight-regular w100 pa-0"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
<v-icon
|
||||||
|
size="small"
|
||||||
|
:color="x.color"
|
||||||
|
:icon="x.ico"
|
||||||
|
/>
|
||||||
|
{{x.name}}
|
||||||
|
</v-col>
|
||||||
|
<v-col lg=2 class=" w100 pa-1 pt-1">
|
||||||
|
|
||||||
|
<v-rating
|
||||||
|
v-model="message[key].ratings"
|
||||||
|
:hover="typeof(key) == 'number'"
|
||||||
|
half-increments
|
||||||
|
|
||||||
|
readonly
|
||||||
|
:size="25"
|
||||||
|
color="yellow"
|
||||||
|
:density="'comfortable'"
|
||||||
|
/>
|
||||||
|
</v-col>
|
||||||
|
</div>
|
||||||
|
</v-row>
|
||||||
|
|
||||||
<div class="flex-columnd-flex gap pa-0"
|
</div>
|
||||||
|
<div class="d-flex flex-column" v-else>
|
||||||
v-for="(x, key) in criteria"
|
<v-row
|
||||||
:key = key
|
|
||||||
|
class="align-center flex-column scoreheight gap mt-n2"
|
||||||
|
no-gutters
|
||||||
|
>
|
||||||
|
<v-col
|
||||||
|
class="text-h6 pt-8 text-grey text-center align-self-center text--lighten-1 font-weight-light"
|
||||||
>
|
>
|
||||||
|
За выбранный период оценок нет
|
||||||
|
</v-col>
|
||||||
|
|
||||||
|
</v-row>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<v-col lg=1 class="text-h6 font-weight-regular w100 pa-0"
|
|
||||||
>
|
|
||||||
|
|
||||||
<v-icon
|
|
||||||
size="small"
|
|
||||||
:color="x.color"
|
|
||||||
:icon="x.ico"
|
|
||||||
/>
|
|
||||||
{{x.name}}
|
|
||||||
</v-col>
|
|
||||||
<v-col lg=2 class=" w100 pa-2 pt-1">
|
|
||||||
|
|
||||||
<v-rating
|
|
||||||
v-model="message[key].ratings"
|
|
||||||
:hover="typeof(key) == 'number'"
|
|
||||||
half-increments
|
|
||||||
|
|
||||||
readonly
|
|
||||||
:size="25"
|
|
||||||
color="yellow"
|
|
||||||
:density="'comfortable'"
|
|
||||||
/>
|
|
||||||
</v-col>
|
|
||||||
</div>
|
|
||||||
</v-row>
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</pattern-card-feed>
|
</pattern-card-feed>
|
||||||
@@ -132,6 +149,6 @@ export default {
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
.scoreheight {
|
.scoreheight {
|
||||||
min-height: 240px;
|
min-height: 150px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
:image="checkremote( `${spravURL}${author.login}.jpg`)"
|
:image="checkremote( `${spravURL}${author.login}.jpg`)"
|
||||||
class="mr-2"
|
class="mr-2"
|
||||||
/>
|
/>
|
||||||
<span class="font-weight-medium text-grey-darken-3 myleft text-subtitle-1">
|
<span class="font-weight-medium text-grey-darken-3 myleft text-subtitle-2">
|
||||||
{{splitname(author)}}
|
{{splitname(author)}}
|
||||||
</span>
|
</span>
|
||||||
</v-chip>
|
</v-chip>
|
||||||
|
|||||||
@@ -1,9 +1,17 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-row no-gutters class="gap ma-1 flex-column">
|
<v-row v-if="alldata.feedback.last_comment.time_create=='2024-01-01'">
|
||||||
|
<v-col class="text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light">
|
||||||
|
<v-progress-circular
|
||||||
|
:size="150"
|
||||||
|
:width="7"
|
||||||
|
color="cyan-darken-3"
|
||||||
|
indeterminate
|
||||||
|
></v-progress-circular>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
<v-row v-else no-gutters class="gap ma-1 flex-column">
|
||||||
<v-col class="d-flex flex-column w100 pa-0 flex-grow-0">
|
<v-col class="d-flex flex-column w100 pa-0 flex-grow-0">
|
||||||
<toolbar-filter/>
|
<toolbar-filter/>
|
||||||
|
|
||||||
<!-- -->
|
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col class="d-flex " >
|
<v-col class="d-flex " >
|
||||||
<v-row no-gutters class="gap" >
|
<v-row no-gutters class="gap" >
|
||||||
@@ -128,7 +136,7 @@ setup(){
|
|||||||
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 => {
|
||||||
console.log(result.data, 'result.data');
|
|
||||||
alldata.value = preparedata(result.data)
|
alldata.value = preparedata(result.data)
|
||||||
//
|
//
|
||||||
totalfn()
|
totalfn()
|
||||||
@@ -484,7 +492,7 @@ setup(){
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
// title_period()
|
// title_period()
|
||||||
|
console.log(alldata.value.feedback.feed.length, 'alldata.feedback.feed')
|
||||||
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
<v-row no-gutters class="h-100 gap">
|
<v-row no-gutters class="h-100 gap">
|
||||||
<v-col class="flex-column d-flex">
|
<v-col class="flex-column d-flex">
|
||||||
<v-row no-gutters class="flex-column gap" >
|
<v-row no-gutters class="flex-column gap" >
|
||||||
<my-helper :pretext="dataIndicators"/>
|
|
||||||
<v-col v-for="x in dataIndicators" :key=x>
|
<v-col v-for="x in dataIndicators" :key=x>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<card-total :indicator=x />
|
<card-total :indicator=x />
|
||||||
|
|||||||
Reference in new issue
Block a user