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
cfc44b2a
Commit
cfc44b2a
authored
Oct 09, 2019
by
agping
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'liu-9-27' into v0929-3.4.0
parents
f615411e
8cf13de3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
151 additions
and
11 deletions
+151
-11
.project
.project
+9
-0
eval_function.vue
public/appnew/src/components/eval/eval_function.vue
+57
-4
eval_sz.vue
public/appnew/src/components/eval/eval_sz.vue
+57
-5
eval_table.vue
public/appnew/src/components/eval/eval_table.vue
+28
-2
No files found.
.project
View file @
cfc44b2a
...
...
@@ -75,5 +75,14 @@
<arguments>
1.0-name-matches-false-false-node_modules
</arguments>
</matcher>
</filter>
<filter>
<id>
1569658174595
</id>
<name></name>
<type>
26
</type>
<matcher>
<id>
org.eclipse.ui.ide.multiFilter
</id>
<arguments>
1.0-name-matches-false-false-node_modules
</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
public/appnew/src/components/eval/eval_function.vue
View file @
cfc44b2a
...
...
@@ -8,6 +8,7 @@
</header>
<div
style=
"margin-top:1.2rem;"
id=
"capture"
>
<div
class=
"header_seat"
></div>
<div
class=
"overflow"
>
<div
class=
"title_dark"
>
{{
name
}}
...
...
@@ -19,12 +20,17 @@
<div
class=
"star_ten"
>
<span
style=
"line-height:.7rem;font-size:.28rem;font-family:PingFangSC-Regular;font-weight:600;color:rgba(39,39,39,1);"
>
简述亏损主要原因
</span>
</div>
<div>
<textarea
class=
"detail"
placeholder=
"点击填写"
style=
"height:100px;"
@
input=
"autoTextarea($event,100)"
v-model=
"lost"
></textarea>
<div
>
<textarea
class=
"detail
detail-divL
"
placeholder=
"点击填写"
style=
"height:100px;"
@
input=
"autoTextarea($event,100)"
v-model=
"lost"
></textarea>
</div>
<!--可编辑div-->
<div
class=
"detail-div"
contenteditable=
"true"
v-show=
"false"
>
{{
lost
}}
</div>
</div>
</div>
<div
class=
"overflow"
>
<div
class=
"forDiv"
v-for=
"obj,index in details"
>
<div
class=
"title_span"
>
{{
index
+
1
}}
.
{{
obj
.
title
}}
...
...
@@ -35,16 +41,32 @@
</div>
<img
:src=
"index1
<
obj
.
scall
?
starOn
:
starOff
"
style=
"width:.56rem;height:.56rem;margin-top:.1rem;margin-left;"
v-for=
"item,index1 in stars"
@
click=
"changeStar(stars,index1,index)"
>
</div>
<div
v-show=
"!obj.isscall"
style=
"margin-top:.2rem;"
>
<textarea
class=
"detail"
placeholder=
"点击填写"
style=
"height:100px"
v-model=
"obj.goHigh"
@
input=
"autoTextarea($event,100)"
></textarea>
<textarea
class=
"detail detail-divL"
placeholder=
"点击填写"
style=
"height:100px"
v-model=
"obj.goHigh"
@
input=
"autoTextarea($event,100)"
></textarea>
<!--可编辑的div-->
<div
class=
"detail-div"
contenteditable=
"true"
v-show=
"false"
>
{{
obj
.
goHigh
}}
</div>
</div>
<div
class=
"star_ten"
v-show=
"obj.reason"
>
<span
style=
"line-height:.7rem;font-size:.28rem;font-family:PingFangSC-Regular;font-weight:600;color:rgba(39,39,39,1);"
>
{{
obj
.
title1
}}
:
</span>
</div>
<div
v-show=
"obj.reason"
>
<textarea
class=
"detail"
:placeholder=
"obj.placeH ? obj.placeH : '点击填写'"
:style=
"obj.placeH ?
{'height':'300px'}:{}" v-model="obj.goHigh" @input="autoTextarea($event,300)">
</textarea>
<textarea
class=
"detail detail-divL"
:placeholder=
"obj.placeH ? obj.placeH : '点击填写'"
:style=
"obj.placeH ?
{'height':'300px'}:{}" v-model="obj.goHigh" @input="autoTextarea($event,300)">
</textarea>
<div
class=
"detail-div"
contenteditable=
"true"
v-show=
"false"
>
{{
obj
.
goHigh
}}
</div>
</div>
<!--可编辑的div-->
</div>
<div
style=
"margin-top:.3rem;"
v-show=
"level != 10"
>
<div
class=
"star_ten"
>
<span
style=
"line-height:.7rem;font-size:.28rem;font-family:PingFangSC-Regular;font-weight:600;color:rgba(39,39,39,1);"
>
温馨提示:
</span>
...
...
@@ -88,6 +110,7 @@
stars
:
[
true
,
false
,
false
,
false
,
false
,
false
,
false
,
false
,
false
,
false
]
,
scall
:
0
,
title
:
'方法分析'
,
text1
:
''
,
details
:
[
{
title
:
'团队战略定位'
,
...
...
@@ -292,6 +315,10 @@
getImg
(){
let
that
=
this
;
if
(
this
.
validateParams
()
){
for
(
var
i
=
0
;
i
<=
20
;
i
++
){
document
.
getElementsByClassName
(
"detail-divL"
)[
i
].
style
.
display
=
"none"
;
document
.
getElementsByClassName
(
"detail-div"
)[
i
].
style
.
display
=
"block"
;
}
window
.
scrollTo
(
0
,
0
)
;
html2canvas
(
document
.
getElementById
(
"capture"
),{
background
:
"rgba(255,255,255,1)"
,
...
...
@@ -302,6 +329,7 @@
that
.
aaa
=
canvas
.
toDataURL
();
that
.
saveData
(
canvas
.
toDataURL
(
'image/jpeg'
))
})
}
},
saveData
(
img
){
...
...
@@ -320,6 +348,11 @@
}).
then
(
function
(
res
)
{
if
(
res
.
data
.
code
==
200
){
layer
.
tipsX
(
'提交成功'
);
//恢复
for
(
var
i
=
0
;
i
<=
20
;
i
++
){
document
.
getElementsByClassName
(
"detail-div"
)[
i
].
style
.
display
=
"none"
;
document
.
getElementsByClassName
(
"detail-divL"
)[
i
].
style
.
display
=
"block"
;
}
}
else
{
layer
.
tipsX
(
res
.
data
.
msg
);
}
...
...
@@ -360,6 +393,7 @@
e
.
target
.
style
.
height
=
e
.
target
.
scrollHeight
+
'px'
;
}
},
},
}
</
script
>
...
...
@@ -505,4 +539,22 @@
header
+
.header_seat
{
height
:
0.88rem
;
}
.contenteditable-div
{
width
:
5rem
;
height
:
5rem
;
background
:
#ccc
;
}
.detail-div
{
font-size
:
.28rem
;
font-family
:
PingFangSC-Regular
;
font-weight
:
400
;
color
:
rgba
(
39
,
39
,
39
,
1
);
line-height
:
.4rem
;
width
:
6.38rem
;
/*height: 2rem;*/
border
:
1px
solid
#eeeeee
;
padding
:
.1rem
.2rem
;
box-sizing
:
border-box
;
/*word-break:break-all;*/
}
</
style
>
\ No newline at end of file
public/appnew/src/components/eval/eval_sz.vue
View file @
cfc44b2a
...
...
@@ -30,13 +30,18 @@
<span
style=
"line-height:.7rem;font-size:.28rem;font-family:PingFangSC-Regular;font-weight:600;color:rgba(39,39,39,1);"
>
做的不足需要提升的部分:
</span>
</div>
<div>
<textarea
class=
"detail"
placeholder=
"点击填写,选择5项描述"
v-model=
"obj.goHigh"
style=
"height:50px"
@
input=
"autoTextarea($event,50)"
></textarea>
<textarea
class=
"detail detail-divL"
placeholder=
"点击填写,选择5项描述"
v-model=
"obj.goHigh"
style=
"height:50px"
@
input=
"autoTextarea($event,50)"
></textarea>
<!--可编辑div-->
<div
class=
"detail-div"
contenteditable=
"true"
v-show=
"false"
>
{{
obj
.
goHigh
}}
</div>
</div>
<div
class=
"star_ten"
>
<span
style=
"line-height:.7rem;font-size:.28rem;font-family:PingFangSC-Regular;font-weight:600;color:rgba(39,39,39,1);"
>
解决办法:
</span>
</div>
<div>
<textarea
v-show=
"index==0"
class=
"detail"
style=
"height:400px;"
placeholder=
"方法措施,要有目标、具体方案、奖惩措施,以及监督人。
<div
v-show=
"index==0"
>
<textarea
class=
"detail detail-divL"
style=
"height:400px;"
placeholder=
"方法措施,要有目标、具体方案、奖惩措施,以及监督人。
举例说明:
目标:本月分部目标120万(人员80*人均1.5万)
方案1:紧盯每个团队的日绩效完成情况,并监督好团队执行情况
...
...
@@ -49,7 +54,26 @@
奖惩:完成目标奖励店长聚餐,未完成本人和区域所有店长外罚100俯卧增
执行人:XXX
监督人:X部全体人员"
v-model=
"obj.deal"
@
input=
"autoTextarea($event,400)"
></textarea>
<textarea
v-show=
"index>0"
class=
"detail"
style=
"height:400px;"
placeholder=
"点击填写"
v-model=
"obj.deal"
@
input=
"autoTextarea($event,400)"
></textarea>
<!--可编辑div-->
<div
class=
"detail-div"
contenteditable=
"true"
v-show=
"false"
>
{{
obj
.
deal
}}
</div>
</div>
<div
v-show=
"index>0"
>
<textarea
class=
"detail detail-divL"
style=
"height:400px;"
placeholder=
"点击填写"
v-model=
"obj.deal"
@
input=
"autoTextarea($event,400)"
></textarea>
<!--可编辑div-->
<div
class=
"detail-div"
contenteditable=
"true"
v-show=
"false"
>
{{
obj
.
deal
}}
</div>
</div>
</div>
</div>
...
...
@@ -58,7 +82,10 @@
<span
style=
"line-height:.7rem;font-size:.28rem;font-family:PingFangSC-Regular;font-weight:600;color:rgba(39,39,39,1);"
>
你想过带团队最坏的情况是什么?如果出现,你如何应对?
</span>
</div>
<div>
<textarea
class=
"detail"
placeholder=
"点击填写"
style=
"height:50px"
@
input=
"autoTextarea($event,50)"
v-model=
"dealWay"
></textarea>
<textarea
class=
"detail detail-divL"
placeholder=
"点击填写"
style=
"height:50px"
@
input=
"autoTextarea($event,50)"
v-model=
"dealWay"
></textarea>
<div
class=
"detail-div"
contenteditable=
"true"
v-show=
"false"
>
{{
dealWay
}}
</div>
<!--可编辑div-->
</div>
</div>
<div
style=
"margin-top:.3rem;"
>
...
...
@@ -66,7 +93,10 @@
<span
style=
"line-height:.7rem;font-size:.28rem;font-family:PingFangSC-Regular;font-weight:600;color:rgba(39,39,39,1);"
>
自我总结自我批评
</span>
</div>
<div>
<textarea
class=
"detail"
placeholder=
"点击填写"
style=
"height:50px"
@
input=
"autoTextarea($event,50)"
v-model=
"myself"
></textarea>
<textarea
class=
"detail detail-divL"
placeholder=
"点击填写"
style=
"height:50px"
@
input=
"autoTextarea($event,50)"
v-model=
"myself"
></textarea>
<!--可编辑div-->
<div
class=
"detail-div"
contenteditable=
"true"
v-show=
"false"
>
{{
myself
}}
</div>
</div>
</div>
<div
style=
"margin-top:.3rem;"
v-show=
"level != 10"
>
...
...
@@ -224,6 +254,10 @@
getImg
(){
let
that
=
this
;
if
(
this
.
validateParams
()
){
for
(
var
i
=
0
;
i
<=
28
;
i
++
){
document
.
getElementsByClassName
(
"detail-divL"
)[
i
].
style
.
display
=
"none"
;
document
.
getElementsByClassName
(
"detail-div"
)[
i
].
style
.
display
=
"block"
;
}
window
.
scrollTo
(
0
,
0
)
;
let
shareContent
=
document
.
getElementById
(
"capture"
),
//需要截图的包裹的(原生的)DOM 对象
...
...
@@ -294,6 +328,10 @@
}).
then
(
function
(
res
)
{
if
(
res
.
data
.
code
==
200
){
layer
.
tipsX
(
'提交成功'
);
for
(
var
i
=
0
;
i
<=
28
;
i
++
){
document
.
getElementsByClassName
(
"detail-div"
)[
i
].
style
.
display
=
"none"
;
document
.
getElementsByClassName
(
"detail-divL"
)[
i
].
style
.
display
=
"block"
;
}
}
else
{
layer
.
tipsX
(
res
.
data
.
msg
);
}
...
...
@@ -480,4 +518,17 @@
header
+
.header_seat
{
height
:
0.88rem
;
}
.detail-div
{
font-size
:
.28rem
;
font-family
:
PingFangSC-Regular
;
font-weight
:
400
;
color
:
rgba
(
39
,
39
,
39
,
1
);
line-height
:
.4rem
;
width
:
6.38rem
;
/*height: 2rem;*/
border
:
1px
solid
#eeeeee
;
padding
:
.1rem
.2rem
;
box-sizing
:
border-box
;
/*word-break:break-all;*/
}
</
style
>
\ No newline at end of file
public/appnew/src/components/eval/eval_table.vue
View file @
cfc44b2a
...
...
@@ -45,7 +45,9 @@
<span
style=
"line-height: 0.3rem; font-size: 0.28rem; font-family: PingFangSC-Regular; color: rgb(39, 39, 39);"
>
(必填)弘扬一件八星级事迹 +10分
</span>
</div>
<div>
<textarea
class=
"detail"
placeholder=
"点击填写,选择5项描述"
v-model=
"jiazhi"
style=
"height:100px"
@
input=
"autoTextarea($event,100)"
></textarea>
<textarea
class=
"detail detail-divL"
placeholder=
"点击填写,选择5项描述"
v-model=
"jiazhi"
style=
"height:100px"
@
input=
"autoTextarea($event,100)"
></textarea>
<!--可编辑div-->
<div
class=
"detail-div"
contenteditable=
"true"
v-show=
"false"
>
{{
jiazhi
}}
</div>
</div>
</div>
<div
style=
"margin-top:.3rem;"
>
...
...
@@ -56,7 +58,9 @@
<span
style=
"line-height: 0.3rem; font-size: 0.28rem; font-family: PingFangSC-Regular; color: rgb(39, 39, 39);"
>
(选填)被感谢的人一件事迹 +10分
</span>
</div>
<div>
<textarea
class=
"detail"
placeholder=
"点击填写,选择5项描述"
v-model=
"thanks"
style=
"height:100px"
@
input=
"autoTextarea($event,100)"
></textarea>
<textarea
class=
"detail detail-divL"
placeholder=
"点击填写,选择5项描述"
v-model=
"thanks"
style=
"height:100px"
@
input=
"autoTextarea($event,100)"
></textarea>
<!--可编辑div-->
<div
class=
"detail-div"
contenteditable=
"true"
v-show=
"false"
>
{{
thanks
}}
</div>
</div>
</div>
<div
style=
"margin-top:.3rem;"
>
...
...
@@ -260,6 +264,10 @@
getImg
(){
let
that
=
this
;
if
(
this
.
validateParams
()
){
for
(
var
i
=
0
;
i
<=
1
;
i
++
){
document
.
getElementsByClassName
(
"detail-divL"
)[
i
].
style
.
display
=
"none"
;
document
.
getElementsByClassName
(
"detail-div"
)[
i
].
style
.
display
=
"block"
;
}
window
.
scrollTo
(
0
,
0
)
;
html2canvas
(
document
.
getElementById
(
"capture"
),{
background
:
"rgba(255,255,255,1)"
,
...
...
@@ -286,6 +294,10 @@
console
.
log
(
res
)
if
(
res
.
data
.
code
==
200
){
layer
.
tipsX
(
'提交成功'
);
for
(
var
i
=
0
;
i
<=
1
;
i
++
){
document
.
getElementsByClassName
(
"detail-div"
)[
i
].
style
.
display
=
"none"
;
document
.
getElementsByClassName
(
"detail-divL"
)[
i
].
style
.
display
=
"block"
;
}
}
else
{
layer
.
tipsX
(
res
.
data
.
msg
);
}
...
...
@@ -492,4 +504,17 @@
header
+
.header_seat
{
height
:
0.88rem
;
}
.detail-div
{
font-size
:
.28rem
;
font-family
:
PingFangSC-Regular
;
font-weight
:
400
;
color
:
rgba
(
39
,
39
,
39
,
1
);
line-height
:
.4rem
;
width
:
6.38rem
;
/*height: 2rem;*/
border
:
1px
solid
#eeeeee
;
padding
:
.1rem
.2rem
;
box-sizing
:
border-box
;
/*word-break:break-all;*/
}
</
style
>
\ No newline at end of file
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