From 4c9fdc87987140e8b2c3f0dfc2f6608cdb6be774 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 21 十月 2026 17:39:24 +0800
Subject: [PATCH] 青岛维护
---
src/views/project/donorcharge/donorcharge/index.vue | 38 ++++++++++++++++++++++++--------------
1 files changed, 24 insertions(+), 14 deletions(-)
diff --git a/src/views/project/donorcharge/donorcharge/index.vue b/src/views/project/donorcharge/donorcharge/index.vue
index 4072f28..896af03 100644
--- a/src/views/project/donorcharge/donorcharge/index.vue
+++ b/src/views/project/donorcharge/donorcharge/index.vue
@@ -22,19 +22,19 @@
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
- v-hasPermi="['system:donorcharge:add']">鏂板</el-button>
+>鏂板</el-button>
</el-col>
<el-col :span="1.5">
<el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
- v-hasPermi="['system:donorcharge:edit']">淇敼</el-button>
+>淇敼</el-button>
</el-col>
<el-col :span="1.5">
<el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
- v-hasPermi="['system:donorcharge:remove']">鍒犻櫎</el-button>
+>鍒犻櫎</el-button>
</el-col>
<el-col :span="1.5">
<el-button type="warning" plain icon="el-icon-download" size="mini" :loading="exportLoading" @click="handleExport"
- v-hasPermi="['system:donorcharge:export']">瀵煎嚭</el-button>
+>瀵煎嚭</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
@@ -46,7 +46,7 @@
<span>{{ parseTime(scope.row.donatetime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
- <el-table-column label="妗堜緥缂栧彿" align="center" prop="donateno" />
+ <el-table-column label="浣忛櫌鍙�" align="center" prop="donateno" />
<el-table-column label="鎹愮尞濮撳悕" align="center" prop="name" />
<el-table-column label="鎹愮尞绫诲埆" align="center" prop="donationcategory" />
<el-table-column label="鎹愮尞鍣ㄥ畼" align="center" prop="donateorgan" />
@@ -56,11 +56,13 @@
<el-table-column label="鎿嶄綔" align="center">
<template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
- v-hasPermi="['system:donorcharge:edit']">淇敼</el-button>
+>淇敼</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>
+ <el-button size="mini" type="text" @click="handleDelete(scope.row)"
+><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;
});
}
@@ -385,7 +389,7 @@
this.showSelectionDialog = true;
};
- /**
+ /**
this.reset();
this.open = true;
this.title = "鎹愮尞妗堜緥鍣ㄥ畼璐圭敤鎯呭喌";
@@ -400,7 +404,7 @@
query: { id: row.id, operation: "update", data: row }
});
- /**
+ /**
this.reset();
const id = row.id || this.ids
getDonorcharge(id).then(response => {
@@ -477,3 +481,9 @@
}
};
</script>
+<style scoped>
+/* @import url(); 寮曞叆鍏叡css绫� */
+.button-delete{
+ color: rgb(236, 69, 69);
+}
+</style>
--
Gitblit v1.9.3