fix: 添加windows网络设置考点表格修改权重功能

This commit is contained in:
陆光LG
2025-08-11 11:08:16 +08:00
parent 3c2706f298
commit 5986c032dd

View File

@@ -141,8 +141,12 @@
@selection-change="handleSelectionChange"
>
<!-- <el-table-column type="selection" width="55" /> -->
<el-table-column label="考点" align="center" prop="contentIn" width="360px" />
<el-table-column label="权值" align="center" prop="scoreRate" width="100px" />
<el-table-column label="考点" align="center" prop="contentIn" width="390px" />
<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">
<template #default="scope">
<el-button type="primary" link @click="handleDelete(scope.row)">
@@ -209,7 +213,12 @@
</div>
<!-- 表单弹窗添加/修改 -->
<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 />
</el-dialog>
</template>
@@ -220,7 +229,7 @@ import * as QuestionApi from '@/api/paper/question'
import FileForm from './components/FileForm.vue'
import Setting from '@/components/Setting/index.vue'
import * as SpecialtyApi from '@/api/points'
import { handleTree } from '@/utils/tree'
import { handleTree } from '@/utils/tree'
import { useSettingStore } from '@/store/modules/settings'
const settingStore = useSettingStore()
// import { emitter } from '@/utils/eventBus'
@@ -231,7 +240,7 @@ defineOptions({ name: 'WpsWordFrom' })
// emitter.on('maskDisplay', handleFromC)
// })
const list = ref<any>([]) // 列表的数
const handleFrom = () => {
const handleFrom = () => {
list.value = [...settingStore.settingsFormList]
// settingStore.clearSettingData()
}
@@ -288,7 +297,6 @@ const formData = ref({
]
})
const documentList = ref([
{
quId: '',
@@ -468,7 +476,6 @@ const submitForm = async () => {
/** 重置表单 */
const resetForm = () => {
documentList.value = [
{
quId: '',
@@ -540,7 +547,6 @@ const openPoints = async () => {
await getTree()
dialogVisiblePoints.value = true
}
</script>
<style lang="scss" scoped>
.edit-dialog {