Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
Sign in / Register
Toggle navigation
S
site-uniapp
概览
Overview
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
王柯
site-uniapp
Commits
ee85227b
提交
ee85227b
authored
2月 03, 2023
作者:
wk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
审批提醒,加入组织弹窗
父级
e29961d1
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
11 行增加
和
10 行删除
+11
-10
pages/index/index.vue
+1
-1
pages/login/register/register.vue
+6
-6
pages/mine/mine.vue
+4
-3
没有找到文件。
pages/index/index.vue
View file @
ee85227b
...
@@ -1163,7 +1163,7 @@
...
@@ -1163,7 +1163,7 @@
}
}
.more
{
.more
{
font-family
:
"
MicrosoftYaHei
"
;
font-family
:
"
PingFang SC
"
;
font-weight
:
400
;
font-weight
:
400
;
font-size
:
28
rpx
;
font-size
:
28
rpx
;
text-align
:
left
;
text-align
:
left
;
...
...
pages/login/register/register.vue
View file @
ee85227b
...
@@ -4,36 +4,36 @@
...
@@ -4,36 +4,36 @@
<form
@
submit=
"formSubmit"
>
<form
@
submit=
"formSubmit"
>
<view
class=
"form-item"
>
<view
class=
"form-item"
>
<view
class=
"star"
>
*
</view>
<view
class=
"star"
>
*
</view>
<view
class=
"text-black-normal"
style=
"min-width: 1
0
0rpx;"
>
账号
</view>
<view
class=
"text-black-normal"
style=
"min-width: 1
4
0rpx;"
>
账号
</view>
<input
class=
"text-black-normal"
style=
"margin-left: 32rpx;flex: 1;"
name=
"account"
<input
class=
"text-black-normal"
style=
"margin-left: 32rpx;flex: 1;"
name=
"account"
placeholder=
"请输入账号(数字字母组合)"
/>
placeholder=
"请输入账号(数字字母组合)"
/>
</view>
</view>
<view
class=
"form-item"
>
<view
class=
"form-item"
>
<view
class=
"star"
>
*
</view>
<view
class=
"star"
>
*
</view>
<view
class=
"text-black-normal"
style=
"min-width: 1
0
0rpx;"
>
姓名
</view>
<view
class=
"text-black-normal"
style=
"min-width: 1
4
0rpx;"
>
姓名
</view>
<input
class=
"text-black-normal"
style=
"margin-left: 32rpx;"
name=
"username"
placeholder=
"请输入姓名"
/>
<input
class=
"text-black-normal"
style=
"margin-left: 32rpx;"
name=
"username"
placeholder=
"请输入姓名"
/>
</view>
</view>
<view
class=
"form-item"
>
<view
class=
"form-item"
>
<view
class=
"star"
>
*
</view>
<view
class=
"star"
>
*
</view>
<view
class=
"text-black-normal"
style=
"min-width: 1
0
0rpx;"
>
密码
</view>
<view
class=
"text-black-normal"
style=
"min-width: 1
4
0rpx;"
>
密码
</view>
<input
class=
"text-black-normal"
style=
"margin-left: 32rpx;"
name=
"password"
placeholder=
"请输入密码"
<input
class=
"text-black-normal"
style=
"margin-left: 32rpx;"
name=
"password"
placeholder=
"请输入密码"
type=
"password"
/>
type=
"password"
/>
</view>
</view>
<view
class=
"form-item"
>
<view
class=
"form-item"
>
<view
class=
"star"
>
*
</view>
<view
class=
"star"
>
*
</view>
<view
class=
"text-black-normal"
style=
"min-width: 1
0
0rpx;"
>
确认密码
</view>
<view
class=
"text-black-normal"
style=
"min-width: 1
4
0rpx;"
>
确认密码
</view>
<input
class=
"text-black-normal"
style=
"margin-left: 32rpx;"
name=
"confirmpassword"
<input
class=
"text-black-normal"
style=
"margin-left: 32rpx;"
name=
"confirmpassword"
placeholder=
"请再次输入密码"
type=
"password"
/>
placeholder=
"请再次输入密码"
type=
"password"
/>
</view>
</view>
<view
class=
"form-item"
>
<view
class=
"form-item"
>
<view
class=
"star"
>
*
</view>
<view
class=
"star"
>
*
</view>
<view
class=
"text-black-normal"
style=
"min-width: 1
0
0rpx;"
>
手机号
</view>
<view
class=
"text-black-normal"
style=
"min-width: 1
4
0rpx;"
>
手机号
</view>
<input
class=
"text-black-normal"
style=
"margin-left: 32rpx;"
name=
"phone"
placeholder=
"请输入手机号"
<input
class=
"text-black-normal"
style=
"margin-left: 32rpx;"
name=
"phone"
placeholder=
"请输入手机号"
v-model=
"phone"
type=
"number"
/>
v-model=
"phone"
type=
"number"
/>
</view>
</view>
<view
class=
"form-item"
>
<view
class=
"form-item"
>
<view
class=
"star"
>
*
</view>
<view
class=
"star"
>
*
</view>
<view
class=
"text-black-normal"
style=
"min-width: 1
0
0rpx;"
>
验证码
</view>
<view
class=
"text-black-normal"
style=
"min-width: 1
4
0rpx;"
>
验证码
</view>
<input
class=
"text-black-normal"
style=
"margin-left: 32rpx;flex: 1;"
name=
"code"
placeholder=
"请输入验证码"
<input
class=
"text-black-normal"
style=
"margin-left: 32rpx;flex: 1;"
name=
"code"
placeholder=
"请输入验证码"
type=
"number"
/>
type=
"number"
/>
<view
class=
"text-blue"
@
click=
"getCode"
>
{{
codeText
}}
</view>
<view
class=
"text-blue"
@
click=
"getCode"
>
{{
codeText
}}
</view>
...
...
pages/mine/mine.vue
View file @
ee85227b
...
@@ -170,13 +170,13 @@
...
@@ -170,13 +170,13 @@
}).
then
((
result
)
=>
{
}).
then
((
result
)
=>
{
console
.
log
(
"公司申请列表"
,
result
);
console
.
log
(
"公司申请列表"
,
result
);
if
(
result
.
code
==
0
)
{
if
(
result
.
code
==
0
)
{
if
(
result
.
data
.
list
.
length
>
0
)
{
if
(
result
.
data
.
list
)
{
this
.
mDatas
=
result
.
data
.
list
this
.
mDatas
=
result
.
data
.
list
}
}
this
.
getProjectNoApproval
()
}
else
{
}
else
{
this
.
$toast
.
showToast
(
result
.
msg
)
this
.
$toast
.
showToast
(
result
.
msg
)
}
}
this
.
getProjectNoApproval
()
})
})
},
},
getProjectNoApproval
()
{
getProjectNoApproval
()
{
...
@@ -202,9 +202,10 @@
...
@@ -202,9 +202,10 @@
var
noApprovalList
=
this
.
mDatas
.
filter
(
item
=>
item
.
status
==
'2'
)
var
noApprovalList
=
this
.
mDatas
.
filter
(
item
=>
item
.
status
==
'2'
)
noApprovalList
.
forEach
((
item
)
=>
{
noApprovalList
.
forEach
((
item
)
=>
{
if
(
this
.
leaveTime
(
item
.
create_time
)
!=
'0秒'
)
{
if
(
this
.
leaveTime
(
item
.
create_time
)
!=
'0秒'
)
{
count
++
this
.
count
++
}
}
})
})
console
.
log
(
"是否有审批"
,
this
.
count
);
},
},
leaveTime
(
time
)
{
leaveTime
(
time
)
{
return
this
.
$date
.
timeDiff
(
this
.
$date
.
getEndTime
(
time
),
false
)
return
this
.
$date
.
timeDiff
(
this
.
$date
.
getEndTime
(
time
),
false
)
...
...
Write
Preview
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
Please
register
or
sign in
to comment