From 24e66fda6185d8b275d8c5bbae798613e84f898b Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 21 六月 2024 11:04:53 +0800
Subject: [PATCH] #
---
zy-ptc-flow/src/pages/manager/project/index.jsx | 33 ++++++++++++++++++++++++++++++---
1 files changed, 30 insertions(+), 3 deletions(-)
diff --git a/zy-ptc-flow/src/pages/manager/project/index.jsx b/zy-ptc-flow/src/pages/manager/project/index.jsx
index f493d72..e9bfc05 100644
--- a/zy-ptc-flow/src/pages/manager/project/index.jsx
+++ b/zy-ptc-flow/src/pages/manager/project/index.jsx
@@ -1,6 +1,6 @@
import React, { useState, useRef, useEffect } from 'react';
-import { Button, message, Modal, Tag } from 'antd';
+import { Button, message, Modal, Tag } from 'antd';
import {
FooterToolbar,
PageContainer,
@@ -148,6 +148,9 @@
valueType: 'text',
hidden: false,
width: 140,
+ render: (_, record) => {
+ return <a target='_blank' href={`${_}`} style={{ fontWeight: "bold" }} >{_}</a>
+ },
filterDropdown: (props) => <TextFilter
name='wms'
{...props}
@@ -161,6 +164,9 @@
valueType: 'text',
hidden: false,
width: 140,
+ render: (_, record) => {
+ return <a target='_blank' href={`${_}`} style={{ fontWeight: "bold" }} >{_}</a>
+ },
filterDropdown: (props) => <TextFilter
name='wcs'
{...props}
@@ -256,7 +262,7 @@
{
title: '鎿嶄綔',
dataIndex: 'option',
- width: 140,
+ width: 180,
valueType: 'option',
render: (_, record) => [
<Button
@@ -268,6 +274,22 @@
}}
>
<FormattedMessage id='page.edit' defaultMessage='缂栬緫' />
+ </Button>,
+ <Button
+ type="link"
+ key="edit"
+ onClick={() => {
+ }}
+ >
+ <FormattedMessage id='page.reset' defaultMessage='涓�閿噸鍚�' />
+ </Button>,
+ <Button
+ type="link"
+ danger
+ onClick={() => {
+ }}
+ >
+ <FormattedMessage id='page.reset' defaultMessage='寮傚父鏃ュ織' />
</Button>,
<Button
type="link"
@@ -369,7 +391,12 @@
persistenceKey: TABLE_KEY,
persistenceType: 'localStorage',
defaultValue: {
- // memo: { show: repairBug(TABLE_KEY, 'memo', false) },
+ uuid: { show: repairBug(TABLE_KEY, 'uuid', false) },
+ createTime$: { show: repairBug(TABLE_KEY, 'createTime$', false) },
+ updateTime$: { show: repairBug(TABLE_KEY, 'updateTime$', false) },
+ createBy$: { show: repairBug(TABLE_KEY, 'createBy$', false) },
+ updateBy$: { show: repairBug(TABLE_KEY, 'updateBy$', false) },
+ memo: { show: repairBug(TABLE_KEY, 'memo', false) },
option: { fixed: 'right', disable: true },
},
onChange(value) {
--
Gitblit v1.9.1