密卷
@@ -207,7 +207,9 @@ onMounted(() => {
})
function getShowImg(row) {
- return row.imageUrl.includes('http') ? row.imageUrl : `https://ss-cloud.ahduima.com/xjxc/pic/${row.imageUrl}`
+ return row.imageUrl.includes('http')
+ ? row.imageUrl
+ : `https://ss-cloud.ahduima.com/xjxc/pic/${row.imageUrl}`
}
function addMjItem() {
@@ -288,7 +290,7 @@ function takeoutMj(row) {
})
.then(() => {
getQuestionList()
- message.success('清空题目成功')
+ message.success('移除题目成功')
})
.catch(() => {})
}
@@ -303,7 +305,7 @@ function getQuestionList() {
function sureAddQues(row) {
addMjQuestion({
secretId: mjList.value[mjIndex.value].secretId,
- subId: row.subId,
+ questionId: row.questionId,
source: queryParams.value.source
})
.then((resp) => {
diff --git a/src/views/Question/VipData/conponents/SimpleData.vue b/src/views/Question/VipData/conponents/SimpleData.vue
index 1a5a80b..09a5d8d 100644
--- a/src/views/Question/VipData/conponents/SimpleData.vue
+++ b/src/views/Question/VipData/conponents/SimpleData.vue
@@ -34,7 +34,7 @@
-
+
@@ -79,6 +79,7 @@
{
})
function getShowImg(row) {
- return row.imageUrl.includes('http') ? row.imageUrl : `https://ss-cloud.ahduima.com/xjxc/pic/${row.imageUrl}`
+ return row.imageUrl.includes('http')
+ ? row.imageUrl
+ : `https://ss-cloud.ahduima.com/xjxc/pic/${row.imageUrl}`
}
function addMjDetail() {
diff --git a/src/views/Question/VipData/index.vue b/src/views/Question/VipData/index.vue
index b2526a6..6a0282f 100644
--- a/src/views/Question/VipData/index.vue
+++ b/src/views/Question/VipData/index.vue
@@ -1,7 +1,7 @@
-
+
From cbaaec207b208dd610032bbaf1f115e1f2e19f44 Mon Sep 17 00:00:00 2001
From: qsh <>
Date: Fri, 20 Jun 2025 15:00:07 +0800
Subject: [PATCH 3/7] sc
---
src/config/axios/service.ts | 4 +-
.../UAV/Components/QuestionAddForm.vue | 322 ++++++++++++++++++
src/views/Question/UAV/index.vue | 256 +++++++++++++-
3 files changed, 578 insertions(+), 4 deletions(-)
create mode 100644 src/views/Question/UAV/Components/QuestionAddForm.vue
diff --git a/src/config/axios/service.ts b/src/config/axios/service.ts
index 0a0f094..6443a24 100644
--- a/src/config/axios/service.ts
+++ b/src/config/axios/service.ts
@@ -218,7 +218,7 @@ service.interceptors.response.use(
resetRouter() // 重置静态路由表
cache.local.clear()
removeToken()
- window.location.href = `/login?tenantId=${tenantId}&appId=${appId}`
+ window.location.href = `/tiku/login?tenantId=${tenantId}&appId=${appId}`
})
}
}
@@ -266,7 +266,7 @@ const handleAuthorized = () => {
isRelogin.show = false
// 干掉token后再走一次路由让它过router.beforeEach的校验
// window.location.href = window.location.href
- window.location.href = `/login?tenantId=${tenantId}&appId=${appId}`
+ window.location.href = `/tiku/login?tenantId=${tenantId}&appId=${appId}`
})
}
return Promise.reject(t('sys.api.timeoutMessage'))
diff --git a/src/views/Question/UAV/Components/QuestionAddForm.vue b/src/views/Question/UAV/Components/QuestionAddForm.vue
new file mode 100644
index 0000000..5163ed3
--- /dev/null
+++ b/src/views/Question/UAV/Components/QuestionAddForm.vue
@@ -0,0 +1,322 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 判断题
+ 单选题
+ 多选题
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/Question/UAV/index.vue b/src/views/Question/UAV/index.vue
index 921a40f..a05b22b 100644
--- a/src/views/Question/UAV/index.vue
+++ b/src/views/Question/UAV/index.vue
@@ -1,7 +1,259 @@
- 无人机题库
+
+
+
+
+
+
+ 多旋翼
+ 垂直起降固定翼
+ 直升机
+ 固定翼
+
+
+
+
+
+
+ 视距内驾驶员
+ 超视距驾驶员
+ 教员
+
+
+
+
+
+
+
+
+
+
+
+
+ 有
+ 无
+
+
+
+
+
+
+
+ 搜索
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+ A:{{ row.chooseA }}
+ B:{{ row.chooseB }}
+ C:{{ row.chooseC }}
+ D:{{ row.chooseD }}
+
+
+
+
+
+ 科一
+ 科四
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+
+
+ 删除
+
+
+
+
+
+
+
+
-
+
From d7c155ba8e79b05886df861688a4b37e6f87511b Mon Sep 17 00:00:00 2001
From: qsh <>
Date: Tue, 24 Jun 2025 12:22:17 +0800
Subject: [PATCH 4/7] sc
---
src/views/ExamVenue/Calendar/index.vue | 7 +
src/views/ExamVenue/Room/index.vue | 13 ++
src/views/JoinUs/Coach/index.vue | 11 ++
src/views/JoinUs/Station/index.vue | 11 ++
src/views/Question/UAV/index.vue | 11 +-
src/views/Question/UAVChapter/index.vue | 243 ++++++++++++++++++++++++
src/views/UAVClue/CluePool/index.vue | 11 ++
src/views/UAVClue/StudyRecord/index.vue | 14 ++
8 files changed, 315 insertions(+), 6 deletions(-)
create mode 100644 src/views/ExamVenue/Calendar/index.vue
create mode 100644 src/views/ExamVenue/Room/index.vue
create mode 100644 src/views/JoinUs/Coach/index.vue
create mode 100644 src/views/JoinUs/Station/index.vue
create mode 100644 src/views/Question/UAVChapter/index.vue
create mode 100644 src/views/UAVClue/CluePool/index.vue
create mode 100644 src/views/UAVClue/StudyRecord/index.vue
diff --git a/src/views/ExamVenue/Calendar/index.vue b/src/views/ExamVenue/Calendar/index.vue
new file mode 100644
index 0000000..5878346
--- /dev/null
+++ b/src/views/ExamVenue/Calendar/index.vue
@@ -0,0 +1,7 @@
+
+ 考试日历
+
+
+
+
+
diff --git a/src/views/ExamVenue/Room/index.vue b/src/views/ExamVenue/Room/index.vue
new file mode 100644
index 0000000..42a60a3
--- /dev/null
+++ b/src/views/ExamVenue/Room/index.vue
@@ -0,0 +1,13 @@
+
+
+
无人机章节
+
权限:
+
新增:ExamVenue:Room:add
+
修改:ExamVenue:Room:edit
+
删除:ExamVenue:Room:delete
+
+
+
+
+
+
diff --git a/src/views/JoinUs/Coach/index.vue b/src/views/JoinUs/Coach/index.vue
new file mode 100644
index 0000000..437089f
--- /dev/null
+++ b/src/views/JoinUs/Coach/index.vue
@@ -0,0 +1,11 @@
+
+
+
教员入驻
+
权限:
+
审核:JoinUs:Coach:audit
+
+
+
+
+
+
diff --git a/src/views/JoinUs/Station/index.vue b/src/views/JoinUs/Station/index.vue
new file mode 100644
index 0000000..1dd7f30
--- /dev/null
+++ b/src/views/JoinUs/Station/index.vue
@@ -0,0 +1,11 @@
+
+
+
机构入驻
+
权限:
+
审核:JoinUs:Station:audit
+
+
+
+
+
+
diff --git a/src/views/Question/UAV/index.vue b/src/views/Question/UAV/index.vue
index a05b22b..bce0dea 100644
--- a/src/views/Question/UAV/index.vue
+++ b/src/views/Question/UAV/index.vue
@@ -55,10 +55,8 @@
/>
-
- 搜索
-
-
+ 搜索
+
新增
@@ -114,7 +112,7 @@
type="primary"
link
@click="handleEdit(scope.row)"
- v-hasPermi="['question:database:edit']"
+ v-hasPermi="['Question:UAVVip:edit']"
>
修改
@@ -122,7 +120,7 @@
type="primary"
link
@click="handleDelete(scope.row)"
- v-hasPermi="['question:database:remove']"
+ v-hasPermi="['Question:UAVVip:delete']"
>
删除
@@ -220,6 +218,7 @@ function getList() {
}
function handleQuery() {
+ queryParams.value.pageNo = 1
getList()
}
diff --git a/src/views/Question/UAVChapter/index.vue b/src/views/Question/UAVChapter/index.vue
new file mode 100644
index 0000000..442b1c8
--- /dev/null
+++ b/src/views/Question/UAVChapter/index.vue
@@ -0,0 +1,243 @@
+
+
+
+
+
+
+
+
+ 搜索
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/UAVClue/CluePool/index.vue b/src/views/UAVClue/CluePool/index.vue
new file mode 100644
index 0000000..8a33242
--- /dev/null
+++ b/src/views/UAVClue/CluePool/index.vue
@@ -0,0 +1,11 @@
+
+
+
线索池
+
权限:
+
修改:UAVClue:CluePool:edit
+
+
+
+
+
+
diff --git a/src/views/UAVClue/StudyRecord/index.vue b/src/views/UAVClue/StudyRecord/index.vue
new file mode 100644
index 0000000..0b69ebf
--- /dev/null
+++ b/src/views/UAVClue/StudyRecord/index.vue
@@ -0,0 +1,14 @@
+
+
+
学习记录
+
权限:
+
做题记录:UAVClue:StudyRecord:practice
+
模考记录:UAVClue:StudyRecord:exam
+
错题记录:UAVClue:StudyRecord:wrong
+
收藏记录:UAVClue:StudyRecord:collect
+
+
+
+
+
+
From cdf810507c5241c8fd66fdb03db867cf1f46e14c Mon Sep 17 00:00:00 2001
From: qsh <>
Date: Tue, 24 Jun 2025 18:09:02 +0800
Subject: [PATCH 5/7] sc
---
src/views/Question/Database/index.vue | 4 +-
src/views/UAVClue/CluePool/index.vue | 254 +++++++++++++++++-
.../StudyRecord/components/Collect.vue | 82 ++++++
.../UAVClue/StudyRecord/components/Exam.vue | 107 ++++++++
.../StudyRecord/components/Practice.vue | 101 +++++++
.../UAVClue/StudyRecord/components/Wrong.vue | 7 +
src/views/UAVClue/StudyRecord/index.vue | 58 +++-
7 files changed, 600 insertions(+), 13 deletions(-)
create mode 100644 src/views/UAVClue/StudyRecord/components/Collect.vue
create mode 100644 src/views/UAVClue/StudyRecord/components/Exam.vue
create mode 100644 src/views/UAVClue/StudyRecord/components/Practice.vue
create mode 100644 src/views/UAVClue/StudyRecord/components/Wrong.vue
diff --git a/src/views/Question/Database/index.vue b/src/views/Question/Database/index.vue
index ce5caea..b49258b 100644
--- a/src/views/Question/Database/index.vue
+++ b/src/views/Question/Database/index.vue
@@ -71,12 +71,12 @@
-
+
diff --git a/src/views/UAVClue/CluePool/index.vue b/src/views/UAVClue/CluePool/index.vue
index 8a33242..cdf7cc5 100644
--- a/src/views/UAVClue/CluePool/index.vue
+++ b/src/views/UAVClue/CluePool/index.vue
@@ -1,11 +1,257 @@
-
线索池
-
权限:
-
修改:UAVClue:CluePool:edit
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 未报名
+ 报名成功
+ 已失效
+
+
+
+
+
+
+
+ 修改
+
+
+
+
+
+
+
+
-
+
diff --git a/src/views/UAVClue/StudyRecord/components/Collect.vue b/src/views/UAVClue/StudyRecord/components/Collect.vue
new file mode 100644
index 0000000..5bb1395
--- /dev/null
+++ b/src/views/UAVClue/StudyRecord/components/Collect.vue
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/UAVClue/StudyRecord/components/Exam.vue b/src/views/UAVClue/StudyRecord/components/Exam.vue
new file mode 100644
index 0000000..9df23bc
--- /dev/null
+++ b/src/views/UAVClue/StudyRecord/components/Exam.vue
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 不合格
+ 合格
+
+
+
+
+ 查看明细
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/UAVClue/StudyRecord/components/Practice.vue b/src/views/UAVClue/StudyRecord/components/Practice.vue
new file mode 100644
index 0000000..05a7c3d
--- /dev/null
+++ b/src/views/UAVClue/StudyRecord/components/Practice.vue
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 答错
+ 答对
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/UAVClue/StudyRecord/components/Wrong.vue b/src/views/UAVClue/StudyRecord/components/Wrong.vue
new file mode 100644
index 0000000..512f37f
--- /dev/null
+++ b/src/views/UAVClue/StudyRecord/components/Wrong.vue
@@ -0,0 +1,7 @@
+
+ 收藏
+
+
+
+
+
diff --git a/src/views/UAVClue/StudyRecord/index.vue b/src/views/UAVClue/StudyRecord/index.vue
index 0b69ebf..cf23dc3 100644
--- a/src/views/UAVClue/StudyRecord/index.vue
+++ b/src/views/UAVClue/StudyRecord/index.vue
@@ -1,14 +1,58 @@
-
学习记录
-
权限:
-
做题记录:UAVClue:StudyRecord:practice
-
模考记录:UAVClue:StudyRecord:exam
-
错题记录:UAVClue:StudyRecord:wrong
-
收藏记录:UAVClue:StudyRecord:collect
+
+
+
+
+
-
+
From ef625e3dc1264fae9c78fecbc7078b9171a47761 Mon Sep 17 00:00:00 2001
From: qsh <>
Date: Wed, 25 Jun 2025 19:10:41 +0800
Subject: [PATCH 6/7] sc
---
src/api/uav/chapter.js | 28 ++++
src/api/uav/question.js | 35 +++++
.../UAV/Components/QuestionAddForm.vue | 6 +-
src/views/Question/UAV/index.vue | 97 ++++---------
src/views/Question/UAVChapter/index.vue | 136 +++++-------------
5 files changed, 133 insertions(+), 169 deletions(-)
create mode 100644 src/api/uav/chapter.js
create mode 100644 src/api/uav/question.js
diff --git a/src/api/uav/chapter.js b/src/api/uav/chapter.js
new file mode 100644
index 0000000..cf5957b
--- /dev/null
+++ b/src/api/uav/chapter.js
@@ -0,0 +1,28 @@
+import request from '@/config/axios'
+export const searchChapter = async (param) => {
+ return await request.get({
+ url: '/admin-api/applet/wrj/chapter/list',
+ params: param
+ })
+}
+
+export const updateChapter = async (data) => {
+ return await request.put({
+ url: '/admin-api/applet/wrj/chapter/update',
+ data: data
+ })
+}
+
+export const addChapter = async (data) => {
+ return await request.post({
+ url: '/admin-api/applet/wrj/chapter/add',
+ data: data,
+ isSubmitForm: true
+ })
+}
+
+export const deleteChapter = async (id) => {
+ return await request.delete({
+ url: `/admin-api/applet/wrj/chapter/delete?id=${id}`
+ })
+}
diff --git a/src/api/uav/question.js b/src/api/uav/question.js
new file mode 100644
index 0000000..a95316e
--- /dev/null
+++ b/src/api/uav/question.js
@@ -0,0 +1,35 @@
+import request from '@/config/axios'
+export const searchQuestion = async (param) => {
+ return await request.get({
+ url: '/admin-api/applet/wrj/question/list',
+ params: param
+ })
+}
+
+export const updateQuestion = async (data) => {
+ return await request.put({
+ url: '/admin-api/applet/wrj/question/update',
+ data: data
+ })
+}
+
+export const addQuestion = async (data) => {
+ return await request.post({
+ url: '/admin-api/applet/wrj/question/add',
+ data: data,
+ isSubmitForm: true
+ })
+}
+
+export const deleteQuestion = async (id) => {
+ return await request.delete({
+ url: `/admin-api/applet/wrj/question/delete?id=${id}`
+ })
+}
+
+export const uploadFile = async (data) => {
+ return await request.post({
+ url: '/admin-api/applet/wrj/question/upload',
+ data: data
+ })
+}
diff --git a/src/views/Question/UAV/Components/QuestionAddForm.vue b/src/views/Question/UAV/Components/QuestionAddForm.vue
index 5163ed3..7e1186e 100644
--- a/src/views/Question/UAV/Components/QuestionAddForm.vue
+++ b/src/views/Question/UAV/Components/QuestionAddForm.vue
@@ -121,7 +121,7 @@
-
+
-
+
From c70b530362eef60e4797f57df22df3b43d412b20 Mon Sep 17 00:00:00 2001
From: qsh <>
Date: Thu, 26 Jun 2025 16:15:23 +0800
Subject: [PATCH 7/7] sc
---
src/api/uav/question.js | 16 +++++
.../UAV/Components/QuestionAddForm.vue | 34 +++++++--
src/views/Question/UAV/index.vue | 72 +++++++++++++++----
3 files changed, 102 insertions(+), 20 deletions(-)
diff --git a/src/api/uav/question.js b/src/api/uav/question.js
index a95316e..eb32920 100644
--- a/src/api/uav/question.js
+++ b/src/api/uav/question.js
@@ -33,3 +33,19 @@ export const uploadFile = async (data) => {
data: data
})
}
+
+// 查询无人机类型列表
+export const getCarTypeOptions = async (params) => {
+ return await request.get({
+ url: '/admin-api/applet/wrj/model/list',
+ params
+ })
+}
+
+// 查询驾驶员类型列表
+export const getDriverTypeOptions = async (params) => {
+ return await request.get({
+ url: '/admin-api/applet/wrj/type/list',
+ params
+ })
+}
diff --git a/src/views/Question/UAV/Components/QuestionAddForm.vue b/src/views/Question/UAV/Components/QuestionAddForm.vue
index 7e1186e..0500ac3 100644
--- a/src/views/Question/UAV/Components/QuestionAddForm.vue
+++ b/src/views/Question/UAV/Components/QuestionAddForm.vue
@@ -39,7 +39,7 @@
-
+
@@ -63,7 +63,7 @@
-
+
-
+
-
+
-
@@ -168,7 +171,21 @@
-
+
+
+
+
+
+
+
+
-
+
+
@@ -244,6 +262,8 @@ const open = (info = undefined, opts) => {
imgUrl.value = dialogForm.value.imageUrl.includes('http')
? dialogForm.value.imageUrl
: 'https://ss-cloud.ahduima.com/xjxc/pic/' + dialogForm.value.imageUrl
+ } else {
+ imgUrl.value = ''
}
}
}
diff --git a/src/views/Question/UAV/index.vue b/src/views/Question/UAV/index.vue
index 3c41b6b..0861fc0 100644
--- a/src/views/Question/UAV/index.vue
+++ b/src/views/Question/UAV/index.vue
@@ -4,20 +4,29 @@
-
- 多旋翼
- 垂直起降固定翼
- 直升机
- 固定翼
+
+
+ {{ item.modelName }}
+
- 视距内驾驶员
- 超视距驾驶员
- 教员
+
+ {{ item.typeName }}
+
@@ -50,6 +59,7 @@
搜索
+ 重置
新增
@@ -61,9 +71,9 @@
v-loading="loading"
:data="tableList"
highlight-current-row
- max-height="calc(100vh - 320px)"
+ max-height="calc(100vh - 260px)"
>
-
+
@@ -137,7 +147,12 @@