11
WXL
2024-08-14 0ac2d43fce4d74f6eea5a51a2e16af4e6a536c7c
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>
@@ -288,6 +290,7 @@
          curdonorinfo = item;
        }
      });
      console.log(curdonorinfo,'curdonorinfo');
      this.showSelectionDialog = false;
      this.$router.push({
        path: "/finance/donorchargedetail/",
@@ -365,9 +368,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 +381,7 @@
                donorname: item1.name
              });
            });
            console.log(this.donorinfolist,' this.donorinfolist');
            this.loading = false;
          });
        }
@@ -477,3 +481,9 @@
  }
};
</script>
<style scoped>
/* @import url(); 引入公共css类 */
.button-delete{
  color: rgb(236, 69, 69);
}
</style>