Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
rsbuild-vue3-template
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
曾哲
rsbuild-vue3-template
Commits
7159b3fc
提交
7159b3fc
authored
12月 11, 2024
作者:
xiejiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
style: 修改页面还原度
上级
bd00dd49
隐藏空白字符变更
内嵌
并排
正在显示
22 个修改的文件
包含
64 行增加
和
51 行删除
+64
-51
.env.development
.env.development
+2
-2
.env.production
.env.production
+1
-1
.env.test
.env.test
+2
-2
index.vue
src/components/ImageViewer/index.vue
+2
-2
index.vue
src/components/PageContainer/index.vue
+1
-1
index.vue
src/components/PageFilters/index.vue
+1
-1
index.vue
src/components/SearchWithButton/index.vue
+2
-2
index.vue
src/components/SystemPrompts/index.vue
+2
-2
index.vue
src/components/UpdateVersion/index.vue
+2
-2
index.vue
src/layouts/components/Footer/index.vue
+3
-3
index.vue
src/layouts/components/Header/index.vue
+4
-4
index.vue
src/layouts/components/Menu/index.vue
+1
-5
common.less
src/styles/common.less
+6
-6
edit.vue
src/views/customer/institution/edit.vue
+2
-2
index.vue
src/views/login/index.vue
+7
-3
index.vue
src/views/sys-config/menu/index.vue
+2
-2
index.vue
src/views/sys-config/version/index.vue
+2
-2
version-edit.vue
src/views/sys-config/version/page/version-edit.vue
+1
-1
index.vue
src/views/sys-permissions/authority/index.vue
+3
-3
capabilities.vue
src/views/sys-permissions/authority/page/capabilities.vue
+8
-4
data-permissions.vue
...views/sys-permissions/authority/page/data-permissions.vue
+1
-1
tailwind.config.js
tailwind.config.js
+9
-0
没有找到文件。
.env.development
浏览文件 @
7159b3fc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# @Author: xiejiang
# @Author: xiejiang
# @Date: 2024-11-05 10:14:56
# @Date: 2024-11-05 10:14:56
# @LastEditors: xiejiang
# @LastEditors: xiejiang
# @LastEditTime: 2024-12-
05 11:37:54
# @LastEditTime: 2024-12-
11 22:10:08
# @Description:
# @Description:
# Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
# Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
###
###
...
@@ -16,7 +16,7 @@ VITE_PUBLIC_PATH = /
...
@@ -16,7 +16,7 @@ VITE_PUBLIC_PATH = /
VITE_DROP_CONSOLE = true
VITE_DROP_CONSOLE = true
# 开发环境接口地址
# 开发环境接口地址
VITE_API_URL = http
s://api.iep.seevin
.com
VITE_API_URL = http
://api.iep.casdio
.com
# 汪洋
# 汪洋
# VITE_API_URL = http://172.16.3.197:8095
# VITE_API_URL = http://172.16.3.197:8095
...
...
.env.production
浏览文件 @
7159b3fc
...
@@ -15,4 +15,4 @@ VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
...
@@ -15,4 +15,4 @@ VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
VITE_DROP_CONSOLE = true
VITE_DROP_CONSOLE = true
# 线上环境接口地址
# 线上环境接口地址
VITE_API_URL = "https://
mock.mengxuegu.com/mock/629d727e6163854a32e8307e
"
VITE_API_URL = "https://
api.iep.seevin.com
"
.env.test
浏览文件 @
7159b3fc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# @Author: xiejiang
# @Author: xiejiang
# @Date: 2024-12-08 09:25:35
# @Date: 2024-12-08 09:25:35
# @LastEditors: xiejiang
# @LastEditors: xiejiang
# @LastEditTime: 2024-12-1
0 15:55:57
# @LastEditTime: 2024-12-1
1 21:33:24
# @Description:
# @Description:
# Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
# Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
###
###
...
@@ -23,4 +23,4 @@ VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
...
@@ -23,4 +23,4 @@ VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
VITE_DROP_CONSOLE
=
true
VITE_DROP_CONSOLE
=
true
# 测试环境接口地址
# 测试环境接口地址
VITE_API_URL
=
http
s
://
api
.
iep
.
seevin
.
com
VITE_API_URL
=
http
://
api
.
iep
.
casdio
.
com
src/components/ImageViewer/index.vue
浏览文件 @
7159b3fc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Author: xiejiang
* @Date: 2024-11-06 09:53:55
* @Date: 2024-11-06 09:53:55
* @LastEditors: xiejiang
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11
10:58:57
* @LastEditTime: 2024-12-11
21:55:38
* @Description: 图片预览
* @Description: 图片预览
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
-->
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<template
v-if=
"props.isDel"
>
<template
v-if=
"props.isDel"
>
<span
class=
"mx-[8px]"
>
|
</span>
<span
class=
"mx-[8px]"
>
|
</span>
<span
@
click
.
stop=
"handleDel"
class=
"flex items-center"
>
<span
@
click
.
stop=
"handleDel"
class=
"flex items-center"
>
<DeleteIcon
size=
"1.2em"
class=
"mr-[4px]"
/>
删除
<DeleteIcon
size=
"1.2em"
class=
"
!
mr-[4px]"
/>
删除
</span>
</span>
</
template
>
</
template
>
</div>
</div>
...
...
src/components/PageContainer/index.vue
浏览文件 @
7159b3fc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Author: xiejiang
* @Date: 2024-11-07 11:19:31
* @Date: 2024-11-07 11:19:31
* @LastEditors: xiejiang
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 2
0:21:4
2
* @LastEditTime: 2024-12-11 2
2:37:2
2
* @Description: 表格页面容器组件
* @Description: 表格页面容器组件
-->
-->
<
template
>
<
template
>
...
...
src/components/PageFilters/index.vue
浏览文件 @
7159b3fc
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
v-show=
"isShowFilterResult"
v-show=
"isShowFilterResult"
theme=
"default"
theme=
"default"
variant=
"outline"
variant=
"outline"
class=
"
mt-[12px]
clear-btn"
class=
"
!mt-[12px] !
clear-btn"
@
click=
"handleClear"
@
click=
"handleClear"
>
>
清空
清空
...
...
src/components/SearchWithButton/index.vue
浏览文件 @
7159b3fc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Author: xiejiang
* @Date: 2023-07-13 10:27:58
* @Date: 2023-07-13 10:27:58
* @LastEditors: xiejiang
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11
11:06:17
* @LastEditTime: 2024-12-11
21:54:54
* @Description: 搜索组件
* @Description: 搜索组件
-->
-->
<
template
>
<
template
>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<SearchIcon
/>
<SearchIcon
/>
</
template
>
</
template
>
</t-input>
</t-input>
<t-button
class=
"search-btn ml-[8px]"
:loading=
"loading"
@
click=
"handleFullySearch"
>
搜索
</t-button>
<t-button
class=
"search-btn
!
ml-[8px]"
:loading=
"loading"
@
click=
"handleFullySearch"
>
搜索
</t-button>
</div>
</div>
</template>
</template>
...
...
src/components/SystemPrompts/index.vue
浏览文件 @
7159b3fc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Author: xiejiang
* @Date: 2024-11-06 09:53:55
* @Date: 2024-11-06 09:53:55
* @LastEditors: xiejiang
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11
11:06:46
* @LastEditTime: 2024-12-11
21:54:38
* @Description: 系统提示确认
* @Description: 系统提示确认
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
-->
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</
template
>
</
template
>
<
template
#
footer
>
<
template
#
footer
>
<div
class=
"mt-[16px] text-right"
>
<div
class=
"mt-[16px] text-right"
>
<t-button
variant=
"outline"
@
click=
"onClose"
class=
"mr-[8px]"
>
取消
</t-button>
<t-button
variant=
"outline"
@
click=
"onClose"
class=
"
!
mr-[8px]"
>
取消
</t-button>
<t-button
:loading=
"loading"
@
click=
"handleConfirm"
>
确定
</t-button>
<t-button
:loading=
"loading"
@
click=
"handleConfirm"
>
确定
</t-button>
</div>
</div>
</
template
>
</
template
>
...
...
src/components/UpdateVersion/index.vue
浏览文件 @
7159b3fc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Author: xiejiang
* @Date: 2024-12-10 15:36:04
* @Date: 2024-12-10 15:36:04
* @LastEditors: xiejiang
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11
15:32:44
* @LastEditTime: 2024-12-11
21:54:27
* @Description: 更新版本弹窗
* @Description: 更新版本弹窗
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
-->
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<div
class=
"content-div text-[var(--td-font-gray-1)]"
v-html=
"state?.description"
></div>
<div
class=
"content-div text-[var(--td-font-gray-1)]"
v-html=
"state?.description"
></div>
</div>
</div>
<div
class=
"flex justify-center"
>
<div
class=
"flex justify-center"
>
<t-button
class=
"
mt-[60px]
w-[200px]"
@
click=
"handleConfirm"
>
更新至最新版本
</t-button>
<t-button
class=
"
!mt-[60px] !
w-[200px]"
@
click=
"handleConfirm"
>
更新至最新版本
</t-button>
</div>
</div>
</main>
</main>
</
template
>
</
template
>
...
...
src/layouts/components/Footer/index.vue
浏览文件 @
7159b3fc
<!--
<!--
* @Author: zhanyoulin<zhanyoulin456@163.com>
* @Author: zhanyoulin<zhanyoulin456@163.com>
* @Date: 2023-06-13 09:41:17
* @Date: 2023-06-13 09:41:17
* @LastEditors:
zhanyoulin
* @LastEditors:
xiejiang
* @LastEditTime: 202
3-07-04 15:05:43
* @LastEditTime: 202
4-12-11 21:54:12
* @Description:
* @Description:
-->
-->
<
template
>
<
template
>
<div
class=
"flx-center footer"
>
<div
class=
"flx-center footer"
>
<a
href=
"https://www.hlsok.com/"
target=
"_blank"
>
202
3
© Hiteacher. All Rights Reserved. 好老师教育 版权所有
</a>
<a
href=
"https://www.hlsok.com/"
target=
"_blank"
>
202
4
© Hiteacher. All Rights Reserved. 好老师教育 版权所有
</a>
</div>
</div>
</
template
>
</
template
>
...
...
src/layouts/components/Header/index.vue
浏览文件 @
7159b3fc
...
@@ -2,25 +2,25 @@
...
@@ -2,25 +2,25 @@
* @Author: xiejiang
* @Author: xiejiang
* @Date: 2024-11-11 09:38:40
* @Date: 2024-11-11 09:38:40
* @LastEditors: xiejiang
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11
14:32:29
* @LastEditTime: 2024-12-11
21:53:21
* @Description:
* @Description:
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
-->
<
template
>
<
template
>
<t-head-menu
theme=
"light"
class=
"header bg-white"
>
<t-head-menu
theme=
"light"
class=
"header
!
bg-white"
>
<template
#
logo
>
<template
#
logo
>
<img
<img
:src=
"isCollapse ? iconLogoCollapse : iconLogo"
:src=
"isCollapse ? iconLogoCollapse : iconLogo"
alt=
"logo"
alt=
"logo"
:width=
"isCollapse ? 64 : 208"
:width=
"isCollapse ? 64 : 208"
:height=
"isCollapse ? 64 : 64"
:height=
"isCollapse ? 64 : 64"
class=
"ml-[0px] logo-transition"
class=
"
!
ml-[0px] logo-transition"
@
click=
"$router.push('/')"
@
click=
"$router.push('/')"
/>
/>
<Icon
<Icon
:name=
"isCollapse ? 'indent-right' : 'indent-left'"
:name=
"isCollapse ? 'indent-right' : 'indent-left'"
size=
"24"
size=
"24"
class=
"
cursor-pointer
ml-[15px]"
class=
"
!cursor-pointer !
ml-[15px]"
@
click=
"changeCollapse"
@
click=
"changeCollapse"
></Icon>
></Icon>
<Breadcrumb
id=
"breadcrumb"
/>
<Breadcrumb
id=
"breadcrumb"
/>
...
...
src/layouts/components/Menu/index.vue
浏览文件 @
7159b3fc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Author: xiejiang
* @Date: 2024-11-11 09:38:40
* @Date: 2024-11-11 09:38:40
* @LastEditors: xiejiang
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11
15:19:39
* @LastEditTime: 2024-12-11
22:18:14
* @Description:
* @Description:
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
-->
...
@@ -94,10 +94,6 @@ onMounted(() => {
...
@@ -94,10 +94,6 @@ onMounted(() => {
color: var(--td-font-gray-1);
color: var(--td-font-gray-1);
}
}
// .t-menu__content {
// font-size: 13px;
// }
.t-default-menu.t-is-collapsed {
.t-default-menu.t-is-collapsed {
width: 52px !important;
width: 52px !important;
}
}
...
...
src/styles/common.less
浏览文件 @
7159b3fc
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
}
}
.t-button--variant-outline {
.t-button--variant-outline {
border-color: var(--td-gray-color-2);
border-color: var(--td-gray-color-2)
!important
;
}
}
.t-button--variant-base.t-button--theme-primary {
.t-button--variant-base.t-button--theme-primary {
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
border-color: none;
border-color: none;
}
}
.t-i
s-error .t-form__controls-content .t-i
nput--focused {
.t-input--focused {
box-shadow: none !important;
box-shadow: none !important;
}
}
...
@@ -71,7 +71,7 @@ p {
...
@@ -71,7 +71,7 @@ p {
.t-input,
.t-input,
.t-textarea__inner {
.t-textarea__inner {
border-color: var(--td-gray-color-2);
border-color: var(--td-gray-color-2)
!important
;
}
}
// 表格
// 表格
...
@@ -102,7 +102,7 @@ p {
...
@@ -102,7 +102,7 @@ p {
td {
td {
border: none;
border: none;
font-size: 13px;
font-size: 13px;
padding: 10px 16px;
padding: 10px 16px
!important
;
}
}
.t-table__content {
.t-table__content {
...
@@ -115,11 +115,11 @@ p {
...
@@ -115,11 +115,11 @@ p {
.t-dialog-new-class {
.t-dialog-new-class {
.t-dialog__body__icon {
.t-dialog__body__icon {
color: var(--td-font-gray-2);
color: var(--td-font-gray-2)
!important
;
}
}
.t-button {
.t-button {
background-color: var(--td-gray-color-1);
background-color: var(--td-gray-color-1)
!important
;
}
}
}
}
...
...
src/views/customer/institution/edit.vue
浏览文件 @
7159b3fc
...
@@ -2,14 +2,14 @@
...
@@ -2,14 +2,14 @@
* @Author: xiejiang
* @Author: xiejiang
* @Date: 2024-12-01 10:26:11
* @Date: 2024-12-01 10:26:11
* @LastEditors: xiejiang
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11
18:43:44
* @LastEditTime: 2024-12-11
21:56:56
* @Description: 新增编辑角色
* @Description: 新增编辑角色
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
-->
<
template
>
<
template
>
<div
class=
"bg-white h-full p-[12px] institution-edit"
>
<div
class=
"bg-white h-full p-[12px] institution-edit"
>
<Back
/>
<Back
/>
<t-form
ref=
"formRef"
label-align=
"top"
class=
"form-class pt-[24px]"
:rules=
"rules"
:data=
"formData"
>
<t-form
ref=
"formRef"
label-align=
"top"
class=
"form-class
!
pt-[24px]"
:rules=
"rules"
:data=
"formData"
>
<t-form-item
label=
"机构名称"
name=
"companyName"
>
<t-form-item
label=
"机构名称"
name=
"companyName"
>
<t-input
maxlength=
"20"
v-model=
"formData.companyName"
placeholder=
"请输入机构名称"
>
</t-input>
<t-input
maxlength=
"20"
v-model=
"formData.companyName"
placeholder=
"请输入机构名称"
>
</t-input>
</t-form-item>
</t-form-item>
...
...
src/views/login/index.vue
浏览文件 @
7159b3fc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Author: xiejiang
* @Date: 2024-11-05 10:14:56
* @Date: 2024-11-05 10:14:56
* @LastEditors: xiejiang
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11
17:20:34
* @LastEditTime: 2024-12-11
22:15:15
* @Description: 登录
* @Description: 登录
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
-->
...
@@ -58,7 +58,11 @@
...
@@ -58,7 +58,11 @@
</span>
</span>
</t-form-item>
</t-form-item>
<t-form-item>
<t-form-item>
<t-button
class=
"mt-[60px] w-full text-[16px]"
:disabled=
"isLoginButtonDisable"
type=
"submit"
size=
"large"
<t-button
class=
"!mt-[60px] !w-full !text-[16px]"
:disabled=
"isLoginButtonDisable"
type=
"submit"
size=
"large"
>
登 录
</t-button
>
登 录
</t-button
>
>
</t-form-item>
</t-form-item>
...
@@ -266,7 +270,7 @@ const onSubmit: FormProps['onSubmit'] = ({ validateResult }) => {
...
@@ -266,7 +270,7 @@ const onSubmit: FormProps['onSubmit'] = ({ validateResult }) => {
justify-content: center;
justify-content: center;
&-form {
&-form {
margin-top:
32
px;
margin-top:
56
px;
:deep(.t-input__wrap) {
:deep(.t-input__wrap) {
flex: 1;
flex: 1;
...
...
src/views/sys-config/menu/index.vue
浏览文件 @
7159b3fc
...
@@ -2,13 +2,13 @@
...
@@ -2,13 +2,13 @@
* @Author: xiejiang
* @Author: xiejiang
* @Date: 2024-11-11 09:38:40
* @Date: 2024-11-11 09:38:40
* @LastEditors: xiejiang
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 2
0:00:3
4
* @LastEditTime: 2024-12-11 2
1:51:4
4
* @Description: 菜单管理
* @Description: 菜单管理
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
-->
<
template
>
<
template
>
<div
class=
"h-full overflow-auto"
>
<div
class=
"h-full overflow-auto"
>
<t-tabs
class=
"px-[16px]"
v-model=
"tabValue"
:on-change=
"onTabChange"
>
<t-tabs
class=
"
!
px-[16px]"
v-model=
"tabValue"
:on-change=
"onTabChange"
>
<t-tab-panel
:value=
"0"
label=
"平台菜单"
:destroy-on-hide=
"false"
/>
<t-tab-panel
:value=
"0"
label=
"平台菜单"
:destroy-on-hide=
"false"
/>
<t-tab-panel
:value=
"1"
:disabled=
"true"
label=
"机构菜单"
:destroy-on-hide=
"false"
/>
<t-tab-panel
:value=
"1"
:disabled=
"true"
label=
"机构菜单"
:destroy-on-hide=
"false"
/>
</t-tabs>
</t-tabs>
...
...
src/views/sys-config/version/index.vue
浏览文件 @
7159b3fc
...
@@ -2,13 +2,13 @@
...
@@ -2,13 +2,13 @@
* @Author: xiejiang
* @Author: xiejiang
* @Date: 2024-11-11 09:38:40
* @Date: 2024-11-11 09:38:40
* @LastEditors: xiejiang
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 2
0:00:51
* @LastEditTime: 2024-12-11 2
1:51:06
* @Description: 版本管理
* @Description: 版本管理
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
-->
<
template
>
<
template
>
<div
class=
"h-full overflow-auto"
>
<div
class=
"h-full overflow-auto"
>
<t-tabs
class=
"px-[16px]"
v-model=
"tabValue"
:on-change=
"onTabChange"
>
<t-tabs
class=
"
!
px-[16px]"
v-model=
"tabValue"
:on-change=
"onTabChange"
>
<t-tab-panel
:value=
"1"
label=
"平台端"
:destroy-on-hide=
"false"
/>
<t-tab-panel
:value=
"1"
label=
"平台端"
:destroy-on-hide=
"false"
/>
</t-tabs>
</t-tabs>
...
...
src/views/sys-config/version/page/version-edit.vue
浏览文件 @
7159b3fc
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
@
close=
"close"
@
close=
"close"
>
>
<InfoLable
class=
"mb-[20px]"
label=
"当前终端"
:value=
"props.tabType == 1 ? '平台端' : '机构端'"
/>
<InfoLable
class=
"mb-[20px]"
label=
"当前终端"
:value=
"props.tabType == 1 ? '平台端' : '机构端'"
/>
<t-form
ref=
"formRef"
label-align=
"top"
class=
"form pt-[20px]"
:rules=
"rules"
:data=
"formData"
>
<t-form
ref=
"formRef"
label-align=
"top"
class=
"form
!
pt-[20px]"
:rules=
"rules"
:data=
"formData"
>
<t-form-item
label=
"版本号"
name=
"version"
>
<t-form-item
label=
"版本号"
name=
"version"
>
<t-input
maxlength=
"20"
v-model=
"formData.version"
placeholder=
"请输入版本号"
>
</t-input>
<t-input
maxlength=
"20"
v-model=
"formData.version"
placeholder=
"请输入版本号"
>
</t-input>
</t-form-item>
</t-form-item>
...
...
src/views/sys-permissions/authority/index.vue
浏览文件 @
7159b3fc
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<
template
>
<
template
>
<div
class=
"authority h-full bg-white"
>
<div
class=
"authority h-full bg-white"
>
<div
class=
"left"
>
<div
class=
"left"
>
<SearchWithButton
width=
"2
4
0px"
placeholder=
"搜索角色"
v-model=
"roleName"
@
on-search=
"handleSearch"
/>
<SearchWithButton
width=
"2
5
0px"
placeholder=
"搜索角色"
v-model=
"roleName"
@
on-search=
"handleSearch"
/>
<!--
<div
class=
"role-add"
@
click=
"dialogVisible = true"
>
+ 创建角色
</div>
-->
<!--
<div
class=
"role-add"
@
click=
"dialogVisible = true"
>
+ 创建角色
</div>
-->
<ul
class=
"left-list"
v-loading=
"loading"
>
<ul
class=
"left-list"
v-loading=
"loading"
>
<li
<li
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<!-- 功能权限 -->
<!-- 功能权限 -->
<div
v-show=
"tabValue === 1"
>
<div
v-show=
"tabValue === 1"
>
<SearchWithButton
<SearchWithButton
width=
"2
4
0px"
width=
"2
5
0px"
class=
"m-[16px]"
class=
"m-[16px]"
placeholder=
"搜索菜单功能名称"
placeholder=
"搜索菜单功能名称"
v-model=
"condMenuName"
v-model=
"condMenuName"
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
</div>
</div>
<FooterFixBtn>
<FooterFixBtn>
<template
#
button
>
<template
#
button
>
<t-button
variant=
"outline"
class=
"mr-[16px]"
@
click=
"handleClear"
>
{{
<t-button
variant=
"outline"
class=
"
!
mr-[16px]"
@
click=
"handleClear"
>
{{
tabValue
===
1
?
'清空'
:
'应用至其他菜单'
tabValue
===
1
?
'清空'
:
'应用至其他菜单'
}}
</t-button>
}}
</t-button>
<t-button
theme=
"primary"
:loading=
"submitLoading"
@
click=
"handleConfirm"
>
保存
</t-button></
template
<t-button
theme=
"primary"
:loading=
"submitLoading"
@
click=
"handleConfirm"
>
保存
</t-button></
template
...
...
src/views/sys-permissions/authority/page/capabilities.vue
浏览文件 @
7159b3fc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: xiejiang
* @Author: xiejiang
* @Date: 2024-12-05 17:16:22
* @Date: 2024-12-05 17:16:22
* @LastEditors: xiejiang
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11
17:31:53
* @LastEditTime: 2024-12-11
22:31:51
* @Description: 功能权限
* @Description: 功能权限
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
-->
-->
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
:key=
"it.menuId"
:key=
"it.menuId"
v-model=
"it.selected"
v-model=
"it.selected"
@
change=
"handleSelectAll(it)"
@
change=
"handleSelectAll(it)"
class=
"
mr-[20px]
my-[7px]"
class=
"
!mr-[20px] !
my-[7px]"
/>
/>
</div>
</div>
</div>
</div>
...
@@ -182,14 +182,18 @@ defineExpose({
...
@@ -182,14 +182,18 @@ defineExpose({
display: flex;
display: flex;
flex-wrap: wrap;
flex-wrap: wrap;
align-items: center;
align-items: center;
:deep(.t-checkbox) {
margin: 7px 10px 7px 0;
}
}
}
:deep(.t-collapse-panel) {
:deep(.t-collapse-panel) {
.t-collapse-panel__header {
.t-collapse-panel__header {
padding: 8px;
padding: 8px;
margin-top: -1px;
margin-top: -1px;
background: var(--td-brand-color-12);
background: var(--td-brand-color-12)
!important
;
border: 1px solid var(--td-border);
border: 1px solid var(--td-border)
!important
;
}
}
.t-collapse-panel__content {
.t-collapse-panel__content {
...
...
src/views/sys-permissions/authority/page/data-permissions.vue
浏览文件 @
7159b3fc
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<div
class=
"flex items-center mb-[24px]"
>
<div
class=
"flex items-center mb-[24px]"
>
<span
class=
"mr-[38px]"
>
通用范围
</span>
<span
class=
"mr-[38px]"
>
通用范围
</span>
<t-checkbox
class=
"text-[var(--td-font-gray-2)]"
:default-checked=
"true"
readonly
>
本人创建数据
</t-checkbox>
<t-checkbox
class=
"
!
text-[var(--td-font-gray-2)]"
:default-checked=
"true"
readonly
>
本人创建数据
</t-checkbox>
</div>
</div>
<div
class=
"flex mb-[24px] w-full"
>
<div
class=
"flex mb-[24px] w-full"
>
<span
class=
"mr-[20px]"
>
自定义范围
</span>
<span
class=
"mr-[20px]"
>
自定义范围
</span>
...
...
tailwind.config.js
浏览文件 @
7159b3fc
/*
* @Author: xiejiang
* @Date: 2024-12-08 09:25:35
* @LastEditors: xiejiang
* @LastEditTime: 2024-12-11 21:25:03
* @Description:
* Copyright(c)2024 by 好老师教育科技有限公司 All right Reserved.
*/
/** @type {import('tailwindcss').Config} */
/** @type {import('tailwindcss').Config} */
export
default
{
export
default
{
content
:
[
'./index.html'
,
'./src/**/*.{vue,js,ts,jsx,tsx}'
],
content
:
[
'./index.html'
,
'./src/**/*.{vue,js,ts,jsx,tsx}'
],
...
@@ -67,6 +75,7 @@ export default {
...
@@ -67,6 +75,7 @@ export default {
}
}
},
},
plugins
:
[],
plugins
:
[],
// important: true, // 解决 覆盖不了问题
corePlugins
:
{
corePlugins
:
{
preflight
:
false
preflight
:
false
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论