Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
computedRoomPad
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
邓文彬
computedRoomPad
Commits
f1531f44
提交
f1531f44
authored
9月 19, 2024
作者:
邓文彬
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(pad): 样式修改
上级
013e2b25
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
21 行增加
和
10 行删除
+21
-10
content.vue
pages/home/content.vue
+2
-2
home.vue
pages/home/home.vue
+13
-3
inspFirst.vue
pages/inspection/inspFirst.vue
+2
-2
inspectionContent.vue
pages/inspectionContent/inspectionContent.vue
+3
-2
login.vue
pages/login/login.vue
+1
-1
没有找到文件。
pages/home/content.vue
浏览文件 @
f1531f44
...
...
@@ -294,8 +294,8 @@ export default {
.bg-img {
position: absolute;
right:
-2
0px;
bottom:
-1
0px;
right: 0px;
bottom: 0px;
width: 160px;
height: 150px;
// z-index: -1;
...
...
pages/home/home.vue
浏览文件 @
f1531f44
...
...
@@ -23,7 +23,9 @@
</view>
<view
class=
"button-group"
>
<view
class=
"log-button"
@
click=
"lookLog"
>
操作日志
</view>
<!-- v-if="isAdmin" -->
<view
class=
"log-button"
@
click=
"lookLog"
>
操作日志
</view>
<view
class=
"reset-password-button"
@
click=
"updatePassword"
>
修改密码?
</view
>
...
...
@@ -95,6 +97,11 @@ export default {
userName
:
this
.
$store
.
state
.
now_user
.
user
,
};
},
computed
:
{
isAdmin
(){
return
this
.
$store
.
state
.
now_user
.
isAdmin
}
},
onLoad
(
options
=
{})
{
// options就是路由参数,它是一个对象
// this.tabIndex = ;
...
...
@@ -172,8 +179,11 @@ export default {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
height: 72px;
// border: 1px solid;
.user-img {
margin: 12px 0;
height: 48px;
width: 48px;
border-radius: 50%;
...
...
@@ -188,7 +198,7 @@ export default {
}
}
.tab-list {
flex: 1
;
height: 58vh
;
display: flex;
flex-direction: column;
justify-content: space-around;
...
...
pages/inspection/inspFirst.vue
浏览文件 @
f1531f44
...
...
@@ -106,8 +106,8 @@ export default {
inspectionCode
:
`JFXJ
${
moment
().
format
(
"yyyyMMDDhhmmss"
)}
`
,
recordName
:
`
${
moment
().
format
(
"yyyyMMDDhhmmss"
)}
-机房巡检记录`
,
inspectionTime
:
moment
().
format
(
"yyyy-MM-DD HH:mm:ss"
),
inspectionBy
:
this
.
$store
.
state
.
now_user
.
name
,
inspectionById
:
this
.
$store
.
state
.
now_user
.
i
d
,
inspectionBy
:
this
.
$store
.
state
.
now_user
.
user
,
inspectionById
:
this
.
$store
.
state
.
now_user
.
userI
d
,
createByName
:
this
.
$store
.
state
.
now_user
.
user
,
isException
:
""
,
// 是否有异常
position
:
""
,
// 位置
...
...
pages/inspectionContent/inspectionContent.vue
浏览文件 @
f1531f44
...
...
@@ -312,6 +312,7 @@ export default {
//--弹出对话框
dialogInputConfirm2
()
{
const
all_data
=
this
.
$store
.
state
.
all_data
;
const
baseInfo
=
this
.
baseInfo
const
detailsInfo
=
this
.
detailsInfo
;
const
tempAllData
=
all_data
.
filter
(
(
element
)
=>
element
.
uid
!=
detailsInfo
.
uid
...
...
@@ -336,10 +337,10 @@ export default {
const
log_list
=
this
.
$store
.
state
.
log_list
;
const
logContent
=
getLogContent
(
LOG_TYPE_ENUM
.
delete
,
`
${
detailsInfo
.
recordName
}
(
${
details
Info
.
inspectionCode
}
)`
,
`
${
baseInfo
.
recordName
}
(
${
base
Info
.
inspectionCode
}
)`
,
"巡检模块"
);
logContent
.
inspectionType
=
details
Info
.
inspectionType
;
logContent
.
inspectionType
=
base
Info
.
inspectionType
;
log_list
.
push
(
logContent
);
this
.
$store
.
commit
(
"SET_LOG_LIST"
,
log_list
);
...
...
pages/login/login.vue
浏览文件 @
f1531f44
...
...
@@ -140,7 +140,7 @@ export default {
// console.log("--last_time----",userInfo.loginTime)
// 更新用户登陆时间
const
loginTime
=
moment
().
format
(
"yyyy-MM-DD
HH:mm:ss
"
);
const
loginTime
=
moment
().
format
(
"yyyy-MM-DD"
);
this
.
personList
[
key
].
loginTime
=
loginTime
;
userInfo
.
loginTime
=
loginTime
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论