Bladeren bron

添加其它页面权限

lex 1 jaar geleden
bovenliggende
commit
9fe0f24870
30 gewijzigde bestanden met toevoegingen van 344 en 367 verwijderingen
  1. 0 0
      dist/index.html
  2. 1 1
      index.html
  3. 1 1
      src/config/website.config.ts
  4. 28 68
      src/router/constant.ts
  5. 4 6
      src/views/educational-manage/component/category-list.tsx
  6. 5 51
      src/views/educational-manage/component/material-list.tsx
  7. 2 3
      src/views/educational-manage/index.tsx
  8. 4 3
      src/views/knowledge-manage/knowledge-detail/index.tsx
  9. 12 10
      src/views/knowledge-manage/knowledge-list/index.tsx
  10. BIN
      src/views/login/images/login-bg.png
  11. BIN
      src/views/login/images/login-logo.png
  12. BIN
      src/views/login/images/login-main.png
  13. BIN
      src/views/login/images/login_bg.png
  14. BIN
      src/views/login/images/login_logo.png
  15. BIN
      src/views/login/images/login_styles.png
  16. 65 64
      src/views/login/index.vue
  17. 24 36
      src/views/music-library/music-sheet/component/music-list.tsx
  18. 16 14
      src/views/music-library/music-sheet/component/music-sheet-categories-list.tsx
  19. 32 34
      src/views/music-library/music-sheet/index.tsx
  20. 24 4
      src/views/music-library/project-music-sheet/index.tsx
  21. 7 6
      src/views/music-library/project-music-sheet/module/gym/music-sheet-gym.tsx
  22. 40 13
      src/views/music-library/project-music-sheet/module/gyt/music-sheet-gyt.tsx
  23. 11 12
      src/views/music-library/project-music-sheet/module/klx/music-sheet-klx.tsx
  24. 5 5
      src/views/music-library/project-music-sheet/module/kt/music-sheet-kt.tsx
  25. 9 7
      src/views/teaching-manage/after-class-training-detail/index.tsx
  26. 13 19
      src/views/teaching-manage/after-class-training/index.tsx
  27. 11 2
      src/views/teaching-manage/courseware-manage/index.tsx
  28. 9 2
      src/views/teaching-manage/unit-test/examination-site-management/index.tsx
  29. 12 4
      src/views/teaching-manage/unit-test/index.tsx
  30. 9 2
      src/views/teaching-manage/unit-test/question-bank/index.tsx

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


+ 1 - 1
index.html

@@ -12,7 +12,7 @@
   <meta http-equiv="Expires" content="0" />
   <meta name="referrer" content="no-referrer" />
   <title>
-    内容管理平台
+    音乐教育总控管理平台
   </title>
 </head>
 

+ 1 - 1
src/config/website.config.ts

