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

Commit ebfe2f28 by 李严凡

layerShow显示打分按钮

parent 414bf7d4
......@@ -6,7 +6,8 @@
<el-button-group id="start">
<el-button class="tool-button" type="primary" @click="save()" >保存</el-button>
<el-button class="tool-button" type="primary" >退出</el-button>
<el-button v-if="this.$route.params.operationSign == 1" type="primary" @click="commentScore = true">打分</el-button>
<el-button v-if="this.$route.params.operationSign == 1" type="primary" @click="submit()">提交</el-button>
</el-button-group>
<el-button-group style="margin-right: 10px ; line-height: 40px;vertical-align: middle">
<el-button class="tool-button" type="primary" style="margin-right: 10px" @click="setCenter()">改变中心点</el-button>
......@@ -40,19 +41,8 @@
<!-- <el-button @click="deleteLabelInList()">删除</el-button> -->
</div>
<!-- <div style="overflow: auto" v-if="this.$route.params.operationSign == 1">-->
<!-- <el-button type="primary" @click="commentScore = true">打分</el-button>-->
<!-- <el-button type="primary" @click="submit()">提交</el-button>-->
<!-- <el-dialog title="请打分" :visible.sync="commentScore" width="400px">-->
<!-- <el-form :model="scoreForm">-->
<!-- <el-form-item label="标注准确率" :label-width="formLabelWidth">-->
<!-- <el-input v-model="scoreForm.accuracy" autocomplete="off" clearable></el-input>-->
<!-- </el-form-item>-->
<!-- <el-form-item label="标注得分" :label-width="formLabelWidth">-->
<!-- <el-input v-model="scoreForm.score" autocomplete="off" clearable></el-input>-->
<!-- </el-form-item>-->
<!-- <el-button type="primary" @click="addScore()">确认</el-button>-->
<!-- </el-form>-->
<!-- </el-dialog>-->
<!--
<!-- </div>-->
</div>
</transition>
......@@ -109,6 +99,17 @@
<!-- </el-button-group>-->
</el-main>
</el-container>
<el-dialog title="请打分" :visible.sync="commentScore" width="400px">-->
<el-form :model="scoreForm">
<el-form-item label="标注准确率" :label-width="formLabelWidth">
<el-input v-model="scoreForm.accuracy" autocomplete="off" clearable></el-input>
</el-form-item>
<el-form-item label="标注得分" :label-width="formLabelWidth">
<el-input v-model="scoreForm.score" autocomplete="off" clearable></el-input>
</el-form-item>
<el-button type="primary" @click="addScore()">确认</el-button>
</el-form>
</el-dialog>
</div>
</template>
......@@ -138,6 +139,10 @@
defaultProps: {
children: 'children',
label: 'label'
},
scoreForm:{
accuracy:'',
score:''
}
}
},
......
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