qushaowei
2024-03-28 585fb0bbd4a7bc7f8f333ecba7c5fecd2ee5cbc2
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",
@@ -172,7 +174,7 @@
          {
            title:'旧标识',
            align:"center",
            dataIndex: 'equipmentImportanceId_dictText',
            dataIndex: 'oldStandard_dictText',
            width:200
          },
          {
@@ -205,11 +207,21 @@
        this.dataSource=[]
        this.selectedRowKeys=[]
        this.ipagination.current = 1
      },
      tableRowClass(record, index) {
      if (record.oldStandard!==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>