sc
This commit is contained in:
@@ -6,8 +6,8 @@ VITE_DEV=true
|
|||||||
# 请求路径
|
# 请求路径
|
||||||
# VITE_BASE_URL='http://localhost:48080'
|
# VITE_BASE_URL='http://localhost:48080'
|
||||||
|
|
||||||
# VITE_BASE_URL='http://47.98.161.246:48080'
|
VITE_BASE_URL='http://47.98.161.246:48080'
|
||||||
VITE_BASE_URL='http://114.215.207.150:48080'
|
# VITE_BASE_URL='http://114.215.207.150:48080'
|
||||||
|
|
||||||
# 上传路径
|
# 上传路径
|
||||||
VITE_UPLOAD_URL='http://47.98.161.246:48080/admin-api/system/file/upload'
|
VITE_UPLOAD_URL='http://47.98.161.246:48080/admin-api/system/file/upload'
|
||||||
|
|||||||
@@ -41,9 +41,9 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="专项" prop="categoryTitle">
|
<el-form-item label="专项" prop="category">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dialogForm.categoryTitle"
|
v-model="dialogForm.category"
|
||||||
maxlength="1000"
|
maxlength="1000"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
clearable
|
clearable
|
||||||
@@ -98,9 +98,9 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="A关键字" prop="chooseAKeyWords">
|
<el-form-item label="A关键字" prop="awords">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dialogForm.chooseAKeyWords"
|
v-model="dialogForm.awords"
|
||||||
maxlength="200"
|
maxlength="200"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
clearable
|
clearable
|
||||||
@@ -118,9 +118,9 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="B关键字" prop="chooseBKeyWords">
|
<el-form-item label="B关键字" prop="bwords">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dialogForm.chooseBKeyWords"
|
v-model="dialogForm.bwords"
|
||||||
maxlength="200"
|
maxlength="200"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
clearable
|
clearable
|
||||||
@@ -138,9 +138,9 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="C关键字" prop="chooseCKeyWords">
|
<el-form-item label="C关键字" prop="cwords">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dialogForm.chooseCKeyWords"
|
v-model="dialogForm.cwords"
|
||||||
maxlength="200"
|
maxlength="200"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
clearable
|
clearable
|
||||||
@@ -158,9 +158,9 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="D关键字" prop="chooseDKeyWords">
|
<el-form-item label="D关键字" prop="dwords">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dialogForm.chooseDKeyWords"
|
v-model="dialogForm.dwords"
|
||||||
maxlength="200"
|
maxlength="200"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
clearable
|
clearable
|
||||||
@@ -286,7 +286,7 @@ const chapterOptions = ref([])
|
|||||||
const dialogForm = ref({
|
const dialogForm = ref({
|
||||||
id: undefined,
|
id: undefined,
|
||||||
showOrder: 0,
|
showOrder: 0,
|
||||||
categoryTitle: undefined,
|
category: undefined,
|
||||||
question: undefined,
|
question: undefined,
|
||||||
bestAnswer: undefined,
|
bestAnswer: undefined,
|
||||||
chapter: undefined,
|
chapter: undefined,
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-input
|
<el-input
|
||||||
v-model="queryParams.keyword"
|
v-model="queryParams.keyword"
|
||||||
placeholder="请输入选项\技巧\解析"
|
placeholder="请输入选项/技巧/解析"
|
||||||
clearable
|
clearable
|
||||||
style="width: 200px"
|
style="width: 200px"
|
||||||
@keyup.enter="handleQuery"
|
@keyup.enter="handleQuery"
|
||||||
@@ -83,12 +83,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="答案" align="center" prop="trueAnswer" width="100" />
|
<el-table-column label="答案" align="center" prop="trueAnswer" width="100" />
|
||||||
<!-- <el-table-column label="科目" align="center" prop="subject" width="100">
|
|
||||||
<template #default="{ row }">
|
|
||||||
<span v-if="row.subject == '1'">科一</span>
|
|
||||||
<span v-if="row.subject == '4'">科四</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column> -->
|
|
||||||
<el-table-column label="章节" align="center" prop="chapterName" min-width="100" />
|
<el-table-column label="章节" align="center" prop="chapterName" min-width="100" />
|
||||||
<el-table-column label="图片" align="center" width="100">
|
<el-table-column label="图片" align="center" width="100">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
@@ -102,12 +96,8 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <el-table-column label="状态" width="100">
|
<el-table-column label="题目来源" v-if="queryParams.source == 'XJ'" width="100" />
|
||||||
<template #default="{ row }">
|
<el-table-column label="疑似重复" v-if="queryParams.source == 'XJ'" width="100" />
|
||||||
<el-tag v-if="row.isActive == 0" type="success">使用中</el-tag>
|
|
||||||
<el-tag v-else type="danger">已删除</el-tag>
|
|
||||||
</template>
|
|
||||||
</el-table-column> -->
|
|
||||||
|
|
||||||
<el-table-column label="操作" align="center" width="140">
|
<el-table-column label="操作" align="center" width="140">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
@@ -178,6 +168,10 @@ const sourceOptions = [
|
|||||||
{
|
{
|
||||||
key: 'JKBD',
|
key: 'JKBD',
|
||||||
label: '驾考宝典'
|
label: '驾考宝典'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'XJ',
|
||||||
|
label: '寻驾'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -19,10 +19,12 @@ import SimpleData from './conponents/SimpleData.vue'
|
|||||||
import SecretData from './conponents/SecretData.vue'
|
import SecretData from './conponents/SecretData.vue'
|
||||||
|
|
||||||
const tabIndex = ref(1)
|
const tabIndex = ref(1)
|
||||||
const source = ref('1')
|
const source = ref('XJ')
|
||||||
const sourceOptions = [
|
const sourceOptions = [
|
||||||
{ key: '1', label: '驾考精灵' },
|
{ key: 'XJ', label: '寻驾' },
|
||||||
{ key: '2', label: '驾校一点通' }
|
{ key: 'JKJL', label: '驾考精灵' },
|
||||||
|
{ key: 'YDT', label: '驾校一点通' },
|
||||||
|
{ key: 'JKBD', label: '驾考宝典' }
|
||||||
]
|
]
|
||||||
const handleChangeSource = () => {}
|
const handleChangeSource = () => {}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user