Browse Source

完成BUG修改

qin_v8_test
herenshan112 9 months ago
parent
commit
dea623d1a5
  1. 306
      package-lock.json
  2. 3
      package.json
  3. 46
      src/components/lowCode/assistant/digitpage.vue
  4. 121
      src/components/lowCode/assistant/quillEditor.vue
  5. 280
      src/components/lowCode/assistant/quillEditorNew.vue
  6. 2
      src/components/lowCode/assistant/tinymce.vue
  7. 28
      src/components/lowCode/formItem.vue
  8. 15
      src/views/formTable/page/calendar.vue
  9. 78
      src/views/formTable/page/calendar/itemPage.vue
  10. 112
      src/views/formTable/page/calendar/weekPage.vue
  11. 4530
      yarn.lock

306
package-lock.json

@ -9,6 +9,7 @@
"version": "0.0.0",
"dependencies": {
"@element-plus/icons-vue": "^2.3.1",
"@vueup/vue-quill": "^1.2.0",
"@zxing/browser": "^0.1.5",
"@zxing/library": "^0.21.3",
"axios": "^1.7.7",
@ -21,6 +22,7 @@
"pdfjs-dist": "^4.8.69",
"pinia": "^2.2.4",
"pinia-plugin-persistedstate": "^4.1.1",
"quill": "^2.0.3",
"sass": "^1.80.3",
"scss": "^0.2.4",
"spark-md5": "^3.0.2",
@ -1700,6 +1702,59 @@
"resolved": "https://registry.npmmirror.com/@vue/shared/-/shared-3.5.12.tgz",
"integrity": "sha512-L2RPSAwUFbgZH20etwrXyVyCBu9OxRSi8T/38QsvnkJyvq2LufW2lDCOzm7t/U9C1mkhJGWYfCuFBCmIuNivrg=="
},
"node_modules/@vueup/vue-quill": {
"version": "1.2.0",
"resolved": "https://registry.npmmirror.com/@vueup/vue-quill/-/vue-quill-1.2.0.tgz",
"integrity": "sha512-kd5QPSHMDpycklojPXno2Kw2JSiKMYduKYQckTm1RJoVDA557MnyUXgcuuDpry4HY/Rny9nGNcK+m3AHk94wag==",
"dependencies": {
"quill": "^1.3.7",
"quill-delta": "^4.2.2"
},
"peerDependencies": {
"vue": "^3.2.41"
}
},
"node_modules/@vueup/vue-quill/node_modules/eventemitter3": {
"version": "2.0.3",
"resolved": "https://registry.npmmirror.com/eventemitter3/-/eventemitter3-2.0.3.tgz",
"integrity": "sha512-jLN68Dx5kyFHaePoXWPsCGW5qdyZQtLYHkxkg02/Mz6g0kYpDx4FyP6XfArhQdlOC4b8Mv+EMxPo/8La7Tzghg=="
},
"node_modules/@vueup/vue-quill/node_modules/fast-diff": {
"version": "1.1.2",
"resolved": "https://registry.npmmirror.com/fast-diff/-/fast-diff-1.1.2.tgz",
"integrity": "sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig=="
},
"node_modules/@vueup/vue-quill/node_modules/parchment": {
"version": "1.1.4",
"resolved": "https://registry.npmmirror.com/parchment/-/parchment-1.1.4.tgz",
"integrity": "sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg=="
},
"node_modules/@vueup/vue-quill/node_modules/quill": {
"version": "1.3.7",
"resolved": "https://registry.npmmirror.com/quill/-/quill-1.3.7.tgz",
"integrity": "sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g==",
"dependencies": {
"clone": "^2.1.1",
"deep-equal": "^1.0.1",
"eventemitter3": "^2.0.3",
"extend": "^3.0.2",
"parchment": "^1.1.4",
"quill-delta": "^3.6.2"
}
},
"node_modules/@vueup/vue-quill/node_modules/quill/node_modules/quill-delta": {
"version": "3.6.3",
"resolved": "https://registry.npmmirror.com/quill-delta/-/quill-delta-3.6.3.tgz",
"integrity": "sha512-wdIGBlcX13tCHOXGMVnnTVFtGRLoP0imqxM696fIPwIf5ODIYUHIvHbZcyvGlZFiFhK5XzDC2lpjbxRhnM05Tg==",
"dependencies": {
"deep-equal": "^1.0.1",
"extend": "^3.0.2",
"fast-diff": "1.1.2"
},
"engines": {
"node": ">=0.10"
}
},
"node_modules/@vueuse/core": {
"version": "9.13.0",
"resolved": "https://registry.npmmirror.com/@vueuse/core/-/core-9.13.0.tgz",
@ -2273,7 +2328,6 @@
"version": "1.0.7",
"resolved": "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.7.tgz",
"integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
"dev": true,
"dependencies": {
"es-define-property": "^1.0.0",
"es-errors": "^1.3.0",
@ -2288,6 +2342,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/call-bind-apply-helpers": {
"version": "1.0.2",
"resolved": "https://registry.npmmirror.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
"integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
"dependencies": {
"es-errors": "^1.3.0",
"function-bind": "^1.1.2"
},
"engines": {
"node": ">= 0.4"
}
},
"node_modules/call-bound": {
"version": "1.0.4",
"resolved": "https://registry.npmmirror.com/call-bound/-/call-bound-1.0.4.tgz",
"integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",
"dependencies": {
"call-bind-apply-helpers": "^1.0.2",
"get-intrinsic": "^1.3.0"
},
"engines": {
"node": ">= 0.4"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/caniuse-lite": {
"version": "1.0.30001669",
"resolved": "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001669.tgz",
@ -2426,7 +2507,6 @@
"version": "2.1.2",
"resolved": "https://registry.npmmirror.com/clone/-/clone-2.1.2.tgz",
"integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==",
"dev": true,
"engines": {
"node": ">=0.8"
}
@ -2780,6 +2860,25 @@
"node": ">=8"
}
},
"node_modules/deep-equal": {
"version": "1.1.2",
"resolved": "https://registry.npmmirror.com/deep-equal/-/deep-equal-1.1.2.tgz",
"integrity": "sha512-5tdhKF6DbU7iIzrIOa1AOUt39ZRm13cmL1cGEh//aqR8x9+tNfbywRf0n5FD/18OKMdo7DNEtrX2t22ZAkI+eg==",
"dependencies": {
"is-arguments": "^1.1.1",
"is-date-object": "^1.0.5",
"is-regex": "^1.1.4",
"object-is": "^1.1.5",
"object-keys": "^1.1.1",
"regexp.prototype.flags": "^1.5.1"
},
"engines": {
"node": ">= 0.4"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/deep-extend": {
"version": "0.6.0",
"resolved": "https://registry.npmmirror.com/deep-extend/-/deep-extend-0.6.0.tgz",
@ -2798,7 +2897,6 @@
"version": "1.1.4",
"resolved": "https://registry.npmmirror.com/define-data-property/-/define-data-property-1.1.4.tgz",
"integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
"dev": true,
"dependencies": {
"es-define-property": "^1.0.0",
"es-errors": "^1.3.0",
@ -2815,7 +2913,6 @@
"version": "1.2.1",
"resolved": "https://registry.npmmirror.com/define-properties/-/define-properties-1.2.1.tgz",
"integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
"dev": true,
"dependencies": {
"define-data-property": "^1.0.1",
"has-property-descriptors": "^1.0.0",
@ -2942,6 +3039,19 @@
"url": "https://dotenvx.com"
}
},
"node_modules/dunder-proto": {
"version": "1.0.1",
"resolved": "https://registry.npmmirror.com/dunder-proto/-/dunder-proto-1.0.1.tgz",
"integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
"dependencies": {
"call-bind-apply-helpers": "^1.0.1",
"es-errors": "^1.3.0",
"gopd": "^1.2.0"
},
"engines": {
"node": ">= 0.4"
}
},
"node_modules/eastasianwidth": {
"version": "0.2.0",
"resolved": "https://registry.npmmirror.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
@ -3111,13 +3221,9 @@
}
},
"node_modules/es-define-property": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/es-define-property/-/es-define-property-1.0.0.tgz",
"integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==",
"dev": true,
"dependencies": {
"get-intrinsic": "^1.2.4"
},
"version": "1.0.1",
"resolved": "https://registry.npmmirror.com/es-define-property/-/es-define-property-1.0.1.tgz",
"integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
"engines": {
"node": ">= 0.4"
}
@ -3126,16 +3232,14 @@
"version": "1.3.0",
"resolved": "https://registry.npmmirror.com/es-errors/-/es-errors-1.3.0.tgz",
"integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
"dev": true,
"engines": {
"node": ">= 0.4"
}
},
"node_modules/es-object-atoms": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/es-object-atoms/-/es-object-atoms-1.0.0.tgz",
"integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==",
"dev": true,
"version": "1.1.1",
"resolved": "https://registry.npmmirror.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
"integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
"dependencies": {
"es-errors": "^1.3.0"
},
@ -3250,6 +3354,11 @@
"node": ">= 0.6"
}
},
"node_modules/eventemitter3": {
"version": "5.0.1",
"resolved": "https://registry.npmmirror.com/eventemitter3/-/eventemitter3-5.0.1.tgz",
"integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA=="
},
"node_modules/execa": {
"version": "8.0.1",
"resolved": "https://registry.npmmirror.com/execa/-/execa-8.0.1.tgz",
@ -3339,6 +3448,11 @@
"node": ">=6"
}
},
"node_modules/extend": {
"version": "3.0.2",
"resolved": "https://registry.npmmirror.com/extend/-/extend-3.0.2.tgz",
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
},
"node_modules/extend-shallow": {
"version": "2.0.1",
"resolved": "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-2.0.1.tgz",
@ -3370,6 +3484,11 @@
"node": ">=0.10.0"
}
},
"node_modules/fast-diff": {
"version": "1.2.0",
"resolved": "https://registry.npmmirror.com/fast-diff/-/fast-diff-1.2.0.tgz",
"integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w=="
},
"node_modules/fast-glob": {
"version": "3.3.2",
"resolved": "https://registry.npmmirror.com/fast-glob/-/fast-glob-3.3.2.tgz",
@ -3548,7 +3667,6 @@
"version": "1.1.2",
"resolved": "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.2.tgz",
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
"dev": true,
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
@ -3575,7 +3693,6 @@
"version": "1.2.3",
"resolved": "https://registry.npmmirror.com/functions-have-names/-/functions-have-names-1.2.3.tgz",
"integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
"dev": true,
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
@ -3589,16 +3706,20 @@
}
},
"node_modules/get-intrinsic": {
"version": "1.2.4",
"resolved": "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz",
"integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==",
"dev": true,
"version": "1.3.0",
"resolved": "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
"integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
"dependencies": {
"call-bind-apply-helpers": "^1.0.2",
"es-define-property": "^1.0.1",
"es-errors": "^1.3.0",
"es-object-atoms": "^1.1.1",
"function-bind": "^1.1.2",
"has-proto": "^1.0.1",
"has-symbols": "^1.0.3",
"hasown": "^2.0.0"
"get-proto": "^1.0.1",
"gopd": "^1.2.0",
"has-symbols": "^1.1.0",
"hasown": "^2.0.2",
"math-intrinsics": "^1.1.0"
},
"engines": {
"node": ">= 0.4"
@ -3607,6 +3728,18 @@
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/get-proto": {
"version": "1.0.1",
"resolved": "https://registry.npmmirror.com/get-proto/-/get-proto-1.0.1.tgz",
"integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
"dependencies": {
"dunder-proto": "^1.0.1",
"es-object-atoms": "^1.0.0"
},
"engines": {
"node": ">= 0.4"
}
},
"node_modules/get-stream": {
"version": "8.0.1",
"resolved": "https://registry.npmmirror.com/get-stream/-/get-stream-8.0.1.tgz",
@ -3750,12 +3883,11 @@
}
},
"node_modules/gopd": {
"version": "1.0.1",
"resolved": "https://registry.npmmirror.com/gopd/-/gopd-1.0.1.tgz",
"integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
"dev": true,
"dependencies": {
"get-intrinsic": "^1.1.3"
"version": "1.2.0",
"resolved": "https://registry.npmmirror.com/gopd/-/gopd-1.2.0.tgz",
"integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
"engines": {
"node": ">= 0.4"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
@ -3800,7 +3932,6 @@
"version": "1.0.2",
"resolved": "https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
"integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
"dev": true,
"dependencies": {
"es-define-property": "^1.0.0"
},
@ -3821,10 +3952,9 @@
}
},
"node_modules/has-symbols": {
"version": "1.0.3",
"resolved": "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.0.3.tgz",
"integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
"dev": true,
"version": "1.1.0",
"resolved": "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.1.0.tgz",
"integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
"engines": {
"node": ">= 0.4"
},
@ -3836,7 +3966,6 @@
"version": "1.0.2",
"resolved": "https://registry.npmmirror.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
"integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
"dev": true,
"dependencies": {
"has-symbols": "^1.0.3"
},
@ -3928,7 +4057,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmmirror.com/hasown/-/hasown-2.0.2.tgz",
"integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
"dev": true,
"dependencies": {
"function-bind": "^1.1.2"
},
@ -4064,6 +4192,21 @@
"node": ">= 0.10"
}
},
"node_modules/is-arguments": {
"version": "1.2.0",
"resolved": "https://registry.npmmirror.com/is-arguments/-/is-arguments-1.2.0.tgz",
"integrity": "sha512-7bVbi0huj/wrIAOzb8U1aszg9kdi3KN/CyU19CTI7tAoZYEZoL9yCDXpbXN+uPsuWnP02cyug1gleqq+TU+YCA==",
"dependencies": {
"call-bound": "^1.0.2",
"has-tostringtag": "^1.0.2"
},
"engines": {
"node": ">= 0.4"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/is-array-buffer": {
"version": "3.0.4",
"resolved": "https://registry.npmmirror.com/is-array-buffer/-/is-array-buffer-3.0.4.tgz",
@ -4168,7 +4311,6 @@
"version": "1.0.5",
"resolved": "https://registry.npmmirror.com/is-date-object/-/is-date-object-1.0.5.tgz",
"integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
"dev": true,
"dependencies": {
"has-tostringtag": "^1.0.0"
},
@ -4297,7 +4439,6 @@
"version": "1.1.4",
"resolved": "https://registry.npmmirror.com/is-regex/-/is-regex-1.1.4.tgz",
"integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
"dev": true,
"dependencies": {
"call-bind": "^1.0.2",
"has-tostringtag": "^1.0.0"
@ -4608,6 +4749,17 @@
"lodash-es": "*"
}
},
"node_modules/lodash.clonedeep": {
"version": "4.5.0",
"resolved": "https://registry.npmmirror.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
"integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ=="
},
"node_modules/lodash.isequal": {
"version": "4.5.0",
"resolved": "https://registry.npmmirror.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz",
"integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==",
"deprecated": "This package is deprecated. Use require('node:util').isDeepStrictEqual instead."
},
"node_modules/lru-cache": {
"version": "5.1.1",
"resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-5.1.1.tgz",
@ -4650,6 +4802,14 @@
"node": ">=0.10.0"
}
},
"node_modules/math-intrinsics": {
"version": "1.1.0",
"resolved": "https://registry.npmmirror.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
"integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
"engines": {
"node": ">= 0.4"
}
},
"node_modules/mdn-data": {
"version": "2.0.14",
"resolved": "https://registry.npmmirror.com/mdn-data/-/mdn-data-2.0.14.tgz",
@ -5154,11 +5314,25 @@
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/object-is": {
"version": "1.1.6",
"resolved": "https://registry.npmmirror.com/object-is/-/object-is-1.1.6.tgz",
"integrity": "sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==",
"dependencies": {
"call-bind": "^1.0.7",
"define-properties": "^1.2.1"
},
"engines": {
"node": ">= 0.4"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/object-keys": {
"version": "1.1.1",
"resolved": "https://registry.npmmirror.com/object-keys/-/object-keys-1.1.1.tgz",
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
"dev": true,
"engines": {
"node": ">= 0.4"
}
@ -5270,6 +5444,11 @@
"integrity": "sha512-VgXbyrSNsml4eHWIvxxG/nTL4wgybMTXCV2Un/+yEc3aDKKU6nQBZjbeP3Pl3qm9Qg92X/1ng4ffvCeD/zwHgg==",
"dev": true
},
"node_modules/parchment": {
"version": "3.0.0",
"resolved": "https://registry.npmmirror.com/parchment/-/parchment-3.0.0.tgz",
"integrity": "sha512-HUrJFQ/StvgmXRcQ1ftY6VEZUq3jA2t9ncFN4F84J/vN0/FPpQF+8FKXb3l6fLces6q0uOHj6NJn+2xvZnxO6A=="
},
"node_modules/pascalcase": {
"version": "0.1.1",
"resolved": "https://registry.npmmirror.com/pascalcase/-/pascalcase-0.1.1.tgz",
@ -5726,6 +5905,48 @@
}
]
},
"node_modules/quill": {
"version": "2.0.3",
"resolved": "https://registry.npmmirror.com/quill/-/quill-2.0.3.tgz",
"integrity": "sha512-xEYQBqfYx/sfb33VJiKnSJp8ehloavImQ2A6564GAbqG55PGw1dAWUn1MUbQB62t0azawUS2CZZhWCjO8gRvTw==",
"dependencies": {
"eventemitter3": "^5.0.1",
"lodash-es": "^4.17.21",
"parchment": "^3.0.0",
"quill-delta": "^5.1.0"
},
"engines": {
"npm": ">=8.2.3"
}
},
"node_modules/quill-delta": {
"version": "4.2.2",
"resolved": "https://registry.npmmirror.com/quill-delta/-/quill-delta-4.2.2.tgz",
"integrity": "sha512-qjbn82b/yJzOjstBgkhtBjN2TNK+ZHP/BgUQO+j6bRhWQQdmj2lH6hXG7+nwwLF41Xgn//7/83lxs9n2BkTtTg==",
"dependencies": {
"fast-diff": "1.2.0",
"lodash.clonedeep": "^4.5.0",
"lodash.isequal": "^4.5.0"
}
},
"node_modules/quill/node_modules/fast-diff": {
"version": "1.3.0",
"resolved": "https://registry.npmmirror.com/fast-diff/-/fast-diff-1.3.0.tgz",
"integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw=="
},
"node_modules/quill/node_modules/quill-delta": {
"version": "5.1.0",
"resolved": "https://registry.npmmirror.com/quill-delta/-/quill-delta-5.1.0.tgz",
"integrity": "sha512-X74oCeRI4/p0ucjb5Ma8adTXd9Scumz367kkMK5V/IatcX6A0vlgLgKbzXWy5nZmCGeNJm2oQX0d2Eqj+ZIlCA==",
"dependencies": {
"fast-diff": "^1.3.0",
"lodash.clonedeep": "^4.5.0",
"lodash.isequal": "^4.5.0"
},
"engines": {
"node": ">= 12.0.0"
}
},
"node_modules/rc": {
"version": "1.2.8",
"resolved": "https://registry.npmmirror.com/rc/-/rc-1.2.8.tgz",
@ -5818,7 +6039,6 @@
"version": "1.5.3",
"resolved": "https://registry.npmmirror.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.3.tgz",
"integrity": "sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ==",
"dev": true,
"dependencies": {
"call-bind": "^1.0.7",
"define-properties": "^1.2.1",
@ -6055,7 +6275,6 @@
"version": "1.2.2",
"resolved": "https://registry.npmmirror.com/set-function-length/-/set-function-length-1.2.2.tgz",
"integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",
"dev": true,
"dependencies": {
"define-data-property": "^1.1.4",
"es-errors": "^1.3.0",
@ -6072,7 +6291,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmmirror.com/set-function-name/-/set-function-name-2.0.2.tgz",
"integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==",
"dev": true,
"dependencies": {
"define-data-property": "^1.1.4",
"es-errors": "^1.3.0",

3
package.json

@ -11,6 +11,7 @@
},
"dependencies": {
"@element-plus/icons-vue": "^2.3.1",
"@vueup/vue-quill": "^1.2.0",
"@zxing/browser": "^0.1.5",
"@zxing/library": "^0.21.3",
"axios": "^1.7.7",
@ -23,6 +24,8 @@
"pdfjs-dist": "^4.8.69",
"pinia": "^2.2.4",
"pinia-plugin-persistedstate": "^4.1.1",
"quill": "^2.0.3",
"quill-blot-formatter": "^1.0.5",
"sass": "^1.80.3",
"scss": "^0.2.4",
"spark-md5": "^3.0.2",

46
src/components/lowCode/assistant/digitpage.vue

@ -49,9 +49,53 @@ const getFormItemInputStyle = (ele: any,sty:number) => {
return AnalysisInputCss(ele?.inputStyle,sty)
}
}
const config = computed(() => {
return props.data.config || {}
})
/****input slot处理***/
const getInputSlot = (key?: string) => {
const slot = key === 'p' ? config.value.prepend : config.value.append
const has = slot.indexOf('key:') === 0
if (!has) {
return false
}
const slotKey = slot.replace('key:', '')
const control = getControlByName(slotKey)
if (!control || Object.keys(control)?.length === 0) {
return false
}
return control
}
</script>
<template>
<el-input v-bind="$props" v-model="value" :style="getFormItemInputStyle(configStyle,2)" :input-style="getFormItemInputStyle(configStyle,3)" oninput ="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^\./g, '')" placeholder="请输入"></el-input>
<el-input v-bind="$props" v-model="value" :style="getFormItemInputStyle(configStyle,2)" :input-style="getFormItemInputStyle(configStyle,3)" oninput ="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^\./g, '')" placeholder="请输入">
<template #prepend v-if="config.prepend">
<div v-if="getInputSlot('p')">
<SelectDesign
:data="getInputSlot('p')"
:disabled="judgeIsDisabled(data.name)"
:transform-option="transformOption"
@change="inputSlotChange"
type="slot"
/>
</div>
<span v-else>{{ config.append }}</span>
</template>
<template #append v-if="config.append">
<div v-if="getInputSlot()">
<SelectDesign
:data="getInputSlot()"
:disabled="judgeIsDisabled(data.name)"
:transform-option="transformOption"
@change="inputSlotChange"
type="slot"
/>
</div>
<span v-else>{{ config.append }}</span>
</template>
</el-input>
</template>
<style lang='scss' scoped>

121
src/components/lowCode/assistant/quillEditor.vue

@ -0,0 +1,121 @@
<!--
@ 作者: 秦东
@ 时间: 2025-03-07 08:45:16
@ 备注: Quill 富文本
-->
<script lang='ts' setup>
import { ref } from 'vue';
//
import { Quill, QuillEditor } from '@vueup/vue-quill'
import '@vueup/vue-quill/dist/vue-quill.snow.css'
//
import BlotFormatter from 'quill-blot-formatter'
Quill.register('modules/blotFormatter', BlotFormatter)
//
import 'quill/dist/quill.core.css';
import 'quill/dist/quill.snow.css';
const props = withDefaults(
defineProps<{
modelValue: string
placeholder?: string
width?: string
height?: string
blobUrl?: string
imgUrl?: string
config?: any
type?: number
}>(),
{
modelValue: '',
placeholder: '请输入内容',
width: '100%',
height: '300px',
blobUrl: '',
imgUrl: '',
type:1,
config: () => {
return {}
}
}
)
const emits = defineEmits<{
(e: 'update:modelValue', value: string): void
}>()
// const content = ref(props.modelValue);
const content = computed({
get() {
return props.modelValue
},
set(newVal: any) {
emits('update:modelValue', newVal)
}
})
const toolbarOptions = [
['bold', 'italic', 'underline'],
[{ 'header': [1, 2, 3, false] }],
['image', 'code-block']
];
const handleEditorReady = (editor) => {
console.log('Editor实例:', editor);
};
watch(
() => props.modelValue,
(n: any) => {
if (n && n !== content.value) {
content.value = n
}
}
)
</script>
<template><div class="butBox" @click="openVideo">按钮</div>
<div v-if="type==1 || type == 5" class="edioBox">
<QuillEditor
v-model:content="content"
contentType="html"
:toolbar="toolbarOptions"
@ready="handleEditorReady"
/>
</div>
<div v-else class="edioBoxHtml" v-html="content"></div>
</template>
<style lang='scss' scoped>
.butBox{
width:150px;
height: 50px;
background-color: #FB041A;
display:none;
}
.edioBoxHtml{
width: 100%;
}
.edioBox{
width: 100%;
height: 350px;
.ql-toolbar{
.ql-snow{
height: 300px;
}
}
:deep .ql-toolbar.ql-snow + .ql-container.ql-snow{
height: 300px;
}
}
.ql-editor.ql-fullscreen {
position: fixed;
top: 0;
left: 0;
z-index: 9999;
}
.ql-container {
user-select: auto !important;
-webkit-user-select: auto !important;
}
</style>

280
src/components/lowCode/assistant/quillEditorNew.vue

@ -0,0 +1,280 @@
<!--
@ 作者: 秦东
@ 时间: 2025-03-07 09:23:53
@ 备注:
-->
<script lang='ts' setup>
//
import { Quill, QuillEditor } from '@vueup/vue-quill'
import '@vueup/vue-quill/dist/vue-quill.snow.css'
import { newUploadFileApi } from '@/api/common/public'
//
import BlotFormatter from 'quill-blot-formatter'
Quill.register('modules/blotFormatter', BlotFormatter)
const props = withDefaults(
defineProps<{
modelValue: string
placeholder?: string
width?: string
height?: string
blobUrl?: string
imgUrl?: string
config?: any
type?: number
}>(),
{
modelValue: '',
placeholder: '请输入内容',
width: '100%',
height: '300px',
blobUrl: '',
imgUrl: '',
type:1,
config: () => {
return {}
}
}
)
const emits = defineEmits<{
(e: 'update:modelValue', value: string): void
}>()
// const content = ref(props.modelValue);
const content = computed({
get() {
return props.modelValue
},
set(newVal: any) {
emits('update:modelValue', newVal)
}
})
const editorRef = ref(null)
//
const imageHandler = () => {
//
const input = document.createElement('input');
input.setAttribute('type', 'file');
input.setAttribute('accept', 'image/*');
//
input.click();
//
input.onchange = async () => {
//
const file = input.files ? input.files[0] : null;
if (file) {
// FormData
const formData = new FormData();
formData.append('file', file);
formData.append('type',"1")
try {
newUploadFileApi(formData)
.then(res =>{
// console.log("",res.data)
// resolve(res.data.url)
const quill = toRaw(editorRef.value).getQuill()
if (quill) {
//
const range = quill.getSelection(true);
//
quill.insertEmbed(range.index, 'image',res.data.url);
}
})
.catch(()=>{
// reject('')
alert('上传出错,请查看你上传的文件是否符合要求!')
})
} catch (error) {
alert('图片上传失败')
}
// try {
// /**
// * @todo file线
// * abc,使 axios POST
// * */
// // todo
// // 使 axios POST ,abc
// // file线
// const res = await abc(formData);
// // Quill
// const quill = toRaw(editorRef.value).getQuill()
// if (quill) {
// //
// const range = quill.getSelection(true);
// //
// quill.insertEmbed(range.index, 'image', res.data);
// }
// } catch (error) {
// alert('')
// }
}
};
}
// toolbar,
const titleConfig = [
{ Choice: '.ql-insertMetric', title: '跳转配置' },
{ Choice: '.ql-bold', title: '加粗' },
{ Choice: '.ql-italic', title: '斜体' },
{ Choice: '.ql-underline', title: '下划线' },
{ Choice: '.ql-header', title: '段落格式' },
{ Choice: '.ql-strike', title: '删除线' },
{ Choice: '.ql-blockquote', title: '块引用' },
{ Choice: '.ql-code', title: '插入代码' },
{ Choice: '.ql-code-block', title: '插入代码段' },
{ Choice: '.ql-font', title: '字体' },
{ Choice: '.ql-size', title: '字体大小' },
{ Choice: '.ql-list[value="ordered"]', title: '编号列表' },
{ Choice: '.ql-list[value="bullet"]', title: '项目列表' },
{ Choice: '.ql-direction', title: '文本方向' },
{ Choice: '.ql-header[value="1"]', title: 'h1' },
{ Choice: '.ql-header[value="2"]', title: 'h2' },
{ Choice: '.ql-align', title: '对齐方式' },
{ Choice: '.ql-color', title: '字体颜色' },
{ Choice: '.ql-background', title: '背景颜色' },
{ Choice: '.ql-image', title: '图像' },
{ Choice: '.ql-video', title: '视频' },
{ Choice: '.ql-link', title: '添加链接' },
{ Choice: '.ql-formula', title: '插入公式' },
{ Choice: '.ql-clean', title: '清除字体格式' },
{ Choice: '.ql-script[value="sub"]', title: '下标' },
{ Choice: '.ql-script[value="super"]', title: '上标' },
{ Choice: '.ql-indent[value="-1"]', title: '向左缩进' },
{ Choice: '.ql-indent[value="+1"]', title: '向右缩进' },
{ Choice: '.ql-header .ql-picker-label', title: '标题大小' },
{ Choice: '.ql-header .ql-picker-item[data-value="1"]', title: '标题一' },
{ Choice: '.ql-header .ql-picker-item[data-value="2"]', title: '标题二' },
{ Choice: '.ql-header .ql-picker-item[data-value="3"]', title: '标题三' },
{ Choice: '.ql-header .ql-picker-item[data-value="4"]', title: '标题四' },
{ Choice: '.ql-header .ql-picker-item[data-value="5"]', title: '标题五' },
{ Choice: '.ql-header .ql-picker-item[data-value="6"]', title: '标题六' },
{ Choice: '.ql-header .ql-picker-item:last-child', title: '标准' },
{ Choice: '.ql-size .ql-picker-item[data-value="small"]', title: '小号' },
{ Choice: '.ql-size .ql-picker-item[data-value="large"]', title: '大号' },
{ Choice: '.ql-size .ql-picker-item[data-value="huge"]', title: '超大号' },
{ Choice: '.ql-size .ql-picker-item:nth-child(2)', title: '标准' },
{ Choice: '.ql-align .ql-picker-item:first-child', title: '居左对齐' },
{ Choice: '.ql-align .ql-picker-item[data-value="center"]', title: '居中对齐' },
{ Choice: '.ql-align .ql-picker-item[data-value="right"]', title: '居右对齐' },
{ Choice: '.ql-align .ql-picker-item[data-value="justify"]', title: '两端对齐' }
]
//
const options = ref({
theme: 'snow', // 使snow
modules: {
//
toolbar: {
container: [
['bold', 'italic', 'underline', 'strike'], // 线 线
[{ color: [] }, { background: [] }], //
[{ align: [] }], //
[{ size: ['small', false, 'large', 'huge'] }], //
[{ font: [] }], //
[{ header: [1, 2, 3, 4, 5, 6, false] }], //
[{ direction: 'ltl' }], //
[{ direction: 'rtl' }], //
[{ indent: '-1' }, { indent: '+1' }], //
[{ list: 'ordered' }, { list: 'bullet' }], //
[{ script: 'sub' }, { script: 'super' }], // /
['blockquote', 'code-block'], //
['clean'], //
['link', 'image', 'video'], //
],
handlers: {
image: imageHandler, //
},
},
//
blotFormatter: {
//
// overlay: {
// style: {
// border: '2px solid red',
// }
// },
toolbar: {
mainClassName: 'blot-formatter__toolbar'
}
}
}
})
// imageHandler options
//
const initTitle = () => {
for (let item of titleConfig) {
// .editor
let tip = document.querySelector('.editor ' + item.Choice);
if (tip) {
tip.setAttribute('title', item.title);
}
}
}
//
const customPaste=(e)=>{
//
let newTime = new Date().getTime()
const clipboardData = e.clipboardData //
const types = clipboardData.types //
if (types.includes('Files')) {
e.preventDefault();
e.clipboardData.files.forEach(file=>{
//
//
})
}
}
onMounted(()=>{
nextTick(()=>{
//
initTitle()
})
//
editorRef.value.getQuill().root.addEventListener('customPaste', customPaste, false)
})
watch(
() => props.modelValue,
(n: any) => {
if (n && n !== content.value) {
content.value = n
}
}
)
</script>
<template><div class="butBox" @click="openVideo">按钮</div>
<div class="editor">
<!-- 这两个都是获取值的必要条件 v-model:content contentType="html" -->
<quill-editor
ref="editorRef"
v-model:content="content"
:options="options"
contentType="html"
></quill-editor>
</div>
</template>
<style lang='scss' scoped>
.editor{
width: 100%;
:deep(.ql-editor) {
min-height: 200px;
}
}
.butBox{
width:150px;
height: 50px;
background-color: #FB041A;
display:none;
}
</style>

2
src/components/lowCode/assistant/tinymce.vue

@ -4,6 +4,8 @@
@ 备注: 富文本
-->
<script lang='ts' setup>
import { onMounted, watch, ref, computed, onUnmounted } from 'vue'
import { ElMessage } from 'element-plus'
import { newUploadFileApi } from '@/api/common/public'
const props = withDefaults(
defineProps<{

28
src/components/lowCode/formItem.vue

@ -43,7 +43,8 @@ import UrlLink from '@/components/lowCode/assistant/urlLink.vue'
import DepartmentOrg from '@/components/lowCode/assistant/departmentOrg.vue'
import DigitpagePage from '@/components/lowCode/assistant/digitpage.vue'
import OrgCentent from '@/components/lowCode/assistant/org.vue'
import Tinymce from '@/components/lowCode/assistant/tinymce.vue'
import QuillEditor from '@/components/lowCode/assistant/quillEditorNew.vue'
const props = withDefaults(
@ -505,6 +506,9 @@ const currentComponent = computed(() => {
if (props.data.type === "baidumap") {
return markRaw(BaiDuMap);
}
if (props.data.type === "tinymce"){
return markRaw(QuillEditor);
}
if (props.data.type === "owner") {
return markRaw(OwnerPage);
}
@ -553,7 +557,7 @@ const currentComponent = computed(() => {
</script>
<template>
<div>{{data.type}}
{{type}}
<template class="form-value" v-if="type === 15">
2
</template>
@ -596,7 +600,7 @@ const currentComponent = computed(() => {
type="slot"
/>
</div>
<span v-else>{{ config.append }}</span>
<span v-else>{{ config.prepend }}</span>
</template>
<template #append v-if="config.append">
<div v-if="getInputSlot()">
@ -875,7 +879,23 @@ const currentComponent = computed(() => {
v-model="value"
/>
<!--富文本-->
<div class="form-value" v-else-if="data.type == 'tinymce'" v-html="value"></div>
<component
v-if="['tinymce'].includes(data.type)"
:is="currentComponent"
v-bind="control"
:disabled="judgeIsDisabled(data.name)"
:placeholder="
data.control.placeholder
? data.control.placeholder
: '请选择' + getLabel(data.item)
"
:data="data"
:type="type"
:tablekey="props.tablekey"
:form-table-set-up="props.alldata"
v-model="value"
/>
<!--地图-->
<component
v-if="['baidumap'].includes(data.type)"

15
src/views/formTable/page/calendar.vue

@ -64,7 +64,7 @@ const lookInfo = ref<any>({})
const monthPageRef = ref(null)
const weekPageRef = ref(null)
const dayPageRef = ref(null)
const taskScrollbarzf = ref(null)
const searchSend = reactive({
formId: props.appId,
@ -192,7 +192,12 @@ const goTady = () => {
let time = taday.value[0] + "-" + clockFactory(taday.value[1]) + "-" + clockFactory(taday.value[2])
emit('getDate', time);
}
const requeryList = () => {
taskScrollbarzf.value.searchatMonthList()
}
defineExpose({
requeryList
})
</script>
<template>
<div>
@ -213,9 +218,9 @@ const goTady = () => {
</el-button-group>
</div>
</div>
<MonthPage v-if="curtteDayType==1" :ta-day="taday" :search-send="searchSend" />
<WeekPage v-if="curtteDayType==2" :ta-day="taday" :search-send="searchSend" />
<DayPage v-if="curtteDayType==3" :ta-day="taday" :search-send="searchSend" />
<MonthPage ref="taskScrollbarzf" v-if="curtteDayType==1" :app-info="appContent" :app-page-info="lookInfo" :state-form="stateForm" :app-flow-info="appFlowInfo" :ta-day="taday" :search-send="searchSend" />
<WeekPage ref="taskScrollbarzf" v-if="curtteDayType==2" :app-info="appContent" :app-page-info="lookInfo" :state-form="stateForm" :app-flow-info="appFlowInfo" :ta-day="taday" :search-send="searchSend" />
<DayPage ref="taskScrollbarzf" v-if="curtteDayType==3" :app-info="appContent" :app-page-info="lookInfo" :state-form="stateForm" :app-flow-info="appFlowInfo" :ta-day="taday" :search-send="searchSend" />
<AppPageInfo v-model:is-show="openAppPage" :app-info="appContent" :app-page-info="lookInfo" :state-form="stateForm" :app-flow-info="appFlowInfo" @searchData="searchSend" />
</div>
</template>

78
src/views/formTable/page/calendar/itemPage.vue

@ -6,6 +6,8 @@
<script lang='ts' setup>
import { PropType } from 'vue';
import DateClass from '@/api/common/calendar/DateClass';
import AppPageInfo from '@/views/formTable/pageInfo.vue'
const props = defineProps({
col: {
type: Object as PropType<dateBase>,
@ -26,7 +28,49 @@ const props = defineProps({
default(){
return {}
}
}
},
appKey:{
type:String,
default:""
},
appId:{
type:String,
default:""
},
taskTitle:{
type:String,
default:""
},
taskId:{
type:String,
default:""
},
taskKey:{
type:String,
default:""
},
stateListInfo:{
type:Object,
default(){
return {}
}
},
stateForm:{
type:Object,
default(){
return {}
}
},
appFlowInfo:{
type:Object,
default(){
return {}
}
},
formTableStr:{
type:String,
default:"",
}
});
const isCurrentMonth = (time: any) => {
@ -82,18 +126,46 @@ const writeListTitle = (val: any) => {
@ 功能: 打开表单
*/
const lookPageInfo = (val:any) => {
// console.log("2222222222:",val)
console.log("2222222222:",val)
props.stateForm.type=3
lookInfo.value = val
openAppPage.value = true
}
const lookInfo = ref<any>({})
const openAppPage = ref(false)
const appContent = reactive<any>({
appKey:props.appKey,
appId:props.appId,
taskTitle:props.taskTitle,
taskId:props.taskId,
taskKey:props.taskKey,
})
/**
@ 作者: 秦东
@ 时间: 2024-11-13 08:14:52
@ 功能:
*/
const changeTargetDate = (val:any) => {
// console.log("11111111111111111:",val)
console.log("11111111111111111:",val)
}
/**
@ 作者: 秦东
@ 时间: 2024-11-21 14:00:41
@ 功能: 重置查询列表
*/
const requeryList = () => {
console.log("重置查询列表:")
state.page = 1
tableDataList.value = []
nextTick(() => {
searchatWeekList()
})
}
</script>
<template>
<AppPageInfo v-model:is-show="openAppPage" :app-info="appContent" :app-page-info="lookInfo" :state-form="stateForm" :app-flow-info="appFlowInfo" :form-table-str="props.formTableStr" @searchData="requeryList" />
<div
class="calendar-item-container"
:class="[

112
src/views/formTable/page/calendar/weekPage.vue

@ -26,7 +26,45 @@ const props = defineProps({
default() {
return {};
},
}
},
appKey:{
type:String,
default:""
},
appId:{
type:String,
default:""
},
taskTitle:{
type:String,
default:""
},
taskId:{
type:String,
default:""
},
taskKey:{
type:String,
default:""
},
stateListInfo:{
type:Object,
default(){
return {}
}
},
stateForm:{
type:Object,
default(){
return {}
}
},
appFlowInfo:{
type:Object,
default(){
return {}
}
},
});
const taday = ref<any>([]);
//
@ -41,7 +79,13 @@ onMounted(()=>{
// selectedTime.value = props.taDay[0] + "-" + clockFactory(props.taDay[1]) + "-" + clockFactory(props.taDay[2])
// })
})
const appContent = reactive<any>({
appKey:props.appKey,
appId:props.appId,
taskTitle:props.taskTitle,
taskId:props.taskId,
taskKey:props.taskKey,
})
/**
@ 作者: 秦东
@ 时间: 2024-07-16 11:53:35
@ -98,7 +142,7 @@ defineExpose({
v-for="(item, index) in WeekBody"
:key="index"
>
<ItemPage :col="item" />
<ItemPage :col="item" :app-info="appContent" :app-page-info="lookInfo" :state-form="stateForm" :app-flow-info="appFlowInfo" @searchatWeekList="searchatWeekList" />
</div>
</template>
<template v-else>
@ -126,33 +170,49 @@ defineExpose({
font-size: 0.95rem;
}
}
.t-calendar-day {
.t-calendar-day {
display: flex;
flex-direction: column;
width: 100%;
height: calc(100% - 42px);
.t-calendar-row {
width: 100%;
height: 60px;
display: flex;
flex: 1;
border-bottom: 1px solid #ebeef5;
.t-calendar-col{
box-sizing: border-box;
flex: 1;
border-left: 1px solid #ebeef5;
padding: 2px;
font-size: 16px;
transition: all 0.2s;
width: calc(100%/7);
}
.t-calendar-col:last-child {
border-right: 1px solid #ebeef5;
}
}
.t-calendar-row:first-child {
border-top: 1px solid #ebeef5;
padding: 0;
box-sizing: border-box;
border-right: 1px solid #ebeef5;
.t-calendar-row {
width: calc(100%/7);
font-size: 0.95rem;
border-bottom: 1px solid #ebeef5;
border-top: 1px solid #ebeef5;
border-left: 1px solid #ebeef5;
}
}
// .t-calendar-day {
// display: flex;
// flex-direction: column;
// width: 100%;
// height: calc(100% - 42px);
// .t-calendar-row {
// width: calc(100%/7);
// height: 60px;
// display: flex;
// flex: 1;
// border-bottom: 1px solid #ebeef5;
// .t-calendar-col{
// box-sizing: border-box;
// flex: 1;
// border-left: 1px solid #ebeef5;
// padding: 2px;
// font-size: 16px;
// transition: all 0.2s;
// width: calc(100%/7);
// }
// .t-calendar-col:last-child {
// border-right: 1px solid #ebeef5;
// }
// }
// .t-calendar-row:first-child {
// border-top: 1px solid #ebeef5;
// }
// }
}
</style>

4530
yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save