文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit 3fe7845d by 郭婉茹

place of the button

parent 164f2d15
......@@ -20,7 +20,20 @@
></el-tree>
</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>
......@@ -29,8 +42,6 @@
<el-main class="filter-container1" style="background-color: #FFFFFF">
<div style="overflow-y:auto;height:100%;">
<div class="content1" @mouseup="select()" v-html="content"></div>
<el-row>
<el-col :span="21">
<div class="content_left">
<div
class="tokenList1"
......@@ -49,13 +60,6 @@
</el-tag>
</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>
</el-main>
</el-container>
......@@ -450,7 +454,7 @@ export default {
@include whiteBoard;
.content1 {
overflow: auto;
height: calc(100vh - 61px - 100px - 100px);
height: calc(100vh - 61px - 100px - 110px);
text-align: left;
font-size: 20px;
line-height: 30px;
......
......@@ -20,7 +20,20 @@
></el-tree>
</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>
......@@ -49,12 +62,16 @@
<a style="font-size: 14px;" v-html="it.entityId"></a>
<a style="font-size: 14px;">属性</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>
</div>
</div>
<div style="overflow:auto;font-size: 15px;float: right;">
<!-- <button @click="computeFn()">开始计算</button>-->
计算得分 =
<b style="font-size: 20px">{{this.computeScore}}</b>
</div>
......@@ -128,7 +145,7 @@ export default {
methods: {
countScore() {
this.rightScore++;
this.computeScore = (this.rightScore/this.allScore)*100;
this.computeScore = (this.rightScore / this.allScore) * 100;
console.log(this.rightScore);
console.log(this.allScore);
},
......@@ -395,6 +412,9 @@ export default {
this.token.end = tag.end;
this.token.entityId = tag.entityId;
},
save() {
alert("打分成功");
},
// 打分
addScore() {
// alert("Inin")
......
......@@ -29,7 +29,7 @@
<div style="overflow-y:auto;height:100%;">
<div class="content1" @mouseup="select()" v-html="content"></div>
<div>
<el-button class="button1" type="primary" @click="submit()">提交</el-button>
<el-button class="button1" type="primary" @click="submit()">返回</el-button>
</div>
</div>
</el-main>
......
......@@ -40,10 +40,17 @@
<el-button
type="primary"
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"
size="small"
plain
>确定</el-button>
>保存</el-button>
</div>
</div>
</div>
......@@ -71,8 +78,6 @@
</el-table>
</div>
<!-- 表格界面 -->
<el-row>
<el-col :span="21">
<div class="content_left">
<div
class="tokenList3"
......@@ -91,13 +96,6 @@
</el-tag>
</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>
</el-main>
</el-container>
......
......@@ -72,7 +72,7 @@
<!-- 打分 -->
<!--div v-if="this.$route.query.isCheck == '1'"-->
<div>
<el-button class="button1" type="primary" @click="submit()">提交</el-button>
<el-button class="button1" type="primary" @click="submit()">返回</el-button>
</div>
</div>
</el-main>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment