File was renamed from src/views/system/check-result/index.vue |
| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px"> |
| | | |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> |
| | | <el-form-item label="考核对象" prop="checkUnitId"> |
| | | <el-input |
| | | v-model="queryParams.checkUnitName" |
| | |
| | | </el-form> |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <!-- <el-col :span="1.5">--> |
| | | <!-- <el-button--> |
| | | <!-- type="primary"--> |
| | | <!-- plain--> |
| | | <!-- icon="el-icon-plus"--> |
| | | <!-- size="mini"--> |
| | | <!-- @click="handleAdd"--> |
| | | <!-- v-hasPermi="['system:checkResult:add']"--> |
| | | <!-- >新增</el-button>--> |
| | | <!-- </el-col>--> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="danger" |
| | |
| | | </div> |
| | | </el-card> |
| | | |
| | | <!-- <el-table v-loading="loading" :data="checkResultList" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="考核对象" align="center" prop="checkUnitName" /> |
| | | <el-table-column label="考核" align="center" prop="examineName" /> |
| | | <el-table-column label="考核范围":formatter="examineRangeFormatter" align="center" prop="examineRange" /> |
| | | <el-table-column label="考核频率" :formatter="frequencyFormatter" align="center" prop="frequency" /> |
| | | <el-table-column label="考核分数" falign="center" prop="checkScore" /> |
| | | <el-table-column label="考核时间" align="center" prop="checkTime" /> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-view" |
| | | @click="handleDetail(scope.row)" |
| | | >详情</el-button> |
| | | <el-button |
| | | type="text" |
| | | size="mini" |
| | | icon="el-icon-edit" |
| | | @click="handleSetManualScore(scope.row)" |
| | | >人工打分</el-button> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | @click="handleDelete(scope.row)" |
| | | >删除</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | <pagination |
| | | v-show="total>0" |
| | | :total="total" |
| | | :page.sync="queryParams.pageNum" |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="getList" |
| | | /> --> |
| | | |
| | | <el-dialog :title="manualScoreTitle" :visible.sync="manualScoreOpen" width="500px" append-to-body> |
| | | <el-input v-model="manualScoreForm.manualScore" type="number" placeholder="请为该单位打分"/> |
| | | <div slot="footer" class="dialog-footer"> |
| | |
| | | |
| | | <el-dialog :title="detailTitle" :visible.sync="detailOpen" width="700px" append-to-body> |
| | | <el-descriptions class="margin-top" :column="3" border> |
| | | <!-- <template slot="extra">--> |
| | | <!-- <el-button type="primary" size="small">操作</el-button>--> |
| | | <!-- </template>--> |
| | | <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-user"></i> |
| | |
| | | detailTitle: '', |
| | | detailOpen: false, |
| | | detail:{ |
| | | |
| | | }, |
| | | tableData: [{ |
| | | name: '视频平均在线率', |
| | |
| | | this.manualScoreTitle = row.checkUnitName + '人工打分' |
| | | this.manualScoreOpen = true; |
| | | }, |
| | | handleDetail(row) { |
| | | this.detail = row; |
| | | handleDetail(item) { |
| | | this.detail = item; |
| | | this.detail.carOnlineRate = '97%'; |
| | | this.detailTitle = row.checkUnitName + '考核结果'; |
| | | this.detailOpen = true; |
| | | |
| | | console.log(this.detail,"detail") |
| | | this.$router.push({ |
| | | path: '/check-result/contract/detail', |
| | | query: { |
| | | detail: this.detail |
| | | } |
| | | }) |
| | | }, |
| | | handlePublish(row) { |
| | | let text = row.publish == 1 ? '取消发布' : '发布'; |