This commit is contained in:
zwt13703 2026-02-20 14:48:59 +08:00
parent a11329c502
commit 2e47337789
15 changed files with 39 additions and 28 deletions

View File

@ -309,7 +309,6 @@ const local: App.I18n.Schema = {
'art_school_modules_school-major-tag': '专业标签',
'art_school_modules_school-media': '媒体管理',
'art_school_modules_school-name': '院校名称',
'art_school_modules_school-tag': '院校标签',
about: '关于'
},
menu: {

View File

@ -3,3 +3,19 @@
--n-title-font-size: 15px !important;
}
}
/* Keep school search form inputs readable across theme/custom overrides */
.school-search-card {
.n-input .n-input__input-el,
.n-input .n-input__textarea-el,
.n-base-selection .n-base-selection-label,
.n-base-selection .n-base-selection-input__content {
color: var(--n-text-color) !important;
-webkit-text-fill-color: var(--n-text-color) !important;
}
.n-input .n-input__placeholder,
.n-base-selection .n-base-selection-placeholder {
color: var(--n-placeholder-color) !important;
}
}

View File

@ -50,8 +50,7 @@ const subModuleButtons: SchoolSubModuleButton[] = [
{ key: 'schoolMajor', label: '专业管理' },
{ key: 'schoolEnrollPlan', label: '招生计划' },
{ key: 'schoolDorm', label: '宿舍管理' },
{ key: 'schoolMedia', label: '媒体管理' },
{ key: 'schoolTag', label: '院校标签' }
{ key: 'schoolMedia', label: '媒体管理' }
];
const searchParams = ref<Api.Art.SchoolSearchParams>({
@ -104,19 +103,19 @@ const { columns, columnChecks, data, getData, getDataByPage, loading, mobilePagi
},
{
key: 'mainCode',
title: '学校编码(唯一标识,如国标代码)',
title: '学校编码(国标代码)',
align: 'center',
minWidth: 120
},
{
key: 'mainName',
title: '学校主名称(官方全称)',
title: '学校主名称',
align: 'center',
minWidth: 120
},
{
key: 'shortName',
title: '学校简称(备用)',
title: '学校简称',
align: 'center',
minWidth: 120
},
@ -146,25 +145,25 @@ const { columns, columnChecks, data, getData, getDataByPage, loading, mobilePagi
},
{
key: 'universityType',
title: '大学类型:综合/工科/财经/艺术...',
title: '大学类型',
align: 'center',
minWidth: 120
},
{
key: 'educationLevel',
title: '学历层次:本科/专科',
title: '学历层次',
align: 'center',
minWidth: 120
},
{
key: 'schoolNature',
title: '办学性质:公办/民办/中外合作',
title: '办学性质',
align: 'center',
minWidth: 120
},
{
key: 'supervisorDept',
title: '主管部门:教育部/工信部/民委...',
title: '主管部门',
align: 'center',
minWidth: 120
},

View File

@ -37,7 +37,7 @@ async function search() {
</script>
<template>
<NCard :bordered="false" size="small" class="card-wrapper">
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
<NCollapse>
<NCollapseItem :title="$t('common.search')" name="art-school-campus-search">
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">

View File

@ -37,7 +37,7 @@ async function search() {
</script>
<template>
<NCard :bordered="false" size="small" class="card-wrapper">
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
<NCollapse>
<NCollapseItem :title="$t('common.search')" name="art-school-college-search">
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">

View File

@ -37,7 +37,7 @@ async function search() {
</script>
<template>
<NCard :bordered="false" size="small" class="card-wrapper">
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
<NCollapse>
<NCollapseItem :title="$t('common.search')" name="art-school-detail-search">
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">

View File

@ -37,7 +37,7 @@ async function search() {
</script>
<template>
<NCard :bordered="false" size="small" class="card-wrapper">
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
<NCollapse>
<NCollapseItem :title="$t('common.search')" name="art-school-dorm-search">
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">

View File

@ -37,7 +37,7 @@ async function search() {
</script>
<template>
<NCard :bordered="false" size="small" class="card-wrapper">
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
<NCollapse>
<NCollapseItem :title="$t('common.search')" name="art-school-enroll-plan-search">
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">

View File

@ -37,7 +37,7 @@ async function search() {
</script>
<template>
<NCard :bordered="false" size="small" class="card-wrapper">
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
<NCollapse>
<NCollapseItem :title="$t('common.search')" name="art-school-major-tag-search">
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">

View File

@ -102,7 +102,7 @@ watch(
</script>
<template>
<NCard :bordered="false" size="small" class="card-wrapper">
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
<NCollapse>
<NCollapseItem :title="$t('common.search')" name="art-school-major-search">
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">

View File

@ -37,7 +37,7 @@ async function search() {
</script>
<template>
<NCard :bordered="false" size="small" class="card-wrapper">
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
<NCollapse>
<NCollapseItem :title="$t('common.search')" name="art-school-media-search">
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">

View File

@ -37,7 +37,7 @@ async function search() {
</script>
<template>
<NCard :bordered="false" size="small" class="card-wrapper">
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
<NCollapse>
<NCollapseItem :title="$t('common.search')" name="art-school-name-search">
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">

View File

@ -37,7 +37,7 @@ async function search() {
</script>
<template>
<NCard :bordered="false" size="small" class="card-wrapper">
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
<NCollapse>
<NCollapseItem :title="$t('common.search')" name="art-school-search">
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
@ -53,7 +53,7 @@ async function search() {
</NFormItemGi>
<NFormItemGi
span="24 s:12 m:6"
label="学校主名称(官方全称)"
label="学校主名称"
label-width="auto"
path="mainName"
class="pr-24px"

View File

@ -8,7 +8,7 @@ import SchoolEnrollPlanList from './school-enroll-plan/index.vue';
import SchoolMajorList from './school-major/index.vue';
import SchoolMediaList from './school-media/index.vue';
import SchoolNameList from './school-name/index.vue';
import SchoolTagList from './school-tag/index.vue';
//import SchoolTagList from './school-tag/index.vue';
defineOptions({
name: 'SchoolSubTableModal'
@ -21,8 +21,7 @@ type SchoolSubModuleType =
| 'schoolMajor'
| 'schoolEnrollPlan'
| 'schoolDorm'
| 'schoolMedia'
| 'schoolTag';
| 'schoolMedia';
type SchoolSubModuleOption = {
key: SchoolSubModuleType;
@ -52,8 +51,7 @@ const subModuleOptions: SchoolSubModuleOption[] = [
{ key: 'schoolMajor', label: '专业管理' },
{ key: 'schoolEnrollPlan', label: '招生计划管理' },
{ key: 'schoolDorm', label: '宿舍管理' },
{ key: 'schoolMedia', label: '媒体管理' },
{ key: 'schoolTag', label: '院校标签管理' }
{ key: 'schoolMedia', label: '媒体管理' }
];
const activeTab = ref<SchoolSubModuleType>(props.activeModule);
@ -66,7 +64,6 @@ const componentMap = {
schoolEnrollPlan: SchoolEnrollPlanList,
schoolDorm: SchoolDormList,
schoolMedia: SchoolMediaList,
schoolTag: SchoolTagList
} as const;
const activeComponent = computed(() => componentMap[activeTab.value]);

View File

@ -37,7 +37,7 @@ async function search() {
</script>
<template>
<NCard :bordered="false" size="small" class="card-wrapper">
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
<NCollapse>
<NCollapseItem :title="$t('common.search')" name="art-school-tag-search">
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">