| | |
| | | data: data |
| | | }) |
| | | } |
| | | // 查询考核积分卡片列表 |
| | | export function barScore(data) { |
| | | return request({ |
| | | url: '/check/score/bar', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | // 查询考核积分折线图 |
| | | export function chartScore(query) { |
| | | return request({ |
| | |
| | | }) |
| | | }, |
| | | delColumn(id, index) { |
| | | deleteDynamicColumnById(id).then(res => { |
| | | this.$message.success("删除成功") |
| | | this.getDyColumn(); |
| | | this.$emit('refreshHeader'); |
| | | }) |
| | | if(id) { |
| | | deleteDynamicColumnById(id).then(res => { |
| | | this.$message.success("删除成功") |
| | | this.getDyColumn(); |
| | | this.$emit('refreshHeader'); |
| | | }) |
| | | }else { |
| | | this.dynamicColumnList.splice(index,1) |
| | | } |
| | | }, |
| | | dynamicColumnClose() { |
| | | this.showDynamicColumn = false |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | <div> |
| | | <div class="select-container"> |
| | | <el-select v-model="params.category" placeholder="数据类型" @change="getChart" clearable> |
| | | <el-option v-for="item in categories" :key="item.label" :label="item.label" :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | <div class="select-container"> |
| | | <el-date-picker v-model="date" format="yyyy-MM" value-format="yyyy-MM" type="month" placeholder="选择月份" |
| | | @change="dateChange"> |
| | | </el-date-picker> |
| | |
| | | date: '', |
| | | params: { |
| | | month: '', |
| | | category: 1 |
| | | }, |
| | | options: [ |
| | | {label: '省厅', value: 1}, |
| | | ], |
| | | categories: [ |
| | | {label: '累计数据', value: 1}, |
| | | {label: '每日数据', value: 2}, |
| | | ], |
| | | dataList: [], |
| | | } |
| | |
| | | return tempArray; |
| | | }, |
| | | getAllDay() { |
| | | const currentDate = this.date.split('-'); |
| | | const currentYear = currentDate[0]; |
| | | const currentMonth = currentDate[1]; |
| | | // 获取当前日期 |
| | | const currentDate = new Date(); |
| | | const currentYear = currentDate.getFullYear(); |
| | | const currentMonth = (currentDate.getMonth() + 1).toString().padStart(2, '0'); // 月份从0开始,需要加1并补零 |
| | | // 获取当前月份的天数 |
| | | const daysInMonth = new Date(currentYear, currentMonth, 0).getDate(); |
| | | // 存储当前月份每一天的日期 |
| | | const datesOfMonth = []; |
| | | for (var day = 1; day <= daysInMonth; day++) { |
| | | const formattedDate = currentMonth + '-' + (day.toString().padStart(2, '0')); |
| | |
| | | if (!data.list || data.list.length === 0) { |
| | | snapCount = 0; |
| | | }else { |
| | | snapCount = data.list[data.list.length - 1].snapCount |
| | | snapCount = data.list.reduce((max, item) => Math.max(max, item.snapCount), 0) |
| | | } |
| | | const yMax = Math.max(snapCount, baseLine * 1.2); |
| | | const yMax = Math.max(snapCount * 1.2, baseLine * 1.2); |
| | | let interval = 1; |
| | | while ((yMax) / interval > 100) { // 这里的 100 是一个阈值,您可以根据需要调整 |
| | | interval *= 10; |
| | | } |
| | | const colors = ['#5470C6', '#66CC99', '#EE6666']; |
| | | option = { |
| | | color: colors, |
| | |
| | | axisLabel: { |
| | | formatter: function (value) { |
| | | // 返回整数部分,或使用其他逻辑来格式化标签 |
| | | return Math.floor(value); |
| | | return Math.floor(value / interval) * interval;ge |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | |
| | | .select-container { |
| | | margin: 0 20px; |
| | | margin-left: 20px; |
| | | width: 180px; |
| | | } |
| | | </style> |
| | |
| | | }, |
| | | methods: { |
| | | initChart() { |
| | | const sortedKeys = Object.keys(this.acitveData.state) |
| | | .sort(); // 按照字符串的字典序对键进行排序 |
| | | const option = { |
| | | legend: { |
| | | right: 'right', |
| | |
| | | tooltip: {}, |
| | | xAxis: { |
| | | type: 'category', |
| | | data: Object.keys(this.acitveData.state), |
| | | data: sortedKeys, |
| | | }, |
| | | yAxis: {}, |
| | | series: [ |
| | | { |
| | | name: '正常数', |
| | | data: Object.entries(this.acitveData.state).map(([key, value]) => value), |
| | | data: sortedKeys.map(key => this.acitveData.state[key]), |
| | | type: 'line', |
| | | itemStyle: { |
| | | color: 'rgba(62, 144, 247, 1)' |
| | |
| | | }, |
| | | { |
| | | name: '异常数', |
| | | data: Object.entries(this.acitveData.state2).map(([key, value]) => value), |
| | | data: sortedKeys.map(key => this.acitveData.state2[key]), |
| | | type: 'line', |
| | | itemStyle: { |
| | | color: 'rgba(85, 192, 191, 1)' |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | <div> |
| | | <div class="select-container"> |
| | | <el-select v-model="params.category" placeholder="数据类型" @change="getChart" clearable> |
| | | <el-option v-for="item in categories" :key="item.label" :label="item.label" :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | <div class="select-container"> |
| | | <el-date-picker v-model="date" format="yyyy-MM" value-format="yyyy-MM" type="month" placeholder="选择月份" |
| | | @change="dateChange"> |
| | | </el-date-picker> |
| | |
| | | date: '', |
| | | params: { |
| | | month: '', |
| | | category: 1 |
| | | }, |
| | | categories: [ |
| | | {label: '累计数据', value: 1}, |
| | | {label: '每日数据', value: 2}, |
| | | ], |
| | | options: [ |
| | | {label: '省厅', value: 1} |
| | | ], |
| | |
| | | return tempArray; |
| | | }, |
| | | getAllDay() { |
| | | const currentDate = this.date.split('-'); |
| | | const currentYear = currentDate[0]; |
| | | const currentMonth = currentDate[1]; |
| | | // 获取当前日期 |
| | | const currentDate = new Date(); |
| | | const currentYear = currentDate.getFullYear(); |
| | | const currentMonth = (currentDate.getMonth() + 1).toString().padStart(2, '0'); // 月份从0开始,需要加1并补零 |
| | | // 获取当前月份的天数 |
| | | const daysInMonth = new Date(currentYear, currentMonth, 0).getDate(); |
| | | // 存储当前月份每一天的日期 |
| | | const datesOfMonth = []; |
| | | for (var day = 1; day <= daysInMonth; day++) { |
| | | const formattedDate = currentMonth + '-' + (day.toString().padStart(2, '0')); |
| | |
| | | if (!data.list || data.list.length === 0) { |
| | | snapCount = 0; |
| | | }else { |
| | | snapCount = data.list[data.list.length - 1].snapCount |
| | | snapCount = data.list.reduce((max, item) => Math.max(max, item.snapCount), 0) |
| | | } |
| | | const yMax = Math.max(snapCount, baseLine * 1.2); |
| | | const yMax = Math.max(snapCount * 1.2, baseLine * 1.2); |
| | | let interval = 1; |
| | | while ((yMax) / interval > 100) { // 这里的 100 是一个阈值,您可以根据需要调整 |
| | | interval *= 10; |
| | | } |
| | | const colors = ['#5470C6', '#66CC99', '#EE6666']; |
| | | option = { |
| | | color: colors, |
| | |
| | | axisLabel: { |
| | | formatter: function (value) { |
| | | // 返回整数部分,或使用其他逻辑来格式化标签 |
| | | return Math.floor(value); |
| | | return Math.floor(value / interval) * interval; |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | |
| | | .select-container { |
| | | margin: 0 20px; |
| | | margin-left: 20px; |
| | | width: 180px; |
| | | } |
| | | </style> |
| | |
| | | <div class="card-content"> |
| | | <div class="title-container"> |
| | | <h1>运维到期预警</h1> |
| | | <div class="more-button" @click="$router.push({ path: '/point-manage/point' })"> |
| | | <div class="more-button" @click="$router.push({ path: '/point-manage' })"> |
| | | <span>更多</span> |
| | | <i class="el-icon-arrow-right"></i> |
| | | </div> |
| | |
| | | padding: 0 10px; |
| | | } |
| | | } |
| | | </style> |
| | | </style> |
| | |
| | | <div class="card-content"> |
| | | <div class="title-container"> |
| | | <h1>考核预警</h1> |
| | | <div class="more-button" @click="$router.push({ path: '/contract/score' })"> |
| | | <div class="more-button" @click="$router.push({ path: '/check/result' })"> |
| | | <span>更多</span> |
| | | <i class="el-icon-arrow-right"></i> |
| | | </div> |
| | | </div> |
| | | |
| | | <el-table :data="tableData" height="400"> |
| | | <el-table :data="tableData" height="400" empty-text="最近一周暂无数据"> |
| | | <el-table-column prop="createTime" label="警报时间" align="center"> |
| | | </el-table-column> |
| | | <el-table-column prop="area" label="区域" align="center"> |
| | |
| | | }, |
| | | methods: { |
| | | initChart() { |
| | | // 对 complete 对象的键进行排序 |
| | | const sortedKeys = Object.keys(this.acitveData.complete) |
| | | .sort(); // 按照字符串的字典序对键进行排序 |
| | | const option = { |
| | | legend: { |
| | | right: 'right', |
| | |
| | | tooltip: {}, |
| | | xAxis: { |
| | | type: 'category', |
| | | data: Object.keys(this.acitveData.complete), |
| | | data: sortedKeys, |
| | | axisLabel: { |
| | | interval: 0 // 强制显示所有标签 |
| | | }, |
| | | sortSeriesData: false |
| | | }, |
| | | yAxis: {}, |
| | | series: [ |
| | | { |
| | | name: '完成工单数', |
| | | data: Object.entries(this.acitveData.complete).map(([key, value]) => value), |
| | | data: sortedKeys.map(key => this.acitveData.complete[key]), |
| | | type: 'line', |
| | | itemStyle: { |
| | | color: 'rgba(62, 144, 247, 1)' |
| | |
| | | }, |
| | | { |
| | | name: '待完成工单数', |
| | | data: Object.entries(this.acitveData.waiting).map(([key, value]) => value), |
| | | data: sortedKeys.map(key => this.acitveData.waiting[key]), |
| | | type: 'line', |
| | | itemStyle: { |
| | | color: 'rgba(85, 192, 191, 1)' |
| | |
| | | }, |
| | | { |
| | | name: '待审批工单数', |
| | | data: Object.entries(this.acitveData.pending).map(([key, value]) => value), |
| | | data: sortedKeys.map(key => this.acitveData.pending[key]), |
| | | type: 'line', |
| | | itemStyle: { |
| | | color: 'rgba(255, 165, 0, 1)' |
| | |
| | | pending: {} |
| | | } |
| | | } |
| | | |
| | | lineChart = echarts.init(this.$refs.chartContent); |
| | | this.initChart(); |
| | | this.observe(); |
| | |
| | | }, |
| | | |
| | | getAllDay() { |
| | | // const date = new Date(); |
| | | // const year = date.getFullYear(); |
| | | // const month = (date.getMonth() + 1) >= 10 ? date.getMonth() + 1 : '0' + (date.getMonth() + 1); |
| | | // this.date = year + '-' + month; |
| | | const currentDate = this.date.split('-'); |
| | | let date = this.date |
| | | if(!this.date) { |
| | | date = new Date(); |
| | | const year = date.getFullYear(); |
| | | const month = (date.getMonth() + 1) >= 10 ? date.getMonth() + 1 : '0' + (date.getMonth() + 1); |
| | | date = year + '-' + month; |
| | | } |
| | | const currentDate = date.split('-'); |
| | | const currentYear = currentDate[0]; |
| | | const currentMonth = currentDate[1]; |
| | | const daysInMonth = new Date(currentYear, currentMonth, 0).getDate(); |
| | |
| | | <div style="width: 100%"> |
| | | <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect" |
| | | style="margin-bottom: 10px"> |
| | | <el-menu-item index="0">省厅月度</el-menu-item> |
| | | <el-menu-item index="1">省厅季度</el-menu-item> |
| | | <el-menu-item index="2">区县月度</el-menu-item> |
| | | <el-menu-item index="3">区县季度</el-menu-item> |
| | | <el-menu-item index="4">公安部月度</el-menu-item> |
| | | <el-menu-item index="5">公安部季度</el-menu-item> |
| | | <el-menu-item index="0">省厅考核</el-menu-item> |
| | | <el-menu-item index="1">区县考核</el-menu-item> |
| | | <el-menu-item index="2">公安部考核</el-menu-item> |
| | | </el-menu> |
| | | </div> |
| | | <!-- 导出按钮 --> |
| | |
| | | <div class="card-content"> |
| | | <div class="title-container"> |
| | | <h1>考核成绩</h1> |
| | | <div class="select-container"> |
| | | <el-date-picker v-model="date" |
| | | format="yyyy-MM-dd" |
| | | value-format="yyyy-MM-dd" |
| | | type="daterange" |
| | | placeholder="选择日期" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | @change="dateChange" |
| | | @clear="handleClear" |
| | | :picker-options="pickerOptions"> |
| | | </el-date-picker> |
| | | </div> |
| | | </div> |
| | | <div class="echart-container"> |
| | | <div id="barChart" ref="barChart"></div> |
| | |
| | | import {areaSelect} from '@/api/system/dept'; |
| | | import {listScore, publishScore} from "@/api/platform/check-score"; |
| | | import * as echarts from 'echarts'; |
| | | import {barScore} from "../../../../api/platform/check-score"; |
| | | |
| | | let observer = null; |
| | | let chart = null; |
| | |
| | | shortcuts: [{ |
| | | text: '第一季度', |
| | | onClick(picker) { |
| | | picker.$emit('pick', [new Date(new Date().getFullYear() + "-01"), new Date(new Date().getFullYear() + "-03")]); |
| | | picker.$emit('pick', [new Date(new Date().getFullYear() + "-01"+ "-01"), new Date(new Date().getFullYear() + "-03"+"-31")]); |
| | | } |
| | | }, |
| | | { |
| | | text: '第二季度', |
| | | onClick(picker) { |
| | | picker.$emit('pick', [new Date(new Date().getFullYear() + "-04"), new Date(new Date().getFullYear() + "-06")]); |
| | | picker.$emit('pick', [new Date(new Date().getFullYear() + "-04"+"-01"), new Date(new Date().getFullYear() + "-06"+"-30")]); |
| | | } |
| | | }, |
| | | { |
| | | text: '第三季度', |
| | | onClick(picker) { |
| | | picker.$emit('pick', [new Date(new Date().getFullYear() + "-07"), new Date(new Date().getFullYear() + "-09")]) |
| | | picker.$emit('pick', [new Date(new Date().getFullYear() + "-07"+"-01"), new Date(new Date().getFullYear() + "-09"+"-30")]) |
| | | } |
| | | }, |
| | | { |
| | | text: '第四季度', |
| | | onClick(picker) { |
| | | picker.$emit('pick', [new Date(new Date().getFullYear() + "-10"), new Date(new Date().getFullYear() + "-12")]) |
| | | picker.$emit('pick', [new Date(new Date().getFullYear() + "-10"+"-01"), new Date(new Date().getFullYear() + "-12"+"-31")]) |
| | | } |
| | | }] |
| | | }, |
| | |
| | | checkScoreList: [], |
| | | areaList: [], |
| | | activeIndex: '0', |
| | | date: '', |
| | | date: [], |
| | | company: '', |
| | | // 导出 |
| | | exportForm: { |
| | |
| | | examineTag: null, |
| | | createTime: null |
| | | }, |
| | | // 查询参数 |
| | | barParams: { |
| | | examineTag: null, |
| | | createTime: null |
| | | }, |
| | | } |
| | | }, |
| | | created() { |
| | | }, |
| | | mounted() { |
| | | this.queryParams.examineTag = this.activeIndex |
| | | this.barParams.examineTag = this.activeIndex |
| | | chart = echarts.init(this.$refs.barChart); |
| | | const currentDate = new Date(); |
| | | const year = currentDate.getFullYear(); |
| | | const month = String(currentDate.getMonth() + 1).padStart(2, '0'); // 月份从0开始,需要加1,并且保证两位数 |
| | | const day = String(currentDate.getDate()).padStart(2, '0'); // 保证两位数 |
| | | this.date = [`${year}-${month}-${day}`,`${year}-${month}-${day}`]; |
| | | this.areaSelect() |
| | | // this.setChartOption(this.checkScoreList); |
| | | }, |
| | |
| | | }) |
| | | }, |
| | | initEchart() { |
| | | |
| | | const option = { |
| | | grid: { |
| | | left: 0, |
| | |
| | | areaSelect().then(res => { |
| | | this.areaList = res.data; |
| | | this.getList(); |
| | | this.getChart(); |
| | | }) |
| | | }, |
| | | translateDeptId(deptId) { |
| | |
| | | handleSelect(key) { |
| | | this.activeIndex = key; // 更新当前激活的菜单项 |
| | | this.queryParams.examineTag = key; |
| | | this.barParams.examineTag = key; |
| | | this.getList(); |
| | | this.getChart(); |
| | | }, |
| | | /** 查询考核成绩列表 */ |
| | | dateChange() { |
| | | this.getChart(); |
| | | }, |
| | | handleClear() { |
| | | const currentDate = new Date(); |
| | | const year = currentDate.getFullYear(); |
| | | const month = String(currentDate.getMonth() + 1).padStart(2, '0'); // 月份从0开始,需要加1,并且保证两位数 |
| | | const day = String(currentDate.getDate()).padStart(2, '0'); // 保证两位数 |
| | | this.barParams.startDate = `${year}-${month}-${day}`; |
| | | this.barParams.endDate = `${year}-${month}-${day}`; |
| | | this.getChart(); |
| | | }, |
| | | /** 获取柱状图数据 */ |
| | | getChart() { |
| | | this.loading = true; |
| | | if(this.date) { |
| | | this.barParams.startDate = this.date[0] |
| | | this.barParams.endDate = this.date[1] |
| | | } |
| | | barScore(this.barParams).then(response => { |
| | | this.setChartOption(response.data); |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | /** |
| | | * 查询考核成绩列表 |
| | | * 卡片列表默认显示当天 |
| | | * */ |
| | | getList() { |
| | | this.loading = true; |
| | | // 获取当前日期 |
| | | const today = new Date(); |
| | | |
| | | // 将日期减去一天 |
| | | const yesterday = new Date(today.getTime() - 24 * 60 * 60 * 1000); |
| | | |
| | | // 获取年、月、日 |
| | | const year = yesterday.getFullYear(); |
| | | let month = (yesterday.getMonth() + 1).toString().padStart(2, '0'); // 月份是从0开始的,所以加1 |
| | | let day = yesterday.getDate().toString().padStart(2, '0'); |
| | | |
| | | // 拼接成 yyyy-MM-dd 格式 |
| | | this.queryParams.createTime = `${year}-${month}-${day}` |
| | | |
| | | console.log(this.queryParams); |
| | | listScore(this.queryParams).then(response => { |
| | | this.checkScoreList = response.data; |
| | | |
| | | this.setChartOption(this.checkScoreList); |
| | | // this.setChartOption(this.checkScoreList); |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | |
| | | |
| | | <div> |
| | | <el-table v-loading="loading" :data="tableData.list"> |
| | | <el-table-column :prop="item.prop" :label="item.label" :width="item.width" v-for="(item, index) in tableHead" |
| | | <!-- <el-table-column :prop="item.prop" :label="item.label" :width="item.width" v-for="(item, index) in tableHead"--> |
| | | <!-- :key="index" v-if="showListPD(item)">--> |
| | | <el-table-column :prop="item.prop" :label="item.label" v-for="(item, index) in tableHead" |
| | | :key="index" v-if="showListPD(item)"> |
| | | <template slot-scope="scope"> |
| | | <span :class="{'error-text': scope.row[item.error]}"> {{ scope.row[item.prop] }} </span> |
| | |
| | | "label": "设备编码", |
| | | "align": "center", |
| | | "prop": "deviceNo", |
| | | width: 190 |
| | | width: 200 |
| | | }, |
| | | { |
| | | "label": "设备名称", |
| | | "align": "center", |
| | | "prop": "osdName", |
| | | width: 200 |
| | | }, |
| | | { |
| | | "label": "品牌", |
| | | "align": "center", |
| | | "prop": "deviceBrandStr", |
| | | width: 150 |
| | | "error": "osdNameError", |
| | | width: 370 |
| | | }, |
| | | { |
| | | "label": "osd省", |
| | | "align": "center", |
| | | "prop": "osdProvince", |
| | | width: 150 |
| | | "error": "osdProvinceError", |
| | | width: 180 |
| | | }, |
| | | { |
| | | "label": "osd市", |
| | | "align": "center", |
| | | "prop": "osdCity", |
| | | width: 150 |
| | | "error": "osdCityError", |
| | | width: 180 |
| | | }, |
| | | { |
| | | "label": "osd区", |
| | | "align": "center", |
| | | "prop": "osdPart", |
| | | width: 150 |
| | | "error": "osdPartError", |
| | | width: 180 |
| | | }, |
| | | { |
| | | "label": "osd左下角", |
| | | "align": "center", |
| | | "prop": "osdLB", |
| | | width: 150 |
| | | "error": "osdLBError", |
| | | width: 180 |
| | | }, |
| | | { |
| | | "label": "osd时间是否正确", |
| | | "label": "osd时间", |
| | | "align": "center", |
| | | "prop": "osdTimeCorrectText", |
| | | width: 150 |
| | | "prop": "setTime", |
| | | "error": "osdTimeError", |
| | | width: 200 |
| | | }, |
| | | { |
| | | "label": "osd通道名是否正确", |
| | | "label": "检测时间", |
| | | "align": "center", |
| | | "prop": "osdNameCorrectText", |
| | | width: 150 |
| | | }, |
| | | { |
| | | "label": "osd省是否正确", |
| | | "align": "center", |
| | | "prop": "osdProvinceCorrectText", |
| | | width: 150 |
| | | }, |
| | | { |
| | | "label": "osd市是否正确", |
| | | "align": "center", |
| | | "prop": "osdCityCorrectText", |
| | | width: 150 |
| | | }, |
| | | { |
| | | "label": "osd区是否正确", |
| | | "align": "center", |
| | | "prop": "osdPartCorrectText", |
| | | width: 150 |
| | | "prop": "checkTime", |
| | | width: 200 |
| | | }, |
| | | ], |
| | | card: [ |
| | |
| | | {key: 3, label: `osd市`, visible: true}, |
| | | {key: 4, label: `osd区`, visible: true}, |
| | | {key: 5, label: `osd左下角`, visible: true}, |
| | | {key: 6, label: `osd时间是否正确`, visible: true}, |
| | | {key: 7, label: `osd通道名是否正确`, visible: true}, |
| | | {key: 7, label: `osd省是否正确`, visible: true}, |
| | | {key: 7, label: `osd市是否正确`, visible: true}, |
| | | {key: 7, label: `osd区是否正确`, visible: true}, |
| | | {key: 6, label: `osd时间`, visible: true}, |
| | | {key: 7, label: `检测时间`, visible: true}, |
| | | ], |
| | | }, |
| | | { |
| | |
| | | "label": "设备编码", |
| | | "align": "center", |
| | | "prop": "deviceNo", |
| | | width: 190 |
| | | width: 200 |
| | | }, |
| | | { |
| | | "label": "设备名称", |
| | | "align": "center", |
| | | "prop": "osdName", |
| | | width: 200 |
| | | "error": "osdNameError", |
| | | width: 370 |
| | | }, |
| | | { |
| | | "label": "osd省", |
| | | "align": "center", |
| | | "prop": "osdProvince", |
| | | width: 150 |
| | | "error": "osdProvinceError", |
| | | width: 180 |
| | | }, |
| | | { |
| | | "label": "osd市", |
| | | "align": "center", |
| | | "prop": "osdCity", |
| | | width: 150 |
| | | "error": "osdCityError", |
| | | width: 180 |
| | | }, |
| | | { |
| | | "label": "osd区", |
| | | "align": "center", |
| | | "prop": "osdPart", |
| | | width: 150 |
| | | "error": "osdPartError", |
| | | width: 180 |
| | | }, |
| | | { |
| | | "label": "osd左下角", |
| | | "align": "center", |
| | | "prop": "osdLB", |
| | | width: 150 |
| | | "error": "osdLBError", |
| | | width: 180 |
| | | }, |
| | | { |
| | | "label": "osd时间是否正确", |
| | | "label": "osd时间", |
| | | "align": "center", |
| | | "prop": "osdTimeCorrectText", |
| | | width: 150 |
| | | "prop": "setTime", |
| | | "error": "osdTimeError", |
| | | width: 200 |
| | | }, |
| | | { |
| | | "label": "osd通道名是否正确", |
| | | "label": "检测时间", |
| | | "align": "center", |
| | | "prop": "osdNameCorrectText", |
| | | width: 150 |
| | | }, |
| | | { |
| | | "label": "osd省是否正确", |
| | | "align": "center", |
| | | "prop": "osdProvinceCorrectText", |
| | | width: 150 |
| | | }, |
| | | { |
| | | "label": "osd市是否正确", |
| | | "align": "center", |
| | | "prop": "osdCityCorrectText", |
| | | width: 150 |
| | | }, |
| | | { |
| | | "label": "osd区是否正确", |
| | | "align": "center", |
| | | "prop": "osdPartCorrectText", |
| | | width: 150 |
| | | "prop": "checkTime", |
| | | width: 200 |
| | | }, |
| | | ], |
| | | card: [ |
| | |
| | | {key: 3, label: `osd市`, visible: true}, |
| | | {key: 4, label: `osd区`, visible: true}, |
| | | {key: 5, label: `osd左下角`, visible: true}, |
| | | {key: 6, label: `osd时间是否正确`, visible: true}, |
| | | {key: 7, label: `osd通道名是否正确`, visible: true}, |
| | | {key: 7, label: `osd省是否正确`, visible: true}, |
| | | {key: 7, label: `osd市是否正确`, visible: true}, |
| | | {key: 7, label: `osd区是否正确`, visible: true}, |
| | | {key: 6, label: `osd时间`, visible: true}, |
| | | {key: 7, label: `检测时间`, visible: true}, |
| | | ], |
| | | }, |
| | | { |
| | |
| | | this.imageQueryParams.workOrderNo= row.workOrderNo |
| | | this.imageQueryParams.serialNumber= row.serialNumber |
| | | checkWorkOrder(this.imageQueryParams).then((res) => { |
| | | this.imageUrl = res.data |
| | | this.imageUrl = this.$img + res.data |
| | | console.log( "图片地址"+this.imageUrl ) |
| | | this.imageLoading = false |
| | | }).catch(() => { |
| | | this.imageLoading = false |