diff --git a/web/client/src/sections/homePage/containers/index.js b/web/client/src/sections/homePage/containers/index.js
index f8e1b44..fa01791 100644
--- a/web/client/src/sections/homePage/containers/index.js
+++ b/web/client/src/sections/homePage/containers/index.js
@@ -59,6 +59,7 @@ function Management(props) {
key: 'build_time',
align: 'center',
defaultSortOrder: 'descend',
+ sortOrder:'descend' ,
sorter: {
compare: (a, b) => {
const one = moment(a.build_time).format('YYYYMMDD')
@@ -109,17 +110,12 @@ function Management(props) {
dataIndex: 'name_people',
key: 'name_people',
ellipsis: true,
- width: 300,
+ hideInSearch: true,
+ width: 100,
render: (dom, record) => {
return record.name_people;
},
- fieldProps: {
- onChange: (value, cs) => {
- setName(value.target.value);
- },
- placeholder: '请输入人员名称进行搜索',
- getPopupContainer: (triggerNode) => triggerNode.parentNode,
- },
+
}, {
title: '岗位',
key: 'post_people',
@@ -222,6 +218,21 @@ function Management(props) {
return
{record.ssd=='undefined'?'--' :record.ssd}
;
},
},
+ {title: "关键字搜索",
+ key: "direction",
+ hideInTable: true,
+ dataIndex: "direction",
+ order: 6,
+ fieldProps: {
+ onChange: (value, cs) => {
+ setName(value.target.value);
+ },
+ placeholder: '请输入关键字进行搜索',
+ getPopupContainer: (triggerNode) => triggerNode.parentNode,
+ },
+
+
+ }
];
const waitCol = [
diff --git a/web/client/src/sections/homePage/containers/index.less b/web/client/src/sections/homePage/containers/index.less
index 0f0d251..221efe9 100644
--- a/web/client/src/sections/homePage/containers/index.less
+++ b/web/client/src/sections/homePage/containers/index.less
@@ -130,13 +130,18 @@ justify-content: space-between;
text-align: left;
padding: 5px;
.ant-table-tbody > tr > td{
-
background-color: #ffffff !important;
-
- }
+ }
+ .ant-col-offset-6{
+ margin-left: -12%;
+ }
.ant-pro-card-body{
padding: 0px 24px 0 24px !important;
}
+.ant-table-column-sorter-inner{
+ display: none !important;
+}
+
&-point {
width: 14px;
height: 14px;
@@ -168,4 +173,7 @@ justify-content: space-between;
.cell-class {
background-color: skyblue;
+}
+.ant-tooltip-content{
+ display: none !important;
}
\ No newline at end of file