@@ -1,7 +1,7 @@
 import logoImage from '@/assets/images/logo.png'
 import loginImage from '@/assets/images/account-logo.png'
 export const websiteConfig = Object.freeze({
-  title: '内容管理平台',
+  title: '音乐教育总控管理平台',
   logo: logoImage,
   loginImage: loginImage,
   loginDesc: ''

+ 28 - 68
src/router/constant.ts

@@ -1,71 +1,31 @@
 export const RedirectName = ''
 export const asyncRoutes = {
-    ErrorPage: () => import('@/views/exception/404.vue'),
-    Layout: () => import('@/layout/index.vue'),
-    ParentLayout: () => import('@/layout/parentLayout.vue'),
-    // setMenu: () => import('@/views/menu-manage/index'),
-    home: () => import('@/views/test/index'),
-    loginLog: () => import('@/views/login-log/index'), // 登录日志
-    interfaceLog: () => import('@/views/login-log/interface-log'), // 操作日志
-    // cityManage: () => import('@/views/city-manage/index'), // 城市管理
-    menuManage: () => import('@/views/system-manage/menu-manage/index'), // 菜单管理
-    systemApply: () => import('@/views/system-manage/system-apply/index'), // 系统应用
-    roleManage: () => import('@/views/system-manage/role-mange/index'), // 角色管理
-    // stationManage: () => import('@/views/system-manage/station-manage/index'), // 岗位管理
-    employeeManage: () => import('@/views/system-manage/employee-manage/employee-tab'), // 员工管理
-    // protocolManage: () => import('@/views/system-manage/protocol-manage/index'), // 协议管理
-    paramSettings: () => import('@/views/system-manage/param-settings/index'), // 参数设置
-    songManage: () => import('@/views/system-manage/subject-manage/index'), // 声部管理
-    instrumentManger: () => import('@/views/system-manage/subject-manage/instrument/instrument-list'), // 乐器管理
-    // songSetting: () => import('@/views/system-manage/song-setting/index'), // 声部基础配置
-    // appVersion: () => import('@/views/system-manage/app-version/index'), // app版本控制
-    // systemHoliday: () => import('@/views/system-manage/system-holiday/index'), // 节假日设置
-    // platformSuggestion: () => import('@/views/system-manage/platform-suggestion/index'), // 平台建议
-    // schoolManage: () => import('@/views/school-manage/index'), // 学校管理
-    // schoolOperation: () => import('@/views/school-manage/component/school-operation'), // 添加学校
-    // schoolDetail: () => import('@/views/school-manage/school-detail/index'), // 学校详情
-    // contentFlash: () => import('@/views/content-manage/content-flash/index'), // 闪页管理
-    // contentNotice: () => import('@/views/content-manage/content-notice/index'), // 公告管理
-    // contentInformation: () => import('@/views/content-manage/content-information/index'), // 资讯管理
-    contentAppButton: () => import('@/views/content-manage/content-app-button/index'), // app 按钮管理
-    // contentAd: () => import('@/views/content-manage/content-ad/index'), // 广告管理
-    // helpCenter: () => import('@/views/content-manage/help-center/index'), // 帮助中心
-    // musicManage: () => import('@/views/content-manage/music-manage/index'), // 曲谱管理
-    // musicgroupManage: () => import('@/views/music-group-manage/index'), // 乐团列表
-    // singleMusicGroupManage: () => import('@/views/music-group-manage/single-index'), // 乐团列表 - single
-    // studyGuidanceManage: () => import('@/views/study-guidance-manage/index'), // 伴学老师管理
-    // studyGuidanceManage: () => import('@/views/study-guidance-manage/index-catagory'), // 伴学老师管理
-    // studyGuidanceDetail: () => import('@/views/study-guidance-manage/study-guidance-detail'), // 伴学老师详情
-    // studyGuidanceStatistics: () => import('@/views/study-guidance-manage/statistics'), //
-    // teacherEvaluationRecord: () => import('@/views/study-guidance-manage/teacher-evaluation-record'), // 伴学老师评测详情
-    // teacherRecordInfo: () => import('@/views/study-guidance-manage/teacher-evaluation-record-info'),
-    // createGroup: () => import('@/views/music-group-manage/createGroup'),
-    educationalManage: () => import('@/views/educational-manage/index'), // 素材管理
-    knowledgeManage: () => import('@/views/knowledge-manage/knowledge-list/index'), //知识点管理
-    knowledgeDetail: () => import('@/views/knowledge-manage/knowledge-detail'), //知识点详情
-    afterClassTrainingManage: () => import('@/views/teaching-manage/after-class-training/index'), //课后训练
-    afterClassTrainingDetail: () => import('@/views/teaching-manage/after-class-training-detail/index'), //课后训练详情
-    // groupDetail: () => import('@/views/music-group-manage/groupDetail'), // 乐团详情
-    coursewareManage: () => import('@/views/teaching-manage/courseware-manage/index'), // 课件列表
-    teachingPlan: () => import('@/views/teaching-manage/teaching-plan/index'), // 教学计划列表
-    coursewareDetail: () => import('@/views/teaching-manage/courseware-manage/detail'), // 课件创建和配置
-    planDetail: () => import('@/views/teaching-manage/teaching-plan/plan-detail'), // 教学计划关联课件
-    // musicCategrory: () => import('@/views/music-categrory/index'),
-    // auditCenter: () => import('@/views/audit-center/index'), // 审核中心
-    // orderManage: () => import('@/views/order-manage/index'), // 交易管理
-    // studentEvaluationRecord: () => import('@/views/student-manage/student-evaluation-record'), // 学员管理评测详情
-    // studentManage: () => import('@/views/student-manage/index-catagory'), // 学员管理
-    // studentDetail: () => import('@/views/student-manage/student-detail'),
-    // operationManual: () => import('@/views/operation-manual/index'),
-    unitExamination: () => import('@/views/teaching-manage/unit-test/index'),
-    unitTestCreate: () => import('@/views/teaching-manage/unit-test/unit-test-index/editAndUpdate'),
-    // subsidyManage: () => import('@/views/subsidy-manage/index'),
-    // subsidyDetail: () => import('@/views/subsidy-manage/subsidyDetail'),
-    // practiceManage: () => import('@/views/practice-manage/index'),
-    // deviceNumManage: () => import('@/views/system-manage/device-num-manage/index'),
-    // smsCodeMessage: () => import('@/views/sms-code-message/index'), // 短信验证码
-    musicSheet: () => import('@/views/music-library/music-sheet/index'), // 曲谱管理
-    projectMusicSheetManager: () => import('@/views/music-library/project-music-sheet/index'), // 曲谱管理
-    // subjectCategorizeManage: () => import('@/views/system-manage/instrument-manage/index'), // 声部分类管理
-
+  ErrorPage: () => import('@/views/exception/404.vue'),
+  Layout: () => import('@/layout/index.vue'),
+  ParentLayout: () => import('@/layout/parentLayout.vue'),
+  home: () => import('@/views/test/index'),
+  loginLog: () => import('@/views/login-log/index'), // 登录日志
+  interfaceLog: () => import('@/views/login-log/interface-log'), // 操作日志
+  menuManage: () => import('@/views/system-manage/menu-manage/index'), // 菜单管理
+  systemApply: () => import('@/views/system-manage/system-apply/index'), // 系统应用
+  roleManage: () => import('@/views/system-manage/role-mange/index'), // 角色管理
+  employeeManage: () => import('@/views/system-manage/employee-manage/employee-tab'), // 员工管理
+  paramSettings: () => import('@/views/system-manage/param-settings/index'), // 参数设置
+  songManage: () => import('@/views/system-manage/subject-manage/index'), // 声部管理
+  instrumentManger: () => import('@/views/system-manage/subject-manage/instrument/instrument-list'), // 乐器管理
+  contentAppButton: () => import('@/views/content-manage/content-app-button/index'), // app 按钮管理
+  educationalManage: () => import('@/views/educational-manage/index'), // 素材管理
+  knowledgeManage: () => import('@/views/knowledge-manage/knowledge-list/index'), //知识点管理
+  knowledgeDetail: () => import('@/views/knowledge-manage/knowledge-detail'), //知识点详情
+  afterClassTrainingManage: () => import('@/views/teaching-manage/after-class-training/index'), //课后训练
+  afterClassTrainingDetail: () =>
+    import('@/views/teaching-manage/after-class-training-detail/index'), //课后训练详情
+  coursewareManage: () => import('@/views/teaching-manage/courseware-manage/index'), // 课件列表
+  teachingPlan: () => import('@/views/teaching-manage/teaching-plan/index'), // 教学计划列表
+  coursewareDetail: () => import('@/views/teaching-manage/courseware-manage/detail'), // 课件创建和配置
+  planDetail: () => import('@/views/teaching-manage/teaching-plan/plan-detail'), // 教学计划关联课件
+  unitExamination: () => import('@/views/teaching-manage/unit-test/index'),
+  unitTestCreate: () => import('@/views/teaching-manage/unit-test/unit-test-index/editAndUpdate'),
+  musicSheet: () => import('@/views/music-library/music-sheet/index'), // 曲谱管理
+  projectMusicSheetManager: () => import('@/views/music-library/project-music-sheet/index') // 曲谱管理
 }

+ 4 - 6
src/views/educational-manage/component/category-list.tsx

@@ -1,5 +1,4 @@
 import SaveForm from '@/components/save-form'
-import Pagination from '@/components/pagination'
 import {
   DataTableColumn,
   NButton,
@@ -15,7 +14,6 @@ import {
 import { defineComponent, onMounted, reactive, ref } from 'vue'
 import { materialCategoryPage, materialCategoryRemove } from '../api'
 import styles from '../index.module.less'
-import dayjs from 'dayjs'
 import AddCategory from '../model/addCategory'
 import { getTimes } from '@/utils/dateUtil'
 
@@ -71,7 +69,7 @@ export default defineComponent({
                 <NButton
                   type="primary"
                   text
-                  //v-auth="materialCategory/save1599962104022290433"
+                  v-auth="materialCategory/save1599962104022290433"
                   onClick={() => {
                     state.materail = {
                       parentId: row.id
@@ -84,7 +82,7 @@ export default defineComponent({
                 <NButton
                   type="primary"
                   text
-                  //v-auth="materialCategory/update1599962354053140482"
+                  v-auth="materialCategory/update1599962354053140482"
                   onClick={() => {
                     state.cityType = 'update'
                     state.materail = row
@@ -96,7 +94,7 @@ export default defineComponent({
                 <NButton
                   type="primary"
                   text
-                  //v-auth="materialCategory/remove1599962245085122562"
+                  v-auth="materialCategory/remove1599962245085122562"
                   onClick={() => handleDelete(row)}
                 >
                   删除
@@ -216,7 +214,7 @@ export default defineComponent({
         <NSpace style={{ paddingBottom: '12px' }}>
           <NButton
             type="primary"
-            //v-auth="materialCategory/save1599962104022290433"
+            v-auth="materialCategory/save1599962104022290433"
             onClick={() => {
               state.materail = null
               state.cityType = 'add'

+ 5 - 51
src/views/educational-manage/component/material-list.tsx

@@ -20,16 +20,13 @@ import {
 } from 'naive-ui'
 import { defineComponent, inject, onMounted, reactive, ref, provide } from 'vue'
 import { fetchCategoryList, fetchMaterialList, deleteMaterial, updateMaterailData } from '../api'
-import { subjectBasicConfigPage } from '@/views/system-manage/api'
 import styles from '../index.module.less'
 import { InternalRowData } from 'naive-ui/es/data-table/src/interface'
 import AddMaterial from '../model/addMaterial'
-import dayjs from 'dayjs'
 import { getLessonType, lessonType } from '@/views/knowledge-manage/knowledgeTypeData'
 import { filterTimes, getTimes } from '@/utils/dateUtil'
-import router from '@/router'
 import { useRoute } from 'vue-router'
-import {subjectPage} from "@views/system-manage/subject-manage/api";
+import { subjectPage } from '@views/system-manage/subject-manage/api'
 
 const classType: { [_: string]: any } = {
   VIDEO: '视频',
@@ -114,15 +111,6 @@ export default defineComponent({
             )
           }
         },
-        // {
-        //   title: '编号',
-        //   key: 'id'
-        // },
-
-        // {
-        //   title: '素材分类',
-        //   key: 'materialCategoryName'
-        // }, 分段编号
         {
           title: '素材信息',
           key: 'sn',
@@ -153,29 +141,6 @@ export default defineComponent({
             )
           }
         },
-        // {
-        //   title: '课程类型',
-        //   key: 'courseTypeName',
-        //   width: 200,
-        //   ellipsis: true,
-        //   render(row: InternalRowData) {
-        //     return (
-        //       <NTooltip placement="top-start">
-        //         {{
-        //           default: () => row.courseTypeName,
-        //           trigger: () => row.courseTypeName
-        //         }}
-        //       </NTooltip>
-        //     )
-        //   }
-        // },
-        // {
-        //   title: '建议学习时长',
-        //   key: 'adviseStudyTimeSecond',
-        //   render(row: InternalRowData) {
-        //     return row.adviseStudyTimeSecond ? row.adviseStudyTimeSecond + '秒' : ''
-        //   }
-        // },
         {
           title: '操作信息',
           key: 'updateTime',
@@ -191,10 +156,6 @@ export default defineComponent({
             )
           }
         },
-        // {
-        //   title: '上传人',
-        //   key: 'operatorName'
-        // },
         {
           title: '状态',
           key: 'delFlag',
@@ -217,17 +178,10 @@ export default defineComponent({
           render(row: any) {
             return (
               <NSpace>
-                {/* <NButton
-                  type={row.enableFlag ? 'error' : 'success'}
-                  text
-                  v-auth="material/update1599948375910109186"
-                  onClick={() => handleChange(row)}
-                >
-                  {row.enableFlag ? '停用' : '启用'}
-                </NButton> */}
                 <NButton
                   type="primary"
                   text
+                  v-auth="material/detail1608362411857137665"
                   onClick={() => {
                     state.isLook = true
                     state.materail = row
@@ -239,7 +193,7 @@ export default defineComponent({
                 <NButton
                   type="primary"
                   text
-                  //v-auth="material/update1599948375910109186"
+                  v-auth="material/update1599948375910109186"
                   onClick={() => {
                     state.cityType = 'update'
                     state.materail = row
@@ -252,7 +206,7 @@ export default defineComponent({
                   type="primary"
                   text
                   disabled={row.enableFlag}
-                  //v-auth="material/remove1599948195949301762"
+                  v-auth="material/remove1599948195949301762"
                   onClick={() => handleDelete(row)}
                 >
                   删除
@@ -399,7 +353,7 @@ export default defineComponent({
         <NSpace style={{ paddingBottom: '12px' }}>
           <NButton
             type="primary"
-            //v-auth="material/save1599948016487616513"
+            v-auth="material/save1599948016487616513"
             onClick={() => {
               state.cityType = 'add'
               state.materail = null

+ 2 - 3
src/views/educational-manage/index.tsx

@@ -2,7 +2,6 @@ import { NTabPane, NTabs } from 'naive-ui'
 import { defineComponent, reactive } from 'vue'
 import CategoryList from './component/category-list'
 import MaterialList from './component/material-list'
-import styles from './index.module.less'
 import { getTabsCache, setTabsCaches } from '@/hooks/use-async'
 import { useRoute } from 'vue-router'
 export default defineComponent({
@@ -34,14 +33,14 @@ export default defineComponent({
               <NTabPane
                 name="MaterialList"
                 tab="素材列表"
-                //v-auth="cityFeeSetting/page1597885815002091522"
+                v-auth="material/page1750897012676493314"
               >
                 <MaterialList />
               </NTabPane>
               <NTabPane
                 name="CategoryList"
                 tab="素材分类"
-                //v-auth="orchestraSubsidyStandard/page1597886618878201858"
+                v-auth="materialCategory/page1608008438042112001"
               >
                 <CategoryList />
               </NTabPane>

+ 4 - 3
src/views/knowledge-manage/knowledge-detail/index.tsx

@@ -20,7 +20,6 @@ import {
   knowledgePointMaterialRelationRemove,
   knowledgePointMaterialRelationUpdate
 } from '../api'
-import { knowledgeTypeData } from '../knowledgeTypeData'
 import AddMaterialKnowledge from './model/addMaterialKnowledge'
 
 export default defineComponent({
@@ -93,6 +92,7 @@ export default defineComponent({
                   text
                   type="primary"
                   disabled={rowIndex === 0}
+                  v-auth="knowledgePointMaterialRelation/update1750906809085853697"
                   onClick={() => handleRowMove('up', rowIndex)}
                 >
                   上移
@@ -100,6 +100,7 @@ export default defineComponent({
                 <NButton
                   text
                   type="primary"
+                  v-auth="knowledgePointMaterialRelation/update1750906809085853697"
                   disabled={rowIndex === state.dataList.length - 1}
                   onClick={() => handleRowMove('down', rowIndex)}
                 >
@@ -188,14 +189,14 @@ export default defineComponent({
         ></NPageHeader>
         <NSpace style={{ padding: '15px 0' }}>
           <NButton
-            //v-auth="knowledgePointMaterialRelation/save1604770193787420673"
+            v-auth="knowledgePointMaterialRelation/save1604770193787420673"
             type="primary"
             onClick={() => (state.visiableKnowledge = true)}
           >
             新增素材
           </NButton>
           <NButton
-            //v-auth="knowledgePointMaterialRelation/remove1604770313480273922"
+            v-auth="knowledgePointMaterialRelation/remove1604770313480273922"
             type="error"
             disabled={state.checkList.length ? false : true}
             onClick={() => hanldeDelete()}

+ 12 - 10
src/views/knowledge-manage/knowledge-list/index.tsx

@@ -13,15 +13,11 @@ import {
   NSelect,
   NSpace,
   NTag,
-  NTooltip,
   useDialog,
   useMessage
 } from 'naive-ui'
 import { defineComponent, onMounted, reactive, ref, provide } from 'vue'
-import { employeeArray } from '@/utils/searchArray'
-import dayjs from 'dayjs'
 import { fetchKnowledgeList, fetchDelKnowledge, knowledgePointStatus } from '../api'
-import { InternalRowData } from 'naive-ui/es/data-table/src/interface'
 import { knowledgeTypeData, lessonType } from '../knowledgeTypeData'
 import KnowledgeModel from './component/knowledgeModel'
 import { useRouter } from 'vue-router'
@@ -166,7 +162,7 @@ export default defineComponent({
             return (
               <NSpace>
                 <NButton
-                  //v-auth="knowledgePoint/status1605123728664281090"
+                  v-auth="knowledgePoint/status1605123728664281090"
                   type={row.enableFlag ? 'error' : 'success'}
                   size="small"
                   text
@@ -176,7 +172,13 @@ export default defineComponent({
                 </NButton>
                 {/* 一级分类下是否有子项 */}
                 {!(row.children && row.children.length > 0) && (
-                  <NButton type="primary" size="small" text onClick={() => openDetail(row)}>
+                  <NButton
+                    type="primary"
+                    size="small"
+                    text
+                    onClick={() => openDetail(row)}
+                    v-auth="knowledgePointListByLessonCDId1604717561400045569"
+                  >
                     详情
                   </NButton>
                 )}
@@ -186,7 +188,7 @@ export default defineComponent({
                     type="primary"
                     size="small"
                     text
-                    //v-auth="knowledgePoint/update1604688172914417665"
+                    v-auth="knowledgePoint/update1604688172914417665"
                     onClick={() => {
                       state.modalType = 'add-child'
                       state.visiableKnowledge = true
@@ -204,7 +206,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
-                  //v-auth="knowledgePoint/update1604688172914417665"
+                  v-auth="knowledgePoint/update1604688172914417665"
                   onClick={() => {
                     state.modalType = 'update'
                     state.visiableKnowledge = true
@@ -218,7 +220,7 @@ export default defineComponent({
                   size="small"
                   disabled={row.enableFlag ? true : false}
                   text
-                  //v-auth="knowledgePoint/remove1604688068350418946"
+                  v-auth="knowledgePoint/remove1604688068350418946"
                   onClick={() => {
                     handleDelete(row)
                   }}
@@ -334,7 +336,7 @@ export default defineComponent({
           <NSpace style={{ paddingBottom: '12px' }}>
             <NButton
               type="primary"
-              //v-auth="knowledgePoint/save1604687872153460738"
+              v-auth="knowledgePoint/save1604687872153460738"
               onClick={() => {
                 state.visiableKnowledge = true
                 state.modalType = 'add'

BIN
src/views/login/images/login-bg.png


BIN
src/views/login/images/login-logo.png


BIN
src/views/login/images/login-main.png


BIN
src/views/login/images/login_bg.png


BIN
src/views/login/images/login_logo.png


BIN
src/views/login/images/login_styles.png


+ 65 - 64
src/views/login/index.vue

@@ -1,14 +1,13 @@
 <template>
   <div class="view-account">
     <div class="view-account-container">
-      <div class="stylesWrap">
-        <img :src="loginStyles" alt="" />
+      <div class="view-account-left">
+        <img :src="loginMain" />
       </div>
       <div class="view-account-form">
         <div class="view-account-form-wrap">
           <div class="formTitle">
-            <div class="dot"></div>
-            内容管理平台登录
+            <img :src="loginLogo" />
           </div>
           <n-form
             ref="formRef"
@@ -93,11 +92,10 @@ import { useUserStore } from '@/store/modules/user'
 import { useMessage } from 'naive-ui'
 import { ResultEnum } from '@/enums/httpEnum'
 import { storage } from '@/utils/storage'
-import { PersonOutline, LockClosedOutline, LogoGithub, LogoFacebook } from '@vicons/ionicons5'
 import { PageEnum } from '@/enums/pageEnum'
 import { websiteConfig } from '@/config/website.config'
-import loginStyles from './images/login_styles.png'
-import loginLogo from './images/login_logo.png'
+import loginMain from './images/login-main.png'
+import loginLogo from './images/login-logo.png'
 import lockIcon from './images/lock-icon.png'
 import useIcon from './images/user-icon.png'
 import openEye from './images/openEye.png'
@@ -159,7 +157,6 @@ const handleSubmit = (e: any) => {
 
       try {
         const some = (await userStore.login(params)) as any
-        // return;
         message.destroyAll()
         if (some.code == ResultEnum.SUCCESS) {
           //  判断是否勾选自动登录
@@ -174,19 +171,25 @@ const handleSubmit = (e: any) => {
           const toPath = decodeURIComponent('/' as string)
 
           message.success('登录成功,即将进入系统')
-          console.log(route.name, LOGIN_NAME, toPath)
           if (route.name === LOGIN_NAME) {
-            router.replace('/')
-          } else router.replace(toPath)
-        } else {
-          // message.info(some.msg || "登录失败");
+            router.replace('/').then(() => {
+              loading.value = false
+            })
+          } else {
+            router.replace(toPath).then(() => {
+              loading.value = false
+            })
+          }
         }
-      } finally {
+      } catch {
         loading.value = false
+      } finally {
+        // loading.value = false
       }
-    } else {
-      message.error('请填写完整信息,并且进行验证码校验')
     }
+    //  else {
+    //   message.error('请填写完整信息,并且进行验证码校验')
+    // }
   })
 }
 </script>
@@ -200,63 +203,76 @@ const handleSubmit = (e: any) => {
   }
 }
 .view-account {
-  background: url('./images/login_bg.png') no-repeat 100% 100%;
+  background: url('./images/login-bg.png') no-repeat 100% 100%;
   background-size: 100%;
   display: flex;
   flex-direction: column;
+  justify-content: center;
+  align-items: center;
   min-height: 100vh;
   width: 100vw;
   background-color: #e9f7ff;
   overflow: auto;
 
   &-container {
-    margin-top: 10%;
     display: flex;
     flex-direction: row;
-    justify-content: center;
+    justify-content: space-between;
     align-items: center;
-    .stylesWrap {
-      width: 40%;
-      margin-right: 190px;
-      img {
-        width: 100%;
-        // height: 100%;
-      }
+    width: 1038px;
+    height: 516px;
+    background: #e8f2fe;
+    border-radius: 15px 73px 15px 73px;
+    border: 4px solid #ffffff;
+    // margin: 10% auto 0;
+  }
+  &-left {
+    margin-right: 10px;
+    img {
+      width: 475px;
+      height: 433px;
     }
   }
   &-form {
-    width: 30%;
+    margin-right: 18px;
+    width: 506px;
+    height: 480px;
+    background: #ffffff;
+    box-shadow: 0px 1 14px 0px rgba(141, 141, 141, 0.05);
+    border-radius: 21px 62px 21px 62px;
+
+    .n-input {
+      --n-border: 1px solid #dedede !important;
+      --n-border-radius: 13px !important;
+    }
+
+    /deep/ .n-base-suffix {
+      display: none !important;
+    }
+
     .view-account-form-wrap {
       position: relative;
-      padding: 12% 15% 12%;
-      background: #ffffff;
-      border-radius: 16px;
+      padding: 25px 80px 0;
       .prefixIcon {
-        width: 18px;
-        height: 18px;
+        width: 16px;
+        height: 16px;
         margin-right: 5px;
       }
       .pwdIcon {
-        width: 24px;
-        height: 24px;
+        width: 18px;
+        height: 18px;
         cursor: pointer;
       }
       .formTitle {
         display: flex;
         flex-direction: row;
         align-items: center;
-        font-size: 32px;
-
-        font-weight: 600;
-        color: #333333;
-        line-height: 45px;
-        margin-bottom: 50px;
-        .dot {
-          width: 6px;
-          height: 21px;
-          background: #3594fa;
-          border-radius: 3px;
-          margin-right: 8px;
+        width: 209px;
+        height: 101px;
+        margin: 0 auto 38px;
+        img {
+          width: inherit;
+          height: inherit;
         }
       }
     }
@@ -264,13 +280,11 @@ const handleSubmit = (e: any) => {
   .submitBtm {
     margin-top: 20px;
     background: #3594fa;
-    border-radius: 35px;
-    font-size: 22px;
-    font-family: PingFangSC-Semibold, PingFang SC;
+    border-radius: 12px;
+    font-size: 16px;
     font-weight: 600;
     color: #ffffff;
-    height: 50px;
-    line-height: 50px;
+    line-height: 22px;
   }
   &-top {
     padding: 32px 0;
@@ -294,17 +308,4 @@ const handleSubmit = (e: any) => {
     }
   }
 }
-
-// @media (min-width: 768px) {
-//   .view-account {
-//     // background-image: url("../../assets/images/login.svg");
-//     // background-repeat: no-repeat;
-//     // background-position: 50%;
-//     // background-size: 100%;
-//   }
-
-//   .page-account-container {
-//     padding: 32px 0 24px 0;
-//   }
-// }
 </style>

+ 24 - 36
src/views/music-library/music-sheet/component/music-list.tsx

@@ -2,7 +2,8 @@ import SaveForm from '@/components/save-form'
 import Pagination from '@/components/pagination'
 import {
   DataTableRowKey,
-  NButton, NCascader,
+  NButton,
+  NCascader,
   NDataTable,
   NFormItem,
   NIcon,
@@ -22,7 +23,8 @@ import {
   musicSheetRemove,
   musicSheetImg,
   musicSheetStatusList,
-  musicTagPage, musicSheetCategoriesQueryTree
+  musicTagPage,
+  musicSheetCategoriesQueryTree
 } from '../../api'
 import MusicOperation from '../modal/music-operation'
 import { subjectPage } from '@/views/system-manage/api'
@@ -39,7 +41,7 @@ import MusicCreateImg from '../modal/music-create-img'
 
 export default defineComponent({
   name: 'music-list',
-  props: ['searchId','musicCategoryId'],
+  props: ['searchId', 'musicCategoryId'],
   setup(props, { emit }) {
     const dialog = useDialog()
     const message = useMessage()
@@ -120,7 +122,7 @@ export default defineComponent({
         {
           title: '曲目分类',
           minWidth: '100px',
-          key: 'musicCategoryName',
+          key: 'musicCategoryName'
         },
         {
           title: '可用声部',
@@ -229,7 +231,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
-                  //v-auth="musicSheet/update1602302618558099458"
+                  v-auth="musicSheet/detail1751241103201271810"
                   onClick={() => {
                     state.visiableMusic = true
                     state.musicOperation = 'preview'
@@ -243,7 +245,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
-                  //v-auth="musicSheet/update1602302618558099458"
+                  v-auth="musicSheet/save1751241178962984962"
                   onClick={() => {
                     state.visiableMusic = true
                     state.musicOperation = 'edit'
@@ -257,7 +259,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
-                  //v-auth="musicSheet/status1612431726029942786"
+                  v-auth="musicSheet/statusList1751241653309407234"
                   onClick={() => onChangeStatus(row)}
                 >
                   {row.status ? '停用' : '启用'}
@@ -266,6 +268,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
+                  v-auth="musicSheet/img1751240591299051522"
                   onClick={() => {
                     state.productOpen = true
                     state.productItem = row
@@ -280,19 +283,10 @@ export default defineComponent({
                   text
                   disabled={!!row.status}
                   onClick={() => onRmove(row)}
-                  //v-auth="musicSheet/remove1602302689404088321"
+                  v-auth="musicSheet/save1751241178962984962"
                 >
                   删除
                 </NButton>
-                {/* <NButton
-                  type="primary"
-                  size="small"
-                  text
-                  onClick={() => onRmove(row)}
-                  v-auth="musicSheet/remove1599694768375701505"
-                >
-                  {row.topFlag ? '取消置顶' : '置顶'}
-                </NButton> */}
               </NSpace>
             )
           }
@@ -414,11 +408,10 @@ export default defineComponent({
     // 获取分类
     const getMusicSheetCategorieList = async () => {
       try {
-        const {data} = await musicSheetCategoriesQueryTree({})
+        const { data } = await musicSheetCategoriesQueryTree({})
         // state.musicSheetCategories = filterPointCategory(data, 'musicSheetCategoriesList')
-        state.musicSheetCategories = data||[]
-      } catch (e) {
-      }
+        state.musicSheetCategories = data || []
+      } catch (e) {}
     }
 
     // 获取声部
@@ -482,7 +475,6 @@ export default defineComponent({
         state.searchForm.musicCategoryId = props.musicCategoryId || null
       }
 
-
       initSubjectList()
       initUseAppList()
       getMusicSheetCategorieList()
@@ -515,13 +507,13 @@ export default defineComponent({
           </NFormItem>
           <NFormItem label="曲目分类" path="musicCategoryId">
             <NCascader
-                valueField="id"
-                labelField="name"
-                children-field="musicSheetCategoriesList"
-                placeholder="请选择曲目分类"
-                v-model:value={state.searchForm.musicCategoryId}
-                options={state.musicSheetCategories}
-                clearable
+              valueField="id"
+              labelField="name"
+              children-field="musicSheetCategoriesList"
+              placeholder="请选择曲目分类"
+              v-model:value={state.searchForm.musicCategoryId}
+              options={state.musicSheetCategories}
+              clearable
             />
           </NFormItem>
           <NFormItem label="可用声部" path="musicSubject">
@@ -641,7 +633,7 @@ export default defineComponent({
           <NSpace style={{ paddingBottom: '12px' }}>
             <NButton
               type="primary"
-              //v-auth="musicSheet/save1602302550719426561"
+              v-auth="musicSheet/save1751241178962984962"
               onClick={() => {
                 state.visiableMusic = true
                 state.musicOperation = 'add'
@@ -653,10 +645,8 @@ export default defineComponent({
             </NButton>
             <NButton
               disabled={checkedRowKeysRef.value.length == 0}
-              //v-auth="musicSheet/save1602302550719426561"
+              v-auth="musicSheet/statusList1751241653309407234"
               onClick={() => {
-                // state.musicOperation = 'unable'
-                // state.musicData = {}
                 onBatchChangeStatus(false)
               }}
             >
@@ -664,11 +654,9 @@ export default defineComponent({
             </NButton>
             <NButton
               disabled={checkedRowKeysRef.value.length == 0}
-              //v-auth="musicSheet/save1602302550719426561"
+              v-auth="musicSheet/statusList1751241653309407234"
               onClick={() => {
                 onBatchChangeStatus(true)
-                // state.musicOperation = 'enable'
-                // state.musicData = {}
               }}
             >
               批量启用

+ 16 - 14
src/views/music-library/music-sheet/component/music-sheet-categories-list.tsx

@@ -10,7 +10,7 @@ import {
 import { defineComponent, onMounted, reactive } from 'vue'
 import { musicSheetCategoriesQueryTree, musicSheetCategoriesRemove } from '@views/music-library/api'
 import SaveCategroyDialog from '@views/music-library/music-sheet/modal/save-categroy-dialog'
-import {getOwnerName} from "@views/music-library/musicUtil";
+import { getOwnerName } from '@views/music-library/musicUtil'
 
 type RowData = {
   id: string
@@ -22,7 +22,7 @@ type RowData = {
   musicSheetCategoriesList?: RowData[]
 }
 export default defineComponent({
-  emits: ['setTabName','jump'],
+  emits: ['setTabName', 'jump'],
   name: 'music-category',
   setup(props, { slots, attrs, emit }) {
     const state = reactive({
@@ -57,7 +57,7 @@ export default defineComponent({
       getList()
     })
 
-    const jump = (param:any) => {
+    const jump = (param: any) => {
       emit('jump' as any, param)
     }
     const columns = (): DataTableColumn[] => {
@@ -74,18 +74,20 @@ export default defineComponent({
           title: '曲目数量',
           key: 'musicSheetNum',
           render(row: any) {
-            return <div>
-              <NButton
+            return (
+              <div>
+                <NButton
                   onClick={() => {
                     jump({
-                      tabName:'MusicList',
-                      musicCategoryId:row.id
+                      tabName: 'MusicList',
+                      musicCategoryId: row.id
                     })
                   }}
-              >
-                {row.musicSheetNum}
-              </NButton>
+                >
+                  {row.musicSheetNum}
+                </NButton>
               </div>
+            )
           }
         },
         {
@@ -105,7 +107,7 @@ export default defineComponent({
             return (
               <NSpace>
                 <NButton
-                  //v-auth="musicSheetCategories/switching1608067671668359169"
+                  v-auth="musicSheetCategories/remove1751239397398806530"
                   type="error"
                   size="small"
                   text
@@ -122,7 +124,7 @@ export default defineComponent({
                     state.saveMode = 'edit'
                     state.showSaveDialog = true
                   }}
-                  //v-auth="musicSheetCategories/update1608067835686617090"
+                  v-auth="musicSheetCategories/update1751239533856292866"
                 >
                   修改
                 </NButton>
@@ -135,7 +137,7 @@ export default defineComponent({
                     state.showSaveDialog = true
                     state.saveMode = 'add'
                   }}
-                  //v-auth="musicSheetCategories/save1608067543331045378"
+                  v-auth="musicSheetCategories/save1751239479284203521"
                 >
                   添加子分类
                 </NButton>
@@ -173,7 +175,7 @@ export default defineComponent({
           <NSpace style={{ paddingBottom: '12px' }}>
             <NButton
               type="primary"
-              //v-auth="musicSheetCategories/save1608067543331045378"
+              v-auth="musicSheetCategories/save1751239479284203521"
               onClick={() => {
                 state.saveMode = 'add'
                 state.showSaveDialog = true

+ 32 - 34
src/views/music-library/music-sheet/index.tsx

@@ -1,9 +1,9 @@
-import {NTabPane, NTabs} from 'naive-ui'
-import {defineComponent, reactive} from 'vue'
+import { NTabPane, NTabs } from 'naive-ui'
+import { defineComponent, reactive } from 'vue'
 import MusicList from './component/music-list'
-import {useRoute} from 'vue-router'
-import {getTabsCache, setTabsCaches} from '@/hooks/use-async'
-import MusicSheetCategoriesList from "@views/music-library/music-sheet/component/music-sheet-categories-list";
+import { useRoute } from 'vue-router'
+import { getTabsCache, setTabsCaches } from '@/hooks/use-async'
+import MusicSheetCategoriesList from '@views/music-library/music-sheet/component/music-sheet-categories-list'
 
 export default defineComponent({
   name: 'music-sheet',
@@ -11,7 +11,7 @@ export default defineComponent({
     const state = reactive({
       tabName: 'MusicList' as 'MusicList' | 'TagList' | 'CategroryList',
       searchId: null,
-      musicCategoryId: null,
+      musicCategoryId: null
     })
     const route = useRoute()
     getTabsCache((val: any) => {
@@ -29,36 +29,34 @@ export default defineComponent({
     }
     return () => {
       return (
-          <div class="system-menu-container">
-            <div class={['section-container']} style="padding-top: 0">
-              <NTabs
-                  type="line"
-                  size="large"
-                  v-model:value={state.tabName}
-                  onUpdate:value={(val: any) => setTabs(val)}
+        <div class="system-menu-container">
+          <div class={['section-container']} style="padding-top: 0">
+            <NTabs
+              type="line"
+              size="large"
+              v-model:value={state.tabName}
+              onUpdate:value={(val: any) => setTabs(val)}
+            >
+              <NTabPane name="MusicList" tab="曲目列表" v-auth="musicSheet/page1751238894313013249">
+                <MusicList searchId={state.searchId} musicCategoryId={state.musicCategoryId} />
+              </NTabPane>
+              <NTabPane
+                name="CategroryList"
+                tab="曲目分类管理"
+                v-auth="musicSheetCategories/queryTree1751238805699952641"
               >
-                <NTabPane name="MusicList" tab="曲目列表"
-                    //v-auth="musicSheet/page1602301588206350338"
-                >
-                  <MusicList searchId={state.searchId} musicCategoryId ={state.musicCategoryId}/>
-                </NTabPane>
-                <NTabPane
-                    name="CategroryList"
-                    tab="曲目分类管理"
-                    //v-auth="/musicCategrory1607664813521346561"
-                >
-                  <MusicSheetCategoriesList
-                      onSetTabName={setTabName}
-                      onJump={(param: any) => {
-                        state.tabName = param.tabName
-                        state.musicCategoryId = param.musicCategoryId
-                      }}
-                  />
-                  {/*<TagList />*/}
-                </NTabPane>
-              </NTabs>
-            </div>
+                <MusicSheetCategoriesList
+                  onSetTabName={setTabName}
+                  onJump={(param: any) => {
+                    state.tabName = param.tabName
+                    state.musicCategoryId = param.musicCategoryId
+                  }}
+                />
+                {/*<TagList />*/}
+              </NTabPane>
+            </NTabs>
           </div>
+        </div>
       )
     }
   }

+ 24 - 4
src/views/music-library/project-music-sheet/index.tsx

@@ -56,10 +56,30 @@ export default defineComponent({
             >
               {state.appKeyList.map((app: any, index: number) => (
                 <NTabPane name={app} tab={state.appNameList[index]}>
-                  {app === 'KT' && <MusicSheetKt appKey={app} />}
-                  {app === 'GYM' && <MusicSheetGym appKey={app} />}
-                  {app === 'KLX' && <MusicSheetKlx appKey={app} />}
-                  {app === 'GYT' && <MusicSheetGyt appKey={app} />}
+                  {app === 'KT' && (
+                    <MusicSheetKt
+                      v-auth="musicSheet/pageByApplication1751225386909302786"
+                      appKey={app}
+                    />
+                  )}
+                  {app === 'GYM' && (
+                    <MusicSheetGym
+                      v-auth="musicSheet/pageByApplication1751225314930851842"
+                      appKey={app}
+                    />
+                  )}
+                  {app === 'KLX' && (
+                    <MusicSheetKlx
+                      v-auth="musicSheet/pageByApplication1751225218734489601"
+                      appKey={app}
+                    />
+                  )}
+                  {app === 'GYT' && (
+                    <MusicSheetGyt
+                      v-auth="musicSheet/pageByApplication1751225483038556162"
+                      appKey={app}
+                    />
+                  )}
                 </NTabPane>
               ))}
             </NTabs>

+ 7 - 6
src/views/music-library/project-music-sheet/module/gym/music-sheet-gym.tsx

@@ -29,7 +29,8 @@ import {
   musicSheetType
 } from '@/utils/constant'
 import {
-  musicSheetApplicationExtendCategoryList, musicSheetApplicationExtendStatus,
+  musicSheetApplicationExtendCategoryList,
+  musicSheetApplicationExtendStatus,
   musicSheetApplicationOwnerList,
   musicSheetPageByApplication,
   musicSheetStatusList
@@ -339,7 +340,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
-                  //v-auth="musicSheet/status1612431726029942786"
+                  v-auth="musicSheetApplicationExtend/status1751235150422736897"
                   onClick={() => onChangeStatus(row)}
                 >
                   {row.status ? '停用' : '启用'}
@@ -348,7 +349,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
-                  //v-auth="musicSheet/update1602302618558099458"
+                  v-auth="musicSheetApplicationExtend/update1751235534826504193"
                   onClick={() => {
                     state.showEditDialog = true
                     state.updateRow = row
@@ -520,7 +521,7 @@ export default defineComponent({
             <NSpace style={{ paddingBottom: '12px' }}>
               <NButton
                 type="primary"
-                //v-auth="musicSheet/save1602302550719426561"
+                v-auth="musicSheetApplicationExtend/saveBatch1751234300275064833"
                 onClick={() => {
                   state.showAddDialog = true
                 }}
@@ -529,7 +530,7 @@ export default defineComponent({
               </NButton>
               <NButton
                 disabled={checkedRowKeysRef.value.length == 0}
-                //v-auth="musicSheet/save1602302550719426561"
+                v-auth="musicSheetApplicationExtend/status1751235150422736897"
                 onClick={() => {
                   onBatchChangeStatus(false)
                 }}
@@ -538,7 +539,7 @@ export default defineComponent({
               </NButton>
               <NButton
                 disabled={checkedRowKeysRef.value.length == 0}
-                //v-auth="musicSheet/save1602302550719426561"
+                v-auth="musicSheetApplicationExtend/status1751235150422736897"
                 onClick={() => {
                   onBatchChangeStatus(true)
                 }}

+ 40 - 13
src/views/music-library/project-music-sheet/module/gyt/music-sheet-gyt.tsx

@@ -1,16 +1,43 @@
-import {defineComponent, onMounted, reactive, ref} from 'vue'
+import { defineComponent, onMounted, reactive, ref } from 'vue'
 import SaveForm from '@components/save-form'
-import {DataTableRowKey, NButton, NCascader, NDataTable, NDatePicker, NDescriptions, NDescriptionsItem, NFormItem, NImage, NInput, NModal, NSelect, NSpace, NTag, useDialog, useMessage} from 'naive-ui'
+import {
+  DataTableRowKey,
+  NButton,
+  NCascader,
+  NDataTable,
+  NDatePicker,
+  NDescriptions,
+  NDescriptionsItem,
+  NFormItem,
+  NImage,
+  NInput,
+  NModal,
+  NSelect,
+  NSpace,
+  NTag,
+  useDialog,
+  useMessage
+} from 'naive-ui'
 import Pagination from '@components/pagination'
 import TheTooltip from '@components/TheTooltip'
 import AddMusic from '@views/music-library/project-music-sheet/module/gyt/addMusic'
-import {getMapValueByKey, getSelectDataFromObj} from '@/utils/objectUtil'
-import {musicSheetAudioType, musicSheetPaymentType, musicSheetSourceType, musicSheetType} from '@/utils/constant'
-import {musicSheetApplicationExtendCategoryList, musicSheetApplicationExtendStatus, musicSheetApplicationOwnerList, musicSheetPageByApplication} from '@views/music-library/api'
-import {subjectPage, sysApplicationPage} from '@views/system-manage/api'
-import {filterTimes} from '@/utils/dateUtil'
+import { getMapValueByKey, getSelectDataFromObj } from '@/utils/objectUtil'
+import {
+  musicSheetAudioType,
+  musicSheetPaymentType,
+  musicSheetSourceType,
+  musicSheetType
+} from '@/utils/constant'
+import {
+  musicSheetApplicationExtendCategoryList,
+  musicSheetApplicationExtendStatus,
+  musicSheetApplicationOwnerList,
+  musicSheetPageByApplication
+} from '@views/music-library/api'
+import { subjectPage, sysApplicationPage } from '@views/system-manage/api'
+import { filterTimes } from '@/utils/dateUtil'
 import deepClone from '@/utils/deep.clone'
-import {getOwnerName} from '@views/music-library/musicUtil'
+import { getOwnerName } from '@views/music-library/musicUtil'
 import UpdateMusic from '@views/music-library/project-music-sheet/module/gyt/updateMusic'
 
 export default defineComponent({
@@ -310,7 +337,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
-                  //v-auth="musicSheet/status1612431726029942786"
+                  v-auth="musicSheetApplicationExtend/status1751235279221424130"
                   onClick={() => onChangeStatus(row)}
                 >
                   {row.status ? '停用' : '启用'}
@@ -319,7 +346,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
-                  //v-auth="musicSheet/update1602302618558099458"
+                  v-auth="	musicSheetApplicationExtend/update1751235625503162370"
                   onClick={() => {
                     state.showEditDialog = true
                     state.updateRow = row
@@ -491,7 +518,7 @@ export default defineComponent({
             <NSpace style={{ paddingBottom: '12px' }}>
               <NButton
                 type="primary"
-                //v-auth="musicSheet/save1602302550719426561"
+                v-auth="musicSheetApplicationExtend/saveBatch1751234383880126466"
                 onClick={() => {
                   state.showAddDialog = true
                 }}
@@ -500,7 +527,7 @@ export default defineComponent({
               </NButton>
               <NButton
                 disabled={checkedRowKeysRef.value.length == 0}
-                //v-auth="musicSheet/save1602302550719426561"
+                v-auth="musicSheetApplicationExtend/status1751235279221424130"
                 onClick={() => {
                   onBatchChangeStatus(false)
                 }}
@@ -509,7 +536,7 @@ export default defineComponent({
               </NButton>
               <NButton
                 disabled={checkedRowKeysRef.value.length == 0}
-                //v-auth="musicSheet/save1602302550719426561"
+                v-auth="musicSheetApplicationExtend/status1751235279221424130"
                 onClick={() => {
                   onBatchChangeStatus(true)
                 }}

+ 11 - 12
src/views/music-library/project-music-sheet/module/klx/music-sheet-klx.tsx

@@ -230,11 +230,14 @@ export default defineComponent({
       const paymentTypeName = []
       if (paymentType && paymentType.length > 0) {
         for (let i = 0; i < paymentType.length; i++) {
-          const name = getMapValueByKey(paymentType[i], new Map(Object.entries(musicSheetPaymentType)))
+          const name = getMapValueByKey(
+            paymentType[i],
+            new Map(Object.entries(musicSheetPaymentType))
+          )
           paymentTypeName.push(name)
         }
       }
-      return paymentTypeName.join(',');
+      return paymentTypeName.join(',')
     }
 
     const columns = (): any => {
@@ -341,11 +344,7 @@ export default defineComponent({
           title: '收费方式',
           key: 'paymentType',
           render: (row: any) => {
-            return (
-              <div>
-                {getPaymentType(row.paymentType?.split(','))}
-              </div>
-            )
+            return <div>{getPaymentType(row.paymentType?.split(','))}</div>
           }
         },
         {
@@ -380,7 +379,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
-                  //v-auth="musicSheet/status1612431726029942786"
+                  v-auth="musicSheetApplicationExtend/status1751235210464198657"
                   onClick={() => onChangeStatus(row)}
                 >
                   {row.status ? '停用' : '启用'}
@@ -389,7 +388,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
-                  //v-auth="musicSheet/update1602302618558099458"
+                  v-auth="musicSheetApplicationExtend/update1751235573456044033"
                   onClick={() => {
                     state.showEditDialog = true
                     state.updateRow = row
@@ -560,7 +559,7 @@ export default defineComponent({
             <NSpace style={{ paddingBottom: '12px' }}>
               <NButton
                 type="primary"
-                //v-auth="musicSheet/save1602302550719426561"
+                v-auth="musicSheetApplicationExtend/saveBatch1751234344277508097"
                 onClick={() => {
                   state.showAddDialog = true
                 }}
@@ -569,7 +568,7 @@ export default defineComponent({
               </NButton>
               <NButton
                 disabled={checkedRowKeysRef.value.length == 0}
-                //v-auth="musicSheet/save1602302550719426561"
+                v-auth="musicSheetApplicationExtend/status1751235210464198657"
                 onClick={() => {
                   onBatchChangeStatus(false)
                 }}
@@ -578,7 +577,7 @@ export default defineComponent({
               </NButton>
               <NButton
                 disabled={checkedRowKeysRef.value.length == 0}
-                //v-auth="musicSheet/save1602302550719426561"
+                v-auth="musicSheetApplicationExtend/status1751235210464198657"
                 onClick={() => {
                   onBatchChangeStatus(true)
                 }}

+ 5 - 5
src/views/music-library/project-music-sheet/module/kt/music-sheet-kt.tsx

@@ -328,7 +328,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
-                  //v-auth="musicSheet/status1612431726029942786"
+                  v-auth="musicSheetApplicationExtend/status1751229794627878914"
                   onClick={() => onChangeStatus(row)}
                 >
                   {row.status ? '停用' : '启用'}
@@ -337,7 +337,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
-                  //v-auth="musicSheet/update1602302618558099458"
+                  v-auth="musicSheetApplicationExtend/update1751230252163530754"
                   onClick={() => {
                     state.showEditDialog = true
                     state.updateRow = row
@@ -502,7 +502,7 @@ export default defineComponent({
             <NSpace style={{ paddingBottom: '12px' }}>
               <NButton
                 type="primary"
-                //v-auth="musicSheet/save1602302550719426561"
+                v-auth="musicSheetApplicationExtend/saveBatch1751227277370195969"
                 onClick={() => {
                   state.showAddDialog = true
                 }}
@@ -511,7 +511,7 @@ export default defineComponent({
               </NButton>
               <NButton
                 disabled={checkedRowKeysRef.value.length == 0}
-                //v-auth="musicSheet/save1602302550719426561"
+                v-auth="musicSheetApplicationExtend/status1751229794627878914"
                 onClick={() => {
                   onBatchChangeStatus(false)
                 }}
@@ -520,7 +520,7 @@ export default defineComponent({
               </NButton>
               <NButton
                 disabled={checkedRowKeysRef.value.length == 0}
-                //v-auth="musicSheet/save1602302550719426561"
+                v-auth="musicSheetApplicationExtend/status1751229794627878914"
                 onClick={() => {
                   onBatchChangeStatus(true)
                 }}

+ 9 - 7
src/views/teaching-manage/after-class-training-detail/index.tsx

@@ -4,16 +4,12 @@ import {
   DataTableColumn,
   NBadge,
   NButton,
-  NCard,
   NDataTable,
   NDrawer,
   NDrawerContent,
   NModal,
   NPageHeader,
   NSpace,
-  NTab,
-  NTabPane,
-  NTabs,
   useDialog,
   useMessage
 } from 'naive-ui'
@@ -125,6 +121,7 @@ export default defineComponent({
                 <NButton
                   text
                   type="primary"
+                  v-auth="lessonTrainingDetailTemp/batchUpSet1750902708004454402"
                   onClick={() => {
                     state.trainModel = true
                     state.trainItem = row as any
@@ -134,7 +131,12 @@ export default defineComponent({
                     ? '修改训练标准'
                     : '设置训练标准'}
                 </NButton>
-                <NButton text type="primary" onClick={() => hanldeDelete(row)}>
+                <NButton
+                  text
+                  type="primary"
+                  onClick={() => hanldeDelete(row)}
+                  v-auth="lessonTrainingDetail/remove1608722927511257089"
+                >
                   删除
                 </NButton>
               </NSpace>
@@ -219,14 +221,14 @@ export default defineComponent({
         <NPageHeader on-back={() => handleBack()} title={parentData.name}></NPageHeader>
         <NSpace style={{ padding: '15px 0' }}>
           <NButton
-            //v-auth="knowledgePointMaterialRelation/save1604770193787420673"
+            v-auth="lessonTrainingDetail/batchInsert1609121819994202113"
             type="primary"
             onClick={() => (state.visiableKnowledge = true)}
           >
             新增训练内容
           </NButton>
           <NButton
-            //v-auth="knowledgePointMaterialRelation/remove1604770313480273922"
+            v-auth="lessonTrainingDetail/remove1608722927511257089"
             type="error"
             disabled={state.checkList.length ? false : true}
             onClick={() => hanldeDelete()}

+ 13 - 19
src/views/teaching-manage/after-class-training/index.tsx

@@ -14,17 +14,14 @@ import {
   NModal,
   NSelect,
   NSpace,
-  NTooltip,
   useDialog,
   useMessage
 } from 'naive-ui'
-import { defineComponent, onMounted, reactive, ref, provide } from 'vue'
-import { employeeArray } from '@/utils/searchArray'
-import dayjs from 'dayjs'
+import { defineComponent, onMounted, reactive, ref } from 'vue'
 import { lessonTrainingPage, lessonTrainingRemove, lessonTrainingUpdateEnableFlag } from '../api'
 import { InternalRowData } from 'naive-ui/es/data-table/src/interface'
 import { useRoute, useRouter } from 'vue-router'
-import { knowledgeTypeData, lessonType } from '@/views/knowledge-manage/knowledgeTypeData'
+import { lessonType } from '@/views/knowledge-manage/knowledgeTypeData'
 import AddTraining from './model/AddTraining'
 
 export default defineComponent({
@@ -131,11 +128,6 @@ export default defineComponent({
             </>
           )
         },
-        // {
-        //   title: '编号',
-        //   key: 'id'
-        // },
-
         {
           title: '课程信息',
           key: 'courseTypeName',
@@ -150,10 +142,6 @@ export default defineComponent({
             </>
           )
         },
-        // {
-        //   title: '训练条数',
-        //   key: 'trainingNum'
-        // },
         {
           title: '更新信息',
           key: 'updateTime',
@@ -183,10 +171,6 @@ export default defineComponent({
             )
           }
         },
-        // {
-        //   title: '更新人',
-        //   key: 'operatorName'
-        // },
         {
           title: '操作',
           key: 'operation',
@@ -198,17 +182,25 @@ export default defineComponent({
                   type={row.enableFlag ? 'error' : 'success'}
                   size="small"
                   text
+                  v-auth="lessonTraining/updateEnableFlag1609121324747563009"
                   onClick={() => handleChange(row)}
                 >
                   {row.enableFlag ? '停用' : '启用'}
                 </NButton>
-                <NButton type="primary" size="small" text onClick={() => openDetail(row)}>
+                <NButton
+                  type="primary"
+                  size="small"
+                  text
+                  onClick={() => openDetail(row)}
+                  v-auth="afterClassTrainingDetail1605020347316629505"
+                >
                   详情
                 </NButton>
                 <NButton
                   type="primary"
                   size="small"
                   text
+                  v-auth="lessonTraining/update1608022285733867521"
                   onClick={() => {
                     state.modalType = 'update'
                     state.visiableKnowledge = true
@@ -222,6 +214,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
+                  v-auth="lessonTraining/remove1608280377226768386"
                   onClick={() => {
                     handleDelete(row)
                   }}
@@ -330,6 +323,7 @@ export default defineComponent({
           <NSpace style={{ paddingBottom: '12px' }}>
             <NButton
               type="primary"
+              v-auth="lessonTraining/save1608371861011681281"
               onClick={() => {
                 state.modalType = 'add'
                 state.materail = null

+ 11 - 2
src/views/teaching-manage/courseware-manage/index.tsx

@@ -101,7 +101,6 @@ export default defineComponent({
       getList()
 
       for (let i in orchestraTypes) {
-        console.log(i)
         state.orchestraTypeList.push({
           label: orchestraTypes[i],
           value: i
@@ -240,6 +239,7 @@ export default defineComponent({
                     type="error"
                     size="small"
                     text
+                    v-auth="lessonCourseware/updateEnableFlag1608067923699892226"
                     onClick={() => handleChangeState(row, false)}
                   >
                     停用
@@ -249,6 +249,7 @@ export default defineComponent({
                     type="primary"
                     size="small"
                     text
+                    v-auth="lessonCourseware/updateEnableFlag1608067923699892226"
                     onClick={() => handleChangeState(row, true)}
                   >
                     启用
@@ -274,6 +275,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
+                  v-auth="coursewareDetail1607207526805606402"
                   onClick={() => {
                     router.push({
                       path: '/coursewareDetail',
@@ -285,7 +287,13 @@ export default defineComponent({
                 >
                   详情
                 </NButton>
-                <NButton type="primary" size="small" text onClick={() => handleDelete(row)}>
+                <NButton
+                  type="primary"
+                  size="small"
+                  text
+                  onClick={() => handleDelete(row)}
+                  v-auth="lessonCourseware/delete1610257235044466690"
+                >
                   删除
                 </NButton>
               </NSpace>
@@ -393,6 +401,7 @@ export default defineComponent({
           <NSpace style={{ paddingBottom: '12px' }}>
             <NButton
               type="primary"
+              v-auth="coursewareDetail1607207526805606402"
               onClick={() => {
                 state.visiableKnowledge = true
                 router.push({

+ 9 - 2
src/views/teaching-manage/unit-test/examination-site-management/index.tsx

@@ -76,6 +76,7 @@ export default defineComponent({
                 <NButton
                   type="primary"
                   text
+                  v-auth="examinationKnowledgePointCategory/save1750915231344754689"
                   onClick={() => {
                     modelData.item = {
                       parentId: row.categoryId
@@ -88,6 +89,7 @@ export default defineComponent({
                 <NButton
                   type="primary"
                   text
+                  v-auth="examinationKnowledgePointCategory/update1750915365860278274"
                   onClick={() => {
                     modelData.item = row
                     modelData.open = true
@@ -96,7 +98,12 @@ export default defineComponent({
                 >
                   修改
                 </NButton>
-                <NButton type="primary" text onClick={() => handleDelete(row)}>
+                <NButton
+                  type="primary"
+                  text
+                  onClick={() => handleDelete(row)}
+                  v-auth="examinationKnowledgePointCategory/del1750915056647798785"
+                >
                   删除
                 </NButton>
               </NSpace>
@@ -130,7 +137,7 @@ export default defineComponent({
         <NSpace style={{ paddingBottom: '12px' }}>
           <NButton
             type="primary"
-            //v-auth="materialCategory/save1599962104022290433"
+            v-auth="examinationKnowledgePointCategory/save1750915231344754689"
             onClick={() => {
               modelData.item = null
               modelData.open = true

+ 12 - 4
src/views/teaching-manage/unit-test/index.tsx

@@ -49,16 +49,24 @@ export default defineComponent({
           <div class={styles.unitTest}>
             <NTabs
               v-model:value={data.active}
-              type="card"
+              type="line"
               onUpdate:value={(val: any) => setTabs(val)}
             >
-              <NTabPane name="1" tab="阶段自测">
+              <NTabPane name="1" tab="阶段自测" v-auth="unitExamination/page1614564155343577090">
                 <UnitTestIndex />
               </NTabPane>
-              <NTabPane name="2" tab="测验题库">
+              <NTabPane
+                name="2"
+                tab="测验题库"
+                v-auth="examinationQuestion/page1750912451611721729"
+              >
                 <QuestionBank />
               </NTabPane>
-              <NTabPane name="3" tab="考点管理">
+              <NTabPane
+                name="3"
+                tab="考点管理"
+                v-auth="examinationKnowledgePointCategory/page1750912814834253826"
+              >
                 <ExaminationSiteManagement />
               </NTabPane>
             </NTabs>

+ 9 - 2
src/views/teaching-manage/unit-test/question-bank/index.tsx

@@ -156,6 +156,7 @@ export default defineComponent({
                 <NButton
                   type="primary"
                   text
+                  v-auth="examinationQuestion/detail1750916550440779778"
                   onClick={() => {
                     modelData.item = {
                       ...row,
@@ -169,6 +170,7 @@ export default defineComponent({
                 <NButton
                   type="primary"
                   text
+                  v-auth="examinationQuestion/update1750916452289871874"
                   onClick={() => {
                     modelData.title = '修改题目'
                     modelData.item = row
@@ -177,7 +179,12 @@ export default defineComponent({
                 >
                   修改
                 </NButton>
-                <NButton type="primary" text onClick={() => handleDelete(row)}>
+                <NButton
+                  type="primary"
+                  text
+                  onClick={() => handleDelete(row)}
+                  v-auth="examinationQuestion/remove1750916134479069186"
+                >
                   删除
                 </NButton>
               </NSpace>
@@ -348,7 +355,7 @@ export default defineComponent({
         <NSpace style={{ paddingBottom: '12px' }}>
           <NButton
             type="primary"
-            //v-auth="materialCategory/save1599962104022290433"
+            v-auth="examinationQuestion/save1750916381125115905"
             onClick={() => {
               modelData.title = '创建题目'
               modelData.item = null

Some files were not shown because too many files changed in this diff