updates
This commit is contained in:
parent
a11329c502
commit
2e47337789
|
|
@ -309,7 +309,6 @@ const local: App.I18n.Schema = {
|
||||||
'art_school_modules_school-major-tag': '专业标签',
|
'art_school_modules_school-major-tag': '专业标签',
|
||||||
'art_school_modules_school-media': '媒体管理',
|
'art_school_modules_school-media': '媒体管理',
|
||||||
'art_school_modules_school-name': '院校名称',
|
'art_school_modules_school-name': '院校名称',
|
||||||
'art_school_modules_school-tag': '院校标签',
|
|
||||||
about: '关于'
|
about: '关于'
|
||||||
},
|
},
|
||||||
menu: {
|
menu: {
|
||||||
|
|
|
||||||
|
|
@ -3,3 +3,19 @@
|
||||||
--n-title-font-size: 15px !important;
|
--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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -50,8 +50,7 @@ const subModuleButtons: SchoolSubModuleButton[] = [
|
||||||
{ key: 'schoolMajor', label: '专业管理' },
|
{ key: 'schoolMajor', label: '专业管理' },
|
||||||
{ key: 'schoolEnrollPlan', label: '招生计划' },
|
{ key: 'schoolEnrollPlan', label: '招生计划' },
|
||||||
{ key: 'schoolDorm', label: '宿舍管理' },
|
{ key: 'schoolDorm', label: '宿舍管理' },
|
||||||
{ key: 'schoolMedia', label: '媒体管理' },
|
{ key: 'schoolMedia', label: '媒体管理' }
|
||||||
{ key: 'schoolTag', label: '院校标签' }
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const searchParams = ref<Api.Art.SchoolSearchParams>({
|
const searchParams = ref<Api.Art.SchoolSearchParams>({
|
||||||
|
|
@ -104,19 +103,19 @@ const { columns, columnChecks, data, getData, getDataByPage, loading, mobilePagi
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'mainCode',
|
key: 'mainCode',
|
||||||
title: '学校编码(唯一标识,如国标代码)',
|
title: '学校编码(国标代码)',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'mainName',
|
key: 'mainName',
|
||||||
title: '学校主名称(官方全称)',
|
title: '学校主名称',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'shortName',
|
key: 'shortName',
|
||||||
title: '学校简称(备用)',
|
title: '学校简称',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120
|
||||||
},
|
},
|
||||||
|
|
@ -146,25 +145,25 @@ const { columns, columnChecks, data, getData, getDataByPage, loading, mobilePagi
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'universityType',
|
key: 'universityType',
|
||||||
title: '大学类型:综合/工科/财经/艺术...',
|
title: '大学类型',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'educationLevel',
|
key: 'educationLevel',
|
||||||
title: '学历层次:本科/专科',
|
title: '学历层次',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'schoolNature',
|
key: 'schoolNature',
|
||||||
title: '办学性质:公办/民办/中外合作',
|
title: '办学性质',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'supervisorDept',
|
key: 'supervisorDept',
|
||||||
title: '主管部门:教育部/工信部/民委...',
|
title: '主管部门',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ async function search() {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<NCard :bordered="false" size="small" class="card-wrapper">
|
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
|
||||||
<NCollapse>
|
<NCollapse>
|
||||||
<NCollapseItem :title="$t('common.search')" name="art-school-campus-search">
|
<NCollapseItem :title="$t('common.search')" name="art-school-campus-search">
|
||||||
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ async function search() {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<NCard :bordered="false" size="small" class="card-wrapper">
|
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
|
||||||
<NCollapse>
|
<NCollapse>
|
||||||
<NCollapseItem :title="$t('common.search')" name="art-school-college-search">
|
<NCollapseItem :title="$t('common.search')" name="art-school-college-search">
|
||||||
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ async function search() {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<NCard :bordered="false" size="small" class="card-wrapper">
|
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
|
||||||
<NCollapse>
|
<NCollapse>
|
||||||
<NCollapseItem :title="$t('common.search')" name="art-school-detail-search">
|
<NCollapseItem :title="$t('common.search')" name="art-school-detail-search">
|
||||||
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ async function search() {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<NCard :bordered="false" size="small" class="card-wrapper">
|
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
|
||||||
<NCollapse>
|
<NCollapse>
|
||||||
<NCollapseItem :title="$t('common.search')" name="art-school-dorm-search">
|
<NCollapseItem :title="$t('common.search')" name="art-school-dorm-search">
|
||||||
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ async function search() {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<NCard :bordered="false" size="small" class="card-wrapper">
|
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
|
||||||
<NCollapse>
|
<NCollapse>
|
||||||
<NCollapseItem :title="$t('common.search')" name="art-school-enroll-plan-search">
|
<NCollapseItem :title="$t('common.search')" name="art-school-enroll-plan-search">
|
||||||
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ async function search() {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<NCard :bordered="false" size="small" class="card-wrapper">
|
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
|
||||||
<NCollapse>
|
<NCollapse>
|
||||||
<NCollapseItem :title="$t('common.search')" name="art-school-major-tag-search">
|
<NCollapseItem :title="$t('common.search')" name="art-school-major-tag-search">
|
||||||
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ watch(
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<NCard :bordered="false" size="small" class="card-wrapper">
|
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
|
||||||
<NCollapse>
|
<NCollapse>
|
||||||
<NCollapseItem :title="$t('common.search')" name="art-school-major-search">
|
<NCollapseItem :title="$t('common.search')" name="art-school-major-search">
|
||||||
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ async function search() {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<NCard :bordered="false" size="small" class="card-wrapper">
|
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
|
||||||
<NCollapse>
|
<NCollapse>
|
||||||
<NCollapseItem :title="$t('common.search')" name="art-school-media-search">
|
<NCollapseItem :title="$t('common.search')" name="art-school-media-search">
|
||||||
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ async function search() {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<NCard :bordered="false" size="small" class="card-wrapper">
|
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
|
||||||
<NCollapse>
|
<NCollapse>
|
||||||
<NCollapseItem :title="$t('common.search')" name="art-school-name-search">
|
<NCollapseItem :title="$t('common.search')" name="art-school-name-search">
|
||||||
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ async function search() {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<NCard :bordered="false" size="small" class="card-wrapper">
|
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
|
||||||
<NCollapse>
|
<NCollapse>
|
||||||
<NCollapseItem :title="$t('common.search')" name="art-school-search">
|
<NCollapseItem :title="$t('common.search')" name="art-school-search">
|
||||||
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
||||||
|
|
@ -53,7 +53,7 @@ async function search() {
|
||||||
</NFormItemGi>
|
</NFormItemGi>
|
||||||
<NFormItemGi
|
<NFormItemGi
|
||||||
span="24 s:12 m:6"
|
span="24 s:12 m:6"
|
||||||
label="学校主名称(官方全称)"
|
label="学校主名称"
|
||||||
label-width="auto"
|
label-width="auto"
|
||||||
path="mainName"
|
path="mainName"
|
||||||
class="pr-24px"
|
class="pr-24px"
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import SchoolEnrollPlanList from './school-enroll-plan/index.vue';
|
||||||
import SchoolMajorList from './school-major/index.vue';
|
import SchoolMajorList from './school-major/index.vue';
|
||||||
import SchoolMediaList from './school-media/index.vue';
|
import SchoolMediaList from './school-media/index.vue';
|
||||||
import SchoolNameList from './school-name/index.vue';
|
import SchoolNameList from './school-name/index.vue';
|
||||||
import SchoolTagList from './school-tag/index.vue';
|
//import SchoolTagList from './school-tag/index.vue';
|
||||||
|
|
||||||
defineOptions({
|
defineOptions({
|
||||||
name: 'SchoolSubTableModal'
|
name: 'SchoolSubTableModal'
|
||||||
|
|
@ -21,8 +21,7 @@ type SchoolSubModuleType =
|
||||||
| 'schoolMajor'
|
| 'schoolMajor'
|
||||||
| 'schoolEnrollPlan'
|
| 'schoolEnrollPlan'
|
||||||
| 'schoolDorm'
|
| 'schoolDorm'
|
||||||
| 'schoolMedia'
|
| 'schoolMedia';
|
||||||
| 'schoolTag';
|
|
||||||
|
|
||||||
type SchoolSubModuleOption = {
|
type SchoolSubModuleOption = {
|
||||||
key: SchoolSubModuleType;
|
key: SchoolSubModuleType;
|
||||||
|
|
@ -52,8 +51,7 @@ const subModuleOptions: SchoolSubModuleOption[] = [
|
||||||
{ key: 'schoolMajor', label: '专业管理' },
|
{ key: 'schoolMajor', label: '专业管理' },
|
||||||
{ key: 'schoolEnrollPlan', label: '招生计划管理' },
|
{ key: 'schoolEnrollPlan', label: '招生计划管理' },
|
||||||
{ key: 'schoolDorm', label: '宿舍管理' },
|
{ key: 'schoolDorm', label: '宿舍管理' },
|
||||||
{ key: 'schoolMedia', label: '媒体管理' },
|
{ key: 'schoolMedia', label: '媒体管理' }
|
||||||
{ key: 'schoolTag', label: '院校标签管理' }
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const activeTab = ref<SchoolSubModuleType>(props.activeModule);
|
const activeTab = ref<SchoolSubModuleType>(props.activeModule);
|
||||||
|
|
@ -66,7 +64,6 @@ const componentMap = {
|
||||||
schoolEnrollPlan: SchoolEnrollPlanList,
|
schoolEnrollPlan: SchoolEnrollPlanList,
|
||||||
schoolDorm: SchoolDormList,
|
schoolDorm: SchoolDormList,
|
||||||
schoolMedia: SchoolMediaList,
|
schoolMedia: SchoolMediaList,
|
||||||
schoolTag: SchoolTagList
|
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
const activeComponent = computed(() => componentMap[activeTab.value]);
|
const activeComponent = computed(() => componentMap[activeTab.value]);
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ async function search() {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<NCard :bordered="false" size="small" class="card-wrapper">
|
<NCard :bordered="false" size="small" class="school-search-card card-wrapper">
|
||||||
<NCollapse>
|
<NCollapse>
|
||||||
<NCollapseItem :title="$t('common.search')" name="art-school-tag-search">
|
<NCollapseItem :title="$t('common.search')" name="art-school-tag-search">
|
||||||
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue