fuliqi
2024-12-12 323df6a80616eec19125feba8bdb47adb25334a0
一机一档OSD
2个文件已修改
120 ■■■■■ 已修改文件
src/views/system/data-manage/data-detail/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/data-manage/data-detail/list.js 116 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/data-manage/data-detail/index.vue
@@ -111,7 +111,9 @@
    <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>
src/views/system/data-manage/data-detail/list.js
@@ -1356,73 +1356,55 @@
          "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: [
@@ -1461,11 +1443,8 @@
        {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},
      ],
    },
    {
@@ -1476,67 +1455,55 @@
          "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: [
@@ -1575,11 +1542,8 @@
        {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},
      ],
    },
    {