lex-xin hace 3 años
padre
commit
2638635c34
Se han modificado 100 ficheros con 240 adiciones y 622 borrados
  1. 16 15
      src/App.vue
  2. 10 0
      src/assets/element-variables.scss
  3. 0 13
      src/components/Editor/index.vue
  4. 1 1
      src/components/form-item/index.vue
  5. 1 1
      src/components/statistic/index.vue
  6. 10 10
      src/layout/components/Navbar.vue
  7. 3 3
      src/layout/components/Sidebar/index.vue
  8. 1 1
      src/layout/components/instructions.vue
  9. 18 6
      src/store/modules/user.js
  10. 9 2
      src/styles/sidebar.scss
  11. 2 0
      src/styles/variables.scss
  12. 1 5
      src/utils/auth.js
  13. 4 3
      src/utils/request.js
  14. 4 3
      src/utils/request2.js
  15. 6 0
      src/utils/setTheme.js
  16. 3 3
      src/views/HumanResources/form.vue
  17. 0 12
      src/views/HumanResources/index.vue
  18. 18 0
      src/views/adapayAccount/form.vue
  19. 0 12
      src/views/app/clouldSuggestion.vue
  20. 0 12
      src/views/app/entryActivities.vue
  21. 0 12
      src/views/app/entryOperation.vue
  22. 1 12
      src/views/app/suggestion.vue
  23. 1 1
      src/views/buildVip/index.vue
  24. 8 7
      src/views/businessManager/orderManager/businessStatement.vue
  25. 1 1
      src/views/businessManager/orderManager/businessStatementDetail.vue
  26. 2 2
      src/views/businessManager/orderManager/payRecord.vue
  27. 10 6
      src/views/businessManager/shopManager/shopList.vue
  28. 0 12
      src/views/businessManager/shopManager/shopOperation.vue
  29. 0 13
      src/views/categroyManager/generalSettings/earlyWarning.vue
  30. 0 12
      src/views/categroyManager/generalSettings/errorManager.vue
  31. 4 15
      src/views/categroyManager/generalSettings/holidaySetting.vue
  32. 7 8
      src/views/categroyManager/insideSetting/addressManager.vue
  33. 1 12
      src/views/categroyManager/insideSetting/adminOperation.vue
  34. 0 12
      src/views/categroyManager/insideSetting/branchActive.vue
  35. 1 12
      src/views/categroyManager/insideSetting/branchActiveOperation.vue
  36. 1 12
      src/views/categroyManager/insideSetting/branchManager.vue
  37. 0 12
      src/views/categroyManager/insideSetting/chargeProfitManager.vue
  38. 4 15
      src/views/categroyManager/insideSetting/gradientSet.vue
  39. 0 12
      src/views/categroyManager/insideSetting/staffManager.vue
  40. 1 1
      src/views/categroyManager/modals/baseInfo.vue
  41. 0 12
      src/views/categroyManager/specialSetup/bannerManager.vue
  42. 0 12
      src/views/categroyManager/specialSetup/branchSetting.vue
  43. 0 12
      src/views/categroyManager/specialSetup/charges.vue
  44. 0 12
      src/views/categroyManager/specialSetup/chargesList.vue
  45. 0 12
      src/views/categroyManager/specialSetup/cloudTeacherFee.vue
  46. 0 12
      src/views/categroyManager/specialSetup/discountManage.vue
  47. 0 12
      src/views/categroyManager/specialSetup/jobTemplateSetting.vue
  48. 0 12
      src/views/categroyManager/specialSetup/musicCourseFee.vue
  49. 0 12
      src/views/categroyManager/specialSetup/musicalManager.vue
  50. 1 12
      src/views/categroyManager/specialSetup/musicalManagerOut.vue
  51. 0 12
      src/views/categroyManager/specialSetup/tryClass.vue
  52. 0 12
      src/views/categroyManager/specialSetup/typesManager.vue
  53. 1 1
      src/views/categroyManager/vipActiveList.vue
  54. 2 2
      src/views/categroyManager/vipNewActive.vue
  55. 1 12
      src/views/chargeManager/one.vue
  56. 1 12
      src/views/chargeManager/three.vue
  57. 0 12
      src/views/chargeManager/two.vue
  58. 0 12
      src/views/chargeManager/twoTemp.vue
  59. 0 12
      src/views/contentManager/contentOperation.vue
  60. 0 12
      src/views/contentManager/model/systemNotifyModel.vue
  61. 1 1
      src/views/couponManager/couponDetail.vue
  62. 0 12
      src/views/helpCenter/helpCategory.vue
  63. 1 12
      src/views/helpCenter/helpContent.vue
  64. 10 10
      src/views/indexErrDataRecord/components/errorCourse.vue
  65. 1 12
      src/views/levelManager/levelManager.vue
  66. 1 1
      src/views/main/abnormal/index.vue
  67. 1 1
      src/views/main/baseinfo/business.vue
  68. 1 1
      src/views/main/baseinfo/curriculum.vue
  69. 1 1
      src/views/main/baseinfo/hr.vue
  70. 1 1
      src/views/main/baseinfo/index.vue
  71. 1 1
      src/views/main/baseinfo/management.vue
  72. 1 1
      src/views/main/baseinfo/operate.vue
  73. 1 1
      src/views/main/baseinfo/student.vue
  74. 1 1
      src/views/main/reminders/index.vue
  75. 1 1
      src/views/musicInspection/modals/lookDetail.vue
  76. 1 3
      src/views/operateManager/operateStudent.vue
  77. 1 3
      src/views/operateManager/serverIndexList.vue
  78. 14 4
      src/views/organManager/components/memberSetting.vue
  79. 12 12
      src/views/organManager/components/openService.vue
  80. 3 0
      src/views/organManager/components/organInfo.vue
  81. 3 3
      src/views/organManager/components/rateSetting.vue
  82. 3 3
      src/views/organManager/components/roomRules.vue
  83. 0 1
      src/views/organManager/organOperation.vue
  84. 1 1
      src/views/photo-detail/index.vue
  85. 1 1
      src/views/reaplceMusicPlayer/index.vue
  86. 0 1
      src/views/recodeManager/recodeList.vue
  87. 1 1
      src/views/reportForm/downList.vue
  88. 1 1
      src/views/resetTeaming/components/archicesComponents/baseInfo.vue
  89. 2 2
      src/views/resetTeaming/components/archicesComponents/modals/studentWork.vue
  90. 1 1
      src/views/resetTeaming/components/archicesComponents/performance.vue
  91. 4 4
      src/views/resetTeaming/components/archicesComponents/studentAndTeacher.vue
  92. 1 1
      src/views/resetTeaming/components/archicesComponents/survey.vue
  93. 2 2
      src/views/resetTeaming/components/archicesComponents/teamInfo.vue
  94. 2 2
      src/views/resetTeaming/components/archicesComponents/trainPlan.vue
  95. 4 4
      src/views/resetTeaming/components/archicesComponents/trainTimer.vue
  96. 1 1
      src/views/resetTeaming/components/musicArchices.vue
  97. 1 1
      src/views/resetTeaming/components/payInfoDetail.vue
  98. 1 1
      src/views/resetTeaming/components/resetSound.vue
  99. 1 1
      src/views/resetTeaming/components/training-photos/index.vue
  100. 1 1
      src/views/resetTeaming/index.vue

