Commit 8d5e2507 authored by baiyinhao's avatar baiyinhao

修改页面

parent 920eac1b
......@@ -42,6 +42,7 @@
</div>
</template>
<template #toolbar> </template>
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'">
<TableAction
......@@ -60,13 +61,13 @@
</template>
</template>
<template #resourceName="{ text, record }">
<a class="column-des">
<a class="column-des" @click="handleApply">
<InsertRowAboveOutlined class="c-icon" />
<div class="c-text">{{ text }}</div>
</a>
</template>
<template #correspondingApplication="{ text, record }">
<a>
<a @click="handleCorrespondingApplication(record)">
{{ text }}
</a>
</template>
......@@ -95,6 +96,10 @@
import { columns } from '@/views/dataSharingAndExchange/authorityManagement/authorityManagement.data';
import { authorityManagementListData } from '@/views/dataSharingAndExchange/authorityManagement/authorityManagementData';
import { pathOptions, typeOptions, statusOptions } from './authorityManagementData';
import { router } from '@/router';
import { de } from 'element-plus/es/locale/index.mjs';
import { create } from 'sortablejs';
import { invalid } from 'moment';
const queryParams = {
name: null,
......@@ -123,7 +128,7 @@
},
rowKey: 'id',
columns,
rowSelection: true,
rowSelection: false,
// formConfig: {
// labelWidth: 10,
// schemas: searchFormSchema,
......@@ -142,7 +147,27 @@
dataIndex: 'action',
},
});
/** 点击列表名称跳转*/
function handleApply() {
router.push({
path: '/dataset/datasetByCreate/datasetByCreateDetail',
});
}
/** 点击对应申请跳转*/
function handleCorrespondingApplication(record: Recordable) {
router.push({
path: '/processCenter/detailsTab2',
query: {
deptName: record.affiliatedOrganization,
type: record.permissionType,
title: record.correspondingApplication,
reason: record.invalidReason,
createdBy: record.createdBy,
createTime: record.createDate,
status: record.permissionState,
},
});
}
/** 刷新 按钮 */
function handleReload() {
createMessage.success('刷新成功!');
......@@ -158,32 +183,40 @@
.hTop {
display: flex;
gap: 10px;
.h-input {
width: 220px;
}
.h-select {
width: 200px;
}
}
.header {
display: flex;
flex-direction: row;
gap: 10px;
.h-icon {
font-size: 30px;
color: #03aabb;
font-size: 30px;
}
.h-des {
font-size: 18px;
font-weight: bolder;
}
}
.column-des {
display: flex;
gap: 10px;
.c-icon {
font-size: 16px;
}
.c-text {
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment