Răsfoiți Sursa

fix: 调整界面样式和文案,优化用户体验

- 增加日志组件的高度以显示更多内容
- 将"所属院系"统一改为"所属单位"
- 更新404页面提示文案
- 移除部分用户中心和组织架构相关功能
- 优化专业表单的必填校验
- 调整视频详情页的所属单位显示
- 移除部分账号绑定选项
tanshanming 6 luni în urmă
părinte
comite
2277a59fc1

+ 1 - 1
src/api/resourceAudit.js

@@ -85,7 +85,7 @@ export default {
 	},
 	//公开人员查询所有以及下级
 	orgUserTreeSelector(data = {}) {
-		return request('disk/college/orgUserTreeSelector', data, 'get')
+		return request('bus/org/orgUserTreeSelector', data, 'get')
 	},
 	// 学院接口
 	orgList(data = {}) {

+ 1 - 1
src/layout/other/404.vue

@@ -1,5 +1,5 @@
 <template>
-	<a-result status="404" title="404" sub-title="对不起,您访问的页面不存在。">
+	<a-result status="404" title="404" sub-title="系统升级维护中。">
 		<template #extra>
 			<a-button type="primary" @click="gohome">返回首页</a-button>
 			<a-button type="dashed" @click="goback">返回上一页</a-button>

+ 6 - 2
src/views/course/major/form.vue

@@ -1,6 +1,6 @@
 <template>
 	<xn-form-container
-		:title="formData.id ? '编辑major' : '增加major'"
+		:title="formData.id ? '编辑专业' : '增加专业'"
 		:width="700"
 		:visible="visible"
 		:destroy-on-close="true"
@@ -62,7 +62,11 @@
 		visible.value = false
 	}
 	// 默认要校验的
-	const formRules = {}
+	const formRules = {
+		majorName: [required('请输入专业名称')],
+		majorCode: [required('请输入专业编码')],
+		collegeId: [required('请选择学院')]
+	}
 
 	// 验证并提交数据
 	const onSubmit = () => {

+ 1 - 1
src/views/courseManagement/components/ListView.vue

@@ -8,7 +8,7 @@
 		:expand-row-by-click="true"
 		:pagination="false"
 		size="small"
-		:scroll="{ x: 1500, y: 300 }"
+		:scroll="{ x: 1500, y: aouthorHeight }"
 	>
 		<template #bodyCell="{ column, text, record }">
 			<template v-if="column.dataIndex === 'publishTime'">{{ formatTimestamp(text) }}</template>

+ 1 - 1
src/views/index/components/opLog.vue

@@ -59,7 +59,7 @@
 		padding-bottom: 10px !important;
 	}
 	.timeline-div {
-		height: 300px;
+		height: 425px;
 		overflow: auto;
 	}
 </style>

+ 1 - 1
src/views/index/components/visLog.vue

@@ -66,7 +66,7 @@
 		color: rgb(188, 189, 190);
 	}
 	.timeline-div {
-		height: 300px;
+		height: 425px;
 		overflow: auto;
 	}
 </style>

+ 1 - 1
src/views/index/index.vue

@@ -2,7 +2,7 @@
 	<a-row :gutter="10">
 		<a-col :span="16" :xs="24" :sm="24" :md="24" :lg="16" :xl="16">
 			<userInfo class="mb-2" />
-			<shortcut class="mb-2" />
+			<!-- <shortcut class="mb-2" /> -->
 			<a-row :gutter="10">
 				<a-col :span="12" :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
 					<visLog class="mb-2" />

+ 1 - 1
src/views/myFavorites/index.vue

@@ -266,7 +266,7 @@
 			key: 'fileName'
 		},
 		{
-			title: '所属院系',
+			title: '所属单位',
 			align: 'center',
 			dataIndex: 'collegeAllIdName',
 			key: 'collegeAllIdName'

+ 1 - 1
src/views/myResources/index.vue

@@ -278,7 +278,7 @@
 			key: 'fileName'
 		},
 		{
-			title: '所属院系',
+			title: '所属单位',
 			align: 'center',
 			dataIndex: 'collegeIdName',
 			key: 'collegeIdName'

+ 1 - 1
src/views/myResources/myResources.vue

@@ -443,7 +443,7 @@
 			key: 'fileName'
 		},
 		{
-			title: '所属院系',
+			title: '所属单位',
 			align: 'center',
 			dataIndex: 'collegeAllIdName',
 			key: 'collegeAllIdName'

+ 1 - 1
src/views/resourceDetails/components/VideoDetails.vue

@@ -117,7 +117,7 @@
 					<span style="display: block">{{ teacherName }}</span>
 				</div> -->
 				<div style="display: flex">
-					<span class="resInfoLabel" style="font-weight: bold; margin-right: 10px">所属院系: </span>
+					<span class="resInfoLabel" style="font-weight: bold; margin-right: 10px">所属单位: </span>
 					<span style="display: block; width: 200px">{{ department }}</span>
 				</div>
 				<!-- <div style="display: flex; align-items: center">

+ 8 - 8
src/views/sys/user/userCenter.vue

@@ -90,18 +90,18 @@
 			key: 'accountBasic',
 			tab: '基本信息'
 		},
-		{
-			key: 'organizationChart',
-			tab: '组织架构'
-		},
+		// {
+		// 	key: 'organizationChart',
+		// 	tab: '组织架构'
+		// },
 		{
 			key: 'accountBind',
 			tab: '账号相关'
 		},
-		{
-			key: 'shortcutSetting',
-			tab: '快捷方式'
-		},
+		// {
+		// 	key: 'shortcutSetting',
+		// 	tab: '快捷方式'
+		// },
 		{
 			key: 'userMessage',
 			tab: '我的消息'

+ 4 - 4
src/views/sys/user/userTab/accountBind.vue

@@ -36,10 +36,10 @@
 		/*{ title: '密保手机', description: '已绑定手机', value: '138****8293', type: 'phone', bindStatus: 1 },
 		{ title: '密保邮箱', description: '未绑定邮箱', value: '', type: 'email', bindStatus: 0 },
 		{ title: '实名状态', description: '未实名', value: '', type: 'userReal', bindStatus: 0 },*/
-		{ title: '绑定QQ', description: '未绑定', value: '', type: 'qq', bindStatus: 0 },
-		{ title: '绑定微信', description: '未绑定', value: '', type: 'weChat', bindStatus: 0 },
-		{ title: '绑定支付宝', description: '未绑定', value: '', type: 'AliPay', bindStatus: 0 },
-		{ title: '绑定Gitee', description: '未绑定', value: '', type: 'Gitee', bindStatus: 0 }
+		// { title: '绑定QQ', description: '未绑定', value: '', type: 'qq', bindStatus: 0 },
+		// { title: '绑定微信', description: '未绑定', value: '', type: 'weChat', bindStatus: 0 },
+		// { title: '绑定支付宝', description: '未绑定', value: '', type: 'AliPay', bindStatus: 0 },
+		// { title: '绑定Gitee', description: '未绑定', value: '', type: 'Gitee', bindStatus: 0 }
 	]
 	const bindCommon = (key) => {
 		if (key === 'password') {