ZhangXianQiang
2024-03-20 a12c0c68ea94848ec80e1e95e37e6b5117c001a6
Merge branch 'master' of http://42.193.1.25:9521/r/zgyw-ui
5个文件已修改
122 ■■■■ 已修改文件
src/router/index.js 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/check-result/index.vue 64 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/check-template/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/data-manage/index.vue 33 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/score/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js
@@ -47,6 +47,19 @@
    hidden: true
  },
  {
    path: '/car/vehicle-data-monitor',
    component: Layout,
    hidden: true,
    children: [
    {
      path: 'index',
      name: 'vehicle-data-monitor',
      component: () => import('@/views/system/vehicle-data-monitor/index'),
      meta: { title: '车辆过卡口数据一致性', activeMenu: '/system/vehicle-data-monitor' }
    }
  ]
  },
  {
    path: '/register',
    component: () => import('@/views/register'),
    hidden: true
src/views/system/check-result/index.vue
@@ -90,8 +90,7 @@
        <el-button style="float: right; padding: 3px 0" type="text" @click="handleDetail(item)">详情</el-button>
      </div>
      <div class="text item">考核<span class="time">{{ item.examineName }}</span></div>
      <div class="text item">考核范围<span class="time">{{ item.examineRange }}</span></div>
      <div class="text item">考核频率<span class="time">{{ item.frequency }}</span></div>
      <div class="text item">考核频率<span class="time">{{ "季度考核" }}</span></div>
      <div class="text item">考核分数<span class="time">{{ item.checkScore }}</span></div>
      <div class="text item">考核时间
        <span class="time">{{ item.checkTime }}</span>
@@ -184,32 +183,30 @@
        <el-descriptions-item>
          <template slot="label">
            <i class="el-icon-medal"></i>
            系统分数
            综合分数
          </template>
          <el-tag type="danger" size="small">{{detail.checkScore}}</el-tag>
        </el-descriptions-item>
        <el-descriptions-item>
          <template slot="label">
            <i class="el-icon-medal"></i>
            人工分数
          </template>
          <el-tag type="danger" size="small">{{detail.manualScore}}</el-tag>
        </el-descriptions-item>
        <el-descriptions-item>
          <template slot="label">
            <i class="el-icon-medal"></i>
            车辆点位在线率
          </template>
          <el-tag type="danger" size="small">{{detail.carOnlineRate}}</el-tag>
        </el-descriptions-item>
        <el-descriptions-item>
          <template slot="label">
            <i class="el-icon-medal"></i>
            综合分数
          </template>
          <el-tag type="danger" size="small">{{detail.systemScore}}</el-tag>
        </el-descriptions-item>
      </el-descriptions>
        <el-table
          :data="tableData"
          show-summary
          style="width: 100%">
          <el-table-column
            prop="name"
            label="规则名"
            width="180">
          </el-table-column>
          <el-table-column
            prop="content"
            label="指标"
            width="180">
          </el-table-column>
          <el-table-column
            prop="score"
            label="得分">
          </el-table-column>
        </el-table>
    </el-dialog>
    <!-- 添加或修改考核结果对话框 -->
@@ -233,9 +230,26 @@
    return {
      detailTitle: '',
      detailOpen: false,
      detail: {
      detail:{
      },
      tableData: [{
        name: '视频平均在线率',
        content: '97%',
        score: '-5'
      }, {
        name: '一机一档24小时未修复',
        content: '5个',
        score: '-0.5'
      }, {
        name: '存储故障',
        content: '5小时',
        score: '-0.5'
      }, {
        name: '时钟不同步24小时未修复',
        content: '3个',
        score: '-0.3'
      }],
      manualScoreOpen: false,
      manualScoreForm: {},
      manualScoreTitle: '',
src/views/system/check-template/index.vue
@@ -9,10 +9,10 @@
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司名" prop="unitName">
      <el-form-item label="考核对象" prop="unitName">
        <el-input
          v-model="queryParams.status"
          placeholder="请输入公司名"
          placeholder="请输入考核对象"
          clearable
          @keyup.enter.native="handleQuery"
        />
@@ -79,7 +79,7 @@
    <el-table v-loading="loading" :data="checkTemplateList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="模板名称" align="center" prop="templateName" />
      <el-table-column label="公司名" align="center" prop="unitName" />
      <el-table-column label="考核对象" align="center" prop="unitName" />
      <el-table-column label="调整系数" align="center" prop="adjustCoefficient" />
      <el-table-column label="调整系数计算方式" align="center" prop="adjustWay" />
      <el-table-column label="状态" align="center" prop="status" />
@@ -115,7 +115,7 @@
        <el-form-item label="模板名称" prop="templateName">
          <el-input v-model="form.templateName" placeholder="请输入模板名称" />
        </el-form-item>
        <el-form-item label="公司名" prop="unitName">
        <el-form-item label="考核对象" prop="unitName">
          <el-select v-model="form.unitName" placeholder="请选择">
            <el-option
              v-for="item in unitList"
src/views/system/data-manage/index.vue
@@ -1,4 +1,5 @@
<template>
  <div>
    <div class="container">
        <el-row type="flex" justify="center">
            <el-col :span="24">
@@ -17,6 +18,26 @@
            </el-col>
        </el-row>
    </div>
  <div class="container">
    <el-row type="flex" justify="center">
      <el-col :span="24">
        <h3 style="color: rgb(104,104,103);padding-top: 20px;padding-bottom: 20px;">车俩数据异常检测</h3>
      </el-col>
    </el-row>
    <el-row type="flex" >
      <el-col :span="6" v-for="(item, index) in carData" :key="index">
        <el-link @click="handleDetail(item)">
          <el-card style="width:150px;height: 150px;text-align: center;">
            <i style="font-size: 40px;padding: 15px;" :class="item.icon"></i>
            <div>{{ item.name }}</div>
          </el-card>
        </el-link>
      </el-col>
    </el-row>
  </div>
  </div>
</template>
<script>
@@ -24,19 +45,23 @@
    data() {
        return {
            faceData: [
                { name: '人脸识别时钟准确性', icon: 'el-icon-alarm-clock', description: '描述信息', routerUrl: 'vehicle-data-monitor' },
                { name: '人脸识别时钟准确性', icon: 'el-icon-alarm-clock', description: '描述信息', routerUrl: '/face/index' },
                { name: '人脸抓拍数据监测', icon: 'el-icon-user', description: '描述信息', routerUrl: '/face/faceClock' },
                { name: '人脸数据趋势分析', icon: 'el-icon-data-line', description: '描述信息', routerUrl: '/face/faceClock' },
                { name: '人脸抓拍设备活跃性', icon: 'el-icon-timer', description: '描述信息', routerUrl: '/face/faceClock' },
                { name: '人脸抓拍上传及时性', icon: 'el-icon-money', description: '描述信息', routerUrl: '/face/faceClock' },
                { name: '人脸抓拍大图可用性', icon: 'el-icon-data-analysis', description: '描述信息', routerUrl: '/face/faceClock' },
            ]
            ],
          carData: [
            { name: '卡口过车数据一致性', icon: 'el-icon-alarm-clock', description: '描述信息', routerUrl: '/car/vehicle-data-monitor/index' },
          ]
        }
    },
    methods: {
        handleDetail(item) {
            this.$router.push({
                name: item.routerUrl,
                path: item.routerUrl,
                params: {
                    id: item.id
                }
@@ -52,4 +77,4 @@
    margin-right: 100px;
    margin-top: 10px;
}
</style>
</style>
src/views/system/score/index.vue
@@ -76,9 +76,9 @@
    <el-table v-loading="loading" :data="scoreList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="考核名" align="center" prop="examineName" />
      <el-table-column label="单位名" align="center" prop="unitName" />
      <el-table-column label=考核对象" align="center" prop="unitName" />
      <el-table-column label="分值" align="center" prop="score" />
      <el-table-column label="积分类型" align="center" prop="scoreCategory">
      <el-table-column label="考核规则" align="center" prop="scoreCategory">
      <template slot-scope="scope">
        <div v-if="scope.row.scoreCategory === 1">视频在线率</div>
        <div v-else-if="scope.row.scoreCategory === 2">存储故障</div>