Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
刘文虎
account-book
Commits
660bdd55
Commit
660bdd55
authored
Nov 09, 2022
by
刘文虎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
记工时回显调整,生成海报增加关闭按钮
parent
291579a4
Pipeline
#3998
canceled with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
8 deletions
+17
-8
save-poster-popup.vue
pages/mine/share/components/save-poster-popup.vue
+13
-0
index.vue
pages/mine/share/index.vue
+0
-4
create.vue
pages/workpoint/workpoint-create/create.vue
+3
-3
config.js
utils/config.js
+1
-1
No files found.
pages/mine/share/components/save-poster-popup.vue
View file @
660bdd55
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
<view
class=
"content-view"
>
<view
class=
"content-view"
>
<view
class=
"qrcode-view"
><image
:src=
"qrcode"
></image></view>
<view
class=
"qrcode-view"
><image
:src=
"qrcode"
></image></view>
</view>
</view>
<view
class=
"close-view"
@
click=
"close"
><u-icon
name=
"close"
></u-icon></view>
</view>
</view>
<view
class=
"btn"
>
<view
class=
"btn"
>
<view
class=
"confirm"
@
click=
"$u.throttle(handleClickSure, 500)"
>
<view
class=
"confirm"
@
click=
"$u.throttle(handleClickSure, 500)"
>
...
@@ -72,6 +73,18 @@ export default {
...
@@ -72,6 +73,18 @@ export default {
border-radius
:
12rpx
;
border-radius
:
12rpx
;
padding
:
52rpx
36rpx
;
padding
:
52rpx
36rpx
;
position
:
relative
;
position
:
relative
;
.close-view
{
position
:
absolute
;
right
:
36rpx
;
top
:
20rpx
;
font-size
:
32rpx
;
width
:
88rpx
;
height
:
88rpx
;
padding-right
:
8rpx
;
line-height
:
88rpx
;
text-align
:
right
;
}
.user
{
.user
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
...
pages/mine/share/index.vue
View file @
660bdd55
...
@@ -111,13 +111,9 @@ export default {
...
@@ -111,13 +111,9 @@ export default {
onLoad
(
options
)
{},
onLoad
(
options
)
{},
onUnload
()
{},
onUnload
()
{},
onReady
()
{
onReady
()
{
setTimeout
(()
=>
{
console
.
log
(
'handleCanvas-qrcode---onReady'
,
this
.
qrcode
);
},
1500
);
},
},
methods
:
{
methods
:
{
handleCanvas
(
url
)
{
handleCanvas
(
url
)
{
console
.
log
(
'handleCanvas-qrcode---'
,
url
);
this
.
qrcode
=
url
;
this
.
qrcode
=
url
;
},
},
handleSave
()
{
handleSave
()
{
...
...
pages/workpoint/workpoint-create/create.vue
View file @
660bdd55
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
<block
v-else
>
<block
v-else
>
<view
class=
"work"
v-if=
"tabCurrent === 1"
>
<view
class=
"work"
v-if=
"tabCurrent === 1"
>
<u-form-item
label=
"上班"
prop=
"normalNumber"
label-position=
"left"
label-width=
"90"
>
<u-form-item
label=
"上班"
prop=
"normalNumber"
label-position=
"left"
label-width=
"90"
required
>
<view
class=
"form-slot"
>
<view
class=
"form-slot"
>
<view
class=
"check-box"
>
<view
class=
"check-box"
>
<checkbox-groups
<checkbox-groups
...
@@ -588,7 +588,7 @@ export default {
...
@@ -588,7 +588,7 @@ export default {
type
:
type
.
code
,
type
:
type
.
code
,
remark
,
remark
,
// 点工
// 点工
normalNumber
:
normalNumber
||
1
,
normalNumber
:
normalNumber
,
normalText
:
normalText
||
1
,
normalText
:
normalText
||
1
,
normalType
:
(
normalType
&&
normalType
.
code
)
||
'UNIT'
,
normalType
:
(
normalType
&&
normalType
.
code
)
||
'UNIT'
,
overNumber
,
overNumber
,
...
@@ -631,7 +631,7 @@ export default {
...
@@ -631,7 +631,7 @@ export default {
form
.
deductText
=
1
;
form
.
deductText
=
1
;
}
}
this
.
form
=
form
;
this
.
form
=
form
;
console
.
log
(
form
);
console
.
log
(
"form"
,
form
);
this
.
setWageList
();
this
.
setWageList
();
}
catch
(
e
)
{
}
catch
(
e
)
{
//TODO handle the exception
//TODO handle the exception
...
...
utils/config.js
View file @
660bdd55
export
const
version
=
"1.0.3
3
"
export
const
version
=
"1.0.3
5
"
export
const
baseURL
=
"/baseapi"
export
const
baseURL
=
"/baseapi"
export
const
token
=
"TOKEN"
export
const
token
=
"TOKEN"
export
const
PHONENUMBER
=
"PHONENUMBER"
export
const
PHONENUMBER
=
"PHONENUMBER"
...
...
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