Archer_cdm 2 years ago
parent
commit
8ef9ec433e
  1. 2
      api/config.js
  2. 6
      web/client/src/sections/humanAffairs/containers/resourceRepository.jsx
  3. 8
      web/client/src/sections/humanAffairs/style.less

2
api/config.js

@ -88,7 +88,7 @@ const product = {
accessKey: QINIU_AK,
secretKey: QINIU_SK
},
maxSize: 104857600, // 100M
maxSize: 209715200, // 200M
}
}, {
entry: require('./app').entry,

6
web/client/src/sections/humanAffairs/containers/resourceRepository.jsx

@ -59,9 +59,11 @@ const ResourceRepository = (props) => {
<a href={'/_file-server/' + record.attachPath + '?filename=' + encodeURIComponent(record.fileName + record.fileType)}>下载</a>
{currentSelect.includes("公司培训资料") &&
<Popconfirm
style={{ minWidth: "max-content" }}
title="提示"
content="确认删除该文件?"
onConfirm={() => { handleDelFile(record.id) }}
position={"leftBottom"}
>
<a style={{ cursor: 'pointer' }}>删除</a>
</Popconfirm>}
@ -281,7 +283,9 @@ const ResourceRepository = (props) => {
onChange={(data) => { setDataRange(data) }}
onClear={() => { setDataRange(null) }}
/>
<Button onClick={handleSearch}>搜索</Button>
<Button theme='solid' type='primary' style={{ width: 80, borderRadius: 2, height: 32, background: '#DBECFF', color: '#005ABD' }}
onClick={() => handleSearch()}
>查询</Button>
</Space>
</Row>
<Table

8
web/client/src/sections/humanAffairs/style.less

@ -24,18 +24,19 @@
margin-bottom: 20px;
}
.semi-tree-option-list-block .semi-tree-option:hover{
.semi-tree-option-list-block .semi-tree-option:hover {
.tree-icon {
opacity: 1;
-webkit-transition: opacity 0.2s;
}
}
.semi-tree-option-list-block .semi-tree-option{
.semi-tree-option-list-block .semi-tree-option {
.tree-icon {
padding-left: 6px;
opacity: 0;
-webkit-transition: opacity 0.1s 0.2s;
.semi-icon {
padding-left: 6px;
}
@ -56,7 +57,6 @@
font-size: 14px;
}
}
// .semi-input-wrapper {
// margin-bottom: 20px;
// }

Loading…
Cancel
Save