Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuYingJiH5-ASD
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinzhedeai
GaoQuYingJiH5-ASD
Commits
f0a91113
Commit
f0a91113
authored
Jul 29, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日期最低范围限制处理 操作完成 跳转页面刷新页面
parent
bbe6a048
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
6 deletions
+10
-6
gaoquyingjih5-asd-jpaas-7-29-1.zip
gaoquyingjih5-asd-jpaas-7-29-1.zip
+0
-0
gaoquyingjih5-asd-jpaas0729.zip
gaoquyingjih5-asd-jpaas0729.zip
+0
-0
dw-list-detail.html
src/dw-list-detail.html
+3
-3
dw-list-detail.js
src/dw-list-detail.js
+3
-1
emergency-detail.html
src/emergency-detail.html
+1
-1
emergency-detail.js
src/emergency-detail.js
+3
-1
No files found.
gaoquyingjih5-asd-jpaas-7-29-1.zip
0 → 100644
View file @
f0a91113
File added
gaoquyingjih5-asd-jpaas0729.zip
0 → 100644
View file @
f0a91113
File added
src/dw-list-detail.html
View file @
f0a91113
...
...
@@ -47,12 +47,12 @@
<van-cell-group
:class=
"{'disable-van-cell': disabled}"
>
<van-cell
is-link
@
click=
"showPopup('showPopup4hdInspectDate1')"
>
作业起始时间*
<span
class=
"formValue"
>
{{form.startTime}}
</span></van-cell>
<van-popup
v-model=
"showPopup4hdInspectDate1"
position=
"bottom"
>
<van-datetime-picker
v-model=
"hdInspectDateModel1"
type=
"date"
title=
"选择年月日"
@
confirm=
"confirm4hdInspectDate1"
@
cancel=
"showPopup4hdInspectDate1=false"
/>
<van-datetime-picker
v-model=
"hdInspectDateModel1"
type=
"date"
:min-date=
"minDate"
title=
"选择年月日"
@
confirm=
"confirm4hdInspectDate1"
@
cancel=
"showPopup4hdInspectDate1=false"
/>
</van-cell-group>
<van-cell-group
:class=
"{'disable-van-cell': disabled}"
>
<van-cell
is-link
@
click=
"showPopup('showPopup4hdInspectDate2')"
>
作业结束时间*
<span
class=
"formValue"
>
{{form.endTime}}
</span></van-cell>
<van-popup
v-model=
"showPopup4hdInspectDate2"
position=
"bottom"
>
<van-datetime-picker
v-model=
"hdInspectDateModel2"
type=
"date"
title=
"选择年月日"
@
confirm=
"confirm4hdInspectDate2"
@
cancel=
"showPopup4hdInspectDate2=false"
/>
<van-datetime-picker
v-model=
"hdInspectDateModel2"
:min-date=
"minDate"
type=
"date"
title=
"选择年月日"
@
confirm=
"confirm4hdInspectDate2"
@
cancel=
"showPopup4hdInspectDate2=false"
/>
</van-cell-group>
<van-cell-group>
...
...
@@ -70,7 +70,7 @@
<van-cell-group
:class=
"{'disable-van-cell': disabled}"
>
<van-cell
is-link
@
click=
"showPopup('showPopup4hdRectificationDate')"
>
报告时间
<span
class=
"formValue"
>
{{form.uploadDate}}
</span></van-cell>
<van-popup
v-model=
"showPopup4hdRectificationDate"
position=
"bottom"
>
<van-datetime-picker
v-model=
"hdRectificationDateModel"
type=
"date"
title=
"选择年月日"
@
confirm=
"confirm4hdRectificationDate"
@
cancel=
"showPopup4hdRectificationDate=false"
/>
<van-datetime-picker
v-model=
"hdRectificationDateModel"
type=
"date"
:min-date=
"minDate"
title=
"选择年月日"
@
confirm=
"confirm4hdRectificationDate"
@
cancel=
"showPopup4hdRectificationDate=false"
/>
</van-popup>
</van-cell-group>
<van-cell-group>
...
...
src/dw-list-detail.js
View file @
f0a91113
...
...
@@ -7,6 +7,7 @@ window.addEventListener("load", function() {
el
:
'
#app
'
,
data
()
{
return
{
minDate
:
new
Date
(
2024
,
6
,
29
),
uploading
:
false
,
previewUrl
:
BASE_URL
,
form
:
{
...
...
@@ -281,7 +282,8 @@ window.addEventListener("load", function() {
vant
.
Toast
({
message
:
'
操作成功
'
,
})
history
.
back
()
// history.back()
gemhoUtil
.
navigatePage
(
'
./dw-list.html
'
,
'
操作完成,跳转中...
'
)
}
})
},
...
...
src/emergency-detail.html
View file @
f0a91113
...
...
@@ -95,7 +95,7 @@
<van-cell-group
:class=
"{'disable-van-cell': disabled}"
>
<van-cell
@
click=
"showPopup('showPopup4completionDate')"
>
完成时间*
<span
class=
"formValue"
>
{{form.completionDate}}
</span></van-cell>
<van-popup
v-model=
"showPopup4completionDate"
position=
"bottom"
>
<van-datetime-picker
v-model=
"completionDate"
type=
"date"
title=
"选择年月日"
@
confirm=
"confirm4completionDate"
@
cancel=
"showPopup4completionDate=false"
/>
<van-datetime-picker
v-model=
"completionDate"
:min-date=
"minDate"
type=
"date"
title=
"选择年月日"
@
confirm=
"confirm4completionDate"
@
cancel=
"showPopup4completionDate=false"
/>
</van-popup>
</van-cell-group>
...
...
src/emergency-detail.js
View file @
f0a91113
...
...
@@ -7,6 +7,7 @@ window.addEventListener("load", function() {
el
:
'
#app
'
,
data
()
{
return
{
minDate
:
new
Date
(
2024
,
6
,
29
),
previewUrl
:
BASE_URL
,
form
:
{
id
:
""
,
...
...
@@ -92,7 +93,8 @@ window.addEventListener("load", function() {
// if (!this.form.id) { // 添加时则
// location.reload()
// }
history
.
back
()
// history.back()
gemhoUtil
.
navigatePage
(
'
./emergency.html
'
,
'
操作完成,跳转中...
'
)
}
else
{
this
.
submit
()
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment