11
WXL
2024-02-28 d9c209aecf592804ba2d119a65eddc1f73bd913c
src/views/project/fund/officeExpenseApply/index.vue
@@ -87,7 +87,9 @@
      <!-- v-hasPermi="['project:medicalfund:export']" -->
      <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> -->
    </el-row>
    <el-table v-loading="loading" border :data="donateconsolationfundList">
    <el-table v-loading="loading" border :data="donateconsolationfundList"
    :row-class-name="rowClassName"
    >
      <el-table-column
        label="申请日期"
        align="center"
@@ -189,10 +191,11 @@
            v-if="scope.row.recordstatus == -1 || scope.row.recordstatus == 1"
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['project:medicalfund:delete']"
            >删除</el-button
            ><span class="button-delete"
              ><i class="el-icon-delete"></i>删除</span
            ></el-button
          >
          <el-button
            size="mini"
@@ -680,7 +683,9 @@
                  type="text"
                  size="small"
                >
                  删除
                <span class="button-delete"
              ><i class="el-icon-delete"></i>删除</span
            >
                </el-button>
                <el-button
                  @click.native.prevent="
@@ -1925,6 +1930,12 @@
      a.download = item.name;
      a.href = url;
      a.dispatchEvent(event);
    },
    rowClassName({ row, column, rowIndex, columnIndex }) {
      //此判断为最后三行
      if (row.recordstatus == -1 && row.backflowlevel >= 0) {
        return "error-row";
      }
    }
  },
@@ -1967,4 +1978,10 @@
</script>
<style scoped>
/* @import url(); 引入公共css类 */
.button-delete{
  color: rgb(236, 69, 69);
}
::v-deep.el-table .error-row {
  background: #FCEBEB;
}
</style>