Prechádzať zdrojové kódy

机构供应商内页

chao 4 rokov pred
rodič
commit
b08602a71d
73 zmenil súbory, kde vykonal 92 pridanie a 49 odobranie
  1. 3 3
      src/main/resources/static/js/base.js
  2. 15 0
      src/main/resources/static/js/center.js
  3. 1 3
      src/main/resources/static/js/supplier-center/dashboard.js
  4. 1 2
      src/main/resources/static/js/supplier-center/message.js
  5. 1 1
      src/main/resources/static/js/supplier-center/operation/list.js
  6. 1 2
      src/main/resources/static/js/supplier-center/order/delivergoods.js
  7. 1 2
      src/main/resources/static/js/supplier-center/order/detail.js
  8. 1 2
      src/main/resources/static/js/supplier-center/order/logistics-add.js
  9. 1 1
      src/main/resources/static/js/supplier-center/order/logistics-detail.js
  10. 1 2
      src/main/resources/static/js/supplier-center/order/logistics.js
  11. 1 2
      src/main/resources/static/js/supplier-center/order/orderlist.js
  12. 1 2
      src/main/resources/static/js/supplier-center/order/record.js
  13. 1 1
      src/main/resources/static/js/supplier-center/order/settlement.js
  14. 1 1
      src/main/resources/static/js/supplier-center/setting/information.js
  15. 1 1
      src/main/resources/static/js/supplier-center/setting/password.js
  16. 1 1
      src/main/resources/static/js/supplier-center/setting/phone.js
  17. 1 1
      src/main/resources/static/js/supplier-center/shop/brand.js
  18. 1 1
      src/main/resources/static/js/supplier-center/shop/decoration.js
  19. 1 1
      src/main/resources/static/js/supplier-center/shop/goods.js
  20. 1 1
      src/main/resources/static/js/supplier-center/shop/release.js
  21. 1 1
      src/main/resources/static/js/user-center/address/list.js
  22. 1 1
      src/main/resources/static/js/user-center/dashboard.js
  23. 1 1
      src/main/resources/static/js/user-center/message.js
  24. 1 1
      src/main/resources/static/js/user-center/operation/form.js
  25. 1 1
      src/main/resources/static/js/user-center/operation/list.js
  26. 1 1
      src/main/resources/static/js/user-center/order/detail.js
  27. 1 1
      src/main/resources/static/js/user-center/order/list.js
  28. 1 1
      src/main/resources/static/js/user-center/order/logistics.js
  29. 1 1
      src/main/resources/static/js/user-center/repair/detail.js
  30. 1 1
      src/main/resources/static/js/user-center/repair/form-user.js
  31. 1 1
      src/main/resources/static/js/user-center/repair/list.js
  32. 1 1
      src/main/resources/static/js/user-center/setting/information.js
  33. 1 1
      src/main/resources/static/js/user-center/setting/password.js
  34. 1 1
      src/main/resources/static/js/user-center/setting/phone.js
  35. 1 1
      src/main/resources/static/js/user-center/setting/upgrade.js
  36. 1 0
      src/main/resources/templates/supplier-center/dashboard.html
  37. 1 0
      src/main/resources/templates/supplier-center/message/list.html
  38. 1 0
      src/main/resources/templates/supplier-center/operation/form.html
  39. 1 0
      src/main/resources/templates/supplier-center/operation/list.html
  40. 2 2
      src/main/resources/templates/supplier-center/order/delivery-record.html
  41. 1 0
      src/main/resources/templates/supplier-center/order/delivery.html
  42. 1 0
      src/main/resources/templates/supplier-center/order/detail.html
  43. 1 0
      src/main/resources/templates/supplier-center/order/list.html
  44. 2 1
      src/main/resources/templates/supplier-center/order/logistics-add.html
  45. 1 0
      src/main/resources/templates/supplier-center/order/logistics-detail.html
  46. 2 1
      src/main/resources/templates/supplier-center/order/logistics.html
  47. 1 0
      src/main/resources/templates/supplier-center/order/settlement.html
  48. 1 0
      src/main/resources/templates/supplier-center/setting/information.html
  49. 1 0
      src/main/resources/templates/supplier-center/setting/password.html
  50. 1 0
      src/main/resources/templates/supplier-center/setting/phone.html
  51. 1 0
      src/main/resources/templates/supplier-center/shop/brand.html
  52. 1 0
      src/main/resources/templates/supplier-center/shop/decoration.html
  53. 1 0
      src/main/resources/templates/supplier-center/shop/example.html
  54. 1 0
      src/main/resources/templates/supplier-center/shop/goods.html
  55. 1 0
      src/main/resources/templates/supplier-center/shop/preview.html
  56. 1 0
      src/main/resources/templates/supplier-center/shop/release.html
  57. 1 0
      src/main/resources/templates/user-center/address/form.html
  58. 1 0
      src/main/resources/templates/user-center/address/list.html
  59. 1 0
      src/main/resources/templates/user-center/dashboard.html
  60. 1 0
      src/main/resources/templates/user-center/message/list.html
  61. 1 0
      src/main/resources/templates/user-center/operation/form.html
  62. 1 0
      src/main/resources/templates/user-center/operation/list.html
  63. 1 0
      src/main/resources/templates/user-center/order/detail.html
  64. 1 0
      src/main/resources/templates/user-center/order/list.html
  65. 1 0
      src/main/resources/templates/user-center/order/logistics.html
  66. 1 0
      src/main/resources/templates/user-center/repair/detail.html
  67. 1 0
      src/main/resources/templates/user-center/repair/form-user.html
  68. 1 0
      src/main/resources/templates/user-center/repair/form.html
  69. 1 0
      src/main/resources/templates/user-center/repair/list.html
  70. 1 0
      src/main/resources/templates/user-center/setting/information.html
  71. 1 0
      src/main/resources/templates/user-center/setting/password.html
  72. 1 0
      src/main/resources/templates/user-center/setting/phone.html
  73. 1 0
      src/main/resources/templates/user-center/setting/upgrade.html

+ 3 - 3
src/main/resources/static/js/base.js

@@ -8,9 +8,9 @@ var GLOBAL_SHOP_ID = 0;
 if(localStorage.getItem('userInfo')){
     globalUserData = JSON.parse(localStorage.getItem('userInfo'));
     GLOBAL_TOKEN = globalUserData.token;
-    GLOBAL_USER_ID = globalUserData.userId;
-    GLOBAL_USER_IDENTITY = globalUserData.userIdentity;
-    GLOBAL_SHOP_ID = globalUserData.shopId;
+    GLOBAL_USER_ID = globalUserData.userId*1;
+    GLOBAL_USER_IDENTITY = globalUserData.userIdentity*1;
+    GLOBAL_SHOP_ID = globalUserData.shopId*1;
 } else {
     if(!getBaseCookie("weChatAutoLogin")){
         var userAgent = navigator.userAgent.toLowerCase();

+ 15 - 0
src/main/resources/static/js/center.js

@@ -0,0 +1,15 @@
+;
+$(function(){
+    jqMultipleShow("click", ".navList", ".tab", ".con");
+    //GLOBAL_USER_IDENTITY: 2-会员机构;3-供应商;4-普通机构
+    var pageFlag = window.location.pathname.split("/")[1];
+    if (pageFlag == "supplier" && GLOBAL_USER_IDENTITY!==3) {
+        window.location.href = "/user/dashboard.html";
+    }
+    if (pageFlag == "user" && GLOBAL_USER_IDENTITY===3) {
+        window.location.href = "/supplier/dashboard.html";
+    }
+});
+
+
+

+ 1 - 3
src/main/resources/static/js/supplier-center/dashboard.js

@@ -1,6 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
-var isPC = ($(window).width()>768);
-var dashboard = new Vue({
+;var dashboard = new Vue({
     el:'#dashboard',
     data:{
         isRequset:true,

+ 1 - 2
src/main/resources/static/js/supplier-center/message.js

@@ -1,5 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
-var helpSuggestion = new Vue({
+;var helpSuggestion = new Vue({
     el: "#dashboard",
     data: {
         btnLoading: false,

+ 1 - 1
src/main/resources/static/js/supplier-center/operation/list.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var operationPage = new Vue({
     el: "#operationPage",
     data: {

+ 1 - 2
src/main/resources/static/js/supplier-center/order/delivergoods.js

@@ -1,5 +1,4 @@
-var isPC = ($(window).width() > 768);
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var delivergoods = new Vue({
     el: '#delivergoods',
     data: {

+ 1 - 2
src/main/resources/static/js/supplier-center/order/detail.js

@@ -1,5 +1,4 @@
-var isPC = ($(window).width()>768);
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var seeDetail = new Vue({
     el:'#seeDetail',
     data:{

+ 1 - 2
src/main/resources/static/js/supplier-center/order/logistics-add.js

@@ -1,5 +1,4 @@
-var isPC = ($(window).width()>768);
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var addlogistics = new Vue({
     el:'#addlogistics',
     data:{

+ 1 - 1
src/main/resources/static/js/supplier-center/order/logistics-detail.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var logisticsDetail  = new Vue({
     el:'#logisticsDetail',
     data:{

+ 1 - 2
src/main/resources/static/js/supplier-center/order/logistics.js

@@ -1,5 +1,4 @@
-var isPC = ($(window).width()>768);
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var logistics = new Vue({
     el:'#logistics',
     data:{

+ 1 - 2
src/main/resources/static/js/supplier-center/order/orderlist.js

@@ -1,5 +1,4 @@
-var isPC = ($(window).width()>768);
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var orderList = new Vue({
     el:'#orderList',
     data:{

+ 1 - 2
src/main/resources/static/js/supplier-center/order/record.js

@@ -1,5 +1,4 @@
-var isPC = ($(window).width()>768);
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var deliveryRecode = new Vue({
     el:'#deliveryRecode',
     data:{

+ 1 - 1
src/main/resources/static/js/supplier-center/order/settlement.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var settlement = new Vue({
     el:'#settlement',
     data:{

+ 1 - 1
src/main/resources/static/js/supplier-center/setting/information.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
  var information = new Vue({
     el:'#information',
     data:{

+ 1 - 1
src/main/resources/static/js/supplier-center/setting/password.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var passwordPage = new Vue({
     el: "#passwordPage",
     data: {

+ 1 - 1
src/main/resources/static/js/supplier-center/setting/phone.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var phonePage = new Vue({
     el: "#phonePage",
     data: {

+ 1 - 1
src/main/resources/static/js/supplier-center/shop/brand.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var Brandgoods =new Vue({
     el:'#Brandgoods',
     data:{

+ 1 - 1
src/main/resources/static/js/supplier-center/shop/decoration.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var decoration = new Vue({
     el:'#decoration',
     data:{

+ 1 - 1
src/main/resources/static/js/supplier-center/shop/goods.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var myGoods = new Vue({
     el:"#myGoods",
     data: {

+ 1 - 1
src/main/resources/static/js/supplier-center/shop/release.js

@@ -1,7 +1,7 @@
 /**
  * Created by ZHJY on 2020/9/17.
  */
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 $('.navLayout').find('.navList').removeClass("on").find('.con').hide().find('a').removeClass("on");
 $('.navLayout').find('.navList').eq(1).addClass("on").find('.con').show().find('a').eq(2).addClass("on");
 var releaseContainer = new Vue({

+ 1 - 1
src/main/resources/static/js/user-center/address/list.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var orderPage = new Vue({
     el: "#orderPage",
     data: {

+ 1 - 1
src/main/resources/static/js/user-center/dashboard.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var helpSuggestion = new Vue({
     el: "#dashboard",
     data: {

+ 1 - 1
src/main/resources/static/js/user-center/message.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var helpSuggestion = new Vue({
     el: "#dashboard",
     data: {

+ 1 - 1
src/main/resources/static/js/user-center/operation/form.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var operationPage = new Vue({
     el: "#operationPage",
     data: {

+ 1 - 1
src/main/resources/static/js/user-center/operation/list.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var operationPage = new Vue({
     el: "#operationPage",
     data: {

+ 1 - 1
src/main/resources/static/js/user-center/order/detail.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var orderPage = new Vue({
     el: "#orderPage",
     data: {

+ 1 - 1
src/main/resources/static/js/user-center/order/list.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var orderPage = new Vue({
     el: "#orderPage",
     data: {

+ 1 - 1
src/main/resources/static/js/user-center/order/logistics.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var logistics = new Vue({
        el:'#logistics',
        data:{

+ 1 - 1
src/main/resources/static/js/user-center/repair/detail.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var repairDetailPage = new Vue({
     el: "#repairDetailPage",
     data: {

+ 1 - 1
src/main/resources/static/js/user-center/repair/form-user.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var addFormPage = new Vue({
     el: '#addFormPage',
     data: {

+ 1 - 1
src/main/resources/static/js/user-center/repair/list.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var orderPage = new Vue({
     el: "#orderPage",
     data: {

+ 1 - 1
src/main/resources/static/js/user-center/setting/information.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var informationPage = new Vue({
     el: "#informationPage",
     data: {

+ 1 - 1
src/main/resources/static/js/user-center/setting/password.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var passwordPage = new Vue({
     el: "#passwordPage",
     data: {

+ 1 - 1
src/main/resources/static/js/user-center/setting/phone.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var phonePage = new Vue({
     el: "#phonePage",
     data: {

+ 1 - 1
src/main/resources/static/js/user-center/setting/upgrade.js

@@ -1,4 +1,4 @@
-jqMultipleShow("click", ".navList", ".tab", ".con");
+;
 var upgradePage = new Vue({
     el: "#upgradePage",
     data: {

+ 1 - 0
src/main/resources/templates/supplier-center/dashboard.html

@@ -125,6 +125,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/lib/echarts.min.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/dashboard.js(v=${version})}"></script>

+ 1 - 0
src/main/resources/templates/supplier-center/message/list.html

@@ -73,6 +73,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/message.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/supplier-center/operation/form.html

@@ -18,6 +18,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 
 </body>
 </html>

+ 1 - 0
src/main/resources/templates/supplier-center/operation/list.html

@@ -128,6 +128,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/operation/list.js(v=${version})}"></script>
 </body>

+ 2 - 2
src/main/resources/templates/supplier-center/order/delivery-record.html

@@ -120,8 +120,8 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
-<script charset="utf-8" type="text/javascript"
-        th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/order/record.js(v=${version})}"></script>
 </body>
 </html>

+ 1 - 0
src/main/resources/templates/supplier-center/order/delivery.html

@@ -96,6 +96,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript"
         th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/order/delivergoods.js(v=${version})}"></script>

+ 1 - 0
src/main/resources/templates/supplier-center/order/detail.html

@@ -117,6 +117,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/order/detail.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/supplier-center/order/list.html

@@ -152,6 +152,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/order/orderlist.js(v=${version})}"></script>
 </body>

+ 2 - 1
src/main/resources/templates/supplier-center/order/logistics-add.html

@@ -129,7 +129,8 @@
 
     <!-- 引入底部 -->
     <template th:replace="components/footer"></template>
-    <template th:replace="components/foot-link"></template>
+<template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
     <script charset="utf-8" th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}" type="text/javascript"></script>
     <script charset="utf-8" th:src="@{/js/supplier-center/order/logistics-add.js(v=${version})}" type="text/javascript"></script>
 </body>

+ 1 - 0
src/main/resources/templates/supplier-center/order/logistics-detail.html

@@ -97,6 +97,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript"
         th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/order/logistics-detail.js(v=${version})}"></script>

+ 2 - 1
src/main/resources/templates/supplier-center/order/logistics.html

@@ -134,7 +134,8 @@
 
     <!-- 引入底部 -->
     <template th:replace="components/footer"></template>
-    <template th:replace="components/foot-link"></template>
+<template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
     <script charset="utf-8" type="text/javascript"
             th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
     <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/order/logistics.js(v=${version})}"></script>

+ 1 - 0
src/main/resources/templates/supplier-center/order/settlement.html

@@ -121,6 +121,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/order/settlement.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/supplier-center/setting/information.html

@@ -308,6 +308,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/setting/information.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/supplier-center/setting/password.html

@@ -122,6 +122,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/user.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/setting/password.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/supplier-center/setting/phone.html

@@ -61,6 +61,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/setting/phone.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/supplier-center/shop/brand.html

@@ -185,6 +185,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript"
         th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/shop/brand.js(v=${version})}"></script>

+ 1 - 0
src/main/resources/templates/supplier-center/shop/decoration.html

@@ -123,6 +123,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/shop/decoration.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/supplier-center/shop/example.html

@@ -23,6 +23,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 
 </body>
 </html>

+ 1 - 0
src/main/resources/templates/supplier-center/shop/goods.html

@@ -276,6 +276,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript"
         th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/shop/goods.js(v=${version})}"></script>

+ 1 - 0
src/main/resources/templates/supplier-center/shop/preview.html

@@ -170,6 +170,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/lib/js/magnifier.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/shop/preview.js(v=${version})}"></script>

+ 1 - 0
src/main/resources/templates/supplier-center/shop/release.html

@@ -446,6 +446,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/lib/ckeditor5-new/ckeditor.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/shop/release.js(v=${version})}"></script>

+ 1 - 0
src/main/resources/templates/user-center/address/form.html

@@ -41,6 +41,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 
 </body>
 </html>

+ 1 - 0
src/main/resources/templates/user-center/address/list.html

@@ -122,6 +122,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/order.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/address/list.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/user-center/dashboard.html

@@ -137,6 +137,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/user.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/dashboard.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/user-center/message/list.html

@@ -89,6 +89,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/user.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/message.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/user-center/operation/form.html

@@ -67,6 +67,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/user.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/operation/form.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/user-center/operation/list.html

@@ -129,6 +129,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/user.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/operation/list.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/user-center/order/detail.html

@@ -247,6 +247,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/order.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/order/detail.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/user-center/order/list.html

@@ -137,6 +137,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" src="/lib/datapicker/moment.min.js"></script>
 <script charset="utf-8" type="text/javascript" src="/lib/datapicker/jquery.daterangepicker.js"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/order.service.js(v=${version})}"></script>

+ 1 - 0
src/main/resources/templates/user-center/order/logistics.html

@@ -87,6 +87,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/order.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/order/logistics.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/user-center/repair/detail.html

@@ -88,6 +88,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/repair.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/repair/detail.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/user-center/repair/form-user.html

@@ -104,6 +104,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/repair.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/repair/form-user.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/user-center/repair/form.html

@@ -93,6 +93,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/user.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/repair/repair.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/user-center/repair/list.html

@@ -119,6 +119,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" src="/lib/datapicker/moment.min.js"></script>
 <script charset="utf-8" type="text/javascript" src="/lib/datapicker/jquery.daterangepicker.js"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/repair.service.js(v=${version})}"></script>

+ 1 - 0
src/main/resources/templates/user-center/setting/information.html

@@ -202,6 +202,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/user.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/setting/information.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/user-center/setting/password.html

@@ -122,6 +122,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/user.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/setting/password.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/user-center/setting/phone.html

@@ -61,6 +61,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/user.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/setting/phone.js(v=${version})}"></script>
 </body>

+ 1 - 0
src/main/resources/templates/user-center/setting/upgrade.html

@@ -179,6 +179,7 @@
 <!-- 引入底部 -->
 <template th:replace="components/footer"></template>
 <template th:replace="components/foot-link"></template>
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/user.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/setting/upgrade.js(v=${version})}"></script>
 </body>