Michael Wang 3 éve
szülő
commit
7201ce12db

+ 3 - 3
src/api/projectParamsManagementPage.ts

@@ -22,9 +22,9 @@ export function importProjectParams(projectId: number, file: File) {
 /** 导出项目参数配置 */
 export function exportProjectParams(projectId: number) {
   return httpApp
-    .post(
-      `/api/ess/course/export`,
-      new URLSearchParams({ projectId: projectId + "" }),
+    .get(
+      `/api/ess/projectCourse/export?` +
+        new URLSearchParams({ projectId: projectId + "" }),
       {
         responseType: "blob",
       }

+ 7 - 2
src/features/allAnalysis/AllAnalysis2.vue

@@ -7,7 +7,8 @@
       <span class="tw-mr-4"></span>
       <a-button @click="search" class="query-btn">查询</a-button>
 
-      <div class="tw-float-right">
+      <div class="tw-float-right tw-flex tw-gap-2">
+        <a-button @click="goProjectPapers(projectId)"> 试卷列表 </a-button>
         <a-button @click="goBack">返回</a-button>
       </div>
     </div>
@@ -66,7 +67,7 @@ import ScoreRate from "./ScoreRate.vue";
 import ScoreFirstTryRate from "./ScoreFirstTryRate.vue";
 
 const store = useMainStore();
-store.currentLocation = "基础管理 / 整体分析";
+store.currentLocation = "项目管理/ 项目列表 / 整体分析";
 
 let rootOrgId = $ref(undefined as unknown as number);
 let courseId = $ref(undefined as undefined | number);
@@ -165,6 +166,10 @@ async function goPaperAnalysis(record: any) {
   router.push(`/project/${projectId}/paperAnalysis/${record.paperId}`);
 }
 
+function goProjectPapers(id: number) {
+  router.push("/project/papers/" + id);
+}
+
 function openModal() {
   EventBus.emit("SHOW_SETTING", "DESCRIBE01");
 }

+ 1 - 1
src/features/allAnalysis/ScoreFirstTryRate.vue

@@ -74,7 +74,7 @@ import EventBus from "@/plugins/eventBus";
 import { message } from "ant-design-vue";
 
 const store = useMainStore();
-store.currentLocation = "基础管理 / 整体分析";
+store.currentLocation = "项目管理/ 整体分析";
 
 let rootOrgId = $ref(undefined as unknown as number);
 let courseId = $ref(undefined as undefined | number);

+ 0 - 1
src/features/allAnalysis/ScoreRate.vue

@@ -101,7 +101,6 @@ import EventBus from "@/plugins/eventBus";
 import { message } from "ant-design-vue";
 
 const store = useMainStore();
-store.currentLocation = "基础管理 / 整体分析";
 
 let rootOrgId = $ref(undefined as unknown as number);
 let courseId = $ref(undefined as undefined | number);

+ 1 - 1
src/features/paperAnalysis/PaperAnalysis.vue

@@ -69,7 +69,7 @@ import QuestionDifficultyGroup from "./QuestionDifficultyGroup.vue";
 import QuestionTypeDifficulty from "./QuestionTypeDifficulty.vue";
 
 const store = useMainStore();
-store.currentLocation = "基础管理 / 试卷分析";
+store.currentLocation = "项目管理/ 项目列表 / 试卷分析";
 
 let activeTab = $ref("1");
 

+ 2 - 2
src/features/projectDataManagement/ProjectDataManagement.vue

@@ -35,7 +35,7 @@
             下载模板
           </a-button>
         </a-form-item>
-        <a-button @click="handleImport">保存</a-button>
+        <a-button type="primary" @click="handleImport">保存</a-button>
       </a-form>
     </div>
   </div>
@@ -54,7 +54,7 @@ import { onMounted, computed } from "vue-demi";
 import { useRoute } from "vue-router";
 
 const store = useMainStore();
-store.currentLocation = "基础管理 / 数据管理";
+store.currentLocation = "项目管理/ 项目列表 / 数据管理";
 
 let rootOrgId = $ref(undefined as unknown as number);
 

+ 1 - 1
src/features/projectManagement/ProjectManagement.vue

@@ -156,7 +156,7 @@ import { message, Modal } from "ant-design-vue";
 import { watch, onMounted, ref, reactive, toRaw } from "vue-demi";
 
 const store = useMainStore();
-store.currentLocation = "基础管理 / 项目列表";
+store.currentLocation = "项目管理/ 项目列表";
 
 let rootOrgId = $ref(undefined as unknown as number);
 let name = $ref("");

+ 5 - 5
src/features/projectPapersManagement/ProjectPapersManagement.vue

@@ -1,16 +1,17 @@
 <template>
   <div>
     <div class="tw-bg-white tw-p-5 tw-rounded-xl tw-mb-5">
-      <span class="tw-mr-4"></span>
       <ProjectSelect :project-id="projectId" v-model:value="projectId" />
+      <span class="tw-mr-4"></span>
       <CourseSelect :root-org-id="rootOrgId" v-model:value="courseId" />
+      <span class="tw-mr-4"></span>
       <CourseTypeSelect v-model:value="courseType" />
-      <PaperTypeSelect v-model:value="paperType" />
       <span class="tw-mr-4"></span>
+      <PaperTypeSelect v-model:value="paperType" />
       <span class="tw-mr-4"></span>
       <a-button @click="search" class="query-btn">查询</a-button>
 
-      <div class="tw-mt-4 tw-flex tw-gap-2">
+      <div class="tw-float-right tw-flex tw-gap-2">
         <a-button @click="goAllAnalysis">整体分析</a-button>
         <a-button @click="goBack">返回</a-button>
       </div>
@@ -46,7 +47,6 @@
 </template>
 
 <script setup lang="ts">
-import { updateProjectCourse } from "@/api/projectParamsManagementPage";
 import { useMainStore } from "@/store";
 import { goBack } from "@/utils/utils";
 import { watch, onMounted, ref, toRaw } from "vue-demi";
@@ -57,7 +57,7 @@ import { getPaperList } from "@/api/paperManagementPage";
 import router from "@/router";
 
 const store = useMainStore();
-store.currentLocation = "基础管理 / 项目列表";
+store.currentLocation = "项目管理/ 项目列表 / 试卷列表";
 
 let rootOrgId = $ref(undefined as unknown as number);
 let courseId = $ref(undefined as undefined | number);

+ 2 - 2
src/features/projectParamsManagement/ProjectParamsManagement.vue

@@ -46,7 +46,7 @@
       ok-text="确定"
       cancel-text="取消"
     >
-      <a-form>
+      <a-form :label-col="{ span: 5 }">
         <a-form-item label="项目名称">
           <a-input disabled v-model:value="projectObj.projectName"></a-input>
         </a-form-item>
@@ -113,7 +113,7 @@ import { watch, onMounted, ref, reactive, toRaw } from "vue-demi";
 import { useRoute } from "vue-router";
 
 const store = useMainStore();
-store.currentLocation = "基础管理 / 项目列表";
+store.currentLocation = "项目管理/ 项目列表 / 参数配置";
 
 let rootOrgId = $ref(undefined as unknown as number);
 let courseId = $ref(undefined as undefined | number);