From a0311f57f3a828857e3188b26252ddcba5948317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=B9=90?= <419641032@qq.com> Date: Mon, 17 Aug 2020 15:28:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=A7=E6=80=A5=E4=BF=AE=E5=A4=8D=E4=BA=86?= =?UTF-8?q?=E4=B8=80=E4=BA=9Bbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/.editorconfig | 14 - admin/README.es.md | 467 ++++---- admin/public/favicon.ico | Bin 67646 -> 4286 bytes admin/src/api/article.js | 6 +- admin/src/api/marketing.js | 3 +- admin/src/api/store.js | 12 + admin/src/api/systemSetting.js | 16 +- admin/src/api/systemadmin.js | 18 +- admin/src/components/BackToTop/index.vue | 111 -- admin/src/components/Category/edit.vue | 13 - admin/src/components/Category/list.vue | 2 - admin/src/components/DragSelect/index.vue | 61 - admin/src/components/Dropzone/index.vue | 297 ----- .../components/generator/config.js | 15 +- .../FormGenerator/index/RightPanel.vue | 8 +- admin/src/components/JsonEditor/index.vue | 72 -- admin/src/components/MDinput/index.vue | 360 ------ .../MarkdownEditor/default-options.js | 31 - admin/src/components/MarkdownEditor/index.vue | 118 -- admin/src/components/Upload/SingleImage.vue | 134 --- admin/src/components/Upload/SingleImage2.vue | 130 -- admin/src/components/Upload/SingleImage3.vue | 157 --- admin/src/components/Upload/uploadFile.vue | 1 - .../uploadPicture/forGenrator/index.vue | 1 - .../uploadPicture/uploadFrom/index.vue | 1 + admin/src/layout/components/Sidebar/Logo.vue | 134 ++- admin/src/layout/components/Sidebar/index.vue | 2 +- admin/src/router/index.js | 2 +- admin/src/settings.js | 2 +- admin/src/styles/styles.scss | 6 +- admin/src/utils/constants.js | 2 +- .../wxAccount/reply/follow/index.vue | 4 +- admin/src/views/content/article/edit.vue | 4 +- admin/src/views/content/article/list.vue | 8 +- admin/src/views/distribution/index.vue | 8 +- .../marketing/coupon/list/creatCoupon.vue | 6 +- .../views/marketing/coupon/record/index.vue | 42 +- .../views/marketing/integral/config/index.vue | 44 +- admin/src/views/order/index.vue | 30 +- admin/src/views/order/orderSend.vue | 4 +- .../sms/smsConfig/components/tableList.vue | 7 +- admin/src/views/sms/smsConfig/index.vue | 44 +- admin/src/views/sms/smsTemplate/index.vue | 30 +- admin/src/views/store/creatStore/index.vue | 1 + admin/src/views/store/creatStore/index2.vue | 1055 ----------------- admin/src/views/store/index.vue | 16 +- admin/src/views/store/storeComment/index.vue | 44 +- .../administratorAuthority/adminList/edit.vue | 9 +- .../adminList/index.vue | 20 +- .../identityManager/index.vue | 2 +- .../logistics/companyList/index.vue | 35 +- .../logistics/shippingTemplates/index.vue | 25 +- .../src/views/systemSetting/setting/index.vue | 18 +- admin/src/views/user/list/edit.vue | 10 +- admin/src/views/user/list/index.vue | 80 +- app/api/api.js | 2 +- app/api/order.js | 136 ++- app/api/public.js | 18 +- app/api/store.js | 8 +- app/components/payment/index.vue | 2 +- app/components/productWindow/index.vue | 3 +- app/components/tabNav.vue | 2 +- app/libs/wechat.js | 5 +- app/pages/columnGoods/HotNewGoods/index.vue | 2 +- app/pages/goods_details/index.vue | 10 +- app/pages/index/index.vue | 2 +- app/pages/index/index001.vue | 2 +- app/pages/order_details/index.vue | 2 +- app/pages/user/index.vue | 5 +- app/pages/users/goods_comment_con/index.vue | 2 +- app/pages/users/login/index.vue | 6 +- app/pages/users/order_confirm/index.vue | 21 +- app/pages/users/user_payment/index.vue | 42 +- app/pages/users/user_vip/index.vue | 4 +- .../main/java/com/common/CheckFrontToken.java | 21 +- .../main/java/com/constants/Constants.java | 2 +- .../interceptor/FrontTokenInterceptor.java | 9 +- crmeb/src/main/java/com/utils/CrmebUtil.java | 12 + .../article/controller/ArticleController.java | 9 +- .../service/impl/ArticleServiceImpl.java | 1 + .../com/zbkj/crmeb/article/vo/ArticleVo.java | 5 +- .../manager/TokenManagerImpl.java | 6 +- .../java/com/zbkj/crmeb/config/WebConfig.java | 4 +- .../ShippingTemplatesSearchRequest.java | 4 +- .../impl/ShippingTemplatesServiceImpl.java | 4 +- .../front/controller/UserController.java | 2 +- .../crmeb/front/request/LoginRequest.java | 6 +- .../front/response/UserCenterResponse.java | 12 + .../front/service/impl/IndexServiceImpl.java | 8 +- .../front/service/impl/OrderServiceImpl.java | 4 +- .../service/impl/ProductServiceImpl.java | 73 +- .../impl/StoreCouponUserServiceImpl.java | 4 +- .../controller/StoreProductController.java | 3 +- .../StoreProductReplyController.java | 1 + .../zbkj/crmeb/store/model/StoreProduct.java | 3 + .../request/StoreOrderSearchRequest.java | 2 +- .../request/StoreProductAttrValueRequest.java | 3 +- .../StoreProductReplySearchRequest.java | 3 + .../store/service/StoreProductService.java | 7 + .../service/impl/RetailShopServiceImpl.java | 12 +- .../service/impl/StoreOrderServiceImpl.java | 12 +- .../impl/StoreProductReplyServiceImpl.java | 27 +- .../service/impl/StoreProductServiceImpl.java | 41 +- .../crmeb/store/utilService/OrderUtils.java | 12 +- .../system/request/SystemAdminRequest.java | 1 + .../service/SystemUserLevelService.java | 4 +- .../service/impl/SystemAdminServiceImpl.java | 37 +- .../service/impl/SystemRoleServiceImpl.java | 5 +- .../impl/SystemUserLevelServiceImpl.java | 8 + .../upload/service/impl/AsyncServiceImpl.java | 14 +- .../upload/service/impl/CosServiceImpl.java | 2 +- .../upload/service/impl/OssServiceImpl.java | 3 +- .../upload/service/impl/QiNiuServiceImpl.java | 3 +- .../crmeb/user/controller/UserController.java | 10 +- .../request/RegisterThirdUserRequest.java | 4 +- .../UserOperateIntegralMoneyRequest.java | 6 - .../crmeb/user/request/UserSearchRequest.java | 6 +- .../zbkj/crmeb/user/service/UserService.java | 6 + .../user/service/impl/UserServiceImpl.java | 82 +- .../service/impl/UserSignServiceImpl.java | 4 +- .../impl/TemplateMessageServiceImpl.java | 4 + .../impl/WeChatMessageServiceImpl.java | 5 +- 122 files changed, 1235 insertions(+), 3297 deletions(-) delete mode 100644 admin/.editorconfig delete mode 100644 admin/src/components/BackToTop/index.vue delete mode 100644 admin/src/components/DragSelect/index.vue delete mode 100644 admin/src/components/Dropzone/index.vue delete mode 100644 admin/src/components/JsonEditor/index.vue delete mode 100644 admin/src/components/MDinput/index.vue delete mode 100644 admin/src/components/MarkdownEditor/default-options.js delete mode 100644 admin/src/components/MarkdownEditor/index.vue delete mode 100644 admin/src/components/Upload/SingleImage.vue delete mode 100644 admin/src/components/Upload/SingleImage2.vue delete mode 100644 admin/src/components/Upload/SingleImage3.vue delete mode 100644 admin/src/views/store/creatStore/index2.vue diff --git a/admin/.editorconfig b/admin/.editorconfig deleted file mode 100644 index 3454886e..00000000 --- a/admin/.editorconfig +++ /dev/null @@ -1,14 +0,0 @@ -# https://editorconfig.org -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 2 -end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true - -[*.md] -insert_final_newline = false -trim_trailing_whitespace = false diff --git a/admin/README.es.md b/admin/README.es.md index 396556f5..addcbafe 100644 --- a/admin/README.es.md +++ b/admin/README.es.md @@ -1,217 +1,282 @@ -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

