- Raccolte Cataloghi corretto e migliorato.
- Bottoni "Apri" e "PDF".
This commit is contained in:
4
.env
4
.env
@@ -1,6 +1,6 @@
|
|||||||
VITE_APP_VERSION="1.2.59"
|
VITE_APP_VERSION="1.2.62"
|
||||||
VITE_LANG_DEFAULT="it"
|
VITE_LANG_DEFAULT="it"
|
||||||
VITE_PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
VITE_PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||||
VITE_SERVICE_WORKER_FILE="sw-1.2.59.js"
|
VITE_SERVICE_WORKER_FILE="sw-1.2.62.js"
|
||||||
VITE_PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
|
VITE_PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
|
||||||
VITE_VUE_ROUTER_MODE="history"
|
VITE_VUE_ROUTER_MODE="history"
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
<meta name="description" content="<%= productDescription %>">
|
<meta name="description" content="<%= productDescription %>">
|
||||||
<meta name="format-detection" content="telephone=no">
|
<meta name="format-detection" content="telephone=no">
|
||||||
<meta name="msapplication-tap-highlight" content="no">
|
<meta name="msapplication-tap-highlight" content="no">
|
||||||
<meta name="version" content="1.2.59">
|
<meta name="version" content="1.2.62">
|
||||||
<meta name="viewport"
|
<meta name="viewport"
|
||||||
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
|
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
|
||||||
|
|
||||||
|
|||||||
14
package.json
14
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gruppomacro",
|
"name": "gruppomacro",
|
||||||
"version": "1.2.59",
|
"version": "1.2.62",
|
||||||
"description": "Gruppo Macro",
|
"description": "Gruppo Macro",
|
||||||
"productName": "Gruppo Macro",
|
"productName": "Gruppo Macro",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
@@ -9,20 +9,20 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8089 APP_VERSION='1.2.59' quasar dev",
|
"dev": "PORT=8089 APP_VERSION='1.2.62' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.62' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.62' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "APP_VERSION='1.2.59' quasar build -m spa",
|
"buildspa": "APP_VERSION='1.2.62' quasar build -m spa",
|
||||||
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8099 APP_VERSION='1.2.59' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8099 APP_VERSION='1.2.62' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8089 APP_VERSION='1.2.59' quasar dev",
|
"spa": "NODE_ENV=development PORT=8089 APP_VERSION='1.2.62' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cnm",
|
"name": "cnm",
|
||||||
"version": "1.2.59",
|
"version": "1.2.62",
|
||||||
"description": "Comunita Nuovo Mondo",
|
"description": "Comunita Nuovo Mondo",
|
||||||
"productName": "ComunitaNuovoMondo",
|
"productName": "ComunitaNuovoMondo",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8083 APP_VERSION='1.2.59' quasar dev",
|
"dev": "PORT=8083 APP_VERSION='1.2.62' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production quasar build -m pwa",
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8093 APP_VERSION='1.2.59' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8093 APP_VERSION='1.2.62' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8083 APP_VERSION='1.2.59' quasar dev",
|
"spa": "NODE_ENV=development PORT=8083 APP_VERSION='1.2.62' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "freeplanet",
|
"name": "freeplanet",
|
||||||
"version": "1.2.59",
|
"version": "1.2.62",
|
||||||
"description": "freeplanet",
|
"description": "freeplanet",
|
||||||
"productName": "freeplanet",
|
"productName": "freeplanet",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
@@ -9,11 +9,11 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8087 APP_VERSION='1.2.59' quasar dev",
|
"dev": "PORT=8087 APP_VERSION='1.2.62' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.62' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.62' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "quasar build -m spa",
|
"buildspa": "quasar build -m spa",
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8097 APP_VERSION='1.2.59' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8097 APP_VERSION='1.2.62' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8087 APP_VERSION='1.2.59' quasar dev",
|
"spa": "NODE_ENV=development PORT=8087 APP_VERSION='1.2.62' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gruppomacro",
|
"name": "gruppomacro",
|
||||||
"version": "1.2.59",
|
"version": "1.2.62",
|
||||||
"description": "Gruppo Macro",
|
"description": "Gruppo Macro",
|
||||||
"productName": "Gruppo Macro",
|
"productName": "Gruppo Macro",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
@@ -9,20 +9,20 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8089 APP_VERSION='1.2.59' quasar dev",
|
"dev": "PORT=8089 APP_VERSION='1.2.62' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.62' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.62' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "APP_VERSION='1.2.59' quasar build -m spa",
|
"buildspa": "APP_VERSION='1.2.62' quasar build -m spa",
|
||||||
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8099 APP_VERSION='1.2.59' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8099 APP_VERSION='1.2.62' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8089 APP_VERSION='1.2.59' quasar dev",
|
"spa": "NODE_ENV=development PORT=8089 APP_VERSION='1.2.62' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "kolibrilab",
|
"name": "kolibrilab",
|
||||||
"version": "1.2.59",
|
"version": "1.2.62",
|
||||||
"description": "kolibrilab",
|
"description": "kolibrilab",
|
||||||
"productName": "kolibrilab",
|
"productName": "kolibrilab",
|
||||||
"author": "Surya Paolo",
|
"author": "Surya Paolo",
|
||||||
@@ -8,11 +8,11 @@
|
|||||||
"keywords": [],
|
"keywords": [],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8083 APP_VERSION='1.2.59' quasar dev",
|
"dev": "PORT=8083 APP_VERSION='1.2.62' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.62' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.62' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "quasar build -m spa",
|
"buildspa": "quasar build -m spa",
|
||||||
@@ -20,8 +20,8 @@
|
|||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint --ext .ts,.vue --ignore-path .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint --ext .ts,.vue --ignore-path .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8093 APP_VERSION='1.2.59' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8093 APP_VERSION='1.2.62' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8083 APP_VERSION='1.2.59' quasar dev",
|
"spa": "NODE_ENV=development PORT=8083 APP_VERSION='1.2.62' quasar dev",
|
||||||
"spanorefresh": "NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev -m spa",
|
"spanorefresh": "NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev -m spa",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js"
|
"generate-sw": "workbox generateSW workbox-config.js"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nutriben",
|
"name": "nutriben",
|
||||||
"version": "1.2.59",
|
"version": "1.2.62",
|
||||||
"description": "Nutriben",
|
"description": "Nutriben",
|
||||||
"productName": "Nutriben",
|
"productName": "Nutriben",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
@@ -9,20 +9,20 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8093 APP_VERSION='1.2.59' quasar dev",
|
"dev": "PORT=8093 APP_VERSION='1.2.62' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.62' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.62' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "APP_VERSION='1.2.59' quasar build -m spa",
|
"buildspa": "APP_VERSION='1.2.62' quasar build -m spa",
|
||||||
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8099 APP_VERSION='1.2.59' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8099 APP_VERSION='1.2.62' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8093 APP_VERSION='1.2.59' quasar dev",
|
"spa": "NODE_ENV=development PORT=8093 APP_VERSION='1.2.62' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "piuchebuono",
|
"name": "piuchebuono",
|
||||||
"version": "1.2.59",
|
"version": "1.2.62",
|
||||||
"description": "PiuCheBuono",
|
"description": "PiuCheBuono",
|
||||||
"productName": "PiuCheBuono",
|
"productName": "PiuCheBuono",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
@@ -9,11 +9,11 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8085 APP_VERSION='1.2.59' quasar dev",
|
"dev": "PORT=8085 APP_VERSION='1.2.62' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.62' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.62' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "quasar build -m spa",
|
"buildspa": "quasar build -m spa",
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8085 APP_VERSION='1.2.59' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8085 APP_VERSION='1.2.62' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8085 APP_VERSION='1.2.59' quasar dev",
|
"spa": "NODE_ENV=development PORT=8085 APP_VERSION='1.2.62' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "riso",
|
"name": "riso",
|
||||||
"version": "1.2.59",
|
"version": "1.2.62",
|
||||||
"description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.",
|
"description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.",
|
||||||
"productName": "Riso",
|
"productName": "Riso",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
@@ -9,11 +9,11 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "APP_VERSION='1.2.59' PORT=8084 quasar dev",
|
"dev": "APP_VERSION='1.2.62' PORT=8084 quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.62' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.62' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "quasar build -m spa",
|
"buildspa": "quasar build -m spa",
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8094 APP_VERSION='1.2.59' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8094 APP_VERSION='1.2.62' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8084 APP_VERSION='1.2.59' quasar dev",
|
"spa": "NODE_ENV=development PORT=8084 APP_VERSION='1.2.62' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/* global workbox */
|
/* global workbox */
|
||||||
/* global cfgenv */
|
/* global cfgenv */
|
||||||
|
|
||||||
const VITE_APP_VERSION = '1.2.59';
|
const VITE_APP_VERSION = '1.2.62';
|
||||||
|
|
||||||
// Costanti di configurazione
|
// Costanti di configurazione
|
||||||
const DYNAMIC_CACHE = 'dynamic-cache-v2';
|
const DYNAMIC_CACHE = 'dynamic-cache-v2';
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ const SW_FILE = `/${import.meta.env.VITE_SERVICE_WORKER_FILE}`;
|
|||||||
console.log('SWFILE: ', SW_FILE);
|
console.log('SWFILE: ', SW_FILE);
|
||||||
|
|
||||||
register(SW_FILE, {
|
register(SW_FILE, {
|
||||||
|
updateViaCache: 'none',
|
||||||
scope: '/',
|
scope: '/',
|
||||||
/************* ✨ Codeium Command ⭐ *************/
|
/************* ✨ Codeium Command ⭐ *************/
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -180,37 +180,72 @@
|
|||||||
|
|
||||||
<q-card-actions
|
<q-card-actions
|
||||||
align="center"
|
align="center"
|
||||||
class="q-mt-auto q-mx-auto q-mb-sm"
|
class="q-mt-auto q-mx-auto q-mb-xs"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="myrec.pdf_online"
|
v-if="myrec.pdf_online"
|
||||||
unelevated
|
unelevated
|
||||||
rounded
|
rounded
|
||||||
color="primary"
|
color="primary"
|
||||||
icon="fas fa-file-pdf"
|
icon="fas fa-external-link-alt"
|
||||||
:label="`Apri PDF`"
|
:label="`Apri`"
|
||||||
:href="tools.getURLByHostAndFilePath(myrec.pdf_online, myrec.data_online ? (new Date(myrec.data_online)).getTime() : undefined)"
|
@click="naviga(pagina_collegata)"
|
||||||
size="md"
|
size="md"
|
||||||
class="hover-lift"
|
class="hover-lift q-mx-sm"
|
||||||
|
padding="sm"
|
||||||
/>
|
/>
|
||||||
<q-btn
|
<q-fab
|
||||||
v-if="myrec.pdf_online"
|
v-if="myrec.pdf_online"
|
||||||
unelevated
|
color="accent"
|
||||||
rounded
|
icon="fas fa-file-pdf"
|
||||||
color="primary"
|
label="PDF"
|
||||||
icon="download"
|
direction="up"
|
||||||
:label="`Scarica PDF`"
|
dense
|
||||||
:href="tools.getURLByHostAndFilePath(myrec.pdf_online, myrec.data_online ? (new Date(myrec.data_online)).getTime() : undefined)"
|
|
||||||
download
|
|
||||||
size="md"
|
size="md"
|
||||||
class="hover-lift"
|
padding="sm"
|
||||||
/>
|
>
|
||||||
|
<a
|
||||||
|
:href="
|
||||||
|
tools.getURLByHostAndFilePath(
|
||||||
|
myrec.pdf_online,
|
||||||
|
myrec.data_online ? new Date(myrec.data_online).getTime() : undefined
|
||||||
|
)
|
||||||
|
"
|
||||||
|
download
|
||||||
|
>
|
||||||
|
<q-fab-action
|
||||||
|
icon="download"
|
||||||
|
color="positive"
|
||||||
|
label="Scarica PDF"
|
||||||
|
size="md"
|
||||||
|
class="hover-lift"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
:href="
|
||||||
|
tools.getURLByHostAndFilePath(
|
||||||
|
myrec.pdf_online,
|
||||||
|
myrec.data_online ? new Date(myrec.data_online).getTime() : undefined
|
||||||
|
)
|
||||||
|
"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
<q-fab-action
|
||||||
|
icon="fas fa-file-pdf"
|
||||||
|
label="Leggi PDF"
|
||||||
|
color="primary"
|
||||||
|
size="md"
|
||||||
|
class="hover-lift"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</q-fab>
|
||||||
<q-fab
|
<q-fab
|
||||||
v-if="!tools.isUtente() && dettagli"
|
v-if="!tools.isUtente() && dettagli"
|
||||||
color="primary"
|
color="primary"
|
||||||
icon="fas fa-caret-down"
|
icon="fas fa-caret-down"
|
||||||
label="Menu"
|
label="Menu"
|
||||||
direction="up"
|
direction="up"
|
||||||
|
outlined
|
||||||
flat
|
flat
|
||||||
dense
|
dense
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -62,26 +62,39 @@
|
|||||||
>
|
>
|
||||||
aggiornato al ({{ tools.getstrDate(myrec.data_online_stampa) }})
|
aggiornato al ({{ tools.getstrDate(myrec.data_online_stampa) }})
|
||||||
</div>
|
</div>
|
||||||
<div
|
|
||||||
v-if="!tools.isUtente() && dettagli"
|
|
||||||
class="text-caption text-h7 text-grey q-pb-xs"
|
|
||||||
>
|
|
||||||
<q-icon name="fas fa-list" /> Lista generata il:
|
|
||||||
<span :class="`text-` + (tools.isDateValid(myrec.data_lista_generata) ? 'blue' : 'red')"
|
|
||||||
>{{ tools.getstrDate(myrec.data_lista_generata) || '(non ancora generata)' }} da
|
|
||||||
{{ myrec.username_lista_generata }}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<!--<div class="text-overline text-orange-9">{{collanestr}}</div>-->
|
<!--<div class="text-overline text-orange-9">{{collanestr}}</div>-->
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
|
||||||
<q-card-actions
|
<q-card-actions
|
||||||
v-if="!tools.isUtente() && dettagli"
|
|
||||||
align="center"
|
align="center"
|
||||||
class="q-mt-auto q-mx-auto q-mb-sm"
|
class="q-mt-auto q-mx-auto q-mb-sm"
|
||||||
>
|
>
|
||||||
|
<q-btn
|
||||||
|
v-if="myrec.pdf_online"
|
||||||
|
unelevated
|
||||||
|
rounded
|
||||||
|
color="primary"
|
||||||
|
icon="fas fa-file-pdf"
|
||||||
|
:label="`Apri PDF`"
|
||||||
|
:href="tools.getURLByHostAndFilePath(myrec.pdf_online, myrec.data_online ? (new Date(myrec.data_online)).getTime() : undefined)"
|
||||||
|
size="md"
|
||||||
|
class="hover-lift"
|
||||||
|
/>
|
||||||
|
<q-btn
|
||||||
|
v-if="myrec.pdf_online"
|
||||||
|
unelevated
|
||||||
|
rounded
|
||||||
|
color="primary"
|
||||||
|
icon="download"
|
||||||
|
:label="`Scarica PDF`"
|
||||||
|
:href="tools.getURLByHostAndFilePath(myrec.pdf_online, myrec.data_online ? (new Date(myrec.data_online)).getTime() : undefined)"
|
||||||
|
download
|
||||||
|
size="md"
|
||||||
|
class="hover-lift"
|
||||||
|
/>
|
||||||
<q-fab
|
<q-fab
|
||||||
|
v-if="!tools.isUtente() && dettagli"
|
||||||
color="primary"
|
color="primary"
|
||||||
icon="fas fa-caret-down"
|
icon="fas fa-caret-down"
|
||||||
label="Menu"
|
label="Menu"
|
||||||
|
|||||||
@@ -151,9 +151,12 @@ export default defineComponent({
|
|||||||
),
|
),
|
||||||
{ deep: true };
|
{ deep: true };
|
||||||
|
|
||||||
watch(() => searchText.value, () => {
|
watch(
|
||||||
searchProducts();
|
() => searchText.value,
|
||||||
});
|
() => {
|
||||||
|
searchProducts();
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
const allColumns = ref([]);
|
const allColumns = ref([]);
|
||||||
|
|
||||||
@@ -178,6 +181,7 @@ export default defineComponent({
|
|||||||
edit: true,
|
edit: true,
|
||||||
noexp: true,
|
noexp: true,
|
||||||
notsortable: true,
|
notsortable: true,
|
||||||
|
visu: costanti.VISUCAMPI.PER_EDITORE,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'drag',
|
name: 'drag',
|
||||||
@@ -188,6 +192,7 @@ export default defineComponent({
|
|||||||
edit: true,
|
edit: true,
|
||||||
noexp: true,
|
noexp: true,
|
||||||
notsortable: true,
|
notsortable: true,
|
||||||
|
visu: costanti.VISUCAMPI.PER_LOGGATI,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'image',
|
name: 'image',
|
||||||
@@ -296,6 +301,7 @@ export default defineComponent({
|
|||||||
edit: true,
|
edit: true,
|
||||||
noexp: true,
|
noexp: true,
|
||||||
notsortable: true,
|
notsortable: true,
|
||||||
|
visu: costanti.VISUCAMPI.PER_EDITORE,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'drag',
|
name: 'drag',
|
||||||
@@ -306,6 +312,7 @@ export default defineComponent({
|
|||||||
edit: true,
|
edit: true,
|
||||||
noexp: true,
|
noexp: true,
|
||||||
notsortable: true,
|
notsortable: true,
|
||||||
|
visu: costanti.VISUCAMPI.PER_LOGGATI,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'validato',
|
name: 'validato',
|
||||||
@@ -346,6 +353,7 @@ export default defineComponent({
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
noexp: true,
|
noexp: true,
|
||||||
notsortable: true,
|
notsortable: true,
|
||||||
|
visu: costanti.VISUCAMPI.PER_LOGGATI,
|
||||||
},
|
},
|
||||||
{ name: 'name', label: 'Titolo', field: 'name', align: 'left' },
|
{ name: 'name', label: 'Titolo', field: 'name', align: 'left' },
|
||||||
{
|
{
|
||||||
@@ -396,13 +404,13 @@ export default defineComponent({
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{ name: 'pagine', label: 'Pag.', field: 'pagine', align: 'right' },
|
{ name: 'pagine', label: 'Pag.', field: 'pagine', align: 'right' },
|
||||||
{ name: 'prezzo', label: '€', field: 'prezzo', align: 'right' },
|
{ name: 'prezzo', label: 'Prezzo Intero', field: 'prezzo', align: 'right' },
|
||||||
{
|
/*{
|
||||||
name: 'prezzo_sconto',
|
name: 'prezzo_sconto',
|
||||||
label: '€ (sconto)',
|
label: '€ (sconto)',
|
||||||
field: 'prezzo_sconto',
|
field: 'prezzo_sconto',
|
||||||
align: 'right',
|
align: 'right',
|
||||||
},
|
},*/
|
||||||
{
|
{
|
||||||
name: 'date_pub',
|
name: 'date_pub',
|
||||||
label: 'Pubblicato',
|
label: 'Pubblicato',
|
||||||
@@ -464,7 +472,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'quantity',
|
name: 'quantity',
|
||||||
label: 'Magazz.',
|
label: 'Disponib.',
|
||||||
field: 'quantity',
|
field: 'quantity',
|
||||||
align: 'right',
|
align: 'right',
|
||||||
},
|
},
|
||||||
@@ -484,7 +492,8 @@ export default defineComponent({
|
|||||||
(col) =>
|
(col) =>
|
||||||
!col.visu ||
|
!col.visu ||
|
||||||
col.visu === costanti.VISUCAMPI.PER_TUTTI ||
|
col.visu === costanti.VISUCAMPI.PER_TUTTI ||
|
||||||
(col.visu === costanti.VISUCAMPI.PER_EDITORE && tools.isCollaboratore())
|
(col.visu === costanti.VISUCAMPI.PER_EDITORE && tools.isCollaboratore()) ||
|
||||||
|
(col.visu === costanti.VISUCAMPI.PER_LOGGATI && tools.isLogged())
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -542,7 +551,7 @@ export default defineComponent({
|
|||||||
loading.value = false;
|
loading.value = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getFieldValue(element: any, field: any): any {
|
function getFieldValue(element: any, field: any, colexport: boolean = false): any {
|
||||||
if (!element) return '';
|
if (!element) return '';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -664,11 +673,13 @@ export default defineComponent({
|
|||||||
|
|
||||||
case 'prezzo':
|
case 'prezzo':
|
||||||
// return element.price ? '€ ' + element.price.toFixed(2) : '';
|
// return element.price ? '€ ' + element.price.toFixed(2) : '';
|
||||||
return '€ ' + element.arrvariazioni?.[0]?.price?.toFixed(2);
|
const add = colexport ? '' : ' '
|
||||||
|
return '€' + add + element.arrvariazioni?.[0]?.price?.toFixed(2);
|
||||||
|
|
||||||
case 'prezzo_sconto':
|
case 'prezzo_sconto':
|
||||||
|
const add2 = colexport ? '' : ' '
|
||||||
// return element.sale_price ? '€ ' + element.sale_price.toFixed(2) : '';
|
// return element.sale_price ? '€ ' + element.sale_price.toFixed(2) : '';
|
||||||
return '€ ' + element.arrvariazioni?.[0]?.sale_price?.toFixed(2);
|
return '€' + add2 + element.arrvariazioni?.[0]?.sale_price?.toFixed(2);
|
||||||
|
|
||||||
case 'rank3M':
|
case 'rank3M':
|
||||||
return element.productInfo?.rank3M;
|
return element.productInfo?.rank3M;
|
||||||
@@ -884,10 +895,9 @@ export default defineComponent({
|
|||||||
|
|
||||||
const faiConfronto = () => {
|
const faiConfronto = () => {
|
||||||
return (
|
return (
|
||||||
Array.isArray(props.lista_prod_confronto) &&
|
Array.isArray(props.lista_prod_confronto) && props.lista_prod_confronto.length > 0
|
||||||
props.lista_prod_confronto.length > 0
|
|
||||||
);
|
);
|
||||||
}
|
};
|
||||||
|
|
||||||
// 3. Funzione per verificare se una colonna è visibile (isColumnVisible)
|
// 3. Funzione per verificare se una colonna è visibile (isColumnVisible)
|
||||||
const isColumnVisible = (column: string, real?: boolean, element?: any) => {
|
const isColumnVisible = (column: string, real?: boolean, element?: any) => {
|
||||||
@@ -915,7 +925,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
if (column === 'addtolist') {
|
if (column === 'addtolist') {
|
||||||
if (!faiConfronto()) {
|
if (!faiConfronto()) {
|
||||||
ok = false
|
ok = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -923,7 +933,7 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
|
|
||||||
function isElementVisible(col: string, element: any) {
|
function isElementVisible(col: string, element: any) {
|
||||||
let ok = true
|
let ok = true;
|
||||||
|
|
||||||
if (col === 'addtolist') {
|
if (col === 'addtolist') {
|
||||||
if (
|
if (
|
||||||
@@ -935,7 +945,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return ok
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
const getColumnLabelByName = (name: string): string => {
|
const getColumnLabelByName = (name: string): string => {
|
||||||
@@ -1193,7 +1203,7 @@ export default defineComponent({
|
|||||||
const field = { field: col };
|
const field = { field: col };
|
||||||
return field.field === 'pos'
|
return field.field === 'pos'
|
||||||
? internalProducts.value.indexOf(product) + 1
|
? internalProducts.value.indexOf(product) + 1
|
||||||
: getFieldValue(product, field);
|
: getFieldValue(product, field, true);
|
||||||
})
|
})
|
||||||
.join('|');
|
.join('|');
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -19,7 +19,10 @@
|
|||||||
:key="index"
|
:key="index"
|
||||||
>
|
>
|
||||||
<CMySelect
|
<CMySelect
|
||||||
v-if="item.type === costanti.FieldType.select || item.type === costanti.FieldType.select_by_server"
|
v-if="
|
||||||
|
item.type === costanti.FieldType.select ||
|
||||||
|
item.type === costanti.FieldType.select_by_server
|
||||||
|
"
|
||||||
:col="fieldsTable.getColByColumns(mycolumns, item.key)"
|
:col="fieldsTable.getColByColumns(mycolumns, item.key)"
|
||||||
:label="item.value && item.value._id > 0 ? undefined : labelcombo(item)"
|
:label="item.value && item.value._id > 0 ? undefined : labelcombo(item)"
|
||||||
v-model:value="item.value"
|
v-model:value="item.value"
|
||||||
@@ -29,7 +32,9 @@
|
|||||||
:addnone="item.addnone"
|
:addnone="item.addnone"
|
||||||
:focus="focus"
|
:focus="focus"
|
||||||
:addlast="true"
|
:addlast="true"
|
||||||
:tablesel="item.type === costanti.FieldType.select_by_server ? item.tablesel : ''"
|
:tablesel="
|
||||||
|
item.type === costanti.FieldType.select_by_server ? item.tablesel : ''
|
||||||
|
"
|
||||||
:pickup="item.type === costanti.FieldType.select_by_server"
|
:pickup="item.type === costanti.FieldType.select_by_server"
|
||||||
color="primary"
|
color="primary"
|
||||||
myclass=""
|
myclass=""
|
||||||
@@ -69,6 +74,27 @@
|
|||||||
dense
|
dense
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row justify-center q-ma-md">
|
||||||
|
<div v-if="visu === shared_consts.VISU_SEARCHPROD_MODE.INSERT">
|
||||||
|
<q-btn
|
||||||
|
rounded
|
||||||
|
class="q-ma-sm"
|
||||||
|
color="secondary"
|
||||||
|
icon="fas fa-plus"
|
||||||
|
label="Inserisci"
|
||||||
|
@click="insertProd"
|
||||||
|
></q-btn>
|
||||||
|
<!-- Button Close window -->
|
||||||
|
<q-btn
|
||||||
|
rounded
|
||||||
|
class="q-ma-sm"
|
||||||
|
color="primary"
|
||||||
|
icon="fas fa-times-circle"
|
||||||
|
label="Chiudi"
|
||||||
|
@click="clickClose"
|
||||||
|
></q-btn>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="myproduct?._id && optcatalogo.arrSchede?.length > 0"
|
v-if="myproduct?._id && optcatalogo.arrSchede?.length > 0"
|
||||||
@@ -91,29 +117,6 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="column text-center">
|
|
||||||
<div class="row justify-center q-ma-md">
|
|
||||||
<div v-if="visu === shared_consts.VISU_SEARCHPROD_MODE.INSERT">
|
|
||||||
<q-btn
|
|
||||||
rounded
|
|
||||||
class="q-ma-sm"
|
|
||||||
color="secondary"
|
|
||||||
icon="fas fa-plus"
|
|
||||||
label="Inserisci"
|
|
||||||
@click="insertProd"
|
|
||||||
></q-btn>
|
|
||||||
<!-- Button Close window -->
|
|
||||||
<q-btn
|
|
||||||
rounded
|
|
||||||
class="q-ma-sm"
|
|
||||||
color="primary"
|
|
||||||
icon="fas fa-times-circle"
|
|
||||||
label="Chiudi"
|
|
||||||
@click="clickClose"
|
|
||||||
></q-btn>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -553,6 +553,7 @@ export const costanti = {
|
|||||||
PER_TUTTI: 0,
|
PER_TUTTI: 0,
|
||||||
PER_EDITORE: 1,
|
PER_EDITORE: 1,
|
||||||
PER_ADMIN: 16,
|
PER_ADMIN: 16,
|
||||||
|
PER_LOGGATI: 32,
|
||||||
},
|
},
|
||||||
|
|
||||||
OP_ANDOR: {
|
OP_ANDOR: {
|
||||||
|
|||||||
@@ -8271,7 +8271,7 @@ export const tools = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getFullFileName(
|
getFullFileName(
|
||||||
arrimage: IImgGallery[],
|
arrimage: IImgGallery[] | IImg[],
|
||||||
table: string,
|
table: string,
|
||||||
username: string,
|
username: string,
|
||||||
groupname: string
|
groupname: string
|
||||||
@@ -8942,7 +8942,7 @@ export const tools = {
|
|||||||
} else if (table === 'catalogs') {
|
} else if (table === 'catalogs') {
|
||||||
ris = 'catalogs/' + id;
|
ris = 'catalogs/' + id;
|
||||||
} else if (table === 'raccoltacataloghis') {
|
} else if (table === 'raccoltacataloghis') {
|
||||||
ris = 'raccoltacatalogs/' + id;
|
ris = 'raccoltacataloghis/' + id;
|
||||||
} else if (!!myrow && !!myrow.directory) {
|
} else if (!!myrow && !!myrow.directory) {
|
||||||
ris = myrow.directory;
|
ris = myrow.directory;
|
||||||
} else if (table === 'myelems') {
|
} else if (table === 'myelems') {
|
||||||
@@ -11099,7 +11099,7 @@ export const tools = {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getURLByHostAndFilePath(filepath: string, timestamp: string = '') {
|
getURLByHostAndFilePath(filepath: string, timestamp: number = 0) {
|
||||||
try {
|
try {
|
||||||
let myurl = filepath.startsWith('/')
|
let myurl = filepath.startsWith('/')
|
||||||
? tools.getHost() + filepath
|
? tools.getHost() + filepath
|
||||||
|
|||||||
@@ -96,7 +96,8 @@ body {
|
|||||||
text-align: justify;
|
text-align: justify;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
|
||||||
hyphens: auto; /* Sillabazione automatica */
|
hyphens: auto;
|
||||||
|
/* Sillabazione automatica */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -116,7 +117,7 @@ body {
|
|||||||
font-size: calc(17 * var(--scalecatalogx) * 1px);
|
font-size: calc(17 * var(--scalecatalogx) * 1px);
|
||||||
height: calc(380 * var(--scalecatalogy) * 1px);
|
height: calc(380 * var(--scalecatalogy) * 1px);
|
||||||
line-height: 130%;
|
line-height: 130%;
|
||||||
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
@@ -124,7 +125,8 @@ body {
|
|||||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||||
text-shadow: 1px 1px 2px black;
|
text-shadow: 1px 1px 2px black;
|
||||||
|
|
||||||
overflow: hidden; /* Nasconde il testo che esce dalla height fissa */
|
overflow: hidden;
|
||||||
|
/* Nasconde il testo che esce dalla height fissa */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -240,7 +242,7 @@ body {
|
|||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-link{
|
.text-link {
|
||||||
font-family: 'Arial', sans-serif;
|
font-family: 'Arial', sans-serif;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
color: #1a3f8a;
|
color: #1a3f8a;
|
||||||
@@ -252,8 +254,13 @@ body {
|
|||||||
color: #5c8ef4;
|
color: #5c8ef4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.clCondiz {
|
.clCondiz {
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title_Catalogo {
|
||||||
|
text-shadow: 1px 1px 2px black;
|
||||||
}
|
}
|
||||||
@@ -213,7 +213,11 @@ export default defineComponent({
|
|||||||
});
|
});
|
||||||
|
|
||||||
const onlyCatalogoPDF = computed(() => {
|
const onlyCatalogoPDF = computed(() => {
|
||||||
return optcatalogo.value.showOnlyCatalogoPDF;
|
return optcatalogo.value.showOnlyCatalogoPDF || $route.query?.hideHeader;
|
||||||
|
});
|
||||||
|
|
||||||
|
const mostraTuttiITab = computed(() => {
|
||||||
|
return !onlyCatalogoPDF.value;
|
||||||
});
|
});
|
||||||
|
|
||||||
const showListaFiltrata = computed(() => {
|
const showListaFiltrata = computed(() => {
|
||||||
@@ -577,6 +581,15 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function esistePagIntroduttiva(): boolean {
|
||||||
|
for (const recscheda of optcatalogo.value.arrSchede!) {
|
||||||
|
if (recscheda.scheda?.isPagIntro) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
const getImgIntroCatalogo = (scheda: IMyScheda): IImg => {
|
const getImgIntroCatalogo = (scheda: IMyScheda): IImg => {
|
||||||
const trovatocatalogo = myCatalog.value;
|
const trovatocatalogo = myCatalog.value;
|
||||||
|
|
||||||
@@ -1003,7 +1016,7 @@ export default defineComponent({
|
|||||||
return arrris;
|
return arrris;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function calcArrProducts(generalista?: boolean, salva_listatemp: boolean) {
|
async function calcArrProducts(generalista?: boolean, salva_listatemp?: boolean) {
|
||||||
// console.log('calcArrProducts (generalista=' + generalista + ')');
|
// console.log('calcArrProducts (generalista=' + generalista + ')');
|
||||||
|
|
||||||
if (generalista) {
|
if (generalista) {
|
||||||
@@ -1139,7 +1152,7 @@ export default defineComponent({
|
|||||||
await globalStore.saveTable(mydata);
|
await globalStore.saveTable(mydata);
|
||||||
}
|
}
|
||||||
|
|
||||||
function generaListaLibri() {
|
async function generaListaLibri() {
|
||||||
// chiedi prima "Sei sicuro di rigenerare il catalogo?"
|
// chiedi prima "Sei sicuro di rigenerare il catalogo?"
|
||||||
let risposta_si = false;
|
let risposta_si = false;
|
||||||
|
|
||||||
@@ -1154,16 +1167,27 @@ export default defineComponent({
|
|||||||
message: msg,
|
message: msg,
|
||||||
cancel: true,
|
cancel: true,
|
||||||
persistent: false,
|
persistent: false,
|
||||||
}).onOk(() => {
|
}).onOk(async () => {
|
||||||
calcArrProducts(true);
|
$q.loading.show({
|
||||||
|
message: `Rigenera lista in corso, attendere ...`,
|
||||||
|
});
|
||||||
|
|
||||||
|
await calcArrProducts(true);
|
||||||
|
$q.loading.hide();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function generaListaTempLibri() {
|
async function generaListaTempLibri() {
|
||||||
// chiedi prima "Sei sicuro di rigenerare il catalogo?"
|
// chiedi prima "Sei sicuro di rigenerare il catalogo?"
|
||||||
let risposta_si = false;
|
let risposta_si = false;
|
||||||
|
|
||||||
calcArrProducts(true, true);
|
$q.loading.show({
|
||||||
|
message: `Mostra lista, attendere ...`,
|
||||||
|
});
|
||||||
|
|
||||||
|
await calcArrProducts(true, true);
|
||||||
|
|
||||||
|
$q.loading.hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
function reSortList() {
|
function reSortList() {
|
||||||
@@ -1586,9 +1610,13 @@ export default defineComponent({
|
|||||||
// controlla se è stato passato l'id dalla pagina:
|
// controlla se è stato passato l'id dalla pagina:
|
||||||
let idcatsel = '';
|
let idcatsel = '';
|
||||||
|
|
||||||
if ($route.query.id) idcatsel = $route.query.id as string;
|
if ($route.query.id) {
|
||||||
if ($route.query.stampa) instampa = $route.query.stampa === '1';
|
idcatsel = $route.query.id as string;
|
||||||
else idcatsel = optcatalogo.value.idCatalogSel;
|
} else {
|
||||||
|
idcatsel = optcatalogo.value.idCatalogSel;
|
||||||
|
}
|
||||||
|
|
||||||
|
instampa = $route.query?.stampa === '1';
|
||||||
|
|
||||||
mycat = catalogStore.getCatalogById(idcatsel);
|
mycat = catalogStore.getCatalogById(idcatsel);
|
||||||
} else {
|
} else {
|
||||||
@@ -2399,7 +2427,7 @@ export default defineComponent({
|
|||||||
generaPdfCatalogo(true);
|
generaPdfCatalogo(true);
|
||||||
};
|
};
|
||||||
|
|
||||||
const preparePDF = (instampa: boolean, senzachiedere: boolean) => {
|
async function preparePDF(instampa: boolean, senzachiedere = false) {
|
||||||
let str = '';
|
let str = '';
|
||||||
if (instampa) {
|
if (instampa) {
|
||||||
str = 'per la stampa';
|
str = 'per la stampa';
|
||||||
@@ -2416,7 +2444,7 @@ export default defineComponent({
|
|||||||
label: t('dialog.cancel'),
|
label: t('dialog.cancel'),
|
||||||
},
|
},
|
||||||
title: 'Generazione PDF',
|
title: 'Generazione PDF',
|
||||||
}).onOk(async () => {
|
}).onOk(() => {
|
||||||
parti = true;
|
parti = true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -2427,8 +2455,8 @@ export default defineComponent({
|
|||||||
: shared_consts.PREPARA_PDF.WEB;
|
: shared_consts.PREPARA_PDF.WEB;
|
||||||
|
|
||||||
arrProducts.value = [];
|
arrProducts.value = [];
|
||||||
console.log('aggiorna... ');
|
console.log('aggiorna... ', optcatalogo.value.selectedVersionStampabile);
|
||||||
calcArrProducts(false);
|
await calcArrProducts(false);
|
||||||
updateCatalogoPadre();
|
updateCatalogoPadre();
|
||||||
|
|
||||||
optcatalogo.value.generazionePDFInCorso = true;
|
optcatalogo.value.generazionePDFInCorso = true;
|
||||||
@@ -2444,10 +2472,15 @@ export default defineComponent({
|
|||||||
optcatalogo.value.selectedVersionStampabile = instampa
|
optcatalogo.value.selectedVersionStampabile = instampa
|
||||||
? shared_consts.PREPARA_PDF.STAMPA
|
? shared_consts.PREPARA_PDF.STAMPA
|
||||||
: shared_consts.PREPARA_PDF.WEB;
|
: shared_consts.PREPARA_PDF.WEB;
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
'selectedVersionStampabile',
|
||||||
|
optcatalogo.value.selectedVersionStampabile
|
||||||
|
);
|
||||||
}, 500);
|
}, 500);
|
||||||
}, 200);
|
}, 200);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
const terminaPDF = () => {
|
const terminaPDF = () => {
|
||||||
optcatalogo.value.generazionePDFInCorso = false;
|
optcatalogo.value.generazionePDFInCorso = false;
|
||||||
@@ -2806,6 +2839,8 @@ export default defineComponent({
|
|||||||
generaListaTempLibri,
|
generaListaTempLibri,
|
||||||
globalStore,
|
globalStore,
|
||||||
showColorPicker,
|
showColorPicker,
|
||||||
|
mostraTuttiITab,
|
||||||
|
esistePagIntroduttiva,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<q-page>
|
<q-page>
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
v-if="ispageCatalogata && !optcatalogo.showOnlyCatalogoPDF"
|
v-if="ispageCatalogata && mostraTuttiITab"
|
||||||
class="text-bold text-h6 text-center text-blue"
|
class="text-bold text-h6 text-center text-blue"
|
||||||
>
|
>
|
||||||
{{ getTitoloCatalogo() }}
|
{{ getTitoloCatalogo() }}
|
||||||
@@ -10,8 +10,8 @@
|
|||||||
<div
|
<div
|
||||||
v-if="
|
v-if="
|
||||||
ispageCatalogata &&
|
ispageCatalogata &&
|
||||||
!optcatalogo.showOnlyCatalogoPDF &&
|
mostraTuttiITab &&
|
||||||
(tools.isCollaboratore()) &&
|
tools.isCollaboratore() &&
|
||||||
myCatalog?.referenti?.length > 0
|
myCatalog?.referenti?.length > 0
|
||||||
"
|
"
|
||||||
class="text-h7 text-center text-red q-ma-sm"
|
class="text-h7 text-center text-red q-ma-sm"
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
<span class="text-bold">{{ getReferentiCatalogo() }}</span>
|
<span class="text-bold">{{ getReferentiCatalogo() }}</span>
|
||||||
</div>
|
</div>
|
||||||
<q-tabs
|
<q-tabs
|
||||||
v-if="!optcatalogo.showOnlyCatalogoPDF"
|
v-if="mostraTuttiITab"
|
||||||
v-model="tabcatalogo"
|
v-model="tabcatalogo"
|
||||||
dense
|
dense
|
||||||
class="bg-green text-white"
|
class="bg-green text-white"
|
||||||
@@ -142,7 +142,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="!generatinglist && !optcatalogo.showOnlyCatalogoPDF"
|
v-if="!generatinglist && mostraTuttiITab"
|
||||||
class="text-center q-py-sm prod_trov"
|
class="text-center q-py-sm prod_trov"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@@ -183,7 +183,7 @@
|
|||||||
</q-inner-loading>
|
</q-inner-loading>
|
||||||
|
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="!showListaFiltrata && (tools.isCollaboratore())"
|
v-if="!showListaFiltrata && tools.isCollaboratore()"
|
||||||
rounded
|
rounded
|
||||||
icon="fas fa-redo"
|
icon="fas fa-redo"
|
||||||
label="Rigenera Lista"
|
label="Rigenera Lista"
|
||||||
@@ -827,7 +827,7 @@
|
|||||||
<q-tab-panel
|
<q-tab-panel
|
||||||
name="visu"
|
name="visu"
|
||||||
v-if="optcatalogo"
|
v-if="optcatalogo"
|
||||||
:style="{ padding: optcatalogo.showOnlyCatalogoPDF ? '0px !important' : '' }"
|
:style="{ padding: !mostraTuttiITab ? '0px !important' : '' }"
|
||||||
>
|
>
|
||||||
<q-inner-loading
|
<q-inner-loading
|
||||||
id="spinner"
|
id="spinner"
|
||||||
@@ -847,7 +847,7 @@
|
|||||||
v-if="!ismounting"
|
v-if="!ismounting"
|
||||||
class="panel"
|
class="panel"
|
||||||
>
|
>
|
||||||
<div :class="{ container: !optcatalogo.showOnlyCatalogoPDF }">
|
<div :class="{ container: mostraTuttiITab }">
|
||||||
<q-tabs
|
<q-tabs
|
||||||
v-model="tabvisu"
|
v-model="tabvisu"
|
||||||
dense
|
dense
|
||||||
@@ -1065,14 +1065,14 @@
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
class="text-center q-py-sm prod_trov"
|
class="text-center q-py-sm prod_trov"
|
||||||
v-if="!optcatalogo.showOnlyCatalogoPDF"
|
v-if="mostraTuttiITab"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
v-if="
|
v-if="
|
||||||
cat === '' &&
|
cat === '' &&
|
||||||
arrProducts.length === 0 &&
|
arrProducts.length === 0 &&
|
||||||
showListaFiltrata &&
|
showListaFiltrata &&
|
||||||
!optcatalogo.showOnlyCatalogoPDF
|
mostraTuttiITab
|
||||||
"
|
"
|
||||||
class="row justify-center text-h6"
|
class="row justify-center text-h6"
|
||||||
>
|
>
|
||||||
@@ -1148,6 +1148,19 @@
|
|||||||
v-for="(product, index) in arrLoaded"
|
v-for="(product, index) in arrLoaded"
|
||||||
:key="index"
|
:key="index"
|
||||||
>
|
>
|
||||||
|
<div
|
||||||
|
v-if="!esistePagIntroduttiva() && index === 0"
|
||||||
|
class="title_Catalogo text-bold text-h6 text-center text-blue"
|
||||||
|
style="
|
||||||
|
position: absolute;
|
||||||
|
top: 30;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<div>{{ getTitoloCatalogo() }}</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<CContainerCatalogoCard
|
<CContainerCatalogoCard
|
||||||
v-if="
|
v-if="
|
||||||
product.active ||
|
product.active ||
|
||||||
@@ -1198,6 +1211,20 @@
|
|||||||
v-for="(recscheda, schedaIndex) in optcatalogo.arrSchede"
|
v-for="(recscheda, schedaIndex) in optcatalogo.arrSchede"
|
||||||
:key="schedaIndex"
|
:key="schedaIndex"
|
||||||
>
|
>
|
||||||
|
<div
|
||||||
|
v-if="!esistePagIntroduttiva() && schedaIndex === 0"
|
||||||
|
class="title_Catalogo text-bold text-h6 text-center text-blue"
|
||||||
|
style="
|
||||||
|
position: absolute;
|
||||||
|
top: 30;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
z-Index: 1000;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<div>{{ getTitoloCatalogo() }}</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div v-if="recscheda && recscheda.scheda">
|
<div v-if="recscheda && recscheda.scheda">
|
||||||
<!-- Itera sulle pagine -->
|
<!-- Itera sulle pagine -->
|
||||||
<div
|
<div
|
||||||
@@ -1255,10 +1282,7 @@
|
|||||||
icon="fas fa-pencil-alt"
|
icon="fas fa-pencil-alt"
|
||||||
@click="showColorPicker = !showColorPicker"
|
@click="showColorPicker = !showColorPicker"
|
||||||
color="primary"
|
color="primary"
|
||||||
style="
|
style="position: absolute; z-index: 1000"
|
||||||
position: absolute;
|
|
||||||
z-index: 1000;
|
|
||||||
"
|
|
||||||
></q-btn>
|
></q-btn>
|
||||||
|
|
||||||
<q-dialog
|
<q-dialog
|
||||||
|
|||||||
@@ -387,7 +387,7 @@ export default defineComponent({
|
|||||||
id_raccolta: getRaccoltaCataloghiByMyPage.value._id,
|
id_raccolta: getRaccoltaCataloghiByMyPage.value._id,
|
||||||
stampa,
|
stampa,
|
||||||
metti_online: false,
|
metti_online: false,
|
||||||
dir_out: '/upload/raccolte/',
|
dir_out: '/upload/raccoltacataloghis/' + getRaccoltaCataloghiByMyPage.value._id + '/',
|
||||||
};
|
};
|
||||||
const ris = await globalStore.execJoinPDF({ options });
|
const ris = await globalStore.execJoinPDF({ options });
|
||||||
|
|
||||||
|
|||||||
@@ -19,10 +19,9 @@
|
|||||||
>
|
>
|
||||||
</q-tab>
|
</q-tab>
|
||||||
<q-tab
|
<q-tab
|
||||||
v-if="!tools.isUtente()"
|
|
||||||
name="genera"
|
name="genera"
|
||||||
icon="fas fa-book"
|
icon="fas fa-book"
|
||||||
label="Genera"
|
label="PDF Completo"
|
||||||
>
|
>
|
||||||
</q-tab>
|
</q-tab>
|
||||||
</q-tabs>
|
</q-tabs>
|
||||||
@@ -34,6 +33,7 @@
|
|||||||
>
|
>
|
||||||
<q-tab-panel name="lista">
|
<q-tab-panel name="lista">
|
||||||
<q-btn
|
<q-btn
|
||||||
|
v-if="!tools.isUtente()"
|
||||||
rounded
|
rounded
|
||||||
label="Aggiungi"
|
label="Aggiungi"
|
||||||
icon="fas fa-plus"
|
icon="fas fa-plus"
|
||||||
@@ -52,204 +52,363 @@
|
|||||||
</q-tab-panel>
|
</q-tab-panel>
|
||||||
|
|
||||||
<q-tab-panel name="genera">
|
<q-tab-panel name="genera">
|
||||||
<div
|
<div>
|
||||||
v-if="!tools.isUtente()"
|
|
||||||
class="column justify-center"
|
|
||||||
>
|
|
||||||
<div class="row justify-center">
|
<div class="row justify-center">
|
||||||
<q-btn
|
<div
|
||||||
rounded
|
v-if="getRaccoltaCataloghiByMyPage.pdf_online"
|
||||||
label="Rigenera TUTTI i Cataloghi"
|
class="catalog-download-section"
|
||||||
icon="fas fa-redo"
|
>
|
||||||
color="primary"
|
<q-card class="catalog-card shadow-8">
|
||||||
@click="rigeneraTUTTI()"
|
<q-card-section class="text-center">
|
||||||
></q-btn>
|
<q-img
|
||||||
<q-btn
|
:src="
|
||||||
rounded
|
tools.getFullFileName(
|
||||||
label="Online TUTTI i Cataloghi"
|
[getRaccoltaCataloghiByMyPage.foto_raccolta],
|
||||||
icon="fas fa-redo"
|
'raccoltacataloghis',
|
||||||
color="positive"
|
'',
|
||||||
@click="onlineTUTTI()"
|
getRaccoltaCataloghiByMyPage._id
|
||||||
></q-btn>
|
)
|
||||||
</div>
|
"
|
||||||
<br />
|
class="catalog-image"
|
||||||
<div class="row justify-center">
|
height="128px"
|
||||||
<q-btn
|
fit="contain"
|
||||||
rounded
|
style="max-width: 100%"
|
||||||
label="Rigenera TUTTI per STAMPA"
|
/>
|
||||||
icon="fas fa-print"
|
<div class="text-h5 q-mt-sm q-mb-xs">
|
||||||
color="primary"
|
{{ `${getRaccoltaCataloghiByMyPage.title}` }}
|
||||||
@click="rigeneraTUTTI(true)"
|
</div>
|
||||||
></q-btn>
|
<div class="text-caption text-grey-8 text-center q-mt-sm">
|
||||||
<q-btn
|
<div class="row items-center justify-center">
|
||||||
rounded
|
<q-icon
|
||||||
label="Online TUTTI per STAMPA"
|
name="fas fa-file-pdf"
|
||||||
icon="fas fa-redo"
|
size="sm"
|
||||||
color="positive"
|
/>
|
||||||
@click="onlineTUTTI(true)"
|
<span class="q-ml-xs">
|
||||||
></q-btn>
|
{{
|
||||||
</div>
|
getRaccoltaCataloghiByMyPage.pdf_online
|
||||||
|
? `${getRaccoltaCataloghiByMyPage.pdf_online_size} MB`
|
||||||
|
: ''
|
||||||
|
}}
|
||||||
|
</span>
|
||||||
|
<q-icon
|
||||||
|
name="fas fa-clock"
|
||||||
|
size="sm"
|
||||||
|
class="q-ml-sm"
|
||||||
|
/>
|
||||||
|
<span class="q-ml-xs"> Pubblicato il </span>
|
||||||
|
|
||||||
<br /><br />
|
<span class="q-ml-xs">
|
||||||
|
{{
|
||||||
|
getRaccoltaCataloghiByMyPage.pdf_online
|
||||||
|
? tools.getstrDate(getRaccoltaCataloghiByMyPage.data_online)
|
||||||
|
: ''
|
||||||
|
}}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</q-card-section>
|
||||||
|
|
||||||
<div class="row justify-center">
|
<q-card-actions
|
||||||
<q-btn
|
align="center"
|
||||||
v-if="!optcatalogo.generazionePDFInCorso"
|
class="q-pb-md"
|
||||||
:label="`GENERA PDF ` + getTitoloRaccolta()"
|
>
|
||||||
color="red"
|
<q-btn
|
||||||
@click="preparePDF(false)"
|
v-if="getRaccoltaCataloghiByMyPage.pdf_online"
|
||||||
rounded
|
unelevated
|
||||||
></q-btn>
|
rounded
|
||||||
<q-btn
|
color="primary"
|
||||||
v-if="!optcatalogo.generazionePDFInCorso"
|
icon="fas fa-file-pdf"
|
||||||
:label="`GENERA PDF ${getTitoloRaccolta()} per STAMPA`"
|
:label="`Apri PDF`"
|
||||||
@click="preparePDF(true)"
|
:href="
|
||||||
color="orange"
|
tools.getURLByHostAndFilePath(
|
||||||
rounded
|
getRaccoltaCataloghiByMyPage.pdf_online,
|
||||||
></q-btn>
|
getRaccoltaCataloghiByMyPage.data_online
|
||||||
<q-btn
|
? new Date(getRaccoltaCataloghiByMyPage.data_online).getTime()
|
||||||
v-if="optcatalogo.generazionePDFInCorso"
|
: undefined
|
||||||
:label="`Termina Generazione`"
|
)
|
||||||
@click="terminaPDF"
|
"
|
||||||
></q-btn>
|
size="md"
|
||||||
|
class="hover-lift"
|
||||||
|
/>
|
||||||
|
<q-btn
|
||||||
|
v-if="getRaccoltaCataloghiByMyPage.pdf_online"
|
||||||
|
unelevated
|
||||||
|
rounded
|
||||||
|
color="primary"
|
||||||
|
icon="download"
|
||||||
|
:label="`Scarica PDF`"
|
||||||
|
:href="
|
||||||
|
tools.getURLByHostAndFilePath(
|
||||||
|
getRaccoltaCataloghiByMyPage.pdf_online,
|
||||||
|
getRaccoltaCataloghiByMyPage.data_online
|
||||||
|
? new Date(getRaccoltaCataloghiByMyPage.data_online).getTime()
|
||||||
|
: undefined
|
||||||
|
)
|
||||||
|
"
|
||||||
|
download
|
||||||
|
size="md"
|
||||||
|
class="hover-lift"
|
||||||
|
/>
|
||||||
|
</q-card-actions>
|
||||||
|
</q-card>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
v-if="
|
||||||
|
tools.isCollStampa() && getRaccoltaCataloghiByMyPage.pdf_online_stampa
|
||||||
|
"
|
||||||
|
class="catalog-download-section"
|
||||||
|
>
|
||||||
|
<q-card class="catalog-card shadow-8">
|
||||||
|
<q-card-section class="text-center">
|
||||||
|
<q-img
|
||||||
|
:src="
|
||||||
|
tools.getFullFileName(
|
||||||
|
[getRaccoltaCataloghiByMyPage.foto_raccolta],
|
||||||
|
'raccoltacataloghis',
|
||||||
|
'',
|
||||||
|
getRaccoltaCataloghiByMyPage._id
|
||||||
|
)
|
||||||
|
"
|
||||||
|
class="catalog-image"
|
||||||
|
height="128px"
|
||||||
|
fit="contain"
|
||||||
|
style="max-width: 100%"
|
||||||
|
/>
|
||||||
|
<div class="text-h5 q-mt-sm q-mb-xs">Versione per STAMPA</div>
|
||||||
|
<div class="text-caption text-grey-8 text-center q-mt-sm">
|
||||||
|
<div class="row items-center justify-center">
|
||||||
|
<q-icon
|
||||||
|
name="fas fa-print"
|
||||||
|
size="sm"
|
||||||
|
/>
|
||||||
|
<span class="q-ml-xs">
|
||||||
|
{{
|
||||||
|
getRaccoltaCataloghiByMyPage.pdf_online
|
||||||
|
? `${getRaccoltaCataloghiByMyPage.pdf_online_stampa_size} MB`
|
||||||
|
: ''
|
||||||
|
}}
|
||||||
|
</span>
|
||||||
|
<q-icon
|
||||||
|
name="fas fa-clock"
|
||||||
|
size="sm"
|
||||||
|
class="q-ml-sm"
|
||||||
|
/>
|
||||||
|
<span class="q-ml-xs"> Pubblicato il </span>
|
||||||
|
|
||||||
|
<span class="q-ml-xs">
|
||||||
|
{{
|
||||||
|
getRaccoltaCataloghiByMyPage.pdf_online_stampa
|
||||||
|
? tools.getstrDate(
|
||||||
|
getRaccoltaCataloghiByMyPage.data_online_stampa
|
||||||
|
)
|
||||||
|
: ''
|
||||||
|
}}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</q-card-section>
|
||||||
|
|
||||||
|
<q-card-actions
|
||||||
|
align="center"
|
||||||
|
class="q-pb-md"
|
||||||
|
>
|
||||||
|
<q-btn
|
||||||
|
v-if="getRaccoltaCataloghiByMyPage.pdf_online_stampa"
|
||||||
|
unelevated
|
||||||
|
rounded
|
||||||
|
color="primary"
|
||||||
|
icon="fas fa-file-pdf"
|
||||||
|
:label="`Apri PDF`"
|
||||||
|
:href="
|
||||||
|
tools.getURLByHostAndFilePath(
|
||||||
|
getRaccoltaCataloghiByMyPage.pdf_online_stampa,
|
||||||
|
getRaccoltaCataloghiByMyPage.data_online_stampa
|
||||||
|
? new Date(
|
||||||
|
getRaccoltaCataloghiByMyPage.data_online_stampa
|
||||||
|
).getTime()
|
||||||
|
: undefined
|
||||||
|
)
|
||||||
|
"
|
||||||
|
size="md"
|
||||||
|
class="hover-lift"
|
||||||
|
/>
|
||||||
|
<q-btn
|
||||||
|
v-if="getRaccoltaCataloghiByMyPage.pdf_online_stampa"
|
||||||
|
unelevated
|
||||||
|
rounded
|
||||||
|
color="primary"
|
||||||
|
icon="download"
|
||||||
|
:label="`Scarica PDF`"
|
||||||
|
:href="
|
||||||
|
tools.getURLByHostAndFilePath(
|
||||||
|
getRaccoltaCataloghiByMyPage.pdf_online_stampa,
|
||||||
|
getRaccoltaCataloghiByMyPage.data_online_stampa
|
||||||
|
? new Date(
|
||||||
|
getRaccoltaCataloghiByMyPage.data_online_stampa
|
||||||
|
).getTime()
|
||||||
|
: undefined
|
||||||
|
)
|
||||||
|
"
|
||||||
|
download
|
||||||
|
size="md"
|
||||||
|
class="hover-lift"
|
||||||
|
/>
|
||||||
|
</q-card-actions>
|
||||||
|
</q-card>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div v-if="!tools.isUtente()">
|
||||||
v-if="getRaccoltaCataloghiByMyPage?.pdf_generato"
|
<div
|
||||||
class="bg-green-1 q-ma-sm q-pa-sm"
|
v-if="!tools.isUtente()"
|
||||||
>
|
class="column justify-center"
|
||||||
<div class="bg-blue-1 text-red text-bold text-h6 q-ma-sm q-pa-sm">
|
>
|
||||||
<strong>PDF generati Temporanei</strong>
|
<div class="row justify-center">
|
||||||
|
<q-btn
|
||||||
|
rounded
|
||||||
|
label="Rigenera TUTTI i Cataloghi"
|
||||||
|
icon="fas fa-redo"
|
||||||
|
color="primary"
|
||||||
|
@click="rigeneraTUTTI()"
|
||||||
|
></q-btn>
|
||||||
|
<q-btn
|
||||||
|
rounded
|
||||||
|
label="Online TUTTI i Cataloghi"
|
||||||
|
icon="fas fa-redo"
|
||||||
|
color="positive"
|
||||||
|
@click="onlineTUTTI()"
|
||||||
|
></q-btn>
|
||||||
|
</div>
|
||||||
|
<br />
|
||||||
|
<div class="row justify-center">
|
||||||
|
<q-btn
|
||||||
|
rounded
|
||||||
|
label="Rigenera TUTTI per STAMPA"
|
||||||
|
icon="fas fa-print"
|
||||||
|
color="primary"
|
||||||
|
@click="rigeneraTUTTI(true)"
|
||||||
|
></q-btn>
|
||||||
|
<q-btn
|
||||||
|
rounded
|
||||||
|
label="Online TUTTI per STAMPA"
|
||||||
|
icon="fas fa-redo"
|
||||||
|
color="positive"
|
||||||
|
@click="onlineTUTTI(true)"
|
||||||
|
></q-btn>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<br /><br />
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="row justify-center">
|
||||||
|
<q-btn
|
||||||
|
v-if="!optcatalogo.generazionePDFInCorso"
|
||||||
|
:label="`GENERA PDF ` + getTitoloRaccolta()"
|
||||||
|
color="red"
|
||||||
|
@click="preparePDF(false)"
|
||||||
|
rounded
|
||||||
|
></q-btn>
|
||||||
|
<q-btn
|
||||||
|
v-if="!optcatalogo.generazionePDFInCorso"
|
||||||
|
:label="`GENERA PDF ${getTitoloRaccolta()} per STAMPA`"
|
||||||
|
@click="preparePDF(true)"
|
||||||
|
color="orange"
|
||||||
|
rounded
|
||||||
|
></q-btn>
|
||||||
|
<q-btn
|
||||||
|
v-if="optcatalogo.generazionePDFInCorso"
|
||||||
|
:label="`Termina Generazione`"
|
||||||
|
@click="terminaPDF"
|
||||||
|
></q-btn>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="
|
v-if="getRaccoltaCataloghiByMyPage?.pdf_generato"
|
||||||
getRaccoltaCataloghiByMyPage?.data_generato !==
|
class="bg-green-1 q-ma-sm q-pa-sm"
|
||||||
getRaccoltaCataloghiByMyPage?.data_online
|
|
||||||
"
|
|
||||||
>
|
>
|
||||||
PDF Generato:
|
<div class="bg-blue-1 text-red text-bold text-h6 q-ma-sm q-pa-sm">
|
||||||
<a
|
<strong>PDF generati Temporanei</strong>
|
||||||
:href="
|
</div>
|
||||||
tools.getURLByHostAndFilePath(
|
<div
|
||||||
getRaccoltaCataloghiByMyPage?.pdf_generato
|
|
||||||
)
|
|
||||||
"
|
|
||||||
target="_blank"
|
|
||||||
v-if="getRaccoltaCataloghiByMyPage?.pdf_generato"
|
|
||||||
class="text-bold"
|
|
||||||
>
|
|
||||||
{{
|
|
||||||
tools.getURLByHostAndFilePath(
|
|
||||||
getRaccoltaCataloghiByMyPage?.pdf_generato
|
|
||||||
)
|
|
||||||
}}
|
|
||||||
</a>
|
|
||||||
<span v-else>-</span>
|
|
||||||
<br />(del
|
|
||||||
{{ tools.getstrDateTime(getRaccoltaCataloghiByMyPage?.data_generato) }})
|
|
||||||
<br />
|
|
||||||
<q-btn
|
|
||||||
v-if="
|
v-if="
|
||||||
getRaccoltaCataloghiByMyPage?.data_generato !==
|
getRaccoltaCataloghiByMyPage?.data_generato !==
|
||||||
getRaccoltaCataloghiByMyPage?.data_online
|
getRaccoltaCataloghiByMyPage?.data_online
|
||||||
"
|
"
|
||||||
rounded
|
|
||||||
label="Pubblica PDF OnLine"
|
|
||||||
color="positive"
|
|
||||||
@click="pubblicaPDF()"
|
|
||||||
></q-btn>
|
|
||||||
</div>
|
|
||||||
<br />
|
|
||||||
<div
|
|
||||||
v-if="
|
|
||||||
getRaccoltaCataloghiByMyPage?.data_generato_stampa !==
|
|
||||||
getRaccoltaCataloghiByMyPage?.data_online_stampa
|
|
||||||
"
|
|
||||||
>
|
|
||||||
PDF Generato Stampa:
|
|
||||||
<a
|
|
||||||
:href="
|
|
||||||
tools.getURLByHostAndFilePath(
|
|
||||||
getRaccoltaCataloghiByMyPage?.pdf_generato_stampa
|
|
||||||
)
|
|
||||||
"
|
|
||||||
target="_blank"
|
|
||||||
v-if="getRaccoltaCataloghiByMyPage?.pdf_generato_stampa"
|
|
||||||
class="text-bold"
|
|
||||||
>
|
>
|
||||||
{{
|
PDF Generato:
|
||||||
tools.getURLByHostAndFilePath(
|
<a
|
||||||
getRaccoltaCataloghiByMyPage?.pdf_generato_stampa
|
:href="
|
||||||
)
|
tools.getURLByHostAndFilePath(
|
||||||
}}
|
getRaccoltaCataloghiByMyPage?.pdf_generato
|
||||||
</a>
|
)
|
||||||
<span v-else>-</span>
|
"
|
||||||
<br />(del
|
target="_blank"
|
||||||
{{
|
v-if="getRaccoltaCataloghiByMyPage?.pdf_generato"
|
||||||
tools.getstrDateTime(getRaccoltaCataloghiByMyPage?.data_generato_stampa)
|
class="text-bold"
|
||||||
}})
|
>
|
||||||
|
{{
|
||||||
|
tools.getURLByHostAndFilePath(
|
||||||
|
getRaccoltaCataloghiByMyPage?.pdf_generato
|
||||||
|
)
|
||||||
|
}}
|
||||||
|
</a>
|
||||||
|
<span v-else>-</span>
|
||||||
|
<br />(del
|
||||||
|
{{ tools.getstrDateTime(getRaccoltaCataloghiByMyPage?.data_generato) }})
|
||||||
|
<br />
|
||||||
|
<q-btn
|
||||||
|
v-if="
|
||||||
|
getRaccoltaCataloghiByMyPage?.data_generato !==
|
||||||
|
getRaccoltaCataloghiByMyPage?.data_online
|
||||||
|
"
|
||||||
|
rounded
|
||||||
|
label="Pubblica PDF OnLine"
|
||||||
|
color="positive"
|
||||||
|
@click="pubblicaPDF()"
|
||||||
|
></q-btn>
|
||||||
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<q-btn
|
<div
|
||||||
v-if="
|
v-if="
|
||||||
getRaccoltaCataloghiByMyPage?.data_generato_stampa !==
|
getRaccoltaCataloghiByMyPage?.data_generato_stampa !==
|
||||||
getRaccoltaCataloghiByMyPage?.data_online_stampa
|
getRaccoltaCataloghiByMyPage?.data_online_stampa
|
||||||
"
|
"
|
||||||
rounded
|
>
|
||||||
label="Pubblica PDF Stampa"
|
PDF Generato Stampa:
|
||||||
color="positive"
|
|
||||||
@click="pubblicaPDFStampa()"
|
|
||||||
></q-btn>
|
|
||||||
</div>
|
|
||||||
<div class="bg-green-1">
|
|
||||||
<div class="bg-blue-1 text-green text-bold text-h6 q-ma-sm q-pa-sm">
|
|
||||||
<strong>PDF Pubblicati OnLine</strong>
|
|
||||||
</div>
|
|
||||||
<div v-if="getRaccoltaCataloghiByMyPage?.data_online">
|
|
||||||
PDF OnLine:
|
|
||||||
<a
|
<a
|
||||||
:href="
|
:href="
|
||||||
tools.getURLByHostAndFilePath(
|
tools.getURLByHostAndFilePath(
|
||||||
getRaccoltaCataloghiByMyPage?.pdf_online
|
getRaccoltaCataloghiByMyPage?.pdf_generato_stampa
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
v-if="getRaccoltaCataloghiByMyPage?.pdf_online"
|
v-if="getRaccoltaCataloghiByMyPage?.pdf_generato_stampa"
|
||||||
class="text-bold"
|
class="text-bold"
|
||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
tools.getURLByHostAndFilePath(
|
tools.getURLByHostAndFilePath(
|
||||||
getRaccoltaCataloghiByMyPage?.pdf_online
|
getRaccoltaCataloghiByMyPage?.pdf_generato_stampa
|
||||||
)
|
|
||||||
}}
|
|
||||||
</a>
|
|
||||||
<span v-else>-</span>
|
|
||||||
<br />(del
|
|
||||||
{{ tools.getstrDateTime(getRaccoltaCataloghiByMyPage?.data_online) }})
|
|
||||||
</div>
|
|
||||||
<br />
|
|
||||||
<div v-if="getRaccoltaCataloghiByMyPage?.data_online_stampa">
|
|
||||||
> PDF OnLine Stampa:
|
|
||||||
<a
|
|
||||||
:href="
|
|
||||||
tools.getURLByHostAndFilePath(
|
|
||||||
getRaccoltaCataloghiByMyPage?.pdf_online_stampa
|
|
||||||
)
|
|
||||||
"
|
|
||||||
target="_blank"
|
|
||||||
class="text-bold"
|
|
||||||
v-if="getRaccoltaCataloghiByMyPage?.pdf_online_stampa"
|
|
||||||
>
|
|
||||||
{{
|
|
||||||
tools.getURLByHostAndFilePath(
|
|
||||||
getRaccoltaCataloghiByMyPage?.pdf_online_stampa
|
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
</a>
|
</a>
|
||||||
<span v-else>-</span>
|
<span v-else>-</span>
|
||||||
<br />(del
|
<br />(del
|
||||||
{{
|
{{
|
||||||
tools.getstrDateTime(getRaccoltaCataloghiByMyPage?.data_online_stampa)
|
tools.getstrDateTime(
|
||||||
|
getRaccoltaCataloghiByMyPage?.data_generato_stampa
|
||||||
|
)
|
||||||
}})
|
}})
|
||||||
|
<br />
|
||||||
|
<q-btn
|
||||||
|
v-if="
|
||||||
|
getRaccoltaCataloghiByMyPage?.data_generato_stampa !==
|
||||||
|
getRaccoltaCataloghiByMyPage?.data_online_stampa
|
||||||
|
"
|
||||||
|
rounded
|
||||||
|
label="Pubblica PDF Stampa"
|
||||||
|
color="positive"
|
||||||
|
@click="pubblicaPDFStampa()"
|
||||||
|
></q-btn>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user