Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DA-Platform
Overview
Overview
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
文档服务地址:
http://47.92.0.57:3000/
周报索引地址:
http://47.92.0.57:3000/s/NruNXRYmV
Open sidebar
Berlin
DA-Platform
Commits
3fe7845d
Commit
3fe7845d
authored
Aug 31, 2020
by
郭婉茹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
place of the button
parent
164f2d15
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
27 deletions
+49
-27
SelectText.vue
...atform-front/src/components/textAnnotation/SelectText.vue
+15
-11
SelectedCheck.vue
...orm-front/src/components/textAnnotation/SelectedCheck.vue
+24
-4
SelectedText.vue
...form-front/src/components/textAnnotation/SelectedText.vue
+1
-1
Table.vue
DAPlatform-front/src/components/textAnnotation/Table.vue
+8
-10
Tabled.vue
DAPlatform-front/src/components/textAnnotation/Tabled.vue
+1
-1
No files found.
DAPlatform-front/src/components/textAnnotation/SelectText.vue
View file @
3fe7845d
...
@@ -20,7 +20,20 @@
...
@@ -20,7 +20,20 @@
></el-tree>
></el-tree>
</div>
</div>
<div
style=
"width: 100%"
></div>
<div
style=
"width: 100%"
></div>
<el-button
type=
"primary"
style=
"margin-top: 10px"
@
click=
"uploadToken"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"submit()"
size=
"small"
style=
"margin-top: 9px;margin-right: 20px;float:right"
plain
>
提交
</el-button>
<el-button
type=
"primary"
style=
"margin-top: 9px;margin-right: 20px;float:right"
@
click=
"uploadToken"
size=
"small"
plain
>
保存
</el-button>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -29,8 +42,6 @@
...
@@ -29,8 +42,6 @@
<el-main
class=
"filter-container1"
style=
"background-color: #FFFFFF"
>
<el-main
class=
"filter-container1"
style=
"background-color: #FFFFFF"
>
<div
style=
"overflow-y:auto;height:100%;"
>
<div
style=
"overflow-y:auto;height:100%;"
>
<div
class=
"content1"
@
mouseup=
"select()"
v-html=
"content"
></div>
<div
class=
"content1"
@
mouseup=
"select()"
v-html=
"content"
></div>
<el-row>
<el-col
:span=
"21"
>
<div
class=
"content_left"
>
<div
class=
"content_left"
>
<div
<div
class=
"tokenList1"
class=
"tokenList1"
...
@@ -49,13 +60,6 @@
...
@@ -49,13 +60,6 @@
</el-tag>
</el-tag>
</div>
</div>
</div>
</div>
</el-col>
<el-col
:span=
"3"
>
<div
class=
"content_right"
>
<el-button
class=
"button1"
type=
"primary"
@
click=
"submit()"
>
提交
</el-button>
</div>
</el-col>
</el-row>
</div>
</div>
</el-main>
</el-main>
</el-container>
</el-container>
...
@@ -450,7 +454,7 @@ export default {
...
@@ -450,7 +454,7 @@ export default {
@include
whiteBoard;
@include
whiteBoard;
.content1
{
.content1
{
overflow
:
auto
;
overflow
:
auto
;
height
:
calc
(
100vh
-
61px
-
100px
-
1
0
0px
);
height
:
calc
(
100vh
-
61px
-
100px
-
1
1
0px
);
text-align
:
left
;
text-align
:
left
;
font-size
:
20px
;
font-size
:
20px
;
line-height
:
30px
;
line-height
:
30px
;
...
...
DAPlatform-front/src/components/textAnnotation/SelectedCheck.vue
View file @
3fe7845d
...
@@ -20,7 +20,20 @@
...
@@ -20,7 +20,20 @@
></el-tree>
></el-tree>
</div>
</div>
<div
style=
"width: 100%"
></div>
<div
style=
"width: 100%"
></div>
<el-button
type=
"primary"
style=
"margin-top: 10px"
@
click=
"uploadToken"
>
修改
</el-button>
<el-button
type=
"primary"
style=
"margin-top: 9px;margin-right: 20px;float:right"
@
click=
"save"
size=
"small"
plain
>
提交
</el-button>
<el-button
type=
"primary"
style=
"margin-top: 9px;margin-right: 20px;float:right"
@
click=
"uploadToken"
size=
"small"
plain
>
修改
</el-button>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -49,12 +62,16 @@
...
@@ -49,12 +62,16 @@
<a
style=
"font-size: 14px;"
v-html=
"it.entityId"
></a>
<a
style=
"font-size: 14px;"
v-html=
"it.entityId"
></a>
<a
style=
"font-size: 14px;"
>
属性
</a>
<a
style=
"font-size: 14px;"
>
属性
</a>
<a
style=
"font-size: 14px;"
v-html=
"it.attribute"
></a>
<a
style=
"font-size: 14px;"
v-html=
"it.attribute"
></a>
<el-button
style=
"margin-left: auto;font-size: 12px"
@
click=
"countScore()"
size=
"mini"
type=
"text"
>
标注正确
</el-button>
<el-button
style=
"margin-left: auto;font-size: 12px"
@
click=
"countScore()"
size=
"mini"
type=
"text"
>
标注正确
</el-button>
</el-tag>
</el-tag>
</div>
</div>
</div>
</div>
<div
style=
"overflow:auto;font-size: 15px;float: right;"
>
<div
style=
"overflow:auto;font-size: 15px;float: right;"
>
<!--
<button
@
click=
"computeFn()"
>
开始计算
</button>
-->
计算得分 =
计算得分 =
<b
style=
"font-size: 20px"
>
{{
this
.
computeScore
}}
</b>
<b
style=
"font-size: 20px"
>
{{
this
.
computeScore
}}
</b>
</div>
</div>
...
@@ -128,7 +145,7 @@ export default {
...
@@ -128,7 +145,7 @@ export default {
methods
:
{
methods
:
{
countScore
()
{
countScore
()
{
this
.
rightScore
++
;
this
.
rightScore
++
;
this
.
computeScore
=
(
this
.
rightScore
/
this
.
allScore
)
*
100
;
this
.
computeScore
=
(
this
.
rightScore
/
this
.
allScore
)
*
100
;
console
.
log
(
this
.
rightScore
);
console
.
log
(
this
.
rightScore
);
console
.
log
(
this
.
allScore
);
console
.
log
(
this
.
allScore
);
},
},
...
@@ -395,6 +412,9 @@ export default {
...
@@ -395,6 +412,9 @@ export default {
this
.
token
.
end
=
tag
.
end
;
this
.
token
.
end
=
tag
.
end
;
this
.
token
.
entityId
=
tag
.
entityId
;
this
.
token
.
entityId
=
tag
.
entityId
;
},
},
save
()
{
alert
(
"打分成功"
);
},
// 打分
// 打分
addScore
()
{
addScore
()
{
// alert("Inin")
// alert("Inin")
...
...
DAPlatform-front/src/components/textAnnotation/SelectedText.vue
View file @
3fe7845d
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<div
style=
"overflow-y:auto;height:100%;"
>
<div
style=
"overflow-y:auto;height:100%;"
>
<div
class=
"content1"
@
mouseup=
"select()"
v-html=
"content"
></div>
<div
class=
"content1"
@
mouseup=
"select()"
v-html=
"content"
></div>
<div>
<div>
<el-button
class=
"button1"
type=
"primary"
@
click=
"submit()"
>
提交
</el-button>
<el-button
class=
"button1"
type=
"primary"
@
click=
"submit()"
>
返回
</el-button>
</div>
</div>
</div>
</div>
</el-main>
</el-main>
...
...
DAPlatform-front/src/components/textAnnotation/Table.vue
View file @
3fe7845d
...
@@ -40,10 +40,17 @@
...
@@ -40,10 +40,17 @@
<el-button
<el-button
type=
"primary"
type=
"primary"
style=
"margin-top: 9px;margin-right: 20px;float:right"
style=
"margin-top: 9px;margin-right: 20px;float:right"
@
click=
"submit()"
size=
"small"
plain
>
提交
</el-button>
<el-button
type=
"primary"
style=
"margin-top: 9px;margin-right: 20px;float:right"
@
click=
"uploadToken"
@
click=
"uploadToken"
size=
"small"
size=
"small"
plain
plain
>
确定
</el-button>
>
保存
</el-button>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -71,8 +78,6 @@
...
@@ -71,8 +78,6 @@
</el-table>
</el-table>
</div>
</div>
<!-- 表格界面 -->
<!-- 表格界面 -->
<el-row>
<el-col
:span=
"21"
>
<div
class=
"content_left"
>
<div
class=
"content_left"
>
<div
<div
class=
"tokenList3"
class=
"tokenList3"
...
@@ -91,13 +96,6 @@
...
@@ -91,13 +96,6 @@
</el-tag>
</el-tag>
</div>
</div>
</div>
</div>
</el-col>
<el-col
:span=
"3"
>
<div
class=
"content_right"
>
<el-button
class=
"button1"
type=
"primary"
@
click=
"submit()"
>
提交
</el-button>
</div>
</el-col>
</el-row>
</div>
</div>
</el-main>
</el-main>
</el-container>
</el-container>
...
...
DAPlatform-front/src/components/textAnnotation/Tabled.vue
View file @
3fe7845d
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
<!-- 打分 -->
<!-- 打分 -->
<!--div v-if="this.$route.query.isCheck == '1'"-->
<!--div v-if="this.$route.query.isCheck == '1'"-->
<div>
<div>
<el-button
class=
"button1"
type=
"primary"
@
click=
"submit()"
>
提交
</el-button>
<el-button
class=
"button1"
type=
"primary"
@
click=
"submit()"
>
返回
</el-button>
</div>
</div>
</div>
</div>
</el-main>
</el-main>
...
...
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