This commit is contained in:
parent
e8c33d831b
commit
c82008de6e
Binary file not shown.
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 484 KiB |
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
|
@ -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;
|
||||
|
|
|
@ -146,7 +146,7 @@ const data = reactive({
|
|||
list2: {}, // 失业保险概况
|
||||
employmentList: [
|
||||
{
|
||||
name: "2024年发布人力资源供求信息",
|
||||
name: "人力资源供求信息",
|
||||
value: "0",
|
||||
img: jy1,
|
||||
dw: "次",
|
||||
|
|
Loading…
Reference in New Issue