Răsfoiți Sursa

最新更新

于添 3 luni în urmă
părinte
comite
e307eee56f

+ 6 - 5
src/api/statisticalAnalysis/platformStatusOverview.js

@@ -234,10 +234,11 @@ export const getCourseInfo = async (params = {}) => {
 	// 		resolve(response)
 	// 	}, 300)
 	// })
-	let allCourses = await request('platformStatusOverview/allCourses', params, 'get')
+	let allCourses = await request('platformStatusOverview/allCoursesPage', params, 'get')
 	console.log('022', allCourses)
 	let records = []
-	ForEach(allCourses.allCourses, (item) => {
+	ForEach(allCourses.records
+		, (item) => {
 		records.push({
 			id: item.COURSE_ID,
 			name: item.COURSE_NAME,
@@ -252,9 +253,9 @@ export const getCourseInfo = async (params = {}) => {
 		message: '获取成功',
 		data : {
 			records,
-			total: 5,
-			current: 1,
-			size: 10
+			total: allCourses.total,
+			current: allCourses.current,
+			size: allCourses.size
 		},
 
 	}

+ 1 - 1
src/style/index.less

@@ -212,7 +212,7 @@ a, button, input, textarea {
 	font-weight: bold;
 	display: flex;
 	align-items: center;
-	font-size: 20px;
+	font-size: 18px;
 }
 
 .snowy-header-logo .logo-bar .logo {

+ 1 - 1
src/views/dev/config/sysConfig.vue

@@ -24,7 +24,7 @@
 			<a-row :gutter="16">
 				<a-col :span="8">
 					<a-form-item label="系统名称:" name="SNOWY_SYS_NAME">
-						<a-input v-model:value="formData.SNOWY_SYS_NAME" placeholder="请输入系统名称" />
+						<a-input v-model:value="formData.SNOWY_SYS_NAME" placeholder="请输入系统名称" maxlength="8" show-count/>
 					</a-form-item>
 				</a-col>
 				<a-col :span="8">

+ 7 - 7
src/views/dev/log/vislog/index.vue

@@ -27,13 +27,13 @@
 								{{ visLog.label }}
 							</a-radio-button>
 						</a-radio-group>
-						<a-input-search
-							v-model:value="searchFormState.searchKey"
-							placeholder="请输入名称关键字"
-							enter-button
-							allowClear
-							@search="onSearch"
-						/>
+<!--						<a-input-search-->
+<!--							v-model:value="searchFormState.searchKey"-->
+<!--							placeholder="请输入名称关键字"-->
+<!--							enter-button-->
+<!--							allowClear-->
+<!--							@search="onSearch"-->
+<!--						/>-->
 						<a-popconfirm title="确定清空登录登出日志吗?" @confirm="deleteBatchVisLog()">
 							<a-button danger>清空</a-button>
 						</a-popconfirm>

+ 10 - 10
src/views/forum/postinfo/form.vue

@@ -17,16 +17,16 @@
 					:filter-option="filterOption"
 				></a-select>
 			</a-form-item>
-			<a-form-item label="用户" name="userId">
-				<a-select
-					v-model:value="formData.userId"
-					show-search
-					placeholder="请选择用户"
-					style="width: 100%"
-					:options="usertypeOptions"
-					:filter-option="filterOption"
-				></a-select>
-			</a-form-item>
+<!--			<a-form-item label="用户" name="userId">-->
+<!--				<a-select-->
+<!--					v-model:value="formData.userId"-->
+<!--					show-search-->
+<!--					placeholder="请选择用户"-->
+<!--					style="width: 100%"-->
+<!--					:options="usertypeOptions"-->
+<!--					:filter-option="filterOption"-->
+<!--				></a-select>-->
+<!--			</a-form-item>-->
 			<a-form-item label="帖子标题:" name="postTitle">
 				<a-input v-model:value="formData.postTitle" placeholder="请输入帖子标题" allow-clear show-count maxlength="50"/>
 			</a-form-item>

+ 0 - 3
src/views/statisticalAnalysis/platformStatusOverview/index.vue

@@ -41,9 +41,6 @@
 					current: courseInfoPagination.current,
 					pageSize: courseInfoPagination.pageSize,
 					total: courseInfoPagination.total,
-					showSizeChanger: true,
-					showQuickJumper: true,
-					showTotal: (total) => `共 ${total} 条记录`,
 					onChange: handlePageChange,
 					onShowSizeChange: handlePageChange
 				}"

+ 5 - 4
src/views/sys/org/form.vue

@@ -31,13 +31,13 @@
 			<a-form-item label="英文名称:" name="englishName">
 				<a-input v-model:value="formData.englishName" placeholder="请输入英文名称" allow-clear />
 			</a-form-item>
-			<a-form-item label="所在二级单位徽章:" name="badge">
-				<UploadImg ref="badgeUploadRef" v-model="formData.badge" @handlerUpImage="handleBadgeUpload" />
+			<a-form-item label="所在二级单位徽章:" name="badgeBase64">
+				<UploadImg ref="badgeUploadRef" v-model="formData.badgeBase64" @handlerUpImage="handleBadgeUpload" />
 			</a-form-item>
-			<a-form-item label="单位宣传图:" name="propagandizePic">
+			<a-form-item label="单位宣传图:" name="propagandizePicBase64">
 				<UploadImg
 					ref="propagandaUploadRef"
-					v-model="formData.propagandizePic"
+					v-model="formData.propagandizePicBase64"
 					@handlerUpImage="handlePropagandaImageUpload"
 				/>
 			</a-form-item>
@@ -223,6 +223,7 @@
 	const removeBadge = () => {
 		formData.value.badge = ''
 		formData.value.badgePath = ''
+		formData.value.badgeBase64 = undefined
 	}
 
 	// 处理宣传图上传