Plantilla de Dashboard de administración hecha con Vue, React y Angular.
- -## Características - -``` -- Iniciar / Cerrar Sesión - -- Permisos de Authentication - - Página de Permisos - - Directivas de permisos - - Página de configuración de permisos - - Autenticación por dos pasos - -- Construcción Multi-entorno - - dev sit stage producción - -- Características Globales - - I18n - - Temas dinámicos - - Dynamic sidebar (soporte a rutas multi-nivel) - - Barra de rutas dinámica - - Tags-view (Tab page Support right-click operation) - - Svg Sprite - - Datos de simulación con Mock - - Pantalla completa - - Responsive Sidebar - -- Editor - - Editor de Texto Enriquecido - - Editor Markdown - - Editor JSON - -- Excel - - Exportación a Excel - - Carga de Excel - - Visualización de Excel - - Exportación como zip - -- Tabla - - Tabla Dinámica - - Tabla con Arrastrar y Soltar - - Tabla de edición en línea - -- Páginas de Error - - 401 - - 404 - -- Componentes - - Carga de Avatar - - Botón para subir al inicio - - Arrastrar y Soltar (Diaglogo) - - Arrastrar y Soltar (Seleccionar) - - Arrastrar y Soltar (Kanban) - - Arrastrar y Soltar (Lista) - - Panel de división - - Componente para soltar archivos - - Adhesión de objetos - - Contador hasta - -- Ejemplo Avanzado -- Registro de Errores -- Tablero de indicadores -- Página de Guías -- ECharts (Gráficos) -- Portapapeles -- Convertidor de Markdown a html -``` - -## Iniciando - -```bash -# clone el proyecto -git clone https://github.com/PanJiaChen/vue-element-admin.git - -# vaya al directorio clonado -cd vue-element-admin - -# instale las dependencias -npm install - -# corra el proyecto como desarrollador -npm run dev -``` - -Automáticamente se abrirá el siguiente enlace en su navegador http://localhost:9527 - -## Construcción - -```bash -# Construcción para entornos de prueba -npm run build:stage - -# Construcción para entornos de producción -npm run build:prod -``` - -## Avanzado - -```bash -# Vista previa con efectos de entorno -npm run preview - -# Vista previa con efectos + análisis de recursos estáticos -npm run preview -- --report - -# Chequeo de formato de código -npm run lint - -# Chequeo de formato de código y auto-corrección -npm run lint -- --fix -``` - -Vaya a [Documentación](https://panjiachen.github.io/vue-element-admin-site/guide/essentials/deploy.html) para mayor información - -## Registro de Cambios - -Los cambios detallados por cada liberación se encuentran en [notas de liberación](https://github.com/PanJiaChen/vue-element-admin/releases). - -## Demostración en línea - -[Vista Prévia de la Aplicación](https://panjiachen.github.io/vue-element-admin) - -## Donación - -Si este proyecto es de mucha ayuda para ti, puedes comprarle al autor un vaso de jugo :tropical_drink: - - - -[dona por Paypal](https://www.paypal.me/panfree23) - -[Comprame un Café](https://www.buymeacoffee.com/Pan) - -## Navegadores Soportados - -Navegadores modernos e Internet Explorer 10+. - -| [
](https://godban.github.io/browsers-support-badges/)IE / Edge | [
](https://godban.github.io/browsers-support-badges/)Firefox | [
](https://godban.github.io/browsers-support-badges/)Chrome | [
](https://godban.github.io/browsers-support-badges/)Safari |
-| --------- | --------- | --------- | --------- |
-| IE10, IE11, Edge| últimas 2 versiones| últimas 2 versiones| últimas 2 versiones
-
-## Licencia
-
-[MIT](https://github.com/PanJiaChen/vue-element-admin/blob/master/LICENSE)
-
-Copyright (c) 2017-presente PanJiaChen
diff --git a/admin/public/favicon.ico b/admin/public/favicon.ico
index 34b63ac63a87ee3ea8e7a0f3f5b5406c437e2112..54183254468ec87208af17f09ce324dad8ccc885 100644
GIT binary patch
literal 4286
zcmeI0OGuPa6vyv0Q)7-c<0EyPvN1Izh!#aeFM2^iQAAnvFsW!=gb)-#P|%_xLVD7s
z=pF5fs9g85cC~P))GkX%%ND}v{%+o{Z|>)eV@Pd0a{SJm^FROpxz}&*$EQ*u{gX~B
zeyh6)r7DzCjoNieE!R%oT4_uv+;5fDGupKGXz%?;j#e8p=<7Z0f>))|lA1nK^u*d#
zhL@BlB{id7dxNM@G^1v)I!6r*ShpWexY4kBer^`O0VvXWT~NPo|G2l?}kY zf%3JpwPf&pi+OzdE$s7+#^YbjKA;U`?w+r}hx>UX)cIkXjo5IV-+@Om)BO=yZhKtY zGa{W0z*rL6p%&8tKZE{XXf*!J-xGAu4`klnkLYXJ_C>r#0(&ol7w7xw%Ngq04c@n_ zEy4Oh-I#!Vz^z;7ix@(S;r}M~oV(N<{Oy+kf75J$n2#p8pPsm|?PnXW!?{ASUziSa zAz$ Bi8;+%d8P&Kl~@O{l_pqA7=*shkMH~7hrz?&;29Fcsl^?|8{4o7PFnC z{YUIR#`k7ZCdLFL!hh}cv!H*pcp)*qL|-&iJ(ErOlHB_T=%O`7&j0D<>JZ=M8L}@$ zS>8=jo~$s?=Slw^+Zt_pw(*Frk3SNB&I#!6&G )%JK5{0i_bCuslr^+h*xuK?-* zGvq)0Gk$_SWUk;l_ssZoVC@Osq4#mr{f9=^-+RU({PV)@3*%3$N&Wo)xV8oTa#npZ z@TdNuFR)+U@v?xlur;ub$RawxiM<8SN1HSQex)O@lyd>&&<7j?{@m--uy#QFwe=m^ z{*4V)GsXH$uH|EFPXs5n+2${0AE!lIgTAA6HzwXMBqDn}Zdfzd3gf_Y;Q!3Gwtd7D z>?04sUPX)tC rsA9j9#A*P~SUUfAx~7c_03kGSvfnh)4zjL{mjzc-b<;&~!2 z2;+!|Y>B=A`i1krTd; r7kzQKKj8PBEzrd|+P{%Hfb%^4e2sV(bqxCkt~KR;qKpfr-`L3dr^)+O z*he$kU%nyIEKNOn{f=>nt!Y9T8Ha8NANJj&&CN3gM_?Z5i-8Bv(I3kg4X)M8RT+ps z_l)IyfUq;d&!pWi_K?GKx#ooWXY*$46@WFxxq5a6`TQR3Z>O)XX6%uk{Jew6eY%dm zz^g%TWKizG^9nvc&db%8VgJ6c%@;X}Hh-{0rG5}L7=D|pG7x{Uj~M2e6Foap2F?f3 z=fE*TR(5CRZHG43Q+N- dlT*R2cZip|tfoaBIl>+~GI80A-%z?7- z-Je*8l6xMoPiGtl{dxz#TB#AfA9~W@b(tIsLbveQZI9vkk!Qyp4;x*Mfjs?R@OkSI zf30D$-kA!KJ0#`=A2tGi=E*irovbHQ^evy8;Mt~^BPIj%w;sj2wx{?k^d5 i5mvMd$ ob4~jh8)I;cf^x|D9_bNr0eOoJ8{x9?3dVZ#F~3&;Jv(HKjK0wss5~Dy zJPtC{Cp^Nj*6SIz`!m3P0mx|hvd&*sRp_RgVw73h0onIeY(w7!?q6)~E6ExgGcxG- zZWVmOjtM9?{Q>6024v4?eS5RY_un9v2XlIkEA9?nubl9&Gy}e@pK%oL!1kRLK0&M# zvYQqk1X;5RZrPTDZRS !r@0;-D9DuI>!pU!~QGh>ac
>!&ko_SdDgDfc+rH z#ct57&c4bCoI4|p (Wjk6y*~gM-L|ZjKi`>h4#Y9>wTPRX jLhndP(vJ_&jrM4y(`FfyV%+$ZNpAP?mKb7%(>Iz!O&z}`x8cgZlz<@wfNnS#CP zXbaFDJPR^{-&Vc$_HACj?J7^717qNk-M42d58OYZqvuAvN7%7o1j)cVsLTDpeL3PX zrn&mi&QVXVfqQXg%6BXM-sP`TI(wFn!8=SS1K$S?H+z8NcKU42BKCO~j@O}2zo;v; z3^oq>b_>MhSqbk%WpQKun6q~o-zR=8_}2@v`nZ5H%5^SpV;pk=WA`PPm%9vm%Z o5a@7~-Dj)hRUI#smxwuC7XRieQ6EJow z;CwvVzvAk({=9q=2=ac~9f1D>1Ya@Ud+*o;KL0a_`ZZVh4J9AiaV*C-Kuxe!{ubl4 z^MHQ={j>DV3%?EGo#ZDs9N=8R&euxOe~R%T{UkpI4F$WQ-b4TNX^;>4Xcfk4SG)XG zSl_CR*}DAJi?_=S=dF{A@D+pKt{$voM!XZ^AH3lITcDw0n(DsaAYb|+I6q0fQ;IhI z*PX%2v9#ehR(HcEFF)pU0P8)3j>TAUGWuBVHMa%Cwn@EAUn*lH*heH9H}E|D?EDRX z%RQ>-kD)#}1#)8C!MKDX$k?ZV^M%J=s;A!3bb1hTufufC-F&2sd!iQ@h%q!{NkTQ} zp%0$w4m#jFcdP?JFW8>|etp306%c)GJiY{ZLHxP>5qx)IOtux@?VziX{!1J$Mm`rD zdSUq(AKEzkaoNs|!!Q>)yZw02F>wM_oVXiyVr?Pt=e`pYaDF1rGu}8#z#p-P_VK`e z9DHwMy@Bd6zB3$`GY_#&4Y5hJ%HiPBTog~{VIl`y7%z&L5)oGtZogsK(C`)e5kzsO z@6|(nj(%MB FqYOb(5k~swGzeBT8Uz5tx8&TMIl6ny7Y8DK$jL7hO5sTL ;~ zlvtnU1N7 C!QI(h$xxtqM^J|3iKI-A_RE*W=R^fEL{kfJe%7F|G%7zi&qR zT#7U<>j8-u*!VQ%P2T`mJbijP(>jJ0$EBN@)-ixd9Rsum8LObkURU8_@$*;(o3(VL zg5lev6(TeFiAY>HyJ&&6tI-0B%JE#dfRUd^3RoQZeYk+pq*kEl?O~2I$F7qjy2~QN X;@D+E7Ad=S_FbjlW&KY_+xPzm3MBT? diff --git a/admin/src/api/article.js b/admin/src/api/article.js index 4bd370bf..bffdb675 100644 --- a/admin/src/api/article.js +++ b/admin/src/api/article.js @@ -90,7 +90,7 @@ export function AddArticle(pram) { return request({ url: '/admin/article/save', method: 'post', - params: data + data: data }) } @@ -101,7 +101,6 @@ export function AddArticle(pram) { */ export function UpdateArticle(pram) { const data = { - id: pram.id, author: pram.author, cid: pram.cid, content: pram.content, @@ -118,6 +117,7 @@ export function UpdateArticle(pram) { return request({ url: '/admin/article/update', method: 'post', - params: data + params: { id: pram.id }, + data: data }) } diff --git a/admin/src/api/marketing.js b/admin/src/api/marketing.js index 058ba8fb..bd0d308e 100644 --- a/admin/src/api/marketing.js +++ b/admin/src/api/marketing.js @@ -77,10 +77,11 @@ export function couponUserListApi(params) { * 积分日志 列表 * @param pram */ -export function integralListApi(data) { +export function integralListApi(params, data) { return request({ url: '/admin/user/bill/list', method: 'post', + params, data }) } diff --git a/admin/src/api/store.js b/admin/src/api/store.js index 7dada2b3..2f55b4b3 100644 --- a/admin/src/api/store.js +++ b/admin/src/api/store.js @@ -241,3 +241,15 @@ export function importProductApi(params) { params }) } + +/** + * 恢复 + * @param pram + */ +export function restoreApi(params) { + return request({ + url: `/admin/store/product/importProduct`, + method: 'post', + params + }) +} diff --git a/admin/src/api/systemSetting.js b/admin/src/api/systemSetting.js index 14677340..a58aa600 100644 --- a/admin/src/api/systemSetting.js +++ b/admin/src/api/systemSetting.js @@ -50,7 +50,7 @@ export function fileFileApi(data, params) { */ export function fileImageApi(data, params) { return request({ - url: '/admin/wechat/media/upload', + url: '/admin/upload/image', method: 'POST', params, data @@ -91,3 +91,17 @@ export function attachmentMoveApi(data) { data }) } + + +/** + * 微信上传图片 + * @param data + */ +export function wechatUploadApi(data, params) { + return request({ + url: `/admin/wechat/media/upload`, + method: 'post', + data, + params + }) +} diff --git a/admin/src/api/systemadmin.js b/admin/src/api/systemadmin.js index 75cc6856..d1affcfe 100644 --- a/admin/src/api/systemadmin.js +++ b/admin/src/api/systemadmin.js @@ -29,25 +29,11 @@ export function adminInfo(pram) { }) } -export function adminList(pram) { - const data = { - account: pram.account, - addTime: pram.addTime, - isDel: pram.isDel, - lastIp: pram.lastIp, - lastTime: pram.lastTime, - level: pram.level, - loginCount: pram.loginCount, - page: pram.page, - limit: pram.limit, - realName: pram.realName, - roles: pram.roles, - status: pram.status - } +export function adminList(params) { return request({ url: '/admin/system/admin/list', method: 'GET', - params: data + params }) } diff --git a/admin/src/components/BackToTop/index.vue b/admin/src/components/BackToTop/index.vue deleted file mode 100644 index 36522f4a..00000000 --- a/admin/src/components/BackToTop/index.vue +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - diff --git a/admin/src/components/Category/edit.vue b/admin/src/components/Category/edit.vue index 9a3ae8de..4b66c43e 100644 --- a/admin/src/components/Category/edit.vue +++ b/admin/src/components/Category/edit.vue @@ -1,7 +1,6 @@- --diff --git a/admin/src/components/Category/list.vue b/admin/src/components/Category/list.vue index 1d6c89e1..b48e59ad 100644 --- a/admin/src/components/Category/list.vue +++ b/admin/src/components/Category/list.vue @@ -16,7 +16,6 @@- {{biztype}} - -- - - -- @@ -52,8 +41,6 @@ 取消 - {{biztype}}- diff --git a/admin/src/layout/components/Sidebar/index.vue b/admin/src/layout/components/Sidebar/index.vue index a6a9ca8c..3c964a3b 100644 --- a/admin/src/layout/components/Sidebar/index.vue +++ b/admin/src/layout/components/Sidebar/index.vue @@ -8,7 +8,7 @@ :collapse="isCollapse" :background-color="variables.menuBg" :text-color="variables.menuText" - :unique-opened="false" + :unique-opened="true" :active-text-color="variables.menuActiveText" :collapse-transition="false" mode="vertical" diff --git a/admin/src/router/index.js b/admin/src/router/index.js index ba52c71e..3c565ee1 100644 --- a/admin/src/router/index.js +++ b/admin/src/router/index.js @@ -216,7 +216,7 @@ export const constantRoutes = [ path: 'dashboard', component: () => import('@/views/dashboard/index'), name: 'Dashboard', - meta: { title: '主页', icon: 'dashboard', affix: true } + meta: { title: '控制台', icon: 'dashboard', affix: true } } ] }, diff --git a/admin/src/settings.js b/admin/src/settings.js index 283af7e5..2da62181 100644 --- a/admin/src/settings.js +++ b/admin/src/settings.js @@ -28,7 +28,7 @@ module.exports = { * @type {boolean} true | false * @description Whether show the logo in sidebar */ - sidebarLogo: false, + sidebarLogo: true, /** * @type {string | array} 'production' | ['production', 'development'] diff --git a/admin/src/styles/styles.scss b/admin/src/styles/styles.scss index b87d7fe2..22d165cf 100644 --- a/admin/src/styles/styles.scss +++ b/admin/src/styles/styles.scss @@ -334,11 +334,11 @@ table .el-image{ //富文本编辑器弹框 .edui-shadow{ - z-index: -1 !important; + //z-index: -1 !important; } .edui-default{ - z-index: 4000; + //z-index: 4000; } .edui-dialog{ - z-index: 4009 !important; + //z-index: 4009 !important; } diff --git a/admin/src/utils/constants.js b/admin/src/utils/constants.js index 9aa72463..df86d67c 100644 --- a/admin/src/utils/constants.js +++ b/admin/src/utils/constants.js @@ -4,7 +4,7 @@ */ export const page = { - limit: [10, 15, 20, 50, 100], + limit: [20, 40, 60, 80, 100], page: 1, layout: 'total, sizes, prev, pager, next, jumper' } diff --git a/admin/src/views/appSetting/wxAccount/reply/follow/index.vue b/admin/src/views/appSetting/wxAccount/reply/follow/index.vue index ec5cf0f9..c708ed6c 100644 --- a/admin/src/views/appSetting/wxAccount/reply/follow/index.vue +++ b/admin/src/views/appSetting/wxAccount/reply/follow/index.vue @@ -154,7 +154,7 @@ - diff --git a/admin/src/views/distribution/index.vue b/admin/src/views/distribution/index.vue index 1bc75511..4fe880a2 100644 --- a/admin/src/views/distribution/index.vue +++ b/admin/src/views/distribution/index.vue @@ -11,7 +11,7 @@@@ -87,7 +86,6 @@ - {{biztype}} - - - - - diff --git a/admin/src/components/Dropzone/index.vue b/admin/src/components/Dropzone/index.vue deleted file mode 100644 index bad9eb90..00000000 --- a/admin/src/components/Dropzone/index.vue +++ /dev/null @@ -1,297 +0,0 @@ - -- -- - -- - - - - diff --git a/admin/src/components/FormGenerator/components/generator/config.js b/admin/src/components/FormGenerator/components/generator/config.js index 070436af..e6cae19a 100644 --- a/admin/src/components/FormGenerator/components/generator/config.js +++ b/admin/src/components/FormGenerator/components/generator/config.js @@ -498,6 +498,7 @@ export const selectComponents = [ __slot__: { 'list-type': true }, + accept: '', // headers: { 'Authori-zation': getToken() }, // data: { model: 'product', pid: 0 }, // action: SettingMer.apiBaseURL + 'admin/upload/image?model=product&pid=0', @@ -520,22 +521,22 @@ export const selectComponents = [ required: true, span: 24, showTip: false, - buttonText: '点击上传', + buttonText: '', regList: [], changeTag: true, - fileSize: 2, - sizeUnit: 'MB', + // fileSize: 2, + // sizeUnit: 'MB', document: 'https://element.eleme.cn/#/zh-CN/component/upload' }, __slot__: { 'list-type': true }, - action: 'https://jsonplaceholder.typicode.com/posts/', + // action: 'https://jsonplaceholder.typicode.com/posts/', disabled: true, - accept: '', + accept: 'image', name: 'file', - 'auto-upload': true, - 'list-type': 'text', + // 'auto-upload': true, + // 'list-type': 'text', multiple: false }, { diff --git a/admin/src/components/FormGenerator/index/RightPanel.vue b/admin/src/components/FormGenerator/index/RightPanel.vue index c9b46070..a53fcb28 100644 --- a/admin/src/components/FormGenerator/index/RightPanel.vue +++ b/admin/src/components/FormGenerator/index/RightPanel.vue @@ -219,14 +219,16 @@- + + 图片 + +- @@ -619,6 +621,7 @@ import { inputComponents, selectComponents, layoutComponents } from '@/components/FormGenerator/components/generator/config' import { saveFormConf } from '../utils/db' +import Templates from "../../../views/appSetting/wxAccount/wxTemplate/index"; const dateTimeFormat = { date: 'yyyy-MM-dd', @@ -633,6 +636,7 @@ const dateTimeFormat = { export default { components: { + Templates, TreeNodeDialog, IconsDialog }, diff --git a/admin/src/components/JsonEditor/index.vue b/admin/src/components/JsonEditor/index.vue deleted file mode 100644 index 07b282e4..00000000 --- a/admin/src/components/JsonEditor/index.vue +++ /dev/null @@ -1,72 +0,0 @@ - - - -- - - - - diff --git a/admin/src/components/MDinput/index.vue b/admin/src/components/MDinput/index.vue deleted file mode 100644 index c59ea34a..00000000 --- a/admin/src/components/MDinput/index.vue +++ /dev/null @@ -1,360 +0,0 @@ - --- - - - - diff --git a/admin/src/components/MarkdownEditor/default-options.js b/admin/src/components/MarkdownEditor/default-options.js deleted file mode 100644 index 303aa13d..00000000 --- a/admin/src/components/MarkdownEditor/default-options.js +++ /dev/null @@ -1,31 +0,0 @@ -// doc: https://nhnent.github.io/tui.editor/api/latest/ToastUIEditor.html#ToastUIEditor -export default { - minHeight: '200px', - previewStyle: 'vertical', - useCommandShortcut: true, - useDefaultHTMLSanitizer: true, - usageStatistics: false, - hideModeSwitch: false, - toolbarItems: [ - 'heading', - 'bold', - 'italic', - 'strike', - 'divider', - 'hr', - 'quote', - 'divider', - 'ul', - 'ol', - 'task', - 'indent', - 'outdent', - 'divider', - 'table', - 'image', - 'link', - 'divider', - 'code', - 'codeblock' - ] -} diff --git a/admin/src/components/MarkdownEditor/index.vue b/admin/src/components/MarkdownEditor/index.vue deleted file mode 100644 index 1a8a01ee..00000000 --- a/admin/src/components/MarkdownEditor/index.vue +++ /dev/null @@ -1,118 +0,0 @@ - - - - - diff --git a/admin/src/components/Upload/SingleImage.vue b/admin/src/components/Upload/SingleImage.vue deleted file mode 100644 index d16bbf37..00000000 --- a/admin/src/components/Upload/SingleImage.vue +++ /dev/null @@ -1,134 +0,0 @@ - -- - - - - - - - - ---- - - - - diff --git a/admin/src/components/Upload/SingleImage2.vue b/admin/src/components/Upload/SingleImage2.vue deleted file mode 100644 index 07637a9e..00000000 --- a/admin/src/components/Upload/SingleImage2.vue +++ /dev/null @@ -1,130 +0,0 @@ - -- - -- 将文件拖到此处,或点击上传 -------
- ---- - - - - diff --git a/admin/src/components/Upload/SingleImage3.vue b/admin/src/components/Upload/SingleImage3.vue deleted file mode 100644 index 6300da4b..00000000 --- a/admin/src/components/Upload/SingleImage3.vue +++ /dev/null @@ -1,157 +0,0 @@ - -- - -- Drag或点击上传 -------
- ---- - - - - diff --git a/admin/src/components/Upload/uploadFile.vue b/admin/src/components/Upload/uploadFile.vue index 40d59892..d394b06b 100644 --- a/admin/src/components/Upload/uploadFile.vue +++ b/admin/src/components/Upload/uploadFile.vue @@ -17,7 +17,6 @@- - -- 将文件拖到此处,或点击上传 -------
- -------
- --- @@ -283,7 +283,7 @@ listLoading: true, tableFrom: { dateLimit: '', - keyword: '', + keywords: '', page: 1, limit: 20 }, @@ -357,7 +357,7 @@ // 具体日期 onchangeTimeSpread(e) { this.timeValSpread = e - this.tableFrom.dateLimit = e ? this.timeValSpread.join('-') : '' + this.tableFrom.dateLimit = e ? this.timeValSpread.join(',') : '' this.onName === 'man' ? this.getListSpread() : this.getSpreadOrderList() }, onChanges() { @@ -416,7 +416,7 @@ // 具体日期 onchangeTime(e) { this.timeVal = e - this.tableFrom.dateLimit = e ? this.timeVal.join('-') : '' + this.tableFrom.dateLimit = e ? this.timeVal.join(',') : '' this.tableFrom.page = 1 this.getList() }, diff --git a/admin/src/views/marketing/coupon/list/creatCoupon.vue b/admin/src/views/marketing/coupon/list/creatCoupon.vue index dcf4f49c..353de036 100644 --- a/admin/src/views/marketing/coupon/list/creatCoupon.vue +++ b/admin/src/views/marketing/coupon/list/creatCoupon.vue @@ -7,7 +7,7 @@+ - @@ -84,8 +84,8 @@通用卷 +通用券 商品券 品类券 diff --git a/admin/src/views/marketing/coupon/record/index.vue b/admin/src/views/marketing/coupon/record/index.vue index c32ab1f0..01d26f79 100644 --- a/admin/src/views/marketing/coupon/record/index.vue +++ b/admin/src/views/marketing/coupon/record/index.vue @@ -5,19 +5,30 @@ 手动领取 -新人卷 -赠送卷 +新人券 +赠送券 - -+ - - +- + + + + + ++ + +- @@ -109,6 +120,7 @@ - diff --git a/admin/src/views/store/index.vue b/admin/src/views/store/index.vue index 13fc58a6..763af796 100644 --- a/admin/src/views/store/index.vue +++ b/admin/src/views/store/index.vue @@ -98,6 +98,7 @@ >+ @@ -148,7 +150,7 @@ 编辑 -删除 +恢复商品 +{{ tableFrom.type === '5' ? '删除' : '加入回收站' }}