| | |
| | | }, |
| | | /** 返回按钮 */ |
| | | goBack() { |
| | | const obj = { path: "/examine/detail", query: { index: this.$route.query.deptId, examineTag: this.$route.query.examineTag, pageNum: this.$route.query.pageNum } }; |
| | | const obj = { path: "/check/detail", query: { index: this.$route.query.deptId, examineTag: this.$route.query.examineTag, pageNum: this.$route.query.pageNum } }; |
| | | this.$tab.closeOpenPage(obj); |
| | | }, |
| | | // 关闭当前tab页签,打开新页签 |
| | |
| | | <el-table-column label="操作" align="center"> |
| | | <template slot-scope="scope"> |
| | | <div style="display: flex;justify-content: center;"> |
| | | <el-button size="small" type="text" @click="handlePublish(scope.row)" v-if="scope.row.publish === 'UNPUBLISHED'" >确认发布</el-button> |
| | | <el-button size="small" type="text" @click="handlePublish(scope.row)" v-if="scope.row.publish === 'PUBLISHED'">取消发布</el-button> |
| | | <el-button v-hasPermi="['check:score:publish']" size="small" type="text" @click="handlePublish(scope.row)" v-if="scope.row.publish === 'UNPUBLISHED'" >确认发布</el-button> |
| | | <el-button v-hasPermi="['check:score:publish']" size="small" type="text" @click="handlePublish(scope.row)" v-if="scope.row.publish === 'PUBLISHED'">取消发布</el-button> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | |
| | | </div> |
| | | </div> |
| | | <div class="bottom-publish"> |
| | | <el-button size="medium" :type="isAnyUnpublished(city) ? 'success' : 'danger'" @click="publish(city)"> |
| | | <el-button v-hasPermi="['check:score:publish']" size="medium" :type="isAnyUnpublished(city) ? 'success' : 'danger'" @click="publish(city)"> |
| | | {{ isAnyUnpublished(city) ? '发布' : '取消' }} |
| | | </el-button> |
| | | <el-button size="medium" @click="jumpDetail(index)" type="info">详情</el-button> |
| | |
| | | type: 'bar', |
| | | name: '视频考核', |
| | | data: this.dataList.data1, |
| | | barWidth: '40', |
| | | itemStyle: { |
| | | color: 'rgba(255, 165, 0, 1)' |
| | | } |
| | |
| | | type: 'bar', |
| | | name: '人脸考核', |
| | | data: this.dataList.data2, |
| | | barWidth: '40', |
| | | itemStyle: { |
| | | color: 'rgba(85, 192, 191, 1)' |
| | | } |
| | |
| | | type: 'bar', |
| | | name: '车辆考核', |
| | | data: this.dataList.data3, |
| | | barWidth: '40', |
| | | itemStyle: { |
| | | color: 'rgba(62, 144, 247, 1)' |
| | | } |
| | |
| | | axisLabel: { |
| | | }, |
| | | data: nameArray |
| | | |
| | | }, |
| | | yAxis: { |
| | | min: 90, |
| | | min: 60 |
| | | }, |
| | | series: [ |
| | | { |
| | | type: 'bar', |
| | | name: '视频考核', |
| | | data: data1, |
| | | barWidth: '40', |
| | | itemStyle: { |
| | | color: 'rgba(255, 165, 0, 1)' |
| | | color: 'rgba(255, 165, 0, 1)', |
| | | } |
| | | }, |
| | | { |
| | | type: 'bar', |
| | | name: '人脸考核', |
| | | data: data2, |
| | | barWidth: '40', |
| | | itemStyle: { |
| | | color: 'rgba(85, 192, 191, 1)' |
| | | color: 'rgba(85, 192, 191, 1)', |
| | | } |
| | | }, |
| | | { |
| | | type: 'bar', |
| | | name: '车辆考核', |
| | | data: data3, |
| | | barWidth: '40', |
| | | itemStyle: { |
| | | color: 'rgba(62, 144, 247, 1)' |
| | | color: 'rgba(62, 144, 247, 1)', |
| | | } |
| | | }, |
| | | ] |