--fix 字典修改

This commit is contained in:
yuping
2023-01-13 12:45:43 +08:00
parent dd840d67e7
commit f8ab82468a
3 changed files with 15 additions and 23 deletions

View File

@@ -39,15 +39,6 @@
</a-select>
</div>
<div class="select">
<!-- <a-select
v-model:value="categoryId"
dropdownClassName="dropdown-style"
style="width: 200px"
placeholder="请选择内容分类"
:options="options2"
allowClear
showSearch
></a-select> -->
<a-tree-select
:getPopupContainer="
(triggerNode) => {
@@ -61,12 +52,13 @@
placeholder="请选择内容分类"
allow-clear
tree-default-expand-all
:tree-data="options2222"
:fieldNames="{
children: 'children',
label: 'name',
value: 'dictName',
}"
:tree-data="sysTypeOptions"
>
<template #title="{ value: val, title }">
<b v-if="val === '11111'" style="color: #08c">sss</b>
<template v-else>{{ title }}</template>
</template>
</a-tree-select>
</div>
<div class="select">
@@ -2298,7 +2290,7 @@ import {
shallowRef,
onMounted,
onBeforeUnmount,
watch,
watch, computed,
} from "vue";
import * as api from "../../api/indexInvist.js";
@@ -2359,6 +2351,7 @@ import AddTest from "../../components/drawers/AddTest.vue";
import TableStudent from "@/components/student/TableStudent";
import FJUpload from "@/components/common/FJUpload";
import { updateStudent } from "@/api/indexProjStu";
import {useStore} from "vuex";
//列表表格
const columns1 = [
// {
@@ -2992,6 +2985,7 @@ export default defineComponent({
},
setup() {
const CourseModalRef = ref(null);
const store = useStore();
const state = reactive({
//新加
@@ -3550,6 +3544,8 @@ export default defineComponent({
state.viewpowervisible = true;
};
const sysTypeOptions = computed(() => store.state.sysType);
// 富文本 sssssssssssssss
// 编辑器实例,必须用 shallowRef
const editorRef = shallowRef();
@@ -5557,6 +5553,7 @@ export default defineComponent({
};
return {
...toRefs(state),
sysTypeOptions,
CourseModalRef,
auditStudent,
getdateToDateFn,