diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 2fdaa91b..b2b6ef1b 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -54,8 +54,8 @@ tree-default-expand-all :fieldNames="{ children: 'children', - label: 'dictCode', - value: 'dictName', + title: 'dictName', + value: 'dictCode', }" :tree-data="sysTypeOptions" > @@ -2352,6 +2352,7 @@ import TableStudent from "@/components/student/TableStudent"; import FJUpload from "@/components/common/FJUpload"; import { updateStudent } from "@/api/indexProjStu"; import {useStore} from "vuex"; + //列表表格 const columns1 = [ // { @@ -3283,7 +3284,7 @@ export default defineComponent({ name: "", createName: "", auditStatus: null, - categoryId: '', + categoryId: undefined, projectTime: "", //列表 @@ -3542,7 +3543,30 @@ export default defineComponent({ state.viewpowervisible = true; }; - const sysTypeOptions = computed(() => store.state.sysType); + const sysTypeOptions = computed(() => formateDictT(store.state.sysType)); + + // console.log('12344', sysTypeOptions) + + // 处理数据字典 + function formateDictT(data) { + for(let i=0;i { + console.log('我是点击搜索的数据',state.categoryId) // let datas = state.tableData1; let startTime = ""; let endTime = ""; diff --git a/src/views/examine/CourseReviewed.vue b/src/views/examine/CourseReviewed.vue index 0d4b8277..2104ca4d 100644 --- a/src/views/examine/CourseReviewed.vue +++ b/src/views/examine/CourseReviewed.vue @@ -28,7 +28,7 @@ return triggerNode.parentNode || document.body; } " v-model:value="valueproj" show-search :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }" - placeholder="请选择内容分类" allow-clear tree-default-expand-all :tree-data="options2222"> + placeholder="请选择内容分类" allow-clear tree-default-expand-all :tree-data="sysTypeOptions">