| | |
| | | <el-input v-model="dataForm.confidence" placeholder="置信度" clearable></el-input> |
| | | </zt-form-item> |
| | | <el-button type="primary" @click="assess()">评定</el-button> |
| | | <el-button type="primary" @click="add()">新增评定数据</el-button> |
| | | <el-button type="primary" @click="assessData()">评定数据管理</el-button> |
| | | <el-button type="primary" @click="handleExpand()">{{expandText}}</el-button> |
| | | <el-dropdown style="margin-left: 10px" @command="download"> |
| | | <el-button type="primary"> |
| | |
| | | <el-table-column prop="assessResult" label="评定结果" align="right"> |
| | | </el-table-column> |
| | | </el-table> |
| | | <add-or-update @refreshDataList="refreshData" ref="AddOrUpdate"/> |
| | | <assess-manage @refreshDataList="refreshData" ref="AssessManage"/> |
| | | </zt-table-wraper> |
| | | <el-dialog v-dialogDrag :close-on-click-modal="false" top="8vh" :visible.sync="dialogVisible" title="模型检查" |
| | | width="60%" @close="dialogVisible = false"> |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import AddOrUpdate from './RelisbilityAssess-AddOrUpdate' |
| | | import qs from "qs"; |
| | | import Cookies from "js-cookie"; |
| | | import AssessManage from "./RelisbilityAssess-Manage"; |
| | | |
| | | export default { |
| | | data() { |
| | |
| | | } |
| | | }, |
| | | components: { |
| | | AddOrUpdate |
| | | AssessManage, |
| | | }, |
| | | mounted() { |
| | | this.getProductList() |
| | |
| | | } |
| | | }) |
| | | }, |
| | | refreshData(){ |
| | | this.getAssessDataList() |
| | | }, |
| | | async zhixin() { |
| | | await this.getTaskList() |
| | | await this.getAssessDataList() |
| | |
| | | this.page() |
| | | } |
| | | }, |
| | | refreshData() { |
| | | this.getAssessDataList(); |
| | | }, |
| | | async getAssessDataList() { |
| | | let params = { |
| | | productId: this.dataForm.productId |
| | |
| | | } |
| | | this.flag2 = true |
| | | }, |
| | | add() { |
| | | this.$refs.AddOrUpdate.$refs.dialog.init(null, { |
| | | assessData(){ |
| | | this.$refs.AssessManage.$refs.dialog.init(null, { |
| | | productId: this.dataForm.productId, |
| | | shipName: this.dataForm.shipName |
| | | }) |
| | | }) |
| | | }, |
| | | async assess() { |
| | | this.dialogVisible = false |