This commit is contained in:
duanxiaohai 2024-10-29 10:07:37 +08:00
parent e8c33d831b
commit c82008de6e
5 changed files with 30 additions and 11 deletions

BIN
dist.zip

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 484 KiB

BIN
src/assets/headerBg2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

View File

@ -34,6 +34,25 @@
<el-table-column prop="csq" label="村社" width="100" />
<el-table-column prop="dz" label="地址" />
<el-table-column prop="jzrq" label="救助日期" width="100" />
<el-table-column label="操作">
<template #default="scope">
<el-button
size="small"
color="#2c40ea"
@click="handleEdit(scope.$index, scope.row)"
>
完成
</el-button>
<el-popconfirm
title="是否确定该人员不符合要求?"
@confirm="confirmEvent(scope.$index, scope.row)"
>
<template #reference>
<el-button size="small" type="warning"> 不符合 </el-button>
</template>
</el-popconfirm>
</template>
</el-table-column>
</el-table>
<div class="pagePart">
<el-pagination
@ -433,7 +452,6 @@ const throttle = (func, limit) => {
};
const searchT = (val) => {
// console.log(val);
if (val == "name") {
getRegisteredDB();
} else {
@ -448,14 +466,12 @@ const searchT = (val) => {
};
const searchT1 = (val) => {
// console.log(val);
// if (val == "name") {
// getRegisteredDB();
// } else {
// if (search1.date == null) {
// throttle(getDate, 50);
// } else {
// console.log(search);
// }
// }
};
@ -477,6 +493,15 @@ const onTypel = (val) => {
const getDate = () => {
console.log("未选择时间");
};
//
const handleEdit = (index, row) => {
console.log(index, row);
};
// const handleDelete = (index, row) => {
// };
const confirmEvent = (index, row) => {
console.log(index, row);
};
const getRegisteredDB = () => {
http
@ -485,7 +510,6 @@ const getRegisteredDB = () => {
)
.then((res) => {
if (res.code == 200) {
// console.log(res.data);
data.tableData1 = res.data;
data.pagination1.total = res.count;
const currentPage = data.pagination1.current; //
@ -506,9 +530,6 @@ const getRegisteredDB = () => {
ElMessage.warning({
message: res.message,
});
// router.replace({
// path: "/error/403",
// });
}
});
};
@ -519,10 +540,8 @@ const personDetails = () => {
)
.then((res) => {
if (res.code == 200) {
// console.log(res.data);
data.tableData = res.data;
data.pagination.total = res.count;
const currentPage = data.pagination.current; //
const pageSize = data.pagination.pageSize; //
// index
@ -651,7 +670,7 @@ onMounted(() => {
// }
:deep(.el-table__body tr.hover-row > td.el-table__cell) {
// background-color: var(--el-table-row-hover-bg-color);
background-color: rgba(45, 98, 244, 1) ;
background-color: rgba(45, 98, 244, 1);
}
:deep(.el-table) {
//--el-table-border-color: #62696d;

View File

@ -146,7 +146,7 @@ const data = reactive({
list2: {}, //
employmentList: [
{
name: "2024年发布人力资源供求信息",
name: "人力资源供求信息",
value: "0",
img: jy1,
dw: "次",