+ 16 - 15
src/App.vue

@@ -42,6 +42,7 @@ export default {
 #app {
   --color-primary: #14928a;
 }
+// 13817a
 body {
   background-color: #eef4f9 !important;
 }
@@ -57,8 +58,8 @@ body {
 }
 .el-checkbox__input.is-checked .el-checkbox__inner,
 .el-checkbox__input.is-indeterminate .el-checkbox__inner {
-  background-color: #14928a;
-  border-color: #14928a;
+  background-color: var(--color-primary);
+  border-color: var(--color-primary);
 }
 .el-select__tags .el-tag__close.el-icon-close {
   display: inline-block;
@@ -106,12 +107,12 @@ input[type="number"] {
   }
 }
 .el-tabs__item.is-active {
-  color: #14928a !important;
+  // color: var(--color-primary) !important;
   // font-size: 14px;
   font-weight: 600;
 }
 .el-tabs__item:hover {
-  color: #14928a !important;
+  // color: var(--color-primary) !important;
   // font-size: 14px;
   font-weight: 600;
 }
@@ -149,8 +150,8 @@ input[type="number"] {
   height: 36px;
   line-height: 36px;
   margin-bottom: 20px;
-  background-color: #14928a;
-  border: 1px solid #14928a;
+  background-color: var(--color-primary);
+  border: 1px solid var(--color-primary);
   cursor: pointer;
   color: #fff;
   font-size: 14px;
@@ -160,15 +161,15 @@ input[type="number"] {
   top: 3px;
 }
 .btn-primary {
-  background-color: #14928a;
-  border-color: #14928a;
+  background-color: var(--color-primary);
+  border-color: var(--color-primary);
   color: #fff;
   margin-bottom: 20px;
   min-width: 100px;
   &:focus,
   &:hover {
-    background-color: #0e726c;
-    border-color: #0e726c;
+    // background-color: #0e726c;
+    // border-color: #0e726c;
     color: #fff;
   }
 }
@@ -287,8 +288,8 @@ input[type="number"] {
       line-height: 32px;
       border-radius: 24px;
       width: 100px;
-      color: #14928a;
-      border: 1px solid rgba(20, 146, 138, 1);
+      color: var(--color-primary);
+      border: 1px solid var(--color-primary);
       font-size: 14px;
       text-align: center;
       margin-right: 12px;
@@ -298,13 +299,13 @@ input[type="number"] {
     }
     .term.active {
       color: #fff;
-      background-color: #14928a;
+      background-color: var(--color-primary);
     }
     .squrt {
       // margin-right: 15px;
       // height: 34px;
       // width: 8px;
-      // background-color: #14928a;
+      // background-color: var(--color-primary);
     }
   }
 }
