Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
admin-ci-test
Commits
a8683e3e
提交
a8683e3e
authored
7月 05, 2023
作者:
龚洪江
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/develop' into develop
上级
135f159c
eaaf5840
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
29 行增加
和
13 行删除
+29
-13
kustomization.yaml
kustomization/overlays/dev/kustomization.yaml
+1
-1
commonType.ts
src/api/interface/commonType.ts
+19
-6
systemManageType.ts
src/api/interface/systemManageType.ts
+1
-0
index.scss
src/components/layout/index.scss
+1
-1
index.tsx
src/components/layout/title/index.tsx
+2
-2
index.tsx
src/pages/common/login/index.tsx
+2
-2
index.tsx
src/pages/systemManage/accountManage/index.tsx
+3
-1
没有找到文件。
kustomization/overlays/dev/kustomization.yaml
浏览文件 @
a8683e3e
...
...
@@ -14,4 +14,4 @@ patches:
images
:
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin
newTag
:
6ac6ef7765f8543f2f51f1522313fb51a641382e
newTag
:
447d12dbdee9f99dc061ad6ac4c8d47280fa3f16
src/api/interface/commonType.ts
浏览文件 @
a8683e3e
import
{
InterFunction
,
InterListFunction
}
from
'~/api/interface'
;
// 用户登录
export
type
BackEndLoginType
=
InterFunction
<
{
accountNo
:
string
;
passWord
:
string
;
remember
?:
boolean
},
{
accountNo
?:
string
;
passWord
?
:
string
;
remember
?:
boolean
},
{
token
:
string
;
userAccountId
:
number
;
accountNo
:
string
;
portType
:
null
;
uid
:
null
;
phoneNum
:
null
;
userName
:
null
;
nickName
:
null
;
portType
:
number
;
uid
:
string
;
phoneNum
:
string
;
userName
:
string
;
nickName
:
string
;
companyInfoVO
:
{
id
:
number
;
companyType
:
number
;
companyName
:
string
;
fullName
:
string
;
province
:
string
;
city
:
string
;
district
:
string
;
address
:
string
;
companyUserName
:
string
;
phoneNum
:
string
;
remark
:
string
;
};
}
>
;
// 上传图片
...
...
src/api/interface/systemManageType.ts
浏览文件 @
a8683e3e
...
...
@@ -31,6 +31,7 @@ export type listBAccountPageType = InterListFunction<
createTime
:
string
;
companyAuthStatus
:
null
;
cooperationTagId
:
null
;
companyName
:
string
;
}
>
;
// 账号-新增
...
...
src/components/layout/index.scss
浏览文件 @
a8683e3e
...
...
@@ -151,7 +151,7 @@ $page-background: #f3f6ff;
.user-content
{
line-height
:
normal
;
margin-right
:
10px
;
text-align
:
lef
t
;
text-align
:
righ
t
;
.user-company
{
font-size
:
12px
;
...
...
src/components/layout/title/index.tsx
浏览文件 @
a8683e3e
...
...
@@ -76,8 +76,8 @@ export function TitleView() {
</
div
>
<
div
className=
'title-user'
>
<
div
className=
'user-content'
>
<
div
className=
'user-company'
>
科比特
</
div
>
<
div
className=
'user-name'
>
{
userInfo
.
accountNo
}
</
div
>
<
div
className=
'user-company'
>
{
userInfo
?.
companyInfoVO
?.
companyName
}
</
div
>
<
div
className=
'user-name'
>
{
userInfo
?
.
accountNo
}
</
div
>
</
div
>
<
Dropdown
overlayStyle=
{
{
textAlign
:
'center'
}
}
...
...
src/pages/common/login/index.tsx
浏览文件 @
a8683e3e
...
...
@@ -34,8 +34,8 @@ function LoginView() {
const
{
token
}
=
res
.
result
;
await
Cookies
.
set
(
'SHAREFLY-TOKEN'
,
token
);
// 记住密码
Cookies
.
set
(
'password'
,
values
?.
passWord
);
Cookies
.
set
(
'username'
,
values
?.
accountNo
);
Cookies
.
set
(
'password'
,
values
?.
passWord
||
''
);
Cookies
.
set
(
'username'
,
values
?.
accountNo
||
''
);
Cookies
.
set
(
'remember'
,
String
(
values
?.
remember
));
// 存用户信息
dispatch
(
SET_USERINFO
(
res
.
result
));
...
...
src/pages/systemManage/accountManage/index.tsx
浏览文件 @
a8683e3e
...
...
@@ -105,7 +105,9 @@ function AccountManageView() {
{
title
:
'所属单位'
,
align
:
'center'
,
width
:
'10%'
,
dataIndex
:
'companyName'
,
width
:
'150px'
,
ellipsis
:
true
,
},
{
title
:
'渠道等级'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论