Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
348cd10e
Commit
348cd10e
authored
Aug 21, 2019
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
88f148de
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
4 deletions
+64
-4
eval_function.vue
public/appnew/src/components/eval/eval_function.vue
+19
-0
eval_sz.vue
public/appnew/src/components/eval/eval_sz.vue
+19
-0
eval_table.vue
public/appnew/src/components/eval/eval_table.vue
+26
-4
No files found.
public/appnew/src/components/eval/eval_function.vue
View file @
348cd10e
...
@@ -257,9 +257,28 @@
...
@@ -257,9 +257,28 @@
console
.
log
(
canvas
);
console
.
log
(
canvas
);
console
.
log
(
canvas
.
toDataURL
());
console
.
log
(
canvas
.
toDataURL
());
that
.
aaa
=
canvas
.
toDataURL
();
that
.
aaa
=
canvas
.
toDataURL
();
that
.
saveData
(
canvas
.
toDataURL
())
})
})
}
}
},
},
saveData
(
img
){
let
that
=
this
;
that
.
axios
({
method
:
'get'
,
url
:
'/broker/uploadWorkLearning'
,
responseType
:
'json'
,
data
:
{
agent_id
:
that
.
$route
.
query
.
agent_id
,
img
:
img
,
AuthToken
:
that
.
$route
.
query
.
token
,
type
:
1
}
}).
then
(
function
(
res
)
{
}).
catch
(
function
(
error
)
{
layer
.
tipsX
(
error
);
});
},
validateParams
(){
validateParams
(){
let
that
=
this
;
let
that
=
this
;
let
data
=
this
.
details
;
let
data
=
this
.
details
;
...
...
public/appnew/src/components/eval/eval_sz.vue
View file @
348cd10e
...
@@ -176,9 +176,28 @@
...
@@ -176,9 +176,28 @@
console
.
log
(
canvas
);
console
.
log
(
canvas
);
console
.
log
(
canvas
.
toDataURL
());
console
.
log
(
canvas
.
toDataURL
());
that
.
aaa
=
canvas
.
toDataURL
();
that
.
aaa
=
canvas
.
toDataURL
();
that
.
saveData
(
canvas
.
toDataURL
())
})
})
}
}
},
},
saveData
(
img
){
let
that
=
this
;
that
.
axios
({
method
:
'get'
,
url
:
'/broker/uploadWorkLearning'
,
responseType
:
'json'
,
data
:
{
agent_id
:
that
.
$route
.
query
.
agent_id
,
img
:
img
,
AuthToken
:
that
.
$route
.
query
.
token
,
type
:
0
}
}).
then
(
function
(
res
)
{
}).
catch
(
function
(
error
)
{
layer
.
tipsX
(
error
);
});
},
validateParams
(){
validateParams
(){
let
that
=
this
;
let
that
=
this
;
let
data
=
this
.
details
;
let
data
=
this
.
details
;
...
...
public/appnew/src/components/eval/eval_table.vue
View file @
348cd10e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
style=
"margin-top:.3rem;"
id=
"capture"
>
<div
style=
"margin-top:.3rem;"
id=
"capture"
>
<div
class=
"overflow "
>
<div
class=
"overflow "
>
<div
class=
"title"
>
上海同联商业员工价值观考核表
</div>
<div
class=
"title"
>
上海同联商业员工价值观考核表
</div>
<div
class=
"overflow
"
>
<div
style=
"margin-top:.2rem;
"
>
<div
class=
"title_dark"
>
<div
class=
"title_dark"
>
{{
name
}}
{{
name
}}
</div>
</div>
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<div
style=
"margin-top:.3rem;"
>
<div
style=
"margin-top:.3rem;"
>
<div
class=
"star_ten"
>
<div
class=
"star_ten"
>
<span
style=
"line-height: 0.7rem; font-size: 0.28rem; font-family: PingFangSC-Regular; font-weight: 600; color: rgb(39, 39, 39);"
>
<span
style=
"line-height: 0.7rem; font-size: 0.28rem; font-family: PingFangSC-Regular; font-weight: 600; color: rgb(39, 39, 39);"
>
考评结果
{{
totalVal
}}
分,
{{
totalVal
>
70
?
(
totalVal
>
80
?
'优秀'
:
'合格'
)
:
'不合格'
}}
考评结果
{{
totalVal
}}
分,
{{
totalVal
>
70
?
(
totalVal
>
80
?
'优秀'
:
'合格'
)
:
'不合格'
}}
八星级员工
</span>
</span>
</div>
</div>
<div
class=
"star_ten"
>
<div
class=
"star_ten"
>
...
@@ -172,12 +172,14 @@
...
@@ -172,12 +172,14 @@
}
}
},
},
mounted
(){
mounted
(){
let
date
=
new
Date
();
let
date
=
new
Date
();
let
year
=
date
.
getFullYear
()
;
let
year
=
date
.
getFullYear
()
;
let
month
=
date
.
getMonth
()
+
1
;
let
month
=
date
.
getMonth
()
+
1
;
let
day
=
date
.
getDate
();
let
day
=
date
.
getDate
();
this
.
today
=
year
+
'.'
+
(
month
>
9
?
month
:
'0'
+
month
)
+
'.'
+
(
day
>
9
?
day
:
'0'
+
day
)
this
.
today
=
year
+
'.'
+
(
month
>
9
?
month
:
'0'
+
month
)
+
'.'
+
(
day
>
9
?
day
:
'0'
+
day
)
this
.
agent
=
this
.
$route
.
query
.
agentName
;
this
.
name
=
this
.
$route
.
query
.
name
;
this
.
level
=
localStorage
.
getItem
(
'userlevel'
);
},
},
methods
:
{
methods
:
{
changechek
(
boo
,
index
){
changechek
(
boo
,
index
){
...
@@ -203,10 +205,29 @@
...
@@ -203,10 +205,29 @@
}).
then
((
canvas
)
=>
{
}).
then
((
canvas
)
=>
{
console
.
log
(
canvas
);
console
.
log
(
canvas
);
console
.
log
(
canvas
.
toDataURL
());
console
.
log
(
canvas
.
toDataURL
());
that
.
aaa
=
canvas
.
toDataURL
();
that
.
saveData
(
canvas
.
toDataURL
())
})
})
}
}
},
},
saveData
(
img
){
let
that
=
this
;
that
.
axios
({
method
:
'get'
,
url
:
'/broker/uploadWorkLearning'
,
responseType
:
'json'
,
data
:
{
agent_id
:
that
.
$route
.
query
.
agent_id
,
img
:
img
,
AuthToken
:
that
.
$route
.
query
.
token
,
type
:
2
}
}).
then
(
function
(
res
)
{
}).
catch
(
function
(
error
)
{
layer
.
tipsX
(
error
);
});
},
validateParams
(){
validateParams
(){
if
(
this
.
thanks
==
""
){
if
(
this
.
thanks
==
""
){
layer
.
tipsX
(
'请输意见要感谢的人的事迹'
);
layer
.
tipsX
(
'请输意见要感谢的人的事迹'
);
...
@@ -230,6 +251,7 @@
...
@@ -230,6 +251,7 @@
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.overflow
{
.overflow
{
overflow
:
hidden
;
overflow
:
hidden
;
padding
:
0rem
.36rem
;
padding
:
0rem
.36rem
;
...
...
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