@@ -323,7 +324,7 @@ input[type="number"] {
   .nextBtn {
     width: 120px;
     height: 40px;
-    background-color: #13817a;
+    background-color: var(--color-primary);
   }
   .okBtn {
     width: 120px;

+ 10 - 0
src/assets/element-variables.scss

@@ -0,0 +1,10 @@
+$--color-primary: #409EFF !default;
+// $--color-primary-light-1: mix($--color-white, $--color-primary, 10%) !default; /* 53a8ff */
+// $--color-primary-light-2: mix($--color-white, $--color-primary, 20%) !default; /* 66b1ff */
+// $--color-primary-light-3: mix($--color-white, $--color-primary, 30%) !default; /* 79bbff */
+// $--color-primary-light-4: mix($--color-white, $--color-primary, 40%) !default; /* 8cc5ff */
+// $--color-primary-light-5: mix($--color-white, $--color-primary, 50%) !default; /* a0cfff */
+// $--color-primary-light-6: mix($--color-white, $--color-primary, 60%) !default; /* b3d8ff */
+// $--color-primary-light-7: mix($--color-white, $--color-primary, 70%) !default; /* c6e2ff */
+// $--color-primary-light-8: mix($--color-white, $--color-primary, 80%) !default; /* d9ecff */
+// $--color-primary-light-9: mix($--color-white, $--color-primary, 90%) !default; /* ecf5ff */

+ 0 - 13
src/components/Editor/index.vue

@@ -378,18 +378,5 @@ export default {
   max-height: 500px;
 }
 
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 </style>
 

+ 1 - 1
src/components/form-item/index.vue

@@ -29,7 +29,7 @@ export default {
     height: 20px;
     display: inline-block;
     line-height: 20px;
-    color: #13817a;
+    color: var(--color-primary);
   }
 }
 </style>

+ 1 - 1
src/components/statistic/index.vue

@@ -110,7 +110,7 @@ export default {
   //   margin: auto!important;
   //   /deep/ .el-icon-edit{
   //     cursor: pointer;
-  //     color: #14928A;
+  //     color: var(--color-primary);
   //     font-size: 20px;
   //   }
   //   /deep/ .el-col {

+ 10 - 10
src/layout/components/Navbar.vue

@@ -321,8 +321,8 @@ import Cookies from 'js-cookie'
 import axios from 'axios'
 export default {
   data() {
-    const tenantId = sessionStorage.getItem('tenantId')
-    const tenantName = sessionStorage.getItem('tenantName')
+    let tenantConfig = sessionStorage.getItem('tenantConfig')
+    tenantConfig = tenantConfig ? JSON.parse(tenantConfig) : {}
     return {
       username: "",
       organName: this.$store.getters.organName,
@@ -339,9 +339,9 @@ export default {
       btnName: "获取验证码",
       isShowIns: false,
       tenantVisible: false,
-      tenantName: tenantName || null,
+      tenantName: tenantConfig.tenantName || null,
       tenantForm: {
-        tenantId: Number(tenantId) || null,
+        tenantId: Number(tenantConfig.tenantId) || null,
       },
       tenantList: []
     };
@@ -403,12 +403,14 @@ export default {
               tenantName = item.name
             }
           });
-          const tenantId = sessionStorage.getItem('tenantId')
-          if(tenantId != tenantForm.tenantId) {
+          let tenantConfig = sessionStorage.getItem('tenantConfig')
+          tenantConfig = tenantConfig ? JSON.parse(tenantConfig) : {}
+          if(tenantConfig.tenantId != tenantForm.tenantId) {
             //判断是否是当前路由
             // if(url == this.$route.path) {
-              sessionStorage.setItem('tenantId', tenantForm.tenantId)
-              sessionStorage.setItem('tenantName', tenantName)
+              tenantConfig.tenantId = tenantForm.tenantId
+              tenantConfig.tenantName = tenantForm.tenantName
+              sessionStorage.setItem('tenantConfig', JSON.stringify(tenantConfig))
               this.$router.push({
                   path: '/redirect',
                   query: this.$route.fullPath
@@ -570,7 +572,6 @@ export default {
   overflow: hidden;
   position: relative;
   z-index: 2000;
-  background: #14928a;
   box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.1);
 
   h2 {
@@ -599,7 +600,6 @@ export default {
     line-height: 90px;
     // padding-right: 22px;
     font-size: 16px;
-    color: #fff;
     .topIcon {
       width: 20px;
       height: 25px;

+ 3 - 3
src/layout/components/Sidebar/index.vue

@@ -171,7 +171,7 @@ export default {
 // /deep/.el-menu-item.is-active {
 //   font-weight: bold;
 //   background-color: #eef4f4 !important;
-//   color: #14928a !important;
+//   color: var(--color-primary) !important;
 //   position: relative;
 //   &::after {
 //     position: absolute;
@@ -179,13 +179,13 @@ export default {
 //     right: 0;
 //     content: " ";
 //     width: 6px;
-//     background-color: #14928a;
+//     background-color: var(--color-primary);
 //     display: block;
 //     height: 100%;
 //   }
 // }
 // /deep/.el-submenu .el-menu-item.is-active {
-//   color: #14928a !important;
+//   color: var(--color-primary) !important;
 // }
 /deep/.el-menu .menu-wrapper .el-menu-item {
   color: #666666;

+ 1 - 1
src/layout/components/instructions.vue

@@ -424,7 +424,7 @@ export default {
 .newPageBtn {
   font-size: 14px;
   line-height: 30px;
-  color: #14928a;
+  color: var(--color-primary);
   height: 30px;
   display: inline-block;
 }

+ 18 - 6
src/store/modules/user.js

@@ -2,6 +2,7 @@ import { login, logout, getInfo } from '@/api/user'
 import { getToken, setToken, removeToken, removeCrossToken, setCrossToken, removeTenant } from '@/utils/auth'
 import { tenantInfoQueryPage, tenantInfoInfo } from '@/views/organManager/api'
 import { resetRouter } from '@/router'
+import { setTheme } from '@/utils/setTheme'
 // import qs from 'qs'
 const state = {
   token: getToken(),
@@ -56,10 +57,15 @@ async function tenantQueryPage(id) {
       tenantId = tenantList[0]?.id
     }
     const info = await tenantInfoInfo({id: tenantId})
-    sessionStorage.setItem('tenantId', info.data.id)
-    sessionStorage.setItem('tenantName', info.data.name)
-    sessionStorage.setItem('tenantLogo', info.data.logo)
-    sessionStorage.setItem('tenantStatus', 'on') // 判断是否此状态,没有的话,刷新页面会重新请求页面
+    const data = info.data
+    sessionStorage.setItem('tenantConfig', JSON.stringify({
+      themeColor: data.config.themeColor,
+      theme: data.config.theme,
+      tenantId: data.id,
+      tenantName: data.name,
+      tenantLogo: data.logo,
+      tenantStatus: 'on' // 判断是否此状态,没有的话,刷新页面会重新请求页面
+    }))
   } catch(e) {}
 }
 
@@ -104,10 +110,16 @@ const actions = {
           const isSuperAdmin = data.data.isSuperAdmin
           const roles = data.data.roles
           const tenantId = data.data.tenantId
-          const tenantStatus = sessionStorage.getItem('tenantStatus')
-          if(tenantStatus != 'on') {
+          let tenantConfig = sessionStorage.getItem('tenantConfig')
+          tenantConfig = tenantConfig ? JSON.parse(tenantConfig) : {}
+          if(tenantConfig.tenantStatus != 'on') {
             await tenantQueryPage(tenantId)
           }
+          if(tenantId > 0) { // 判断是机构才会根据主题去设置
+            const themeColor = tenantConfig.themeColor
+            const theme = tenantConfig.theme
+            setTheme(themeColor)
+          }
           sessionStorage.setItem('baseTenantId', tenantId)
           commit('SET_NAME', username)
           commit('SET_AVATAR', avatar)

+ 9 - 2
src/styles/sidebar.scss

@@ -315,6 +315,13 @@
       height: 100%;
     }
   }
+
+  .navbar {
+    background: $menuPrimary;
+    .left-menu {
+      color: #fff;
+    }
+  }
 }
 
 #app.dark {
@@ -382,7 +389,7 @@
   }
 
   .navbar {
-    background: #000;
+    background: $darkmenuPrimary;
     .left-menu {
       color: #fff;
     }
@@ -402,7 +409,7 @@
 //     &:hover {
 //       // you can use $subMenuHover
 //       background-color: $menuHover !important;
-//       color: #14928A !important;
+//       color: var(--color-primary) !important;
 //       position: relative;
 //       &::after{
 //         position: absolute;

+ 2 - 0
src/styles/variables.scss

@@ -1,4 +1,5 @@
 // 默认大雅绿样式
+$menuPrimary: #14928A;
 $menuText:#1a1a1a;    // #000
 $menuActiveText:#fff;
 $menuActiveText2:#14928A;
@@ -11,6 +12,7 @@ $subMenuActiveBg:#EEF4F4; // 侧边栏二级选中样式
 $menuActiveAfter: #14928A;
 
 // 第二套样式配置
+$darkmenuPrimary: #177ddc;
 $darkmenuText:#fff;
 $darkmenuActiveText:#fff;
 $darkmenuActiveText2:#000;

+ 1 - 5
src/utils/auth.js

@@ -34,11 +34,7 @@ export function removeToken () {
 
 export function removeTenant() {
   // 移除跟机构相关信息
-  sessionStorage.removeItem('tenantId')
-  sessionStorage.removeItem('tenantName')
-  sessionStorage.removeItem('tenantLogo')
-  sessionStorage.removeItem('tenantStatus')
-  sessionStorage.removeItem('baseTenantId')
+  sessionStorage.removeItem('tenantConfig')
 }
 
 export function setCrossToken (token) {

+ 4 - 3
src/utils/request.js

@@ -80,9 +80,10 @@ service.interceptors.request.use(
       config.headers['Authorization'] = getToken()
       // config.headers['content-type'] = "application/x-www-form-urlencoded"
     }
-    const tenantId = sessionStorage.getItem('tenantId') || null
-    if(tenantId && tenantId != 'undefined') {
-      config.headers['tenantId'] = tenantId
+    let tenantConfig = sessionStorage.getItem('tenantConfig')
+    tenantConfig = tenantConfig ? JSON.parse(tenantConfig) : {}
+    if(tenantConfig.tenantId && tenantConfig.tenantId != 'undefined') {
+      config.headers['tenantId'] = tenantConfig.tenantId
     }
     config.params = cleanDeep(config.params)
     //  params: cleanDeep(options.params),

+ 4 - 3
src/utils/request2.js

@@ -81,10 +81,11 @@ service.interceptors.request.use(
       // please modify it according to the actual situation
       config.headers['Authorization'] = getToken()
     }
-    const tenantId = sessionStorage.getItem('tenantId') || null
     // const tenantStatus = config.data?.tenantStatus || config.params?.tenantStatus || null
-    if(tenantId && tenantId != 'undefined') {
-      config.headers['tenantId'] = tenantId
+    let tenantConfig = sessionStorage.getItem('tenantConfig')
+    tenantConfig = tenantConfig ? JSON.parse(tenantConfig) : {}
+    if(tenantConfig.tenantId && tenantConfig.tenantId != 'undefined') {
+      config.headers['tenantId'] = tenantConfig.tenantId
     }
     if (config.requestType === 'form') {
       config.headers['Content-Type'] = 'application/x-www-form-urlencoded'

+ 6 - 0
src/utils/setTheme.js

@@ -54,6 +54,12 @@ export const setTheme = async (val, isLoading) => { // 是否显示加载样式
   const element = document.getElementById('app')
   element.style.setProperty('--color-primary', val)
 
+  // 修改存的主题色
+  let tenantConfig = sessionStorage.getItem('tenantConfig')
+  tenantConfig = tenantConfig ? JSON.parse(tenantConfig) : {}
+  tenantConfig.themeColor = val
+  sessionStorage.setItem('tenantConfig', JSON.stringify(tenantConfig))
+
   if(isLoading) {
     tryHideFullScreenLoading()
   }

+ 3 - 3
src/views/HumanResources/form.vue

@@ -834,8 +834,8 @@ export default {
   }
 }
 .main-button {
-  background-color: #14928a;
-  border-color: #14928a;
+  background-color: var(--color-primary);
+  border-color: var(--color-primary);
 }
 .dialog-footer {
   display: block;
@@ -938,7 +938,7 @@ export default {
   .createRecord {
     font-size: 14px;
     font-weight: 400;
-    color: #14928a;
+    color: var(--color-primary);
     cursor: pointer;
   }
 }

+ 0 - 12
src/views/HumanResources/index.vue

@@ -839,18 +839,6 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 18 - 0
src/views/adapayAccount/form.vue

@@ -121,6 +121,24 @@
           </el-form-item>
           <el-form-item label="证照文件"
                         prop="multipartFile">
+            <template slot="label">
+              证照文件
+              <el-tooltip placement="top" popper-class="mTooltip">
+                  <div slot="content">
+                    内容须包含三证合一证件照、法人身份证正面照、法人身份证反面照、开户银行许可证照。 压缩 zip包后上传。
+                    <!-- 最大限制为 9 M。 -->
+                  </div>
+                  <i
+                    class="el-icon-question micon el-tooltip"
+                    style="
+                      font-size: 18px;
+                      color: #f56c6c;
+                      top: 2px;
+                      position: relative;
+                    "
+                  ></i>
+                </el-tooltip>
+            </template>
             <!-- <el-input type="file" class="uploadFile" v-model="form.multipartFile"></el-input> -->
             <el-upload class="avatar-upload"
                        ref="upload"

+ 0 - 12
src/views/app/clouldSuggestion.vue

@@ -189,18 +189,6 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-/deep/.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-table .cell {
   display: -webkit-box;
   overflow: hidden;

+ 0 - 12
src/views/app/entryActivities.vue

@@ -198,18 +198,6 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
-/deep/.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 0 - 12
src/views/app/entryOperation.vue

@@ -457,18 +457,6 @@ export default {
 /deep/.ql-container .ql-editor {
   max-height: 500px;
 }
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 .el-row {
   margin-top: 40px;
 }

+ 1 - 12
src/views/app/suggestion.vue

@@ -180,18 +180,7 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-/deep/.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
+
 /deep/.el-table .cell {
   display: -webkit-box;
   overflow: hidden;

+ 1 - 1
src/views/buildVip/index.vue

@@ -652,7 +652,7 @@
     <div class="btnWrap">
       <div class="okBtn" @click="submitInfo">{{ id ? "修改" : "确定" }}</div>
 
-      <div class="okBtn" style="background-color: #14928a" @click="resetFrom">
+      <div class="okBtn" style="background-color: var(--color-primary)" @click="resetFrom">
         重置
       </div>
     </div>

+ 8 - 7
src/views/businessManager/orderManager/businessStatement.vue

@@ -5,12 +5,6 @@
       经营报表
     </h2>
     <div class="m-core">
-      <el-button
-        @click="downloadFile"
-        v-permission="'operatingReport/export'"
-        style="margin-bottom:20px"
-        >导出</el-button
-      >
       <!-- 搜索类型 -->
       <save-form :inline="true" class="searchForm" :model="searchForm" @submit="search" @reset="onReSet">
         <el-form-item prop="organIdList">
@@ -68,6 +62,13 @@
           <el-button native-type="reset" type="primary">重置</el-button>
         </el-form-item>
       </save-form>
+      <el-button
+        @click="downloadFile"
+        type="primary"
+        v-permission="'operatingReport/export'"
+        style="margin-bottom:20px"
+        >导出</el-button
+      >
       <!-- 列表 -->
       <div class="tableWrap">
         <el-table
@@ -400,6 +401,6 @@ export default {
 <style lang="scss" scoped>
 .point {
   font-weight: bold;
-  color: #13817a;
+  color: var(--color-primary);
 }
 </style>

+ 1 - 1
src/views/businessManager/orderManager/businessStatementDetail.vue

@@ -354,6 +354,6 @@ export default {
 <style lang="scss" scoped>
 .point {
   font-weight: bold;
-  color: #13817a;
+  color: var(--color-primary);
 }
 </style>

+ 2 - 2
src/views/businessManager/orderManager/payRecord.vue

@@ -116,8 +116,8 @@
             v-permission="'financialExpenditure/batchDel/4043'"
             icon="el-icon-delete"
             style="
-              background-color: #14928a;
-              border: 1px solid #14928a;
+              background-color: var(--color-primary);
+              border: 1px solid var(--color-primary);
               margin-bottom: 15px;
             "
             @click="onBatchDel"

+ 10 - 6
src/views/businessManager/shopManager/shopList.vue

@@ -6,9 +6,10 @@
     </h2>
     <div class="m-core">
       <el-button
-        class="btn-primary"
+        type="primary"
         @click="onShopOperation('create')"
         v-permission="'/shopOperation'"
+        style="margin-bottom: 20px"
         >添加</el-button
       >
       <el-upload
@@ -22,7 +23,7 @@
         :on-error="handleError"
         :on-success="handleSuccess"
       >
-        <el-button class="btn-primary">商品导入</el-button>
+        <el-button type="primary" style="margin-bottom: 20px">商品导入</el-button>
       </el-upload>
       <!-- <el-upload v-permission="'export/goods'"
                  style="display: inline-block; margin: 0 10px;"
@@ -33,22 +34,25 @@
                  :headers="headers"
                  :on-error="handleError"
                  :on-success="handleSuccess">
-        <el-button class="btn-primary">商品导出</el-button>
+        <el-button >商品导出</el-button>
       </el-upload> -->
       <el-button
         v-permission="'export/goods'"
-        class="btn-primary"
+        type="primary"
+        style="margin-bottom: 20px"
         @click="exportShopList"
         >商品导出</el-button
       >
       <el-button
-        class="btn-primary"
+        type="primary"
+        style="margin-bottom: 20px"
         @click="onDownload"
         v-permission="'import/downloadTemplate'"
         >下载模板</el-button
       >
       <el-button
-        class="btn-primary"
+        type="primary"
+        style="margin-bottom: 20px"
         v-permission="'goods/add/commonAdd'"
         @click="onShopComAdd"
         >添加组合商品</el-button

+ 0 - 12
src/views/businessManager/shopManager/shopOperation.vue

@@ -875,19 +875,7 @@ replacementShowOrganId: 6,7 */
 .alert {
   margin-bottom: 22px;
 }
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
 
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 
 .el-row {
   margin-top: 40px;

+ 0 - 13
src/views/categroyManager/generalSettings/earlyWarning.vue

@@ -32,7 +32,6 @@
       </save-form>
       <auth auths="sysConfig/update/insert" style="margin-bottom: 20px">
         <el-button
-
           icon="el-icon-plus"
           type="primary"
           @click="openTypes('create')"
@@ -305,18 +304,6 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 0 - 12
src/views/categroyManager/generalSettings/errorManager.vue

@@ -173,18 +173,6 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 4 - 15
src/views/categroyManager/generalSettings/holidaySetting.vue

@@ -58,14 +58,15 @@ export default {
 </script>
 <style lang="scss" scoped>
 /deep/.el-input-group__append {
-  background: #dcdfe6;
+  background: #f5f7fa;
   border-color: #dcdfe6;
+  color: #909399;
   &:hover,
   &:active,
   &:focus {
-    background: #dcdfe6;
+    background: #f5f7fa;
     border-color: #dcdfe6;
-    color: #fff;
+    color: #909399;
   }
 }
 .calendarComponent {
@@ -112,16 +113,4 @@ export default {
   }
 }
 
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 </style>

+ 7 - 8
src/views/categroyManager/insideSetting/addressManager.vue

@@ -788,17 +788,16 @@ export default {
     padding: 0;
   }
 }
-.el-input-group__append,
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
+.el-input-group__append {
+  background: #f5f7fa;
+  border-color: #dcdfe6;
+  color: #909399;;
   &:hover,
   &:active,
   &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
+    background: #f5f7fa;
+    border-color: #dcdfe6;
+    color: #909399;;
   }
 }
 .el-vue-search-box-container {

+ 1 - 12
src/views/categroyManager/insideSetting/adminOperation.vue

@@ -261,18 +261,7 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
+
 .el-row {
   margin-top: 40px;
 }

+ 0 - 12
src/views/categroyManager/insideSetting/branchActive.vue

@@ -220,18 +220,6 @@ export default {
 };
 </script>
 <style lang="scss">
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 .el-vue-search-box-container {
   position: absolute !important;
   left: 10px;

+ 1 - 12
src/views/categroyManager/insideSetting/branchActiveOperation.vue

@@ -457,18 +457,7 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
+
 .el-row {
   margin-top: 40px;
 }

+ 1 - 12
src/views/categroyManager/insideSetting/branchManager.vue

@@ -633,18 +633,7 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
+
 /deep/.el-select {
   width: 100% !important;
 }

+ 0 - 12
src/views/categroyManager/insideSetting/chargeProfitManager.vue

@@ -372,18 +372,6 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
-/deep/.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-dialog__body {
   padding: 0 20px;
 }

+ 4 - 15
src/views/categroyManager/insideSetting/gradientSet.vue

@@ -273,26 +273,15 @@ export default {
 </script>
 <style lang="scss" scoped>
 /deep/.el-input-group__append {
-  background: #dcdfe6;
+  background: #f5f7fa;
   border-color: #dcdfe6;
+  color: #909399;
   &:hover,
   &:active,
   &:focus {
-    background: #dcdfe6;
+    background: #f5f7fa;
     border-color: #dcdfe6;
-    color: #fff;
-  }
-}
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
+    color: #909399;
   }
 }
 .el-row {

+ 0 - 12
src/views/categroyManager/insideSetting/staffManager.vue

@@ -1169,18 +1169,6 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-/deep/.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-dialog__body {
   // padding: 0 20px;
 }

+ 1 - 1
src/views/categroyManager/modals/baseInfo.vue

@@ -702,7 +702,7 @@ export default {
           margin-right: 10px;
         }
         > .head.active {
-          background-color: #13817a;
+          background-color: var(--color-primary);
           color: #fff;
           border: none;
         }

+ 0 - 12
src/views/categroyManager/specialSetup/bannerManager.vue

@@ -74,18 +74,6 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
-/deep/.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 0 - 12
src/views/categroyManager/specialSetup/branchSetting.vue

@@ -435,18 +435,6 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-/deep/.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 0 - 12
src/views/categroyManager/specialSetup/charges.vue

@@ -241,18 +241,6 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
-/deep/.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 0 - 12
src/views/categroyManager/specialSetup/chargesList.vue

@@ -306,18 +306,6 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
-/deep/.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 0 - 12
src/views/categroyManager/specialSetup/cloudTeacherFee.vue

@@ -235,18 +235,6 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 0 - 12
src/views/categroyManager/specialSetup/discountManage.vue

@@ -364,18 +364,6 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 0 - 12
src/views/categroyManager/specialSetup/jobTemplateSetting.vue

@@ -231,18 +231,6 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
-/deep/.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 0 - 12
src/views/categroyManager/specialSetup/musicCourseFee.vue

@@ -401,18 +401,6 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 0 - 12
src/views/categroyManager/specialSetup/musicalManager.vue

@@ -221,18 +221,6 @@ export default {
     margin-right: 12px;
   }
 }
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 1 - 12
src/views/categroyManager/specialSetup/musicalManagerOut.vue

@@ -221,18 +221,7 @@ export default {
     margin-right: 12px;
   }
 }
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
+
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 0 - 12
src/views/categroyManager/specialSetup/tryClass.vue

@@ -74,18 +74,6 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 0 - 12
src/views/categroyManager/specialSetup/typesManager.vue

@@ -186,18 +186,6 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 1 - 1
src/views/categroyManager/vipActiveList.vue

@@ -831,7 +831,7 @@ export default {
         margin-right: 10px;
       }
       > .head.active {
-        background-color: #13817a;
+        background-color: var(--color-primary);
         color: #fff;
         border: none;
       }

+ 2 - 2
src/views/categroyManager/vipNewActive.vue

@@ -535,8 +535,8 @@ export default {
   margin-top: 30px;
 }
 /deep/.is-success {
-  color: #14928a !important;
-  border-color: #14928a !important;
+  color: var(--color-primary) !important;
+  border-color: var(--color-primary) !important;
 }
 </style>
 

+ 1 - 12
src/views/chargeManager/one.vue

@@ -607,18 +607,7 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-/deep/.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
+
 /deep/.el-dialog__body {
   // padding: 0 20px;
 }

+ 1 - 12
src/views/chargeManager/three.vue

@@ -175,18 +175,7 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-/deep/.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
+
 
 /deep/.el-select,
 /deep/.el-date-editor.el-input {

+ 0 - 12
src/views/chargeManager/two.vue

@@ -320,18 +320,6 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-/deep/.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-dialog__body {
   // padding: 0 20px;
 }

+ 0 - 12
src/views/chargeManager/twoTemp.vue

@@ -358,18 +358,6 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-/deep/.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-dialog__body {
   padding: 0 20px;
 }

+ 0 - 12
src/views/contentManager/contentOperation.vue

@@ -958,18 +958,6 @@ export default {
 /deep/.ql-container .ql-editor {
   max-height: 500px;
 }
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 .el-row {
   margin-top: 40px;
 }

+ 0 - 12
src/views/contentManager/model/systemNotifyModel.vue

@@ -645,18 +645,6 @@ export default {
   max-height: 500px;
   padding: 15px;
 }
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 .el-row {
   margin-top: 40px;
 }

+ 1 - 1
src/views/couponManager/couponDetail.vue

@@ -131,7 +131,7 @@
             <template slot-scope="scope">
               <div
                 @click="gotoOrder(scope.row.paymentOrderId)"
-                style="color: #14928a; cursor: pointer"
+                style="color: var(--color-primary); cursor: pointer"
               >
                 {{ scope.row.paymentOrderId }}
               </div>

+ 0 - 12
src/views/helpCenter/helpCategory.vue

@@ -225,18 +225,6 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 1 - 12
src/views/helpCenter/helpContent.vue

@@ -336,18 +336,7 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
+
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 10 - 10
src/views/indexErrDataRecord/components/errorCourse.vue

@@ -283,7 +283,7 @@
       >
         <el-form-item label="课程组编号/名称" prop="search">
           <el-input
-            style="width: 180px"
+            style="width: 180px !important"
             v-model.trim="searchForm.search"
             clearable
             placeholder="课程组编号/课程名称"
@@ -291,7 +291,7 @@
         </el-form-item>
         <el-form-item label="教学点" prop="schoolId">
           <el-select
-            style="width: 180px"
+            style="width: 180px !important"
             v-model.trim="searchForm.schoolId"
             clearable
             filterable
@@ -307,7 +307,7 @@
         </el-form-item>
         <el-form-item label="分部" prop="organIdList">
           <el-select
-            style="width: 180px"
+            style="width: 180px !important"
             class="multiple"
             v-model.trim="searchForm.organIdList"
             filterable
@@ -324,7 +324,7 @@
         </el-form-item>
         <el-form-item label="课程组类型" prop="groupType">
           <el-select
-            style="width: 180px"
+            style="width: 180px !important"
             v-model.trim="searchForm.groupType"
             clearable
             filterable
@@ -340,7 +340,7 @@
         </el-form-item>
         <el-form-item label="教学模式" prop="teachMode">
           <el-select
-            style="width: 180px"
+            style="width: 180px !important"
             v-model.trim="searchForm.teachMode"
             clearable
             filterable
@@ -352,7 +352,7 @@
         </el-form-item>
         <el-form-item label="合并课类型" prop="mergeCourseType">
           <el-select
-            style="width: 180px"
+            style="width: 180px !important"
             v-model.trim="searchForm.mergeCourseType"
             clearable
             filterable
@@ -368,7 +368,7 @@
         </el-form-item>
         <el-form-item label="老师类型" prop="teachType">
           <el-select
-            style="width: 180px"
+            style="width: 180px !important"
             v-model.trim="searchForm.teachType"
             clearable
             filterable
@@ -384,7 +384,7 @@
         </el-form-item>
         <el-form-item label="是否点名" prop="isCallNames">
           <el-select
-            style="width: 180px"
+            style="width: 180px !important"
             v-model.trim="searchForm.isCallNames"
             clearable
             filterable
@@ -784,11 +784,11 @@ export default {
   color: red;
 }
 .green {
-  color: #14928a;
+  color: var(--color-primary);
 }
 
 .exportBtn {
-  background: #13817a;
+  background: var(--color-primary);
 }
 .newBand {
   margin-top: 30px;

+ 1 - 12
src/views/levelManager/levelManager.vue

@@ -447,18 +447,7 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
+
 /deep/.el-image-viewer__close {
   color: #fff;
   opacity: 1;

+ 1 - 1
src/views/main/abnormal/index.vue

@@ -63,7 +63,7 @@
         "
       >
         <span
-          style="color: #14928a"
+          style="color: var(--color-primary)"
           v-if="
             !errorType[item[0].errorType] ||
             (errorType[item[0].errorType] &&

+ 1 - 1
src/views/main/baseinfo/business.vue

@@ -228,7 +228,7 @@ export default {
 //   /deep/ .statistic-content{
 //     cursor: pointer;
 //     &.active > span{
-//       color: #14928a !important;
+//       color: var(--color-primary) !important;
 //     }
 //   }
 // }

+ 1 - 1
src/views/main/baseinfo/curriculum.vue

@@ -362,7 +362,7 @@ export default {
 //   /deep/ .statistic-content{
 //     cursor: pointer;
 //     &.active > span{
-//       color: #14928a !important;
+//       color: var(--color-primary) !important;
 //     }
 //   }
 // }

+ 1 - 1
src/views/main/baseinfo/hr.vue

@@ -120,7 +120,7 @@ export default {
   //   /deep/ .statistic-content{
   //     cursor: pointer;
   //     &.active > span{
-  //       color: #14928a !important;
+  //       color: var(--color-primary) !important;
   //     }
   //   }
   // }

+ 1 - 1
src/views/main/baseinfo/index.vue

@@ -275,7 +275,7 @@ export default {
     margin-right: 10px;
     height: 18px;
     width: 4px;
-    background-color: #14928a;
+    background-color: var(--color-primary);
   }
 }
 .wall {

+ 1 - 1
src/views/main/baseinfo/management.vue

@@ -450,7 +450,7 @@ export default {
 }
 .blod {
   font-weight: bold;
-  color: #14928a;
+  color: var(--color-primary);
   font-size: 22px !important;
 }
 // .chioseBox {

+ 1 - 1
src/views/main/baseinfo/operate.vue

@@ -148,7 +148,7 @@ export default {
 //   /deep/ .statistic-content{
 //     cursor: pointer;
 //     &.active > span{
-//       color: #14928a !important;
+//       color: var(--color-primary) !important;
 //     }
 //   }
 // }

+ 1 - 1
src/views/main/baseinfo/student.vue

@@ -295,7 +295,7 @@ export default {
 //   /deep/ .statistic-content{
 //     cursor: pointer;
 //     &.active > span{
-//       color: #14928a !important;
+//       color: var(--color-primary) !important;
 //     }
 //   }
 // }

+ 1 - 1
src/views/main/reminders/index.vue

@@ -42,7 +42,7 @@
           ]"
         >
           <span
-            style="color: #14928a"
+            style="color: var(--color-primary)"
             v-if="
               !errorType[item.errorType] ||
               (errorType[item.errorType] &&

+ 1 - 1
src/views/musicInspection/modals/lookDetail.vue

@@ -214,6 +214,6 @@ export default {
   color: red;
 }
 /deep/.el-icon-check {
-  color: #14928a;
+  color: var(--color-primary);
 }
 </style>

+ 1 - 3
src/views/operateManager/operateStudent.vue

@@ -101,9 +101,7 @@
           <el-button
             @click="onExport"
             type="primary"
-            v-permission="'export/operatingStudents'"
-            style="background: #14928a; border: 1px solid #14928a"
-            >导出</el-button
+            v-permission="'export/operatingStudents'">导出</el-button
           >
         </el-form-item>
       </save-form>

+ 1 - 3
src/views/operateManager/serverIndexList.vue

@@ -66,9 +66,7 @@
           <el-button
             @click="onExport"
             type="primary"
-            v-permission="'export/exercisesSituations'"
-            style="background: #14928a; border: 1px solid #14928a"
-            >导出</el-button
+            v-permission="'export/exercisesSituations'">导出</el-button
           >
         </el-form-item>
       </save-form>

+ 14 - 4
src/views/organManager/components/memberSetting.vue

@@ -8,11 +8,23 @@
         style="margin-bottom: 20px"
       ></el-alert>
       <el-form ref="form" label-position="top" :model="form" label-width="140px"  :inline="true">
+        <el-form-item label="按天会员激活金额" prop="day_divide"
+          :rules="[{ required: true, message: '请输入按天会员激活金额', trigger: 'blur' },
+            { type: 'number', message: '按天会员激活金额必须为数字值' }]">
+          <el-input
+            :disabled="isDisabled"
+            placeholder="请输入按天会员激活金额"
+            v-model.number="form.day_divide"
+            type="number"
+            style="width: 238px;"
+          >
+            <div slot="append">元/月</div>
+          </el-input>
+        </el-form-item>
         <el-form-item label="月度会员激活价" prop="month_divide"
           :rules="[{ required: true, message: '请输入月度会员激活价', trigger: 'blur' },
             { type: 'number', message: '月度会员激活价必须为数字值' }]">
           <el-input
-            
             :disabled="isDisabled"
             placeholder="请输入月度会员激活价"
             v-model.number="form.month_divide"
@@ -26,7 +38,6 @@
           :rules="[{ required: true, message: '请输入月度会员激活价', trigger: 'blur' },
             { type: 'number', message: '季度会员激活价必须为数字值' }]">
           <el-input
-            
             :disabled="isDisabled"
             placeholder="请输入季度会员激活价"
             v-model.number="form.quarter_divide"
@@ -40,7 +51,6 @@
           :rules="[{ required: true, message: '请输入月度会员激活价', trigger: 'blur' },
             { type: 'number', message: '半年会员激活价必须为数字值' }]">
           <el-input
-            
             :disabled="isDisabled"
             placeholder="请输入半年会员激活价"
             type="number"
@@ -54,7 +64,6 @@
           :rules="[{ required: true, message: '请输入月度会员激活价', trigger: 'blur' },
             { type: 'number', message: '年度会员激活价必须为数字值' }]">
           <el-input
-            
             :disabled="isDisabled"
             placeholder="请输入年度会员激活价"
             type="number"
@@ -118,6 +127,7 @@ export default {
   data () {
     return {
       form: {
+        day_divide: null,
         month_divide: null,
         quarter_divide: null,
         half_year_divide: null,

+ 12 - 12
src/views/organManager/components/openService.vue

@@ -45,47 +45,47 @@
           </el-select>
         </el-form-item>
         <el-form-item label="合同价" prop="contractPrice"
-          :rules="[{ required: true, message: '请输入合同价', trigger: 'blur' },
-            { type: 'number', message: '合同价必须为数字值' }]">
+          :rules="[{ required: true, message: '请输入合同价', trigger: 'blur' }]">
           <el-input
             :disabled="isDisabled"
             placeholder="请输入合同价"
-            v-model.number="form.contractPrice"
+            oninput="value=value.indexOf('.') > -1?value.slice(0, value.indexOf('.') + 3):value"
+            v-model="form.contractPrice"
             type="number"
           >
             <div slot="append">元/{{ unitSuffix }}</div>
           </el-input>
         </el-form-item>
         <el-form-item label="原价" prop="originalPrice"
-          :rules="[{ required: true, message: '请输入原价', trigger: 'blur' },
-            { type: 'number', message: '原价必须为数字值' }]">
+          :rules="[{ required: true, message: '请输入原价', trigger: 'blur' }]">
           <el-input
             placeholder="请输入原价"
             disabled
-            v-model.number="form.originalPrice"
+            oninput="value=value.indexOf('.') > -1?value.slice(0, value.indexOf('.') + 3):value"
+            v-model="form.originalPrice"
           >
             <div slot="append">元/{{ unitSuffix }}</div>
           </el-input>
         </el-form-item>
         <el-form-item label="有效期" prop="expiryCount"
-          :rules="[{ required: true, message: '请输入有效期', trigger: 'blur' },
-            { type: 'number', message: '有效期必须为数字值' }]">
+          :rules="[{ required: true, message: '请输入有效期', trigger: 'blur' }]">
           <el-input
             :disabled="isDisabled"
             type="number"
-            v-model.number="form.expiryCount"
+            onKeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))"
+            v-model="form.expiryCount"
             placeholder="请输入有效期"
           >
             <div slot="append">{{ unitSuffix }}</div>
           </el-input>
         </el-form-item>
         <el-form-item label="开通价格" prop="payAmount"
-          :rules="[{ required: true, message: '请输入开通价格', trigger: 'blur' },
-            { type: 'number', message: '开通价格必须为数字值' }]">
+          :rules="[{ required: true, message: '请输入开通价格', trigger: 'blur' }]">
           <el-input
             placeholder="请输入开通价格"
             type="number"
-            v-model.number="form.payAmount"
+            oninput="value=value.indexOf('.') > -1?value.slice(0, value.indexOf('.') + 3):value"
+            v-model="form.payAmount"
             :disabled="isDisabled"
           >
             <div slot="append">元</div>

+ 3 - 0
src/views/organManager/components/organInfo.vue

@@ -276,6 +276,9 @@ export default {
             this.branchStatus = true;
         }
       });
+    } else {
+      this.$set(this.form, "province", null);
+      this.$set(this.form, "city", null);
     }
 
     this.$refs.form.clearValidate()

+ 3 - 3
src/views/organManager/components/rateSetting.vue

@@ -9,11 +9,11 @@
       ></el-alert>
       <el-form ref="form" label-position="top" :model="form" label-width="120px"  :inline="true">
         <el-form-item label="手续费费率" prop="chargeRate"
-          :rules="[{ required: true, message: '请输入手续费费率', trigger: 'blur' },
-            { type: 'number', message: '手续费费率必须为数字值' }]">
+          :rules="[{ required: true, message: '请输入手续费费率', trigger: 'blur' }]">
           <el-input
             :disabled="isDisabled"
-            v-model.number="form.chargeRate"
+            v-model="form.chargeRate"
+            oninput="value=value.indexOf('.') > -1?value.slice(0, value.indexOf('.') + 3):value"
             placeholder="请输入手续费费率"
             style="width: 238px;"
             type="number"

+ 3 - 3
src/views/organManager/components/roomRules.vue

@@ -9,11 +9,11 @@
       ></el-alert>
       <el-form ref="form" label-position="top" :model="form" label-width="200px"  :inline="true">
         <el-form-item label="云教室人数上限(含老师)" prop="cloud_room_up_limit"
-          :rules="[{ required: true, message: '请输入云教室人数上限', trigger: 'blur' },
-            { type: 'number', message: '云教室人数上限必须为数字值', trigger: 'blur' }]">
+          :rules="[{ required: true, message: '请输入云教室人数上限', trigger: 'blur' }]">
           <el-input
             placeholder="请输入云教室人数上限"
-            v-model.number="form.cloud_room_up_limit"
+            v-model="form.cloud_room_up_limit"
+            onKeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))"
             :disabled="isDisabled"
             @blur="onUpLimitChange"
             type="number"

+ 0 - 1
src/views/organManager/organOperation.vue

@@ -173,5 +173,4 @@ export default {
 </script>
 <style lang='scss' scoped>
 
-
 </style>

+ 1 - 1
src/views/photo-detail/index.vue

@@ -297,7 +297,7 @@ export default {
   color: #fff;
   cursor: pointer;
   &.active{
-    color: #14928A;
+    color: var(--color-primary);
   }
 }
 .switch{

+ 1 - 1
src/views/reaplceMusicPlayer/index.vue

@@ -155,7 +155,7 @@
                   "
                   >开启缴费</el-button>
                 <el-dropdown>
-                  <span class="el-dropdown-link" style="color: #14928A">
+                  <span class="el-dropdown-link" style="color: var(--color-primary)">
                     更多操作<i class="el-icon-arrow-down el-icon--right"></i>
                   </span>
                   <el-dropdown-menu slot="dropdown" style="margin-left: 10px;">

+ 0 - 1
src/views/recodeManager/recodeList.vue

@@ -124,7 +124,6 @@
             @click="onExport"
             type="primary"
             v-permission="'export/queryTeacherAttendances'"
-            style="background-color: #14928a; border: 1px solid #14928a"
             >导出</el-button
           >
         </el-form-item>

+ 1 - 1
src/views/reportForm/downList.vue

@@ -78,7 +78,7 @@
                   :href="scope.row.fileUrl"
                   target="view_window"
                   v-if="scope.row.status != 0"
-                  style="color: #14928a"
+                  style="color: var(--color-primary)"
                   >点击下载</a
                 >
               </div>

+ 1 - 1
src/views/resetTeaming/components/archicesComponents/baseInfo.vue

@@ -127,7 +127,7 @@ export default {
     margin-right: 10px;
     height: 14px;
     width: 4px;
-    background-color: #14928a;
+    background-color: var(--color-primary);
     z-index: 500;
   }
 }

+ 2 - 2
src/views/resetTeaming/components/archicesComponents/modals/studentWork.vue

@@ -232,7 +232,7 @@ export default {
 //   /deep/ .statistic-content{
 //     cursor: pointer;
 //     &.active > span{
-//       color: #14928a !important;
+//       color: var(--color-primary) !important;
 //     }
 //   }
 // }
@@ -244,7 +244,7 @@ export default {
     margin-right: 10px;
     height: 18px;
     width: 4px;
-    background-color: #14928a;
+    background-color: var(--color-primary);
   }
 .chioseBox {
   position: absolute;

+ 1 - 1
src/views/resetTeaming/components/archicesComponents/performance.vue

@@ -226,7 +226,7 @@ export default {
     margin-right: 10px;
     height: 14px;
     width: 4px;
-    background-color: #14928a;
+    background-color: var(--color-primary);
     z-index: 500;
   }
 }

+ 4 - 4
src/views/resetTeaming/components/archicesComponents/studentAndTeacher.vue

@@ -332,7 +332,7 @@ export default {
       text-align: right;
     }
     .col-value {
-      color: #14928a;
+      color: var(--color-primary);
       cursor: pointer;
     }
   }
@@ -350,7 +350,7 @@ export default {
     margin-right: 10px;
     height: 14px;
     width: 4px;
-    background-color: #14928a;
+    background-color: var(--color-primary);
     z-index: 500;
   }
 }
@@ -359,7 +359,7 @@ export default {
   display: flex;
   flex-direction: row;
   .col-value {
-    color: #14928a;
+    color: var(--color-primary);
     cursor: pointer;
   }
   .descriptionItem {
@@ -396,7 +396,7 @@ export default {
       width: 50%;
     }
     .col-value {
-      color: #14928a;
+      color: var(--color-primary);
       cursor: pointer;
     }
   }

+ 1 - 1
src/views/resetTeaming/components/archicesComponents/survey.vue

@@ -290,7 +290,7 @@ export default {
     margin-right: 10px;
     height: 14px;
     width: 4px;
-    background-color: #14928a;
+    background-color: var(--color-primary);
     z-index: 500;
   }
 }

+ 2 - 2
src/views/resetTeaming/components/archicesComponents/teamInfo.vue

@@ -274,12 +274,12 @@ export default {
     margin-right: 10px;
     height: 14px;
     width: 4px;
-    background-color: #14928a;
+    background-color: var(--color-primary);
     z-index: 500;
   }
 }
 .link {
-  color: #14928a;
+  color: var(--color-primary);
   cursor: pointer;
 }
 </style>

+ 2 - 2
src/views/resetTeaming/components/archicesComponents/trainPlan.vue

@@ -112,7 +112,7 @@
             :key="item.timestamp"
             placement="top"
             :hide-timestamp="true"
-            :color= "'#14928a'"
+            :color= "'var(--color-primary)'"
           >
             {{ item.index }}
             <div class="timeline">
@@ -563,7 +563,7 @@ export default {
     margin-right: 10px;
     height: 14px;
     width: 4px;
-    background-color: #14928a;
+    background-color: var(--color-primary);
     z-index: 500;
   }
   .planMsg {

+ 4 - 4
src/views/resetTeaming/components/archicesComponents/trainTimer.vue

@@ -237,7 +237,7 @@ export default {
     }
     .col-value {
       display: inline-block;
-      // color: #14928a;
+      // color: var(--color-primary);
       // cursor: pointer;
     }
   }
@@ -254,7 +254,7 @@ export default {
     margin-right: 10px;
     height: 14px;
     width: 4px;
-    background-color: #14928a;
+    background-color: var(--color-primary);
     z-index: 500;
   }
 }
@@ -263,7 +263,7 @@ export default {
   display: flex;
   flex-direction: row;
   .col-value {
-    color: #14928a;
+    color: var(--color-primary);
     cursor: pointer;
   }
   .descriptionItem {
@@ -288,7 +288,7 @@ export default {
     }
     .descriptionItemConcat {
       .col-value {
-        color: #14928a;
+        color: var(--color-primary);
         cursor: pointer;
       }
       text-align: center;

+ 1 - 1
src/views/resetTeaming/components/musicArchices.vue

@@ -12,7 +12,7 @@
         v-model="isShowRecordOfStudent"
         @change="changeSwitch"
         :disabled="!permission('musicGroupRecord/settingStudentIsShow')"
-        active-color="#14928a"
+        active-color="var(--color-primary)"
       >
       </el-switch>
     </div>

+ 1 - 1
src/views/resetTeaming/components/payInfoDetail.vue

@@ -136,7 +136,7 @@ export default {
   .squrt {
     width: 4px;
     height: 16px;
-    background: #14928a;
+    background: var(--color-primary);
     margin-right: 5px;
     position: relative;
     top: -1px;

+ 1 - 1
src/views/resetTeaming/components/resetSound.vue

@@ -876,7 +876,7 @@ export default {
   .add {
     width: 98px;
     height: 32px;
-    background: rgba(20, 146, 138, 1);
+    background: var(--color-primary);
     border-radius: 3px;
     color: #fff;
     line-height: 32px;

+ 1 - 1
src/views/resetTeaming/components/training-photos/index.vue

@@ -331,7 +331,7 @@ export default {
   margin-left: 10px;
   padding-left: 100px;
   /deep/ .el-timeline-item__node{
-    background-color: #14928A;
+    background-color: var(--color-primary);
   }
   /deep/ .el-timeline-item__timestamp {
     margin-left: -100px;

+ 1 - 1
src/views/resetTeaming/index.vue

@@ -455,7 +455,7 @@ export default {
   color: #777;
 }
 .msg {
-  color: #14928a;
+  color: var(--color-primary);
   text-align: right;
   // color: #777;
   font-size: 32px;

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio