Статистика
This commit is contained in:
1 parent
6919ec314d
commit
c3a896e7f6
5 files changed
+36
-6
No files matched your search
BIN
Binary file not shown.
Generated
+27
@@ -19,10 +19,12 @@
|
||||
"@vuelidate/core": "^2.0.3",
|
||||
"@vuelidate/validators": "^2.0.3",
|
||||
"axios": "^1.4.0",
|
||||
"chart.js": "^4.4.0",
|
||||
"date-fns": "^2.30.0",
|
||||
"pinia": "^2.0.23",
|
||||
"roboto-fontface": "*",
|
||||
"vue": "^3.2.0",
|
||||
"vue-chartjs": "^5.2.0",
|
||||
"vue-jwt-decode": "^0.1.0",
|
||||
"vue-router": "^4.0.0",
|
||||
"vue-scrollto": "^2.20.0",
|
||||
@@ -3139,6 +3141,11 @@
|
||||
"integrity": "sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@kurkle/color": {
|
||||
"version": "0.3.2",
|
||||
"resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.2.tgz",
|
||||
"integrity": "sha512-fuscdXJ9G1qb7W8VdHi+IwRqij3lBkosAm4ydQtEmbY58OzHXqQhvlxqEkoz0yssNVn38bcpRWgA9PP+OGoisw=="
|
||||
},
|
||||
"node_modules/@mdi/font": {
|
||||
"version": "7.0.96",
|
||||
"resolved": "https://registry.npmjs.org/@mdi/font/-/font-7.0.96.tgz",
|
||||
@@ -6525,6 +6532,17 @@
|
||||
"is-regex": "^1.0.3"
|
||||
}
|
||||
},
|
||||
"node_modules/chart.js": {
|
||||
"version": "4.4.0",
|
||||
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.0.tgz",
|
||||
"integrity": "sha512-vQEj6d+z0dcsKLlQvbKIMYFHd3t8W/7L2vfJIbYcfyPcRx92CsHqECpueN8qVGNlKyDcr5wBrYAYKnfu/9Q1hQ==",
|
||||
"dependencies": {
|
||||
"@kurkle/color": "^0.3.0"
|
||||
},
|
||||
"engines": {
|
||||
"pnpm": ">=7"
|
||||
}
|
||||
},
|
||||
"node_modules/chokidar": {
|
||||
"version": "3.5.3",
|
||||
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
|
||||
@@ -12845,6 +12863,15 @@
|
||||
"@vue/shared": "3.3.4"
|
||||
}
|
||||
},
|
||||
"node_modules/vue-chartjs": {
|
||||
"version": "5.2.0",
|
||||
"resolved": "https://registry.npmjs.org/vue-chartjs/-/vue-chartjs-5.2.0.tgz",
|
||||
"integrity": "sha512-d3zpKmGZr2OWHQ1xmxBcAn5ShTG917+/UCLaSpaCDDqT0U7DBsvFzTs69ZnHCgKoXT55GZDW8YEj9Av+dlONLA==",
|
||||
"peerDependencies": {
|
||||
"chart.js": "^4.1.1",
|
||||
"vue": "^3.0.0-0 || ^2.7.0"
|
||||
}
|
||||
},
|
||||
"node_modules/vue-component-type-helpers": {
|
||||
"version": "1.8.8",
|
||||
"resolved": "https://registry.npmjs.org/vue-component-type-helpers/-/vue-component-type-helpers-1.8.8.tgz",
|
||||
|
||||
@@ -21,10 +21,12 @@
|
||||
"@vuelidate/core": "^2.0.3",
|
||||
"@vuelidate/validators": "^2.0.3",
|
||||
"axios": "^1.4.0",
|
||||
"chart.js": "^4.4.0",
|
||||
"date-fns": "^2.30.0",
|
||||
"pinia": "^2.0.23",
|
||||
"roboto-fontface": "*",
|
||||
"vue": "^3.2.0",
|
||||
"vue-chartjs": "^5.2.0",
|
||||
"vue-jwt-decode": "^0.1.0",
|
||||
"vue-router": "^4.0.0",
|
||||
"vue-scrollto": "^2.20.0",
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<v-col
|
||||
class="ma-3"
|
||||
>
|
||||
{{visiting}}
|
||||
<v-table density="compact">
|
||||
|
||||
<v-table density="compact" class="mt-3">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-left">
|
||||
@@ -34,6 +34,9 @@
|
||||
<v-table density="compact" class="mt-3">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-left">
|
||||
Пользователь
|
||||
</th>
|
||||
<th class="text-left">
|
||||
Страница
|
||||
</th>
|
||||
|
||||
+2
-4
@@ -23,10 +23,8 @@ class Counter(ListAPIView):
|
||||
pUser = pd.DataFrame.from_records(users)
|
||||
pOutUser = pd.DataFrame.from_records(outuser)
|
||||
h = pUser.merge(pOutUser, how="left", left_on="user__username", right_on="login")
|
||||
# print(pUser, '!!!!!!!!!!!!!!!!!!!!!!!!')
|
||||
# print(pOutUser, '???????????????????????')
|
||||
print(h.loc[h['login']=='9966-00-125']['fio'].unique()[0], '11111111111111111111111111111')
|
||||
# print(h.nunique(login='9966-00-125'))
|
||||
|
||||
|
||||
|
||||
|
||||
for x in users:
|
||||
|
||||
Reference in new issue
Block a user