From a79d67f8a9a9fa02f9d25f987b9611af965c484f Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 22 十月 2026 18:41:01 +0800
Subject: [PATCH] 修改了风格
---
src/views/project/donorcharge/donorcharge/index.vue | 27 +++++++++++++++++++--------
1 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/src/views/project/donorcharge/donorcharge/index.vue b/src/views/project/donorcharge/donorcharge/index.vue
index 4072f28..969d259 100644
--- a/src/views/project/donorcharge/donorcharge/index.vue
+++ b/src/views/project/donorcharge/donorcharge/index.vue
@@ -1,6 +1,7 @@
<template>
<div class="app-container">
- <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="120px">
+ <el-form
+ class="opo-query-form" :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="120px">
<el-form-item label="鎹愮尞濮撳悕" prop="name">
<el-input v-model="queryParams.name" placeholder="璇疯緭鍏ュ鍚�" clearable size="small"
@keyup.enter.native="handleQuery" />
@@ -59,8 +60,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>
@@ -150,7 +153,7 @@
</el-table-column>
<el-table-column prop="amounttime" align="center" label="鎺ユ敹鏃堕棿" width="120">
<template slot-scope="scope">
- <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.amounttime" type="date"
+ <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.amounttime" type="date" format="yyyy-MM-dd"
value-format="yyyy-MM-dd HH:mm:ss" placeholder="鎺ユ敹鏃堕棿">
</el-date-picker> </template>
</el-table-column>
@@ -161,7 +164,7 @@
</el-table-column>
<el-table-column prop="amounttime" align="center" label="鏀舵鏃堕棿" width="120">
<template slot-scope="scope">
- <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.amounttime" type="date"
+ <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.amounttime" type="date" format="yyyy-MM-dd"
value-format="yyyy-MM-dd HH:mm:ss" placeholder="鏀舵鏃堕棿" @blur="getdays(scope.row)">
</el-date-picker> </template>
</el-table-column>
@@ -288,6 +291,7 @@
curdonorinfo = item;
}
});
+ console.log(curdonorinfo,'curdonorinfo');
this.showSelectionDialog = false;
this.$router.push({
path: "/finance/donorchargedetail/",
@@ -365,9 +369,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 +382,7 @@
donorname: item1.name
});
});
+ console.log(this.donorinfolist,' this.donorinfolist');
this.loading = false;
});
}
@@ -477,3 +482,9 @@
}
};
</script>
+<style scoped>
+/* @import url(); 寮曞叆鍏叡css绫� */
+.button-delete{
+ color: rgb(236, 69, 69);
+}
+</style>
--
Gitblit v1.9.3