fix: 添加windows网络设置考点表格修改权重功能
This commit is contained in:
@@ -141,8 +141,12 @@
|
|||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
>
|
>
|
||||||
<!-- <el-table-column type="selection" width="55" /> -->
|
<!-- <el-table-column type="selection" width="55" /> -->
|
||||||
<el-table-column label="考点" align="center" prop="contentIn" width="360px" />
|
<el-table-column label="考点" align="center" prop="contentIn" width="390px" />
|
||||||
<el-table-column label="权值" align="center" prop="scoreRate" width="100px" />
|
<el-table-column label="权值" align="center" prop="scoreRate" width="120px">
|
||||||
|
<template #default="scope">
|
||||||
|
<el-input v-model="scope.row.scoreRate" placeholder="请输入权值" />
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="100px">
|
<el-table-column label="操作" align="center" width="100px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button type="primary" link @click="handleDelete(scope.row)">
|
<el-button type="primary" link @click="handleDelete(scope.row)">
|
||||||
@@ -209,7 +213,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 表单弹窗:添加/修改 -->
|
<!-- 表单弹窗:添加/修改 -->
|
||||||
<FileForm ref="FileRef" @success="handleUploadSuccess" />
|
<FileForm ref="FileRef" @success="handleUploadSuccess" />
|
||||||
<el-dialog v-model="dialogFormVisibleWordInfo" title="考点设置" width="1100px" @close="handleFrom">
|
<el-dialog
|
||||||
|
v-model="dialogFormVisibleWordInfo"
|
||||||
|
title="考点设置"
|
||||||
|
width="1100px"
|
||||||
|
@close="handleFrom"
|
||||||
|
>
|
||||||
<Setting />
|
<Setting />
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
@@ -220,7 +229,7 @@ import * as QuestionApi from '@/api/paper/question'
|
|||||||
import FileForm from './components/FileForm.vue'
|
import FileForm from './components/FileForm.vue'
|
||||||
import Setting from '@/components/Setting/index.vue'
|
import Setting from '@/components/Setting/index.vue'
|
||||||
import * as SpecialtyApi from '@/api/points'
|
import * as SpecialtyApi from '@/api/points'
|
||||||
import { handleTree } from '@/utils/tree'
|
import { handleTree } from '@/utils/tree'
|
||||||
import { useSettingStore } from '@/store/modules/settings'
|
import { useSettingStore } from '@/store/modules/settings'
|
||||||
const settingStore = useSettingStore()
|
const settingStore = useSettingStore()
|
||||||
// import { emitter } from '@/utils/eventBus'
|
// import { emitter } from '@/utils/eventBus'
|
||||||
@@ -231,7 +240,7 @@ defineOptions({ name: 'WpsWordFrom' })
|
|||||||
// emitter.on('maskDisplay', handleFromC)
|
// emitter.on('maskDisplay', handleFromC)
|
||||||
// })
|
// })
|
||||||
const list = ref<any>([]) // 列表的数
|
const list = ref<any>([]) // 列表的数
|
||||||
const handleFrom = () => {
|
const handleFrom = () => {
|
||||||
list.value = [...settingStore.settingsFormList]
|
list.value = [...settingStore.settingsFormList]
|
||||||
// settingStore.clearSettingData()
|
// settingStore.clearSettingData()
|
||||||
}
|
}
|
||||||
@@ -288,7 +297,6 @@ const formData = ref({
|
|||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
const documentList = ref([
|
const documentList = ref([
|
||||||
{
|
{
|
||||||
quId: '',
|
quId: '',
|
||||||
@@ -468,7 +476,6 @@ const submitForm = async () => {
|
|||||||
|
|
||||||
/** 重置表单 */
|
/** 重置表单 */
|
||||||
const resetForm = () => {
|
const resetForm = () => {
|
||||||
|
|
||||||
documentList.value = [
|
documentList.value = [
|
||||||
{
|
{
|
||||||
quId: '',
|
quId: '',
|
||||||
@@ -540,7 +547,6 @@ const openPoints = async () => {
|
|||||||
await getTree()
|
await getTree()
|
||||||
dialogVisiblePoints.value = true
|
dialogVisiblePoints.value = true
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.edit-dialog {
|
.edit-dialog {
|
||||||
|
Reference in New Issue
Block a user