Commit 8d5e2507 authored by baiyinhao's avatar baiyinhao

修改页面

parent 920eac1b
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
</div> </div>
</template> </template>
<template #toolbar> </template> <template #toolbar> </template>
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'"> <template v-if="column.key === 'action'">
<TableAction <TableAction
...@@ -60,13 +61,13 @@ ...@@ -60,13 +61,13 @@
</template> </template>
</template> </template>
<template #resourceName="{ text, record }"> <template #resourceName="{ text, record }">
<a class="column-des"> <a class="column-des" @click="handleApply">
<InsertRowAboveOutlined class="c-icon" /> <InsertRowAboveOutlined class="c-icon" />
<div class="c-text">{{ text }}</div> <div class="c-text">{{ text }}</div>
</a> </a>
</template> </template>
<template #correspondingApplication="{ text, record }"> <template #correspondingApplication="{ text, record }">
<a> <a @click="handleCorrespondingApplication(record)">
{{ text }} {{ text }}
</a> </a>
</template> </template>
...@@ -95,6 +96,10 @@ ...@@ -95,6 +96,10 @@
import { columns } from '@/views/dataSharingAndExchange/authorityManagement/authorityManagement.data'; import { columns } from '@/views/dataSharingAndExchange/authorityManagement/authorityManagement.data';
import { authorityManagementListData } from '@/views/dataSharingAndExchange/authorityManagement/authorityManagementData'; import { authorityManagementListData } from '@/views/dataSharingAndExchange/authorityManagement/authorityManagementData';
import { pathOptions, typeOptions, statusOptions } from './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 = { const queryParams = {
name: null, name: null,
...@@ -123,7 +128,7 @@ ...@@ -123,7 +128,7 @@
}, },
rowKey: 'id', rowKey: 'id',
columns, columns,
rowSelection: true, rowSelection: false,
// formConfig: { // formConfig: {
// labelWidth: 10, // labelWidth: 10,
// schemas: searchFormSchema, // schemas: searchFormSchema,
...@@ -142,7 +147,27 @@ ...@@ -142,7 +147,27 @@
dataIndex: 'action', 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() { function handleReload() {
createMessage.success('刷新成功!'); createMessage.success('刷新成功!');
...@@ -158,32 +183,40 @@ ...@@ -158,32 +183,40 @@
.hTop { .hTop {
display: flex; display: flex;
gap: 10px; gap: 10px;
.h-input { .h-input {
width: 220px; width: 220px;
} }
.h-select { .h-select {
width: 200px; width: 200px;
} }
} }
.header { .header {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
gap: 10px; gap: 10px;
.h-icon { .h-icon {
font-size: 30px;
color: #03aabb; color: #03aabb;
font-size: 30px;
} }
.h-des { .h-des {
font-size: 18px; font-size: 18px;
font-weight: bolder; font-weight: bolder;
} }
} }
.column-des { .column-des {
display: flex; display: flex;
gap: 10px; gap: 10px;
.c-icon { .c-icon {
font-size: 16px; font-size: 16px;
} }
.c-text { .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