文档服务地址: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 @@ ...@@ -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 - 100px); height: calc(100vh - 61px - 100px - 110px);
text-align: left; text-align: left;
font-size: 20px; font-size: 20px;
line-height: 30px; line-height: 30px;
......
...@@ -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")
......
...@@ -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>
......
...@@ -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>
......
...@@ -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>
......
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