11
WXL
2024-03-01 946e2122ab3756b668f76f93f2181293ed089adf
src/views/project/donorcharge/donorcharge/index.vue
@@ -59,8 +59,10 @@
            v-hasPermi="['system:donorcharge:edit']">修改</el-button>
          <el-button size="mini" type="text" icon="el-icon-edit" @click="handleDetail(scope.row)"
            v-hasPermi="['system:donorcharge:edit']">详情</el-button>
          <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
            v-hasPermi="['system:donorcharge:remove']">删除</el-button>
          <el-button size="mini" type="text" @click="handleDelete(scope.row)"
            v-hasPermi="['system:donorcharge:remove']"><span class="button-delete"
              ><i class="el-icon-delete"></i>删除</span
            ></el-button>
        </template>
      </el-table-column>
    </el-table>
@@ -365,9 +367,9 @@
        else {
          this.loading = true;
          listDonatebaseinfo(this.donorParams).then(res => {
            this.donorinfolist = res.rows;
            res.rows.map(item => {
              if (item.workflow == 6) {
            // this.donorinfolist = res.rows;
            res.rows.forEach(item => {
              if (item.workflow >= 6) {
                this.donorinfolist.push(item);
              }
            });
@@ -378,6 +380,7 @@
                donorname: item1.name
              });
            });
            console.log(this.donorinfolist,' this.donorinfolist');
            this.loading = false;
          });
        }
@@ -477,3 +480,9 @@
  }
};
</script>
<style scoped>
/* @import url(); 引入公共css类 */
.button-delete{
  color: rgb(236, 69, 69);
}
</style>