Merge branch 'master' into feature/2.9.42310.01-薪资项目拓扑图
This commit is contained in:
commit
1dd9bc997b
|
|
@ -54,6 +54,24 @@
|
||||||
<div class="content unicode" style="display: block;">
|
<div class="content unicode" style="display: block;">
|
||||||
<ul class="icon_lists dib-box">
|
<ul class="icon_lists dib-box">
|
||||||
|
|
||||||
|
<li class="dib">
|
||||||
|
<span class="icon iconfont"></span>
|
||||||
|
<div class="name">export</div>
|
||||||
|
<div class="code-name">&#xe61e;</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="dib">
|
||||||
|
<span class="icon iconfont"></span>
|
||||||
|
<div class="name">对比</div>
|
||||||
|
<div class="code-name">&#xe617;</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="dib">
|
||||||
|
<span class="icon iconfont"></span>
|
||||||
|
<div class="name">import</div>
|
||||||
|
<div class="code-name">&#xe73a;</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="dib">
|
<li class="dib">
|
||||||
<span class="icon iconfont"></span>
|
<span class="icon iconfont"></span>
|
||||||
<div class="name">error</div>
|
<div class="name">error</div>
|
||||||
|
|
@ -186,9 +204,9 @@
|
||||||
<pre><code class="language-css"
|
<pre><code class="language-css"
|
||||||
>@font-face {
|
>@font-face {
|
||||||
font-family: 'iconfont';
|
font-family: 'iconfont';
|
||||||
src: url('iconfont.woff2?t=1723796605504') format('woff2'),
|
src: url('iconfont.woff2?t=1741245710478') format('woff2'),
|
||||||
url('iconfont.woff?t=1723796605504') format('woff'),
|
url('iconfont.woff?t=1741245710478') format('woff'),
|
||||||
url('iconfont.ttf?t=1723796605504') format('truetype');
|
url('iconfont.ttf?t=1741245710478') format('truetype');
|
||||||
}
|
}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
|
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
|
||||||
|
|
@ -214,6 +232,33 @@
|
||||||
<div class="content font-class">
|
<div class="content font-class">
|
||||||
<ul class="icon_lists dib-box">
|
<ul class="icon_lists dib-box">
|
||||||
|
|
||||||
|
<li class="dib">
|
||||||
|
<span class="icon iconfont icon-export"></span>
|
||||||
|
<div class="name">
|
||||||
|
export
|
||||||
|
</div>
|
||||||
|
<div class="code-name">.icon-export
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="dib">
|
||||||
|
<span class="icon iconfont icon-duibi"></span>
|
||||||
|
<div class="name">
|
||||||
|
对比
|
||||||
|
</div>
|
||||||
|
<div class="code-name">.icon-duibi
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="dib">
|
||||||
|
<span class="icon iconfont icon-import"></span>
|
||||||
|
<div class="name">
|
||||||
|
import
|
||||||
|
</div>
|
||||||
|
<div class="code-name">.icon-import
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="dib">
|
<li class="dib">
|
||||||
<span class="icon iconfont icon-error"></span>
|
<span class="icon iconfont icon-error"></span>
|
||||||
<div class="name">
|
<div class="name">
|
||||||
|
|
@ -412,6 +457,30 @@
|
||||||
<div class="content symbol">
|
<div class="content symbol">
|
||||||
<ul class="icon_lists dib-box">
|
<ul class="icon_lists dib-box">
|
||||||
|
|
||||||
|
<li class="dib">
|
||||||
|
<svg class="icon svg-icon" aria-hidden="true">
|
||||||
|
<use xlink:href="#icon-export"></use>
|
||||||
|
</svg>
|
||||||
|
<div class="name">export</div>
|
||||||
|
<div class="code-name">#icon-export</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="dib">
|
||||||
|
<svg class="icon svg-icon" aria-hidden="true">
|
||||||
|
<use xlink:href="#icon-duibi"></use>
|
||||||
|
</svg>
|
||||||
|
<div class="name">对比</div>
|
||||||
|
<div class="code-name">#icon-duibi</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="dib">
|
||||||
|
<svg class="icon svg-icon" aria-hidden="true">
|
||||||
|
<use xlink:href="#icon-import"></use>
|
||||||
|
</svg>
|
||||||
|
<div class="name">import</div>
|
||||||
|
<div class="code-name">#icon-import</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="dib">
|
<li class="dib">
|
||||||
<svg class="icon svg-icon" aria-hidden="true">
|
<svg class="icon svg-icon" aria-hidden="true">
|
||||||
<use xlink:href="#icon-error"></use>
|
<use xlink:href="#icon-error"></use>
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "iconfont"; /* Project id 4257468 */
|
font-family: "iconfont"; /* Project id 4257468 */
|
||||||
src: url('iconfont.woff2?t=1723796605504') format('woff2'),
|
src: url('iconfont.woff2?t=1741245710478') format('woff2'),
|
||||||
url('iconfont.woff?t=1723796605504') format('woff'),
|
url('iconfont.woff?t=1741245710478') format('woff'),
|
||||||
url('iconfont.ttf?t=1723796605504') format('truetype');
|
url('iconfont.ttf?t=1741245710478') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
.iconfont {
|
.iconfont {
|
||||||
|
|
@ -13,6 +13,18 @@
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-export:before {
|
||||||
|
content: "\e61e";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-duibi:before {
|
||||||
|
content: "\e617";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-import:before {
|
||||||
|
content: "\e73a";
|
||||||
|
}
|
||||||
|
|
||||||
.icon-error:before {
|
.icon-error:before {
|
||||||
content: "\e6c6";
|
content: "\e6c6";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -5,6 +5,27 @@
|
||||||
"css_prefix_text": "icon-",
|
"css_prefix_text": "icon-",
|
||||||
"description": "",
|
"description": "",
|
||||||
"glyphs": [
|
"glyphs": [
|
||||||
|
{
|
||||||
|
"icon_id": "10124054",
|
||||||
|
"name": "export",
|
||||||
|
"font_class": "export",
|
||||||
|
"unicode": "e61e",
|
||||||
|
"unicode_decimal": 58910
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "18272183",
|
||||||
|
"name": "对比",
|
||||||
|
"font_class": "duibi",
|
||||||
|
"unicode": "e617",
|
||||||
|
"unicode_decimal": 58903
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "19300598",
|
||||||
|
"name": "import",
|
||||||
|
"font_class": "import",
|
||||||
|
"unicode": "e73a",
|
||||||
|
"unicode_decimal": 59194
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"icon_id": "6652504",
|
"icon_id": "6652504",
|
||||||
"name": "error",
|
"name": "error",
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -61,7 +61,7 @@ const calcFixedTotal: FunctionComponent<Props> = (props) => {
|
||||||
return <Table.Summary.Cell index={index + 1} key={index + 1} align={_.head(columns)?.align || "left"}>
|
return <Table.Summary.Cell index={index + 1} key={index + 1} align={_.head(columns)?.align || "left"}>
|
||||||
{
|
{
|
||||||
loading ? <Spin spinning={loading} size="small"></Spin> :
|
loading ? <Spin spinning={loading} size="small"></Spin> :
|
||||||
<Text type="danger">{!_.isNil(sumRow[item.dataIndex]) ? sumRow[item.dataIndex] : "-"}</Text>
|
<Text type="danger">{(sumRow && !_.isNil(sumRow[item.dataIndex])) ? sumRow[item.dataIndex] : "-"}</Text>
|
||||||
}
|
}
|
||||||
</Table.Summary.Cell>;
|
</Table.Summary.Cell>;
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -244,9 +244,9 @@ const index: FunctionComponent<Props> = (props) => {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
const rowSelection = {
|
const rowSelection = {
|
||||||
columnWidth: 60,
|
columnWidth: 50,
|
||||||
columnTitle: isDetailTable && !showTotalCell ? "序号" : "",
|
columnTitle: isDetailTable ? "序号" : "",
|
||||||
renderCell: (value: boolean, record: any, index: number, originNode: React.ReactNode) => (isDetailTable && !showTotalCell ? <span>{index + 1}</span> : originNode),
|
renderCell: (value: boolean, record: any, index: number, originNode: React.ReactNode) => (isDetailTable ? <span>{index + 1}</span> : originNode),
|
||||||
selectedRowKeys,
|
selectedRowKeys,
|
||||||
preserveSelectedRowKeys: true,
|
preserveSelectedRowKeys: true,
|
||||||
onChange: (rowKeys: React.Key[]) => {
|
onChange: (rowKeys: React.Key[]) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue