Houjie
2025-05-26 c3f9133f259abacf02ae5acb2e5b4352f40d9b22
src/views/tms/storeEarlyWarning/ToolsStoreEarlyWarningList.vue
@@ -109,7 +109,7 @@
        :pagination="ipagination"
        :loading="loading"
        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
        class="j-table-force-nowrap"
        :rowClassName="setRowClassName"
        @change="handleTableChange">
        <template slot="htmlSlot" slot-scope="text">
@@ -273,6 +273,13 @@
      },
    },
    methods: {
      setRowClassName(record,index){
        //判断并返回行的样式名称
        if(record){
          return "bg-blue"
        }
      },
      initDictConfig(){
      },
      getSuperFieldList(){
@@ -300,4 +307,9 @@
</script>
<style scoped>
  @import '~@assets/less/common.less';
</style>
  ::v-deep .bg-blue{
    background-color:#C1194E;
  }
</style>