Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c9c79915
authored
Apr 18, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 修复
1 parent
02f1dc1d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
14 deletions
pages/common/loading.vue
pages/detail/components/FinishStep.vue
pages/detail/components/Media_2.vue
pages/home/home.vue
pages/informationEntry/informationEntry.vue
pages/common/loading.vue
View file @
c9c7991
...
@@ -13,12 +13,14 @@ export default {
...
@@ -13,12 +13,14 @@ export default {
let
userInfo
=
uni
.
$storage
.
get
(
'userInfo'
)
let
userInfo
=
uni
.
$storage
.
get
(
'userInfo'
)
uni
.
$api
.
userApi
.
getListSelectAccount
().
then
(
res
=>
{
uni
.
$api
.
userApi
.
getListSelectAccount
().
then
(
res
=>
{
uni
.
hideLoading
()
uni
.
hideLoading
()
setTimeout
(()
=>
{
if
(
res
.
code
==
0
&&
userInfo
)
uni
.
reLaunch
({
if
(
res
.
code
==
0
&&
userInfo
)
uni
.
reLaunch
({
url
:
'/pages/home/home'
url
:
'/pages/home/home'
})
})
else
uni
.
reLaunch
({
else
uni
.
reLaunch
({
url
:
'/pages/common/login'
url
:
'/pages/common/login'
})
})
},
300
)
})
})
},
},
methods
:
{
methods
:
{
...
...
pages/detail/components/FinishStep.vue
View file @
c9c7991
...
@@ -82,7 +82,16 @@
...
@@ -82,7 +82,16 @@
ref=
"employeeBoxVisible"
ref=
"employeeBoxVisible"
@
select=
"handleSelect($event,'employeeBoxVisible')"
@
select=
"handleSelect($event,'employeeBoxVisible')"
/>
/>
<uni-popup
ref=
"successRef"
type=
"message"
>
<uni-popup-message
type=
"success"
message=
"保存成功"
:duration=
"1500"
></uni-popup-message>
</uni-popup>
</view>
</view>
</template>
</template>
...
@@ -185,6 +194,7 @@ export default {
...
@@ -185,6 +194,7 @@ export default {
title
:
'请完善本次接待结果'
,
title
:
'请完善本次接待结果'
,
icon
:
'none'
icon
:
'none'
})
})
this
.
$refs
.
successRef
.
open
();
this
.
setReceptionStatus
(
receptionStatus
);
this
.
setReceptionStatus
(
receptionStatus
);
this
.
$emit
(
'submit'
,
receptionStatus
)
this
.
$emit
(
'submit'
,
receptionStatus
)
}
}
...
...
pages/detail/components/Media_2.vue
View file @
c9c7991
...
@@ -88,7 +88,7 @@ export default {
...
@@ -88,7 +88,7 @@ export default {
}
}
}
}
.canvas-box
{
.canvas-box
{
padding-top
:
4
rpx
;
padding-top
:
6
rpx
;
.left
{
.left
{
animation
:
show-view-left
0.3s
;
animation
:
show-view-left
0.3s
;
}
}
...
...
pages/home/home.vue
View file @
c9c7991
...
@@ -263,10 +263,12 @@ export default {
...
@@ -263,10 +263,12 @@ export default {
this
.
$refs
.
finish
.
close
()
this
.
$refs
.
finish
.
close
()
this
.
stopAudio
();
this
.
stopAudio
();
// uni.navigateBack();
// uni.navigateBack();
setTimeout
(()
=>
{
this
.
id
=
""
;
this
.
id
=
""
;
this
.
type
=
""
;
this
.
type
=
""
;
this
.
$store
.
dispatch
(
"clearCanvas"
,
true
);
this
.
$store
.
dispatch
(
"clearCanvas"
,
true
);
this
.
setReceptionStatus
(
e
);
this
.
setReceptionStatus
(
e
);
},
1500
);
},
},
back
()
{
back
()
{
if
(
!
this
.
id
)
return
uni
.
navigateBack
();
if
(
!
this
.
id
)
return
uni
.
navigateBack
();
...
@@ -294,7 +296,7 @@ export default {
...
@@ -294,7 +296,7 @@ export default {
this
.
type
=
'preview'
this
.
type
=
'preview'
this
.
id
=
id
this
.
id
=
id
},
},
openStep
()
{
openStep
()
{
this
.
$refs
.
finish
.
close
()
this
.
$refs
.
finish
.
close
()
this
.
$refs
.
detail
.
open
()
this
.
$refs
.
detail
.
open
()
}
}
...
...
pages/informationEntry/informationEntry.vue
View file @
c9c7991
...
@@ -68,16 +68,6 @@
...
@@ -68,16 +68,6 @@
ref=
"stepRef"
ref=
"stepRef"
@
submit=
"submit"
@
submit=
"submit"
/>
/>
<uni-popup
ref=
"successRef"
type=
"message"
>
<uni-popup-message
type=
"success"
message=
"保存成功"
:duration=
"1500"
></uni-popup-message>
</uni-popup>
<update-box
/>
<update-box
/>
</view>
</view>
</
template
>
</
template
>
...
@@ -158,7 +148,6 @@ export default {
...
@@ -158,7 +148,6 @@ export default {
this
.
setBooks
(
utils
.
deepClone
(
this
.
infoList
));
this
.
setBooks
(
utils
.
deepClone
(
this
.
infoList
));
this
.
stopAudio
();
this
.
stopAudio
();
this
.
infoList
=
INFO_LIST
.
map
((
item
)
=>
delete
item
.
imgUrl
);
this
.
infoList
=
INFO_LIST
.
map
((
item
)
=>
delete
item
.
imgUrl
);
this
.
$refs
.
successRef
.
open
();
setTimeout
(()
=>
{
setTimeout
(()
=>
{
uni
.
reLaunch
({
uni
.
reLaunch
({
url
:
"/pages/home/home"
,
url
:
"/pages/home/home"
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment