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
1bc28396
Commit
1bc28396
authored
Sep 27, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表格修改
parent
5a18a30a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
2 deletions
+28
-2
eval_table.vue
public/appnew/src/components/eval/eval_table.vue
+28
-2
No files found.
public/appnew/src/components/eval/eval_table.vue
View file @
1bc28396
...
@@ -45,7 +45,9 @@
...
@@ -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>
<span
style=
"line-height: 0.3rem; font-size: 0.28rem; font-family: PingFangSC-Regular; color: rgb(39, 39, 39);"
>
(必填)弘扬一件八星级事迹 +10分
</span>
</div>
</div>
<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>
</div>
<div
style=
"margin-top:.3rem;"
>
<div
style=
"margin-top:.3rem;"
>
...
@@ -56,7 +58,9 @@
...
@@ -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>
<span
style=
"line-height: 0.3rem; font-size: 0.28rem; font-family: PingFangSC-Regular; color: rgb(39, 39, 39);"
>
(选填)被感谢的人一件事迹 +10分
</span>
</div>
</div>
<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>
</div>
<div
style=
"margin-top:.3rem;"
>
<div
style=
"margin-top:.3rem;"
>
...
@@ -260,6 +264,10 @@
...
@@ -260,6 +264,10 @@
getImg
(){
getImg
(){
let
that
=
this
;
let
that
=
this
;
if
(
this
.
validateParams
()
){
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
)
;
window
.
scrollTo
(
0
,
0
)
;
html2canvas
(
document
.
getElementById
(
"capture"
),{
html2canvas
(
document
.
getElementById
(
"capture"
),{
background
:
"rgba(255,255,255,1)"
,
background
:
"rgba(255,255,255,1)"
,
...
@@ -286,6 +294,10 @@
...
@@ -286,6 +294,10 @@
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
.
data
.
code
==
200
){
if
(
res
.
data
.
code
==
200
){
layer
.
tipsX
(
'提交成功'
);
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
{
}
else
{
layer
.
tipsX
(
res
.
data
.
msg
);
layer
.
tipsX
(
res
.
data
.
msg
);
}
}
...
@@ -492,4 +504,17 @@
...
@@ -492,4 +504,17 @@
header
+
.header_seat
{
header
+
.header_seat
{
height
:
0.88rem
;
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
>
</
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