“linengliang”
2023-12-13 6d27d17b87da1b56b8c67139231190f487071b8f
src/views/eam/ABC/ABCAssessmentList.vue
@@ -35,6 +35,7 @@
        :columns="columns"
        :dataSource="dataSource"
        :pagination="ipagination"
        :rowClassName="tableRowClass"
        :loading="loading"
        @change="handleTableChange">
@@ -74,6 +75,7 @@
<script>
  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
  import '@/assets/less/TableExpand.less'
  export default {
    name: "ABCAssessmentList",
@@ -205,11 +207,21 @@
        this.dataSource=[]
        this.selectedRowKeys=[]
        this.ipagination.current = 1
      },
      tableRowClass(record, index) {
      if (record.equipmentImportanceId!==record.finalStandard) {
          return 'primary'
      }
    },
    }
  }
</script>
<style scoped>
  @import '~@assets/less/common.less'
<style lang="less" scoped>
  @import '~@assets/less/common.less';
  /deep/.primary {
  color: rgb(0, 115, 255);
  font-weight: bold;
}
</style>