fuliqi
2025-01-16 e5fae45afc610c0cbc5620f2e9138e2188dcf243
资产管理权限、工单故障显示优化
3个文件已修改
21 ■■■■■ 已修改文件
src/views/system/data-manage/equipment/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/work-order/detail/index.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/work-order/index.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/data-manage/equipment/index.vue
@@ -99,6 +99,7 @@
          icon="el-icon-delete"
          size="mini"
          @click="clearMonitor"
          v-hasRole="['admin']"
        >清理一机一档</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
src/views/system/work-order/detail/index.vue
@@ -16,7 +16,16 @@
              <div class="item-warp">
                <div>故障类型:</div>
                <div>
                  <el-tag style="margin-right: 5px;height:24px;overflow:auto" effect="dark" v-for="(error, index) in workOrderInfo.errorTypeList" :key="index" size="small" type="warning">{{ error }}</el-tag>
                  <el-tag
                    style="margin-right: 5px;height:24px;overflow:auto" effect="dark"
                    v-for="(error, index) in workOrderInfo.errorTypeList"
                    :key="index" size="small"
                    :type="error === '图像异常'
                     || error ===  '点位信息错误'
                     || error ===  '时钟偏差'
                     || error ===  'OSD异常'
                     ? 'danger' : 'warning'">{{ error }}
                  </el-tag>
                </div>
              </div>
              <div class="item-warp">
src/views/system/work-order/index.vue
@@ -121,7 +121,14 @@
                placement="top"
               >
              <el-row>
                <el-tag style="margin-right: 5px;height:24px;overflow:auto" effect="dark" v-for="(error, errorIndex) in displayedErrors(item.errorTypeList)" :key="errorIndex" size="small" type="warning">
                <el-tag
                  style="margin-right: 5px;height:24px;overflow:auto" effect="dark"
                  v-for="(error, errorIndex) in displayedErrors(item.errorTypeList)" :key="errorIndex" size="small"
                  :type="error === '图像异常'
                     || error ===  '点位信息错误'
                     || error ===  '时钟偏差'
                     || error ===  'OSD异常'
                     ? 'danger' : 'warning'">
                  {{ error }}
                </el-tag>
              </el-row>