mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
路径图报表
This commit is contained in:
@@ -32,13 +32,22 @@
|
|||||||
<div class="select">
|
<div class="select">
|
||||||
<a-input
|
<a-input
|
||||||
style="width: 100%; height: 40px; border-radius: 8px"
|
style="width: 100%; height: 40px; border-radius: 8px"
|
||||||
placeholder="请输入创建者"
|
placeholder="请输入创建人"
|
||||||
allowClear
|
allowClear
|
||||||
v-model:value="createName"
|
v-model:value="createName"
|
||||||
showSearch
|
showSearch
|
||||||
>
|
>
|
||||||
</a-input>
|
</a-input>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="select">
|
||||||
|
<a-range-picker
|
||||||
|
v-model:value="publishTime"
|
||||||
|
type="date"
|
||||||
|
valueFormat="YYYY-MM-DD"
|
||||||
|
:placeholder="['发布开始时间','结束时间']"
|
||||||
|
style="width: 100%; margin-right: 0px"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<div style="display: flex; margin-bottom: 20px">
|
<div style="display: flex; margin-bottom: 20px">
|
||||||
<div class="btnzx btnzx1" @click="searchData">
|
<div class="btnzx btnzx1" @click="searchData">
|
||||||
<div class="search"></div>
|
<div class="search"></div>
|
||||||
@@ -150,6 +159,7 @@ export default {
|
|||||||
createName: "", // 创建者名称
|
createName: "", // 创建者名称
|
||||||
startTime: "", // 开始时间
|
startTime: "", // 开始时间
|
||||||
endTime: "", // 结束时间
|
endTime: "", // 结束时间
|
||||||
|
publishTime: "", // 创建时间
|
||||||
option: [], // 组织列表
|
option: [], // 组织列表
|
||||||
boeRouterInfoName: "", // 路径名称
|
boeRouterInfoName: "", // 路径名称
|
||||||
selectedRowKeys: [], // 选中的列
|
selectedRowKeys: [], // 选中的列
|
||||||
@@ -188,16 +198,16 @@ export default {
|
|||||||
|
|
||||||
// cloumns 表头
|
// cloumns 表头
|
||||||
const columns = ref([
|
const columns = ref([
|
||||||
|
// {
|
||||||
|
// title: "编号",
|
||||||
|
// dataIndex: "num",
|
||||||
|
// key: "num",
|
||||||
|
// ellipsis: true,
|
||||||
|
// align: "center",
|
||||||
|
// width: 120,
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
title: "编号",
|
title: "路径图名称",
|
||||||
dataIndex: "num",
|
|
||||||
key: "num",
|
|
||||||
ellipsis: true,
|
|
||||||
align: "center",
|
|
||||||
width: 120,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "路径名称",
|
|
||||||
dataIndex: "boeRouterInfoName",
|
dataIndex: "boeRouterInfoName",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
key: "boeRouterInfoName",
|
key: "boeRouterInfoName",
|
||||||
@@ -236,6 +246,22 @@ export default {
|
|||||||
align: "center",
|
align: "center",
|
||||||
width: 120,
|
width: 120,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: "参与人数",
|
||||||
|
dataIndex: "participantsTotal",
|
||||||
|
ellipsis: true,
|
||||||
|
key: "participantsTotal",
|
||||||
|
align: "center",
|
||||||
|
width: 120,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "参与率",
|
||||||
|
dataIndex: "participantsRate",
|
||||||
|
ellipsis: true,
|
||||||
|
key: "participantsRate",
|
||||||
|
align: "center",
|
||||||
|
width: 120,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: "完成人数",
|
title: "完成人数",
|
||||||
dataIndex: "completionNumber",
|
dataIndex: "completionNumber",
|
||||||
@@ -244,6 +270,14 @@ export default {
|
|||||||
align: "center",
|
align: "center",
|
||||||
width: 120,
|
width: 120,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: "完成率",
|
||||||
|
dataIndex: "completedRate",
|
||||||
|
ellipsis: true,
|
||||||
|
key: "completedRate",
|
||||||
|
align: "center",
|
||||||
|
width: 120,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: "发布时间",
|
title: "发布时间",
|
||||||
dataIndex: "publishTime",
|
dataIndex: "publishTime",
|
||||||
@@ -252,14 +286,6 @@ export default {
|
|||||||
align: "center",
|
align: "center",
|
||||||
width: 120,
|
width: 120,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: "创建人",
|
|
||||||
dataIndex: "createName",
|
|
||||||
ellipsis: true,
|
|
||||||
key: "createName",
|
|
||||||
align: "center",
|
|
||||||
width: 120,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: "路径状态",
|
title: "路径状态",
|
||||||
dataIndex: "status",
|
dataIndex: "status",
|
||||||
@@ -268,6 +294,14 @@ export default {
|
|||||||
align: "center",
|
align: "center",
|
||||||
width: 120,
|
width: 120,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: "创建人",
|
||||||
|
dataIndex: "createName",
|
||||||
|
ellipsis: true,
|
||||||
|
key: "createName",
|
||||||
|
align: "center",
|
||||||
|
width: 120,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: "操作",
|
title: "操作",
|
||||||
dataIndex: "operation",
|
dataIndex: "operation",
|
||||||
@@ -342,8 +376,9 @@ export default {
|
|||||||
orgId: state.orgId ? state.orgId[state.orgId.length - 1] : null,
|
orgId: state.orgId ? state.orgId[state.orgId.length - 1] : null,
|
||||||
routerName: state.routerName,
|
routerName: state.routerName,
|
||||||
createName: state.createName,
|
createName: state.createName,
|
||||||
startTime: state.startTime,
|
startTime: state.publishTime[0],
|
||||||
endTime: state.endTime,
|
endTime: state.publishTime[1],
|
||||||
|
// publishTime: state.publishTime,
|
||||||
name: state.name,
|
name: state.name,
|
||||||
});
|
});
|
||||||
if (res) {
|
if (res) {
|
||||||
@@ -362,6 +397,7 @@ export default {
|
|||||||
const reset = async () => {
|
const reset = async () => {
|
||||||
state.tableLoading = true;
|
state.tableLoading = true;
|
||||||
state.createName = "";
|
state.createName = "";
|
||||||
|
state.publishTime = [];
|
||||||
state.routerName = "";
|
state.routerName = "";
|
||||||
state.orgId = state.resetOrgId;
|
state.orgId = state.resetOrgId;
|
||||||
state.selectedRowKeys = [];
|
state.selectedRowKeys = [];
|
||||||
@@ -387,6 +423,9 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
const params = {
|
const params = {
|
||||||
createName: state.createName,
|
createName: state.createName,
|
||||||
|
// publishTime: state.publishTime,
|
||||||
|
startTime: state.publishTime[0],
|
||||||
|
endTime: state.publishTime[1],
|
||||||
routerName: state.routerName,
|
routerName: state.routerName,
|
||||||
orgId: state.orgId ? state.orgId[state.orgId.length - 1] : null,
|
orgId: state.orgId ? state.orgId[state.orgId.length - 1] : null,
|
||||||
};
|
};
|
||||||
@@ -426,6 +465,9 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
const params = {
|
const params = {
|
||||||
createName: state.createName,
|
createName: state.createName,
|
||||||
|
// publishTime: state.publishTime,
|
||||||
|
startTime: state.publishTime[0],
|
||||||
|
endTime: state.publishTime[1],
|
||||||
routerName: state.routerName,
|
routerName: state.routerName,
|
||||||
orgId: state.orgId ? state.orgId[state.orgId.length - 1] : null,
|
orgId: state.orgId ? state.orgId[state.orgId.length - 1] : null,
|
||||||
};
|
};
|
||||||
@@ -480,7 +522,7 @@ export default {
|
|||||||
.select {
|
.select {
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
width: calc((100% - 76px - 220px) / 3);
|
width: calc((100% - 76px - 240px) / 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btnz {
|
.btnz {
|
||||||
|
|||||||
Reference in New Issue
Block a user