@bit-sun/business-component 4.0.13-alpha.21 → 4.0.13-alpha.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Business/DetailPageWrapper/index.d.ts +6 -0
- package/dist/index.esm.js +62 -23
- package/dist/index.js +62 -23
- package/package.json +1 -1
- package/src/assets/btn-cancel.svg +3 -0
- package/src/assets/btn-copy.svg +3 -0
- package/src/assets/btn-delete.svg +2 -29
- package/src/assets/btn-edit.svg +2 -19
- package/src/assets/btn-hangUp.svg +3 -0
- package/src/assets/btn-print.svg +3 -0
- package/src/assets/btn-refresh.svg +3 -0
- package/src/assets/btn-unhook.svg +3 -0
- package/src/components/Business/DetailPageWrapper/index.less +1 -1
- package/src/components/Business/DetailPageWrapper/index.tsx +24 -5
- package/src/components/Business/DetailPageWrapper/utils.tsx +7 -4
|
@@ -5,6 +5,12 @@ export declare const iconMap: {
|
|
|
5
5
|
delete: React.JSX.Element;
|
|
6
6
|
submit: React.JSX.Element;
|
|
7
7
|
more: React.JSX.Element;
|
|
8
|
+
hangUp: React.JSX.Element;
|
|
9
|
+
unhook: React.JSX.Element;
|
|
10
|
+
refresh: React.JSX.Element;
|
|
11
|
+
print: React.JSX.Element;
|
|
12
|
+
copy: React.JSX.Element;
|
|
13
|
+
cancel: React.JSX.Element;
|
|
8
14
|
};
|
|
9
15
|
declare const _default: (props: any) => React.JSX.Element;
|
|
10
16
|
export default _default;
|
package/dist/index.esm.js
CHANGED
|
@@ -16135,11 +16135,18 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
|
|
|
16135
16135
|
return false;
|
|
16136
16136
|
};
|
|
16137
16137
|
var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
|
|
16138
|
-
var _ref, _ref$applicationList, _ref$applicationList$;
|
|
16139
16138
|
var routerMap = {};
|
|
16140
16139
|
var _flattenMenuData2 = function flattenMenuData(data, parent) {
|
|
16141
16140
|
var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
|
|
16142
16141
|
data.forEach(function (menuItem) {
|
|
16142
|
+
// 面包屑路径,增加显示一级导航路径显示
|
|
16143
|
+
if (parent.isMenuRoot) {
|
|
16144
|
+
var _ref, _ref$applicationList, _ref$applicationList$;
|
|
16145
|
+
var newList = ((_ref = window.top || window) === null || _ref === void 0 ? void 0 : (_ref$applicationList = _ref.applicationList) === null || _ref$applicationList === void 0 ? void 0 : (_ref$applicationList$ = _ref$applicationList.filter) === null || _ref$applicationList$ === void 0 ? void 0 : _ref$applicationList$.call(_ref$applicationList, function (app) {
|
|
16146
|
+
return app.code === menuItem.belongAppCode;
|
|
16147
|
+
})) || [];
|
|
16148
|
+
pNameMap = newList.length > 0 ? [newList[0].name] : [];
|
|
16149
|
+
}
|
|
16143
16150
|
var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
|
|
16144
16151
|
nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
|
|
16145
16152
|
});
|
|
@@ -16150,14 +16157,9 @@ var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
|
|
|
16150
16157
|
routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
|
|
16151
16158
|
});
|
|
16152
16159
|
};
|
|
16153
|
-
|
|
16154
|
-
|
|
16155
|
-
|
|
16156
|
-
})) || [];
|
|
16157
|
-
var appChannelParent = newList.length > 0 ? {
|
|
16158
|
-
nameMap: [newList[0].name]
|
|
16159
|
-
} : {};
|
|
16160
|
-
_flattenMenuData2(menuData, appChannelParent);
|
|
16160
|
+
_flattenMenuData2(menuData, {
|
|
16161
|
+
isMenuRoot: true
|
|
16162
|
+
});
|
|
16161
16163
|
return routerMap;
|
|
16162
16164
|
};
|
|
16163
16165
|
// mode类型判断
|
|
@@ -16218,21 +16220,33 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
|
|
|
16218
16220
|
return undefined;
|
|
16219
16221
|
};
|
|
16220
16222
|
|
|
16221
|
-
var css_248z$f = ".bs_detail_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.detail_page_head {\n height: 32px;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n font-weight: 500;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_pre:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n}\n.back_home_img_content {\n display: inline-block;\n height: 16px;\n width: 16px;\n border: 1px solid #BABABA;\n margin: 0 8px 0 10px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005cff;\n border: 1px solid #005cff;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 14px;\n padding-right: 10px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n display: none;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 24px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0
|
|
16223
|
+
var css_248z$f = ".bs_detail_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.detail_page_head {\n height: 32px;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n font-weight: 500;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_pre:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n}\n.back_home_img_content {\n display: inline-block;\n height: 16px;\n width: 16px;\n border: 1px solid #BABABA;\n margin: 0 8px 0 10px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005cff;\n border: 1px solid #005cff;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 14px;\n padding-right: 10px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n display: none;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 24px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 2px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
|
|
16222
16224
|
styleInject(css_248z$f);
|
|
16223
16225
|
|
|
16224
16226
|
var quanping = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2234px%22%20height%3D%2234px%22%20viewBox%3D%220%200%2034%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%9F%A9%E5%BD%A2%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E6%90%9C%E7%B4%A2-%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%28-1823.000000%2C%20-297.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%90%9C%E7%B4%A2%E7%BB%84%E4%BB%B6-%E6%A0%B7%E5%BC%8F%E4%B8%80%22%20transform%3D%22translate%28230.000000%2C%20284.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%A1%AE%E5%AE%9A%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%281593.000000%2C%2013.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.55801813%2C1%20L28.4419819%2C1%20C30.0269041%2C1%2030.6016352%2C1.16502331%2031.181059%2C1.47490258%20C31.7604829%2C1.78478186%2032.2152181%2C2.2395171%2032.5250974%2C2.81894097%20C32.8349767%2C3.39836484%2033%2C3.97309593%2033%2C5.55801813%20L33%2C28.4419819%20C33%2C30.0269041%2032.8349767%2C30.6016352%2032.5250974%2C31.181059%20C32.2152181%2C31.7604829%2031.7604829%2C32.2152181%2031.181059%2C32.5250974%20C30.6016352%2C32.8349767%2030.0269041%2C33%2028.4419819%2C33%20L5.55801813%2C33%20C3.97309593%2C33%203.39836484%2C32.8349767%202.81894097%2C32.5250974%20C2.2395171%2C32.2152181%201.78478186%2C31.7604829%201.47490258%2C31.181059%20C1.16502331%2C30.6016352%201%2C30.0269041%201%2C28.4419819%20L1%2C5.55801813%20C1%2C3.97309593%201.16502331%2C3.39836484%201.47490258%2C2.81894097%20C1.78478186%2C2.2395171%202.2395171%2C1.78478186%202.81894097%2C1.47490258%20C3.39836484%2C1.16502331%203.97309593%2C1%205.55801813%2C1%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23D9D9D9%22%20stroke-width%3D%220.888888889%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22scanning%22%20transform%3D%22translate%289.000000%2C%209.000000%29%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.21873562%2C9.69278114%20L6.28954184%2C10.7432953%20L2.532%2C14.5%20L5.24949999%2C14.5%20L5.24949999%2C16%20L1.5%2C16%20C0.671572876%2C16%200%2C15.3284271%200%2C14.5%20L0%2C11%20L1.5%2C11%20L1.5%2C13.41%20L5.21873562%2C9.69278114%20Z%20M10.7898541%2C9.72266777%20L14.499%2C13.431%20L14.5%2C11%20L16%2C11%20L16%2C14.5%20C16%2C15.3284271%2015.3284271%2C16%2014.5%2C16%20L10.7495%2C16%20L10.7495%2C14.5%20L13.446%2C14.5%20L9.71904783%2C10.7731819%20L10.7898541%2C9.72266777%20Z%20M14.5%2C0%20C15.3284271%2C0%2016%2C0.671572876%2016%2C1.5%20L16%2C5%20L14.5%2C5%20L14.499%2C2.588%20L10.779708%2C6.3074783%20L9.71904783%2C5.24681813%20L13.465%2C1.5%20L10.75%2C1.5%20L10.75%2C0%20L14.5%2C0%20Z%20M5.25000001%2C0%20L5.25000001%2C1.5%20L2.567%2C1.5%20L6.31400442%2C5.24681813%20L5.25334424%2C6.3074783%20L1.5%2C2.554%20L1.5%2C5%20L0%2C5%20L0%2C1.5%20C0%2C0.671572876%200.671572876%2C0%201.5%2C0%20L5.25000001%2C0%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
16225
16227
|
|
|
16226
16228
|
var scanning = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2234px%22%20height%3D%2234px%22%20viewBox%3D%220%200%2034%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3Escanning%402x%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.55801813%2C-4.10857923e-16%20L27.4419819%2C1.84149388e-16%20C29.0269041%2C-1.06996098e-16%2029.6016352%2C0.165023309%2030.181059%2C0.474902584%20C30.7604829%2C0.78478186%2031.2152181%2C1.2395171%2031.5250974%2C1.81894097%20C31.8349767%2C2.39836484%2032%2C2.97309593%2032%2C4.55801813%20L32%2C27.4419819%20C32%2C29.0269041%2031.8349767%2C29.6016352%2031.5250974%2C30.181059%20C31.2152181%2C30.7604829%2030.7604829%2C31.2152181%2030.181059%2C31.5250974%20C29.6016352%2C31.8349767%2029.0269041%2C32%2027.4419819%2C32%20L4.55801813%2C32%20C2.97309593%2C32%202.39836484%2C31.8349767%201.81894097%2C31.5250974%20C1.2395171%2C31.2152181%200.78478186%2C30.7604829%200.474902584%2C30.181059%20C0.165023309%2C29.6016352%202.03054919e-16%2C29.0269041%20-3.49474794e-16%2C27.4419819%20L1.22766259e-16%2C4.55801813%20C-7.13307317e-17%2C2.97309593%200.165023309%2C2.39836484%200.474902584%2C1.81894097%20C0.78478186%2C1.2395171%201.2395171%2C0.78478186%201.81894097%2C0.474902584%20C2.39836484%2C0.165023309%202.97309593%2C2.38720285e-16%204.55801813%2C-4.10857923e-16%20Z%22%20id%3D%22path-1%22%3E%3C%2Fpath%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-63.000000%2C%20-69.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22scanning%22%20transform%3D%22translate%2864.244061%2C%2070.096401%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20stroke%3D%22%23D9D9D9%22%20stroke-width%3D%220.888888889%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20mask%3D%22url%28%23mask-2%29%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%288.000000%2C%208.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.21873562%2C9.69278114%20L6.28954184%2C10.7432953%20L2.532%2C14.4997811%20L5.24949999%2C14.5%20L5.24949999%2C16%20L1.5%2C16%20C0.671572876%2C16%200%2C15.3284271%200%2C14.5%20L0%2C11%20L1.5%2C11%20L1.5%2C13.4107811%20L5.21873562%2C9.69278114%20Z%22%20transform%3D%22translate%283.144771%2C%2012.846391%29%20scale%28-1%2C%20-1%29%20translate%28-3.144771%2C%20-12.846391%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M10.7898541%2C9.72266777%20L14.4990478%2C13.4326678%20L14.5%2C11%20L16%2C11%20L16%2C14.5%20C16%2C15.3284271%2015.3284271%2C16%2014.5%2C16%20L10.7495%2C16%20L10.7495%2C14.5%20L13.4460478%2C14.4996678%20L9.71904783%2C10.7731819%20L10.7898541%2C9.72266777%20Z%22%20transform%3D%22translate%2812.859524%2C%2012.861334%29%20scale%28-1%2C%20-1%29%20translate%28-12.859524%2C%20-12.861334%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M14.5%2C0%20C15.3284271%2C0%2016%2C0.671572876%2016%2C1.5%20L16%2C5%20L14.5%2C5%20L14.4990478%2C2.587%20L10.779708%2C6.3074783%20L9.71904783%2C5.24681813%20L13.4650478%2C1.5%20L10.75%2C1.5%20L10.75%2C0%20L14.5%2C0%20Z%22%20transform%3D%22translate%2812.859524%2C%203.153739%29%20scale%28-1%2C%20-1%29%20translate%28-12.859524%2C%20-3.153739%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.25000001%2C0%20L5.25000001%2C1.5%20L2.567%2C1.5%20L6.31400442%2C5.24681813%20L5.25334424%2C6.3074783%20L1.5%2C2.554%20L1.5%2C5%20L0%2C5%20L0%2C1.5%20C0%2C0.671572876%200.671572876%2C0%201.5%2C0%20L5.25000001%2C0%20Z%22%20transform%3D%22translate%283.157002%2C%203.153739%29%20scale%28-1%2C%20-1%29%20translate%28-3.157002%2C%20-3.153739%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
16227
16229
|
|
|
16228
|
-
var editIcon = "data:image/svg+xml,%
|
|
16230
|
+
var editIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M20%2C18.6652611%20L20%2C19.3979707%20L20%2C20%20L4%2C20%20L4%2C19.3979707%20L4%2C18.6652611%20L20%2C18.6652611%20Z%20M14.2960911%2C4.17633188%20C14.5275784%2C3.94122271%2014.9028913%2C3.94122271%2015.1343622%2C4.17633188%20L17.4163545%2C6.49402774%20C17.6478583%2C6.72913692%2017.6478583%2C7.11032182%2017.4163545%2C7.345431%20L8.43496158%2C16.4277085%20C8.36527571%2C16.4984893%208.27931305%2C16.550506%208.18485181%2C16.579052%20L4.93650384%2C17.560527%20C4.48520307%2C17.6968699%204.06507135%2C17.2701649%204.19933041%2C16.8118199%20L5.16568606%2C13.512649%20C5.19379224%2C13.4167098%205.24500766%2C13.3294022%205.31469813%2C13.2586261%20L14.2960911%2C4.17633188%20Z%20M20%2C16.1286246%20L20%2C16.8560691%20L20%2C17.4580984%20C19.2791568%2C17.4580984%2018.3492175%2C17.4580984%2017.2101821%2C17.4580984%20C16.0711466%2C17.4580984%2014.1650083%2C17.4580984%2011.4917673%2C17.4580984%20L11.4917673%2C16.8560691%20L11.4917673%2C16.1286246%20L20%2C16.1286246%20Z%20M6.25913831%2C14.002149%20L5.64777717%2C16.0893847%20L7.70287596%2C15.4684416%20L16.0610272%2C7.06564268%20L14.6173225%2C5.5993668%20L6.25913831%2C14.002149%20Z%22%20fill%3D%22%232C2C2C%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16229
16231
|
|
|
16230
16232
|
var submitIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2220px%22%20height%3D%2220px%22%20viewBox%3D%220%200%2020%2020%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%2013%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B6%E9%83%A8%E5%AF%BC%E8%88%AA%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9C%80%E6%96%B0%E6%A1%86%E6%9E%B6-%E4%B8%8B%E6%8B%89%E5%BC%8F%E5%B1%95%E5%BC%80%22%20transform%3D%22translate%28-1587.000000%2C%20-94.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-7%22%20transform%3D%22translate%28160.000000%2C%2050.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22tab%E5%AF%BC%E8%88%AA%E5%A4%87%E4%BB%BD-7%22%20transform%3D%22translate%280.000000%2C%2026.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-10%22%20transform%3D%22translate%281339.000000%2C%2012.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-5%22%20transform%3D%22translate%2878.000000%2C%200.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-4%22%20transform%3D%22translate%2810.000000%2C%206.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2220%22%20height%3D%2220%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M10%2C3%20C13.8660588%2C3%2017%2C6.13394117%2017%2C10%20C17%2C13.8660588%2013.8660588%2C17%2010%2C17%20C6.13394117%2C17%203%2C13.8660588%203%2C10%20C3%2C6.13394117%206.13394117%2C3%2010%2C3%20Z%20M10%2C4.23529412%20C6.8162353%2C4.23529412%204.23529412%2C6.81623528%204.23529412%2C10%20C4.23529412%2C13.1837647%206.81623528%2C15.7647059%2010%2C15.7647059%20C13.1837647%2C15.7647059%2015.7647059%2C13.1837647%2015.7647059%2C10%20C15.7647059%2C6.81623528%2013.1837647%2C4.23529412%2010%2C4.23529412%20Z%20M13.2628235%2C6.68735294%20L14.1489412%2C7.54794118%20L8.90223529%2C12.947%20L6.26117647%2C10.2071177%20L7.15058823%2C9.34982354%20L8.90594117%2C11.1706471%20L13.2628235%2C6.68735294%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
16231
16233
|
|
|
16232
|
-
var deleteIcon = "data:image/svg+xml,%
|
|
16234
|
+
var deleteIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M15.1363636%2C4%20C15.6886484%2C4%2016.1363636%2C4.44771525%2016.1363636%2C5%20L16.1363636%2C7.125%20L19%2C7.125%20L19%2C8.375%20L17.1292731%2C8.375%20L17.1292731%2C19%20C17.1292731%2C19.5522847%2016.6815579%2C20%2016.1292731%2C20%20L15.5%2C20%20L8.5%2C20%20L7.59090908%2C20%20C7.03862433%2C20%206.59090908%2C19.5522847%206.59090908%2C19%20L6.59090908%2C8.375%20L5%2C8.375%20L5%2C7.125%20L7.86363637%2C7.125%20L7.86363637%2C5%20C7.86363637%2C4.44771525%208.31135162%2C4%208.86363637%2C4%20Z%20M15.9375%2C8.375%20L7.8125%2C8.375%20L7.8125%2C18.75%20L15.9375%2C18.75%20L15.9375%2C8.375%20Z%20M10.9375%2C10.1875957%20L10.9375%2C17.093797%20L9.68749998%2C17.093797%20L9.68749998%2C10.1875957%20L10.9375%2C10.1875957%20Z%20M14.0625%2C10.1875957%20L14.0625%2C17.093797%20L12.8125%2C17.093797%20L12.8125%2C10.1875957%20L14.0625%2C10.1875957%20Z%20M14.9222156%2C5.25%20L9.0625%2C5.25%20L9.0625%2C7.125%20L14.9222156%2C7.125%20L14.9222156%2C5.25%20Z%22%20fill%3D%22%233E3E3E%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16233
16235
|
|
|
16234
16236
|
var moreIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2220px%22%20height%3D%2220px%22%20viewBox%3D%220%200%2020%2020%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%2014%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B6%E9%83%A8%E5%AF%BC%E8%88%AA%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9C%80%E6%96%B0%E6%A1%86%E6%9E%B6-%E4%B8%8B%E6%8B%89%E5%BC%8F%E5%B1%95%E5%BC%80%22%20transform%3D%22translate%28-1743.000000%2C%20-94.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-7%22%20transform%3D%22translate%28160.000000%2C%2050.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22tab%E5%AF%BC%E8%88%AA%E5%A4%87%E4%BB%BD-7%22%20transform%3D%22translate%280.000000%2C%2026.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-3%22%20transform%3D%22translate%281573.000000%2C%2012.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-2%22%20transform%3D%22translate%2810.000000%2C%206.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2220%22%20height%3D%2220%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%2810.500000%2C%2010.022232%29%20rotate%28-90.000000%29%20translate%28-10.500000%2C%20-10.022232%29%20%22%20points%3D%2214%204.9775377%2013.0224623%204%207%2010.0252289%2013.0220012%2016.0444635%2014%2015.0660036%208.95599763%2010.0247678%22%3E%3C%2Fpolygon%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
16235
16237
|
|
|
16238
|
+
var hangUpIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M11.7782857%2C3.00000016%20C12.3001619%2C2.99977385%2012.7937223%2C3.23470832%2013.1191658%2C3.63825843%20C13.4446093%2C4.04180854%2013.5664902%2C4.57002172%2013.4502857%2C5.07328132%20L17.112%2C8.69530544%20L18.8571429%2C8.69530544%20C19.1602474%2C8.69530544%2019.4509376%2C8.81440813%2019.6652649%2C9.02641228%20C19.8795922%2C9.23841643%2020%2C9.52595576%2020%2C9.82577491%20L20%2C18.8695305%20C20%2C19.4938716%2019.4883254%2C20.0000002%2018.8571429%2C20.0000002%20L5.14285714%2C20.0000002%20C4.51167457%2C20.0000002%204%2C19.4938716%204%2C18.8695305%20L4%2C9.82577491%20C4%2C9.52595576%204.12040781%2C9.23841643%204.3347351%2C9.02641228%20C4.54906239%2C8.81440813%204.83975258%2C8.69530544%205.14285714%2C8.69530544%20L6.48228571%2C8.69530544%20L10.1131428%2C5.10267352%20C9.98848601%2C4.59655451%2010.1052663%2C4.06183998%2010.4300197%2C3.65175481%20C10.7547732%2C3.24166964%2011.2516566%2C3.00147521%2011.7782857%2C3.00000016%20Z%20M18.8571429%2C9.82577491%20L5.14285714%2C9.82577491%20L5.14285714%2C18.8695305%20L18.8571429%2C18.8695305%20L18.8571429%2C9.82577491%20Z%20M6.85714285%2C16.6085916%20C7.17273414%2C16.6085916%207.42857143%2C16.8616558%207.42857143%2C17.1738264%20C7.42857143%2C17.4859969%207.17273414%2C17.7390611%206.85714285%2C17.7390611%20C6.54155156%2C17.7390611%206.28571427%2C17.4859969%206.28571427%2C17.1738264%20C6.28571427%2C16.8616558%206.54155156%2C16.6085916%206.85714285%2C16.6085916%20Z%20M17.1428571%2C16.6085916%20C17.4584484%2C16.6085916%2017.7142857%2C16.8616558%2017.7142857%2C17.1738264%20C17.7142857%2C17.4859969%2017.4584484%2C17.7390611%2017.1428571%2C17.7390611%20C16.8272659%2C17.7390611%2016.5714286%2C17.4859969%2016.5714286%2C17.1738264%20C16.5714286%2C16.8616558%2016.8272659%2C16.6085916%2017.1428571%2C16.6085916%20Z%20M13.9634286%2C11.4932173%20L14.7714286%2C12.2924592%20L12.7508571%2C14.2911292%20L14.7714286%2C16.2897992%20L13.9634286%2C17.0890411%20L11.9428571%2C15.0903712%20L9.92228571%2C17.0890411%20L9.11428572%2C16.2897992%20L11.1348571%2C14.2911292%20L9.11428572%2C12.2924592%20L9.92228571%2C11.4932173%20L11.9428571%2C13.4918874%20L13.9634286%2C11.4932173%20Z%20M17.1428571%2C11.0093764%20C17.4584484%2C11.0093764%2017.7142857%2C11.2624406%2017.7142857%2C11.5746112%20C17.7142857%2C11.8867817%2017.4584484%2C12.1398459%2017.1428571%2C12.1398459%20C16.9387054%2C12.1398459%2016.7500614%2C12.0321128%2016.6479855%2C11.8572285%20C16.5459096%2C11.6823443%2016.5459096%2C11.466878%2016.6479855%2C11.2919938%20C16.7500614%2C11.1171095%2016.9387054%2C11.0093764%2017.1428571%2C11.0093764%20Z%20M6.85714285%2C10.9562444%20C7.17273412%2C10.9562444%207.42857139%2C11.2093086%207.42857139%2C11.5214791%20C7.42857139%2C11.8336496%207.17273412%2C12.0867138%206.85714285%2C12.0867138%20C6.65299108%2C12.0867138%206.46434706%2C11.9789807%206.36227117%2C11.8040965%20C6.26019528%2C11.6292122%206.26019528%2C11.413746%206.36227117%2C11.2388617%20C6.46434706%2C11.0639775%206.65299108%2C10.9562444%206.85714285%2C10.9562444%20Z%20M12.8171429%2C6.04548504%20C12.5188904%2C6.27107685%2012.153742%2C6.39306307%2011.7782857%2C6.39253917%20C11.3977143%2C6.39253917%2011.0457143%2C6.269318%2010.7611429%2C6.06131161%20L8.09828571%2C8.69530544%20L15.4948571%2C8.69530544%20L12.8171429%2C6.04548504%20Z%22%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16239
|
+
|
|
16240
|
+
var unhookIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M12.5311653%2C14.5508817%20L12.5311653%2C13.2326256%20C13.3848238%2C13.1340808%2014.1752484%2C12.8138102%2014.8328817%2C12.3334044%20L15.8699187%2C13.3434885%20L16.7109304%2C12.5243349%20L15.6865402%2C11.5265689%20C16.3757904%2C10.6889382%2016.7741644%2C9.61110446%2016.7299006%2C8.4470441%20C16.6774618%2C7.32337401%2016.3287928%2C6.21824036%2015.4374714%2C5.33134433%20C14.5455357%2C4.44383708%2013.3572314%2C4.01010691%2012%2C4.00006849%20C10.8617886%2C3.99405125%209.8036016%2C4.3849051%208.98156004%2C5.02544626%20L7.95302618%2C4.00636936%20L7.11833784%2C4.8193639%20L8.1531951%2C5.85691795%20C7.69418947%2C6.44248923%207.27225519%2C7.38404803%207.27225519%2C8.11644273%20C7.79460882%2C8.20600257%208.14631127%2C8.25397686%208.54141325%2C8.32640711%20C8.62994081%2C7.83368313%208.83284993%2C7.16515696%209.11107938%2C6.7709778%20L13.9539295%2C11.4772965%20C13.5365854%2C11.7544537%2013.0496838%2C11.9453842%2012.5311653%2C12.0316109%20L11.8102981%2C12.0316109%20C11.5826558%2C12.0316109%2011.3929539%2C12.2163824%2011.3929539%2C12.4381082%20L11.3929539%2C14.5508817%20L5.70189702%2C14.5508817%20C5.31616983%2C14.5631998%205%2C14.8773113%205%2C15.2468543%20L5%2C19.3040274%20C5%2C19.6858885%205.32249322%2C20%205.7145438%2C20%20L18.2854562%2C20%20C18.6775068%2C20%2019%2C19.6858885%2019%2C19.3040274%20L19%2C15.2468543%20C18.9873532%2C14.8649932%2018.66486%2C14.5508817%2018.2791328%2C14.5508817%20L12.5311653%2C14.5508817%20Z%20M12.2339657%2C5.20122497%20C12.9096339%2C5.25166385%2013.5465163%2C5.36896496%2014.0643728%2C5.74187871%20C14.8744517%2C6.32522476%2015.491468%2C7.27667119%2015.5647596%2C8.30990061%20C15.6279936%2C9.17216756%2015.2818428%2C10.048397%2014.8012647%2C10.67662%20L9.86269195%2C5.86640232%20C10.5203252%2C5.3921555%2011.3486901%2C5.13963448%2012.2339657%2C5.20122497%20Z%20M17.8491418%2C18.8081647%20L6.15718157%2C18.8081647%20L6.15718157%2C18.3831903%20L6.15718157%2C16.2686664%20L6.15718157%2C15.843692%20L17.8491418%2C15.843692%20L17.8491418%2C16.2686664%20L17.8491418%2C18.3831903%20L17.8491418%2C18.8081647%20Z%22%20fill%3D%22%233E3E3E%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16241
|
+
|
|
16242
|
+
var refreshIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M18.94575%2C11.125%20C18.981625%2C11.4115625%2019%2C11.7038125%2019%2C12%20C19%2C15.8661875%2015.8661881%2C19%2012.0000014%2C19%20C10.1362517%2C19%208.44225205%2C18.2715625%207.1875023%2C17.08375%20L7.1875023%2C19%20L5.87500256%2C19%20L5.87544006%2C15.9375%20L5.87500256%2C14.625%20L10.2500017%2C14.625%20L10.2500017%2C15.9375%20L7.89625216%2C15.9375%20C8.93137696%2C17.016375%2010.3873767%2C17.6875%2012.0000014%2C17.6875%20C15.1412507%2C17.6875%2017.6875003%2C15.14125%2017.6875003%2C12%20C17.687583%2C11.7070512%2017.665205%2C11.4145273%2017.6205628%2C11.125%20L18.9461875%2C11.125%20L18.94575%2C11.125%20Z%20M18.1250002%2C5%20L18.1245627%2C8.06250001%20L18.1250002%2C9.375%20L13.750001%2C9.375%20L13.750001%2C8.06250001%20L16.1041881%2C8.06250001%20C15.0327104%2C6.9428839%2013.5497111%2C6.31054214%2012.0000014%2C6.3125%20C8.85875197%2C6.3125%206.31250247%2C8.85875%206.31250247%2C12%20C6.31250247%2C12.2975%206.33525247%2C12.5901875%206.37943996%2C12.875%20L5.05381521%2C12.875%20C5.01779256%2C12.5847275%204.99982051%2C12.2924991%205.00000135%2C12%20C5.00000135%2C8.1338125%208.13381462%2C5%2012.0000014%2C5%20C13.863751%2C5%2015.5581882%2C5.72887501%2016.8125004%2C6.91668749%20L16.8125004%2C5%20L18.1250002%2C5%20Z%22%20fill%3D%22%233E3E3E%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16243
|
+
|
|
16244
|
+
var printIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M9.66666666%2C13.1666667%20L9.66666666%2C17.8333333%20L14.3333333%2C17.8333333%20L14.3333333%2C13.1666667%20L9.66666666%2C13.1666667%20Z%20M15.5%2C15.5%20L17.8333333%2C15.5%20L17.8333333%2C9.66666666%20L6.16666666%2C9.66666666%20L6.16666666%2C15.5%20L8.5%2C15.5%20L8.5%2C13.1666667%20L7.33342263%2C13.1666667%20L7.33342263%2C12.5833333%20L7.33342263%2C12%20L16.6665774%2C12%20L16.6665774%2C12.5833333%20L16.6665774%2C13.1666667%20L15.5%2C13.1666667%20L15.5%2C15.5%20Z%20M8.5%2C16.6666667%20L6.16666666%2C16.6666667%20C5.52233446%2C16.6666667%205%2C16.1443322%205%2C15.5%20L5%2C9.66666666%20C5%2C9.02233446%205.52233446%2C8.5%206.16666666%2C8.5%20L8.5%2C8.5%20L8.5%2C6.16666666%20C8.5%2C5.52233446%209.02233446%2C5%209.66666666%2C5%20L14.3333333%2C5%20C14.9776655%2C5%2015.5%2C5.52233446%2015.5%2C6.16666666%20L15.5%2C8.5%20L17.8333333%2C8.5%20C18.4776655%2C8.5%2019%2C9.02233446%2019%2C9.66666666%20L19%2C15.5%20C19%2C16.1443322%2018.4776655%2C16.6666667%2017.8333333%2C16.6666667%20L15.5%2C16.6666667%20L15.5%2C17.8333333%20C15.5%2C18.4776655%2014.9776655%2C19%2014.3333333%2C19%20L9.66666666%2C19%20C9.02233446%2C19%208.5%2C18.4776655%208.5%2C17.8333333%20L8.5%2C16.6666667%20Z%20M14.3333333%2C8.5%20L14.3333333%2C6.16666666%20L9.66666666%2C6.16666666%20L9.66666666%2C8.5%20L14.3333333%2C8.5%20Z%22%20fill%3D%22%233E3E3E%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16245
|
+
|
|
16246
|
+
var copyIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M17.0909091%2C5%20L17.9987273%2C5.00011112%20C18.5509686%2C5.00011112%2018.9986659%2C5.44775865%2018.9987273%2C6.00000001%20L19%2C15.4545455%20C19.0000614%2C16.0068302%2018.5523959%2C16.4545952%2018.0001111%2C16.4546566%20C18.0000741%2C16.4546566%2018.000037%2C16.4546566%2018%2C16.4546566%20L17.1625%2C16.4545455%20L17.1625%2C16.4545455%20L17.0909091%2C16.4545455%20L16.4545455%2C16.4545455%20L16.4545455%2C18%20C16.4545455%2C18.5522847%2016.0068302%2C19%2015.4545455%2C19%20L14.6170455%2C19%20L14.6170455%2C19%20L14.5454546%2C19%20L6.90909091%2C19%20L6%2C19%20C5.44771525%2C19%205%2C18.5522847%205%2C18%20L5%2C9.45454545%20L5%2C9.45454545%20L5%2C8.54545454%20C5%2C7.99316979%205.44771525%2C7.54545454%206%2C7.54545454%20L7.54545454%2C7.54545454%20L7.54545454%2C7.54545454%20L7.54545454%2C6%20C7.54545454%2C5.44771525%207.99316979%2C5%208.54545454%2C5%20L9.38295454%2C5%20L9.38295454%2C5%20L9.45454545%2C5%20L17.0909091%2C5%20Z%20M14.5454546%2C8.68691666%20L6.90909091%2C8.68691666%20L6.16011512%2C8.68691666%20L6.16011512%2C16.7079008%20L6.16011512%2C17.8735523%20L7.16954857%2C17.8735523%20L14.2108223%2C17.8735523%20L15.3188691%2C17.8735523%20L15.3188691%2C16.7502891%20L15.3188691%2C8.68691666%20L14.5454546%2C8.68691666%20Z%20M13.5909091%2C14.8636364%20L13.5909091%2C15.5%20L7.86363635%2C15.5%20L7.86363635%2C14.8636364%20L7.86363635%2C14.2272727%20L13.5909091%2C14.2272727%20L13.5909091%2C14.8636364%20Z%20M9.45454545%2C6.07289387%20L8.72541673%2C6.07289387%20L8.72382583%2C7.54545454%20L15.4545455%2C7.54545454%20C16.0068302%2C7.54545454%2016.4545455%2C7.99316979%2016.4545455%2C8.54545454%20L16.4545455%2C9.38295454%20L16.4545455%2C9.38295454%20L16.4545455%2C9.45454545%20L16.4545455%2C15.1818184%20L17.0909091%2C15.1818184%20L17.8806016%2C15.1818184%20L17.8821925%2C6.07289387%20L9.45454545%2C6.07289387%20Z%20M13.5057337%2C11.3636082%20L13.5057337%2C12.0000281%20L13.5057337%2C12.3181818%20L7.94881173%2C12.3181818%20L7.94881173%2C12.0000281%20L7.94881173%2C11.3636082%20L7.94881173%2C11.0454545%20L13.5057337%2C11.0454545%20L13.5057337%2C11.3636082%20Z%22%20fill%3D%22%232E3033%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16247
|
+
|
|
16248
|
+
var cancelIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M13.0151021%2C14.4269183%20L14.851%2C16.345%20L16.7185097%2C14.458311%20L17.5242651%2C15.3033815%20L15.658%2C17.189%20L17.3956835%2C19.0040241%20L16.5899281%2C19.8189135%20L14.847%2C18.009%20L13.0004688%2C19.876736%20L12.1947134%2C19.0316656%20L14.037%2C17.168%20L12.2093467%2C15.2719887%20L13.0151021%2C14.4269183%20Z%20M12.0143885%2C5%20C12.2446043%2C5%2012.4460432%2C5.09054326%2012.618705%2C5.27162978%20L16.9640288%2C9.79879276%20C17.1366906%2C9.97987928%2017.2230216%2C10.1911469%2017.2230216%2C10.4325956%20L17.2230216%2C13.4312601%20L16.0719424%2C13.4312601%20L16.071%2C10.949%20L12.4172662%2C10.9758551%20C12.1870504%2C10.9758551%2011.9568345%2C10.8853119%2011.7841727%2C10.7042254%20C11.6115108%2C10.5231388%2011.5251799%2C10.2816901%2011.5251799%2C10.0402414%20L11.525%2C6.237%20L7.17985612%2C6.23742455%20L7.17985612%2C18.1287726%20L10.9496403%2C18.1287726%20L10.9496403%2C19.3360161%20L6.86330935%2C19.3360161%20C6.4028777%2C19.3360161%206%2C18.943662%206%2C18.4305835%20L6%2C5.9054326%20C6%2C5.42253521%206.37410072%2C5%206.86330935%2C5%20L12.0143885%2C5%20Z%20M12.676259%2C7.08249497%20L12.676259%2C9.76861167%20L15.2086331%2C9.73843058%20L12.676259%2C7.08249497%20Z%22%20fill%3D%22%23040000%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16249
|
+
|
|
16236
16250
|
var css_248z$g = "";
|
|
16237
16251
|
styleInject(css_248z$g);
|
|
16238
16252
|
|
|
@@ -16263,19 +16277,41 @@ var CommonAlert = (function (props) {
|
|
|
16263
16277
|
});
|
|
16264
16278
|
|
|
16265
16279
|
var _excluded$e = ["children"];
|
|
16280
|
+
var iconStyle = {
|
|
16281
|
+
width: 16,
|
|
16282
|
+
height: 16
|
|
16283
|
+
};
|
|
16266
16284
|
var iconMap = {
|
|
16267
|
-
edit: /*#__PURE__*/React$1.createElement("img", {
|
|
16285
|
+
edit: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
|
|
16268
16286
|
src: editIcon
|
|
16269
|
-
}),
|
|
16270
|
-
delete: /*#__PURE__*/React$1.createElement("img", {
|
|
16287
|
+
}, iconStyle)),
|
|
16288
|
+
delete: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
|
|
16271
16289
|
src: deleteIcon
|
|
16272
|
-
}),
|
|
16273
|
-
submit: /*#__PURE__*/React$1.createElement("img", {
|
|
16290
|
+
}, iconStyle)),
|
|
16291
|
+
submit: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
|
|
16274
16292
|
src: submitIcon
|
|
16275
|
-
}),
|
|
16276
|
-
more: /*#__PURE__*/React$1.createElement("img", {
|
|
16293
|
+
}, iconStyle)),
|
|
16294
|
+
more: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
|
|
16277
16295
|
src: moreIcon
|
|
16278
|
-
})
|
|
16296
|
+
}, iconStyle)),
|
|
16297
|
+
hangUp: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
|
|
16298
|
+
src: hangUpIcon
|
|
16299
|
+
}, iconStyle)),
|
|
16300
|
+
unhook: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
|
|
16301
|
+
src: unhookIcon
|
|
16302
|
+
}, iconStyle)),
|
|
16303
|
+
refresh: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
|
|
16304
|
+
src: refreshIcon
|
|
16305
|
+
}, iconStyle)),
|
|
16306
|
+
print: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
|
|
16307
|
+
src: printIcon
|
|
16308
|
+
}, iconStyle)),
|
|
16309
|
+
copy: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
|
|
16310
|
+
src: copyIcon
|
|
16311
|
+
}, iconStyle)),
|
|
16312
|
+
cancel: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
|
|
16313
|
+
src: cancelIcon
|
|
16314
|
+
}, iconStyle))
|
|
16279
16315
|
};
|
|
16280
16316
|
var index$3 = (function (props) {
|
|
16281
16317
|
var _useLocation = useLocation(),
|
|
@@ -16390,6 +16426,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
16390
16426
|
}
|
|
16391
16427
|
};
|
|
16392
16428
|
var renderPageActionList = function renderPageActionList(actionLists) {
|
|
16429
|
+
var _actionLists$;
|
|
16393
16430
|
var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
|
|
16394
16431
|
var visibleActions = actionLists.filter(function (action) {
|
|
16395
16432
|
return (action.visible && action.visible !== 'false' || judgeIsEmpty$1(action.visible)) && (!shouldUseAuth() || judgeIsEmpty$1(action.code) || authButton.filter(function (item) {
|
|
@@ -16397,9 +16434,10 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
16397
16434
|
}));
|
|
16398
16435
|
});
|
|
16399
16436
|
var renderButton = function renderButton(item, type) {
|
|
16400
|
-
return /*#__PURE__*/React$1.createElement(Button, {
|
|
16437
|
+
return /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
|
|
16401
16438
|
type: type || 'primary',
|
|
16402
16439
|
icon: item.icon ? iconMap[item.icon] : '',
|
|
16440
|
+
style: item.icon ? {} : {},
|
|
16403
16441
|
danger: item.name === '删除' ? true : false,
|
|
16404
16442
|
disabled: item.disabled,
|
|
16405
16443
|
onClick: function onClick() {
|
|
@@ -16409,9 +16447,10 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
16409
16447
|
doDetailPageAction(item.action);
|
|
16410
16448
|
}
|
|
16411
16449
|
}
|
|
16412
|
-
}, item.name);
|
|
16450
|
+
}, item === null || item === void 0 ? void 0 : item.buttomProps), item.name);
|
|
16413
16451
|
};
|
|
16414
|
-
|
|
16452
|
+
// 可在actionList第一项设置visibleActionCount,控制按钮几个开始显示更多,默认为3个
|
|
16453
|
+
if (visibleActions.length <= ((actionLists === null || actionLists === void 0 ? void 0 : (_actionLists$ = actionLists[0]) === null || _actionLists$ === void 0 ? void 0 : _actionLists$.visibleActionCount) || 3)) {
|
|
16415
16454
|
return visibleActions.map(function (item) {
|
|
16416
16455
|
return renderButton(item);
|
|
16417
16456
|
});
|
package/dist/index.js
CHANGED
|
@@ -16158,11 +16158,18 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
|
|
|
16158
16158
|
return false;
|
|
16159
16159
|
};
|
|
16160
16160
|
var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
|
|
16161
|
-
var _ref, _ref$applicationList, _ref$applicationList$;
|
|
16162
16161
|
var routerMap = {};
|
|
16163
16162
|
var _flattenMenuData2 = function flattenMenuData(data, parent) {
|
|
16164
16163
|
var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
|
|
16165
16164
|
data.forEach(function (menuItem) {
|
|
16165
|
+
// 面包屑路径,增加显示一级导航路径显示
|
|
16166
|
+
if (parent.isMenuRoot) {
|
|
16167
|
+
var _ref, _ref$applicationList, _ref$applicationList$;
|
|
16168
|
+
var newList = ((_ref = window.top || window) === null || _ref === void 0 ? void 0 : (_ref$applicationList = _ref.applicationList) === null || _ref$applicationList === void 0 ? void 0 : (_ref$applicationList$ = _ref$applicationList.filter) === null || _ref$applicationList$ === void 0 ? void 0 : _ref$applicationList$.call(_ref$applicationList, function (app) {
|
|
16169
|
+
return app.code === menuItem.belongAppCode;
|
|
16170
|
+
})) || [];
|
|
16171
|
+
pNameMap = newList.length > 0 ? [newList[0].name] : [];
|
|
16172
|
+
}
|
|
16166
16173
|
var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
|
|
16167
16174
|
nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
|
|
16168
16175
|
});
|
|
@@ -16173,14 +16180,9 @@ var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
|
|
|
16173
16180
|
routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
|
|
16174
16181
|
});
|
|
16175
16182
|
};
|
|
16176
|
-
|
|
16177
|
-
|
|
16178
|
-
|
|
16179
|
-
})) || [];
|
|
16180
|
-
var appChannelParent = newList.length > 0 ? {
|
|
16181
|
-
nameMap: [newList[0].name]
|
|
16182
|
-
} : {};
|
|
16183
|
-
_flattenMenuData2(menuData, appChannelParent);
|
|
16183
|
+
_flattenMenuData2(menuData, {
|
|
16184
|
+
isMenuRoot: true
|
|
16185
|
+
});
|
|
16184
16186
|
return routerMap;
|
|
16185
16187
|
};
|
|
16186
16188
|
// mode类型判断
|
|
@@ -16241,21 +16243,33 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
|
|
|
16241
16243
|
return undefined;
|
|
16242
16244
|
};
|
|
16243
16245
|
|
|
16244
|
-
var css_248z$f = ".bs_detail_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.detail_page_head {\n height: 32px;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n font-weight: 500;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_pre:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n}\n.back_home_img_content {\n display: inline-block;\n height: 16px;\n width: 16px;\n border: 1px solid #BABABA;\n margin: 0 8px 0 10px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005cff;\n border: 1px solid #005cff;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 14px;\n padding-right: 10px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n display: none;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 24px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0
|
|
16246
|
+
var css_248z$f = ".bs_detail_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.detail_page_head {\n height: 32px;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n font-weight: 500;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_pre:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n}\n.back_home_img_content {\n display: inline-block;\n height: 16px;\n width: 16px;\n border: 1px solid #BABABA;\n margin: 0 8px 0 10px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005cff;\n border: 1px solid #005cff;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 14px;\n padding-right: 10px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n display: none;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 24px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 2px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
|
|
16245
16247
|
styleInject(css_248z$f);
|
|
16246
16248
|
|
|
16247
16249
|
var quanping = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2234px%22%20height%3D%2234px%22%20viewBox%3D%220%200%2034%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%9F%A9%E5%BD%A2%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E6%90%9C%E7%B4%A2-%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%28-1823.000000%2C%20-297.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%90%9C%E7%B4%A2%E7%BB%84%E4%BB%B6-%E6%A0%B7%E5%BC%8F%E4%B8%80%22%20transform%3D%22translate%28230.000000%2C%20284.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%A1%AE%E5%AE%9A%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%281593.000000%2C%2013.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.55801813%2C1%20L28.4419819%2C1%20C30.0269041%2C1%2030.6016352%2C1.16502331%2031.181059%2C1.47490258%20C31.7604829%2C1.78478186%2032.2152181%2C2.2395171%2032.5250974%2C2.81894097%20C32.8349767%2C3.39836484%2033%2C3.97309593%2033%2C5.55801813%20L33%2C28.4419819%20C33%2C30.0269041%2032.8349767%2C30.6016352%2032.5250974%2C31.181059%20C32.2152181%2C31.7604829%2031.7604829%2C32.2152181%2031.181059%2C32.5250974%20C30.6016352%2C32.8349767%2030.0269041%2C33%2028.4419819%2C33%20L5.55801813%2C33%20C3.97309593%2C33%203.39836484%2C32.8349767%202.81894097%2C32.5250974%20C2.2395171%2C32.2152181%201.78478186%2C31.7604829%201.47490258%2C31.181059%20C1.16502331%2C30.6016352%201%2C30.0269041%201%2C28.4419819%20L1%2C5.55801813%20C1%2C3.97309593%201.16502331%2C3.39836484%201.47490258%2C2.81894097%20C1.78478186%2C2.2395171%202.2395171%2C1.78478186%202.81894097%2C1.47490258%20C3.39836484%2C1.16502331%203.97309593%2C1%205.55801813%2C1%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23D9D9D9%22%20stroke-width%3D%220.888888889%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22scanning%22%20transform%3D%22translate%289.000000%2C%209.000000%29%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.21873562%2C9.69278114%20L6.28954184%2C10.7432953%20L2.532%2C14.5%20L5.24949999%2C14.5%20L5.24949999%2C16%20L1.5%2C16%20C0.671572876%2C16%200%2C15.3284271%200%2C14.5%20L0%2C11%20L1.5%2C11%20L1.5%2C13.41%20L5.21873562%2C9.69278114%20Z%20M10.7898541%2C9.72266777%20L14.499%2C13.431%20L14.5%2C11%20L16%2C11%20L16%2C14.5%20C16%2C15.3284271%2015.3284271%2C16%2014.5%2C16%20L10.7495%2C16%20L10.7495%2C14.5%20L13.446%2C14.5%20L9.71904783%2C10.7731819%20L10.7898541%2C9.72266777%20Z%20M14.5%2C0%20C15.3284271%2C0%2016%2C0.671572876%2016%2C1.5%20L16%2C5%20L14.5%2C5%20L14.499%2C2.588%20L10.779708%2C6.3074783%20L9.71904783%2C5.24681813%20L13.465%2C1.5%20L10.75%2C1.5%20L10.75%2C0%20L14.5%2C0%20Z%20M5.25000001%2C0%20L5.25000001%2C1.5%20L2.567%2C1.5%20L6.31400442%2C5.24681813%20L5.25334424%2C6.3074783%20L1.5%2C2.554%20L1.5%2C5%20L0%2C5%20L0%2C1.5%20C0%2C0.671572876%200.671572876%2C0%201.5%2C0%20L5.25000001%2C0%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
16248
16250
|
|
|
16249
16251
|
var scanning = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2234px%22%20height%3D%2234px%22%20viewBox%3D%220%200%2034%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3Escanning%402x%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.55801813%2C-4.10857923e-16%20L27.4419819%2C1.84149388e-16%20C29.0269041%2C-1.06996098e-16%2029.6016352%2C0.165023309%2030.181059%2C0.474902584%20C30.7604829%2C0.78478186%2031.2152181%2C1.2395171%2031.5250974%2C1.81894097%20C31.8349767%2C2.39836484%2032%2C2.97309593%2032%2C4.55801813%20L32%2C27.4419819%20C32%2C29.0269041%2031.8349767%2C29.6016352%2031.5250974%2C30.181059%20C31.2152181%2C30.7604829%2030.7604829%2C31.2152181%2030.181059%2C31.5250974%20C29.6016352%2C31.8349767%2029.0269041%2C32%2027.4419819%2C32%20L4.55801813%2C32%20C2.97309593%2C32%202.39836484%2C31.8349767%201.81894097%2C31.5250974%20C1.2395171%2C31.2152181%200.78478186%2C30.7604829%200.474902584%2C30.181059%20C0.165023309%2C29.6016352%202.03054919e-16%2C29.0269041%20-3.49474794e-16%2C27.4419819%20L1.22766259e-16%2C4.55801813%20C-7.13307317e-17%2C2.97309593%200.165023309%2C2.39836484%200.474902584%2C1.81894097%20C0.78478186%2C1.2395171%201.2395171%2C0.78478186%201.81894097%2C0.474902584%20C2.39836484%2C0.165023309%202.97309593%2C2.38720285e-16%204.55801813%2C-4.10857923e-16%20Z%22%20id%3D%22path-1%22%3E%3C%2Fpath%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-63.000000%2C%20-69.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22scanning%22%20transform%3D%22translate%2864.244061%2C%2070.096401%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20stroke%3D%22%23D9D9D9%22%20stroke-width%3D%220.888888889%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20mask%3D%22url%28%23mask-2%29%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%288.000000%2C%208.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.21873562%2C9.69278114%20L6.28954184%2C10.7432953%20L2.532%2C14.4997811%20L5.24949999%2C14.5%20L5.24949999%2C16%20L1.5%2C16%20C0.671572876%2C16%200%2C15.3284271%200%2C14.5%20L0%2C11%20L1.5%2C11%20L1.5%2C13.4107811%20L5.21873562%2C9.69278114%20Z%22%20transform%3D%22translate%283.144771%2C%2012.846391%29%20scale%28-1%2C%20-1%29%20translate%28-3.144771%2C%20-12.846391%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M10.7898541%2C9.72266777%20L14.4990478%2C13.4326678%20L14.5%2C11%20L16%2C11%20L16%2C14.5%20C16%2C15.3284271%2015.3284271%2C16%2014.5%2C16%20L10.7495%2C16%20L10.7495%2C14.5%20L13.4460478%2C14.4996678%20L9.71904783%2C10.7731819%20L10.7898541%2C9.72266777%20Z%22%20transform%3D%22translate%2812.859524%2C%2012.861334%29%20scale%28-1%2C%20-1%29%20translate%28-12.859524%2C%20-12.861334%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M14.5%2C0%20C15.3284271%2C0%2016%2C0.671572876%2016%2C1.5%20L16%2C5%20L14.5%2C5%20L14.4990478%2C2.587%20L10.779708%2C6.3074783%20L9.71904783%2C5.24681813%20L13.4650478%2C1.5%20L10.75%2C1.5%20L10.75%2C0%20L14.5%2C0%20Z%22%20transform%3D%22translate%2812.859524%2C%203.153739%29%20scale%28-1%2C%20-1%29%20translate%28-12.859524%2C%20-3.153739%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.25000001%2C0%20L5.25000001%2C1.5%20L2.567%2C1.5%20L6.31400442%2C5.24681813%20L5.25334424%2C6.3074783%20L1.5%2C2.554%20L1.5%2C5%20L0%2C5%20L0%2C1.5%20C0%2C0.671572876%200.671572876%2C0%201.5%2C0%20L5.25000001%2C0%20Z%22%20transform%3D%22translate%283.157002%2C%203.153739%29%20scale%28-1%2C%20-1%29%20translate%28-3.157002%2C%20-3.153739%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
16250
16252
|
|
|
16251
|
-
var editIcon = "data:image/svg+xml,%
|
|
16253
|
+
var editIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M20%2C18.6652611%20L20%2C19.3979707%20L20%2C20%20L4%2C20%20L4%2C19.3979707%20L4%2C18.6652611%20L20%2C18.6652611%20Z%20M14.2960911%2C4.17633188%20C14.5275784%2C3.94122271%2014.9028913%2C3.94122271%2015.1343622%2C4.17633188%20L17.4163545%2C6.49402774%20C17.6478583%2C6.72913692%2017.6478583%2C7.11032182%2017.4163545%2C7.345431%20L8.43496158%2C16.4277085%20C8.36527571%2C16.4984893%208.27931305%2C16.550506%208.18485181%2C16.579052%20L4.93650384%2C17.560527%20C4.48520307%2C17.6968699%204.06507135%2C17.2701649%204.19933041%2C16.8118199%20L5.16568606%2C13.512649%20C5.19379224%2C13.4167098%205.24500766%2C13.3294022%205.31469813%2C13.2586261%20L14.2960911%2C4.17633188%20Z%20M20%2C16.1286246%20L20%2C16.8560691%20L20%2C17.4580984%20C19.2791568%2C17.4580984%2018.3492175%2C17.4580984%2017.2101821%2C17.4580984%20C16.0711466%2C17.4580984%2014.1650083%2C17.4580984%2011.4917673%2C17.4580984%20L11.4917673%2C16.8560691%20L11.4917673%2C16.1286246%20L20%2C16.1286246%20Z%20M6.25913831%2C14.002149%20L5.64777717%2C16.0893847%20L7.70287596%2C15.4684416%20L16.0610272%2C7.06564268%20L14.6173225%2C5.5993668%20L6.25913831%2C14.002149%20Z%22%20fill%3D%22%232C2C2C%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16252
16254
|
|
|
16253
16255
|
var submitIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2220px%22%20height%3D%2220px%22%20viewBox%3D%220%200%2020%2020%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%2013%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B6%E9%83%A8%E5%AF%BC%E8%88%AA%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9C%80%E6%96%B0%E6%A1%86%E6%9E%B6-%E4%B8%8B%E6%8B%89%E5%BC%8F%E5%B1%95%E5%BC%80%22%20transform%3D%22translate%28-1587.000000%2C%20-94.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-7%22%20transform%3D%22translate%28160.000000%2C%2050.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22tab%E5%AF%BC%E8%88%AA%E5%A4%87%E4%BB%BD-7%22%20transform%3D%22translate%280.000000%2C%2026.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-10%22%20transform%3D%22translate%281339.000000%2C%2012.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-5%22%20transform%3D%22translate%2878.000000%2C%200.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-4%22%20transform%3D%22translate%2810.000000%2C%206.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2220%22%20height%3D%2220%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M10%2C3%20C13.8660588%2C3%2017%2C6.13394117%2017%2C10%20C17%2C13.8660588%2013.8660588%2C17%2010%2C17%20C6.13394117%2C17%203%2C13.8660588%203%2C10%20C3%2C6.13394117%206.13394117%2C3%2010%2C3%20Z%20M10%2C4.23529412%20C6.8162353%2C4.23529412%204.23529412%2C6.81623528%204.23529412%2C10%20C4.23529412%2C13.1837647%206.81623528%2C15.7647059%2010%2C15.7647059%20C13.1837647%2C15.7647059%2015.7647059%2C13.1837647%2015.7647059%2C10%20C15.7647059%2C6.81623528%2013.1837647%2C4.23529412%2010%2C4.23529412%20Z%20M13.2628235%2C6.68735294%20L14.1489412%2C7.54794118%20L8.90223529%2C12.947%20L6.26117647%2C10.2071177%20L7.15058823%2C9.34982354%20L8.90594117%2C11.1706471%20L13.2628235%2C6.68735294%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
16254
16256
|
|
|
16255
|
-
var deleteIcon = "data:image/svg+xml,%
|
|
16257
|
+
var deleteIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M15.1363636%2C4%20C15.6886484%2C4%2016.1363636%2C4.44771525%2016.1363636%2C5%20L16.1363636%2C7.125%20L19%2C7.125%20L19%2C8.375%20L17.1292731%2C8.375%20L17.1292731%2C19%20C17.1292731%2C19.5522847%2016.6815579%2C20%2016.1292731%2C20%20L15.5%2C20%20L8.5%2C20%20L7.59090908%2C20%20C7.03862433%2C20%206.59090908%2C19.5522847%206.59090908%2C19%20L6.59090908%2C8.375%20L5%2C8.375%20L5%2C7.125%20L7.86363637%2C7.125%20L7.86363637%2C5%20C7.86363637%2C4.44771525%208.31135162%2C4%208.86363637%2C4%20Z%20M15.9375%2C8.375%20L7.8125%2C8.375%20L7.8125%2C18.75%20L15.9375%2C18.75%20L15.9375%2C8.375%20Z%20M10.9375%2C10.1875957%20L10.9375%2C17.093797%20L9.68749998%2C17.093797%20L9.68749998%2C10.1875957%20L10.9375%2C10.1875957%20Z%20M14.0625%2C10.1875957%20L14.0625%2C17.093797%20L12.8125%2C17.093797%20L12.8125%2C10.1875957%20L14.0625%2C10.1875957%20Z%20M14.9222156%2C5.25%20L9.0625%2C5.25%20L9.0625%2C7.125%20L14.9222156%2C7.125%20L14.9222156%2C5.25%20Z%22%20fill%3D%22%233E3E3E%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16256
16258
|
|
|
16257
16259
|
var moreIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2220px%22%20height%3D%2220px%22%20viewBox%3D%220%200%2020%2020%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%2014%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B6%E9%83%A8%E5%AF%BC%E8%88%AA%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9C%80%E6%96%B0%E6%A1%86%E6%9E%B6-%E4%B8%8B%E6%8B%89%E5%BC%8F%E5%B1%95%E5%BC%80%22%20transform%3D%22translate%28-1743.000000%2C%20-94.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-7%22%20transform%3D%22translate%28160.000000%2C%2050.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22tab%E5%AF%BC%E8%88%AA%E5%A4%87%E4%BB%BD-7%22%20transform%3D%22translate%280.000000%2C%2026.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-3%22%20transform%3D%22translate%281573.000000%2C%2012.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-2%22%20transform%3D%22translate%2810.000000%2C%206.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2220%22%20height%3D%2220%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%2810.500000%2C%2010.022232%29%20rotate%28-90.000000%29%20translate%28-10.500000%2C%20-10.022232%29%20%22%20points%3D%2214%204.9775377%2013.0224623%204%207%2010.0252289%2013.0220012%2016.0444635%2014%2015.0660036%208.95599763%2010.0247678%22%3E%3C%2Fpolygon%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
16258
16260
|
|
|
16261
|
+
var hangUpIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M11.7782857%2C3.00000016%20C12.3001619%2C2.99977385%2012.7937223%2C3.23470832%2013.1191658%2C3.63825843%20C13.4446093%2C4.04180854%2013.5664902%2C4.57002172%2013.4502857%2C5.07328132%20L17.112%2C8.69530544%20L18.8571429%2C8.69530544%20C19.1602474%2C8.69530544%2019.4509376%2C8.81440813%2019.6652649%2C9.02641228%20C19.8795922%2C9.23841643%2020%2C9.52595576%2020%2C9.82577491%20L20%2C18.8695305%20C20%2C19.4938716%2019.4883254%2C20.0000002%2018.8571429%2C20.0000002%20L5.14285714%2C20.0000002%20C4.51167457%2C20.0000002%204%2C19.4938716%204%2C18.8695305%20L4%2C9.82577491%20C4%2C9.52595576%204.12040781%2C9.23841643%204.3347351%2C9.02641228%20C4.54906239%2C8.81440813%204.83975258%2C8.69530544%205.14285714%2C8.69530544%20L6.48228571%2C8.69530544%20L10.1131428%2C5.10267352%20C9.98848601%2C4.59655451%2010.1052663%2C4.06183998%2010.4300197%2C3.65175481%20C10.7547732%2C3.24166964%2011.2516566%2C3.00147521%2011.7782857%2C3.00000016%20Z%20M18.8571429%2C9.82577491%20L5.14285714%2C9.82577491%20L5.14285714%2C18.8695305%20L18.8571429%2C18.8695305%20L18.8571429%2C9.82577491%20Z%20M6.85714285%2C16.6085916%20C7.17273414%2C16.6085916%207.42857143%2C16.8616558%207.42857143%2C17.1738264%20C7.42857143%2C17.4859969%207.17273414%2C17.7390611%206.85714285%2C17.7390611%20C6.54155156%2C17.7390611%206.28571427%2C17.4859969%206.28571427%2C17.1738264%20C6.28571427%2C16.8616558%206.54155156%2C16.6085916%206.85714285%2C16.6085916%20Z%20M17.1428571%2C16.6085916%20C17.4584484%2C16.6085916%2017.7142857%2C16.8616558%2017.7142857%2C17.1738264%20C17.7142857%2C17.4859969%2017.4584484%2C17.7390611%2017.1428571%2C17.7390611%20C16.8272659%2C17.7390611%2016.5714286%2C17.4859969%2016.5714286%2C17.1738264%20C16.5714286%2C16.8616558%2016.8272659%2C16.6085916%2017.1428571%2C16.6085916%20Z%20M13.9634286%2C11.4932173%20L14.7714286%2C12.2924592%20L12.7508571%2C14.2911292%20L14.7714286%2C16.2897992%20L13.9634286%2C17.0890411%20L11.9428571%2C15.0903712%20L9.92228571%2C17.0890411%20L9.11428572%2C16.2897992%20L11.1348571%2C14.2911292%20L9.11428572%2C12.2924592%20L9.92228571%2C11.4932173%20L11.9428571%2C13.4918874%20L13.9634286%2C11.4932173%20Z%20M17.1428571%2C11.0093764%20C17.4584484%2C11.0093764%2017.7142857%2C11.2624406%2017.7142857%2C11.5746112%20C17.7142857%2C11.8867817%2017.4584484%2C12.1398459%2017.1428571%2C12.1398459%20C16.9387054%2C12.1398459%2016.7500614%2C12.0321128%2016.6479855%2C11.8572285%20C16.5459096%2C11.6823443%2016.5459096%2C11.466878%2016.6479855%2C11.2919938%20C16.7500614%2C11.1171095%2016.9387054%2C11.0093764%2017.1428571%2C11.0093764%20Z%20M6.85714285%2C10.9562444%20C7.17273412%2C10.9562444%207.42857139%2C11.2093086%207.42857139%2C11.5214791%20C7.42857139%2C11.8336496%207.17273412%2C12.0867138%206.85714285%2C12.0867138%20C6.65299108%2C12.0867138%206.46434706%2C11.9789807%206.36227117%2C11.8040965%20C6.26019528%2C11.6292122%206.26019528%2C11.413746%206.36227117%2C11.2388617%20C6.46434706%2C11.0639775%206.65299108%2C10.9562444%206.85714285%2C10.9562444%20Z%20M12.8171429%2C6.04548504%20C12.5188904%2C6.27107685%2012.153742%2C6.39306307%2011.7782857%2C6.39253917%20C11.3977143%2C6.39253917%2011.0457143%2C6.269318%2010.7611429%2C6.06131161%20L8.09828571%2C8.69530544%20L15.4948571%2C8.69530544%20L12.8171429%2C6.04548504%20Z%22%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16262
|
+
|
|
16263
|
+
var unhookIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M12.5311653%2C14.5508817%20L12.5311653%2C13.2326256%20C13.3848238%2C13.1340808%2014.1752484%2C12.8138102%2014.8328817%2C12.3334044%20L15.8699187%2C13.3434885%20L16.7109304%2C12.5243349%20L15.6865402%2C11.5265689%20C16.3757904%2C10.6889382%2016.7741644%2C9.61110446%2016.7299006%2C8.4470441%20C16.6774618%2C7.32337401%2016.3287928%2C6.21824036%2015.4374714%2C5.33134433%20C14.5455357%2C4.44383708%2013.3572314%2C4.01010691%2012%2C4.00006849%20C10.8617886%2C3.99405125%209.8036016%2C4.3849051%208.98156004%2C5.02544626%20L7.95302618%2C4.00636936%20L7.11833784%2C4.8193639%20L8.1531951%2C5.85691795%20C7.69418947%2C6.44248923%207.27225519%2C7.38404803%207.27225519%2C8.11644273%20C7.79460882%2C8.20600257%208.14631127%2C8.25397686%208.54141325%2C8.32640711%20C8.62994081%2C7.83368313%208.83284993%2C7.16515696%209.11107938%2C6.7709778%20L13.9539295%2C11.4772965%20C13.5365854%2C11.7544537%2013.0496838%2C11.9453842%2012.5311653%2C12.0316109%20L11.8102981%2C12.0316109%20C11.5826558%2C12.0316109%2011.3929539%2C12.2163824%2011.3929539%2C12.4381082%20L11.3929539%2C14.5508817%20L5.70189702%2C14.5508817%20C5.31616983%2C14.5631998%205%2C14.8773113%205%2C15.2468543%20L5%2C19.3040274%20C5%2C19.6858885%205.32249322%2C20%205.7145438%2C20%20L18.2854562%2C20%20C18.6775068%2C20%2019%2C19.6858885%2019%2C19.3040274%20L19%2C15.2468543%20C18.9873532%2C14.8649932%2018.66486%2C14.5508817%2018.2791328%2C14.5508817%20L12.5311653%2C14.5508817%20Z%20M12.2339657%2C5.20122497%20C12.9096339%2C5.25166385%2013.5465163%2C5.36896496%2014.0643728%2C5.74187871%20C14.8744517%2C6.32522476%2015.491468%2C7.27667119%2015.5647596%2C8.30990061%20C15.6279936%2C9.17216756%2015.2818428%2C10.048397%2014.8012647%2C10.67662%20L9.86269195%2C5.86640232%20C10.5203252%2C5.3921555%2011.3486901%2C5.13963448%2012.2339657%2C5.20122497%20Z%20M17.8491418%2C18.8081647%20L6.15718157%2C18.8081647%20L6.15718157%2C18.3831903%20L6.15718157%2C16.2686664%20L6.15718157%2C15.843692%20L17.8491418%2C15.843692%20L17.8491418%2C16.2686664%20L17.8491418%2C18.3831903%20L17.8491418%2C18.8081647%20Z%22%20fill%3D%22%233E3E3E%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16264
|
+
|
|
16265
|
+
var refreshIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M18.94575%2C11.125%20C18.981625%2C11.4115625%2019%2C11.7038125%2019%2C12%20C19%2C15.8661875%2015.8661881%2C19%2012.0000014%2C19%20C10.1362517%2C19%208.44225205%2C18.2715625%207.1875023%2C17.08375%20L7.1875023%2C19%20L5.87500256%2C19%20L5.87544006%2C15.9375%20L5.87500256%2C14.625%20L10.2500017%2C14.625%20L10.2500017%2C15.9375%20L7.89625216%2C15.9375%20C8.93137696%2C17.016375%2010.3873767%2C17.6875%2012.0000014%2C17.6875%20C15.1412507%2C17.6875%2017.6875003%2C15.14125%2017.6875003%2C12%20C17.687583%2C11.7070512%2017.665205%2C11.4145273%2017.6205628%2C11.125%20L18.9461875%2C11.125%20L18.94575%2C11.125%20Z%20M18.1250002%2C5%20L18.1245627%2C8.06250001%20L18.1250002%2C9.375%20L13.750001%2C9.375%20L13.750001%2C8.06250001%20L16.1041881%2C8.06250001%20C15.0327104%2C6.9428839%2013.5497111%2C6.31054214%2012.0000014%2C6.3125%20C8.85875197%2C6.3125%206.31250247%2C8.85875%206.31250247%2C12%20C6.31250247%2C12.2975%206.33525247%2C12.5901875%206.37943996%2C12.875%20L5.05381521%2C12.875%20C5.01779256%2C12.5847275%204.99982051%2C12.2924991%205.00000135%2C12%20C5.00000135%2C8.1338125%208.13381462%2C5%2012.0000014%2C5%20C13.863751%2C5%2015.5581882%2C5.72887501%2016.8125004%2C6.91668749%20L16.8125004%2C5%20L18.1250002%2C5%20Z%22%20fill%3D%22%233E3E3E%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16266
|
+
|
|
16267
|
+
var printIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M9.66666666%2C13.1666667%20L9.66666666%2C17.8333333%20L14.3333333%2C17.8333333%20L14.3333333%2C13.1666667%20L9.66666666%2C13.1666667%20Z%20M15.5%2C15.5%20L17.8333333%2C15.5%20L17.8333333%2C9.66666666%20L6.16666666%2C9.66666666%20L6.16666666%2C15.5%20L8.5%2C15.5%20L8.5%2C13.1666667%20L7.33342263%2C13.1666667%20L7.33342263%2C12.5833333%20L7.33342263%2C12%20L16.6665774%2C12%20L16.6665774%2C12.5833333%20L16.6665774%2C13.1666667%20L15.5%2C13.1666667%20L15.5%2C15.5%20Z%20M8.5%2C16.6666667%20L6.16666666%2C16.6666667%20C5.52233446%2C16.6666667%205%2C16.1443322%205%2C15.5%20L5%2C9.66666666%20C5%2C9.02233446%205.52233446%2C8.5%206.16666666%2C8.5%20L8.5%2C8.5%20L8.5%2C6.16666666%20C8.5%2C5.52233446%209.02233446%2C5%209.66666666%2C5%20L14.3333333%2C5%20C14.9776655%2C5%2015.5%2C5.52233446%2015.5%2C6.16666666%20L15.5%2C8.5%20L17.8333333%2C8.5%20C18.4776655%2C8.5%2019%2C9.02233446%2019%2C9.66666666%20L19%2C15.5%20C19%2C16.1443322%2018.4776655%2C16.6666667%2017.8333333%2C16.6666667%20L15.5%2C16.6666667%20L15.5%2C17.8333333%20C15.5%2C18.4776655%2014.9776655%2C19%2014.3333333%2C19%20L9.66666666%2C19%20C9.02233446%2C19%208.5%2C18.4776655%208.5%2C17.8333333%20L8.5%2C16.6666667%20Z%20M14.3333333%2C8.5%20L14.3333333%2C6.16666666%20L9.66666666%2C6.16666666%20L9.66666666%2C8.5%20L14.3333333%2C8.5%20Z%22%20fill%3D%22%233E3E3E%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16268
|
+
|
|
16269
|
+
var copyIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M17.0909091%2C5%20L17.9987273%2C5.00011112%20C18.5509686%2C5.00011112%2018.9986659%2C5.44775865%2018.9987273%2C6.00000001%20L19%2C15.4545455%20C19.0000614%2C16.0068302%2018.5523959%2C16.4545952%2018.0001111%2C16.4546566%20C18.0000741%2C16.4546566%2018.000037%2C16.4546566%2018%2C16.4546566%20L17.1625%2C16.4545455%20L17.1625%2C16.4545455%20L17.0909091%2C16.4545455%20L16.4545455%2C16.4545455%20L16.4545455%2C18%20C16.4545455%2C18.5522847%2016.0068302%2C19%2015.4545455%2C19%20L14.6170455%2C19%20L14.6170455%2C19%20L14.5454546%2C19%20L6.90909091%2C19%20L6%2C19%20C5.44771525%2C19%205%2C18.5522847%205%2C18%20L5%2C9.45454545%20L5%2C9.45454545%20L5%2C8.54545454%20C5%2C7.99316979%205.44771525%2C7.54545454%206%2C7.54545454%20L7.54545454%2C7.54545454%20L7.54545454%2C7.54545454%20L7.54545454%2C6%20C7.54545454%2C5.44771525%207.99316979%2C5%208.54545454%2C5%20L9.38295454%2C5%20L9.38295454%2C5%20L9.45454545%2C5%20L17.0909091%2C5%20Z%20M14.5454546%2C8.68691666%20L6.90909091%2C8.68691666%20L6.16011512%2C8.68691666%20L6.16011512%2C16.7079008%20L6.16011512%2C17.8735523%20L7.16954857%2C17.8735523%20L14.2108223%2C17.8735523%20L15.3188691%2C17.8735523%20L15.3188691%2C16.7502891%20L15.3188691%2C8.68691666%20L14.5454546%2C8.68691666%20Z%20M13.5909091%2C14.8636364%20L13.5909091%2C15.5%20L7.86363635%2C15.5%20L7.86363635%2C14.8636364%20L7.86363635%2C14.2272727%20L13.5909091%2C14.2272727%20L13.5909091%2C14.8636364%20Z%20M9.45454545%2C6.07289387%20L8.72541673%2C6.07289387%20L8.72382583%2C7.54545454%20L15.4545455%2C7.54545454%20C16.0068302%2C7.54545454%2016.4545455%2C7.99316979%2016.4545455%2C8.54545454%20L16.4545455%2C9.38295454%20L16.4545455%2C9.38295454%20L16.4545455%2C9.45454545%20L16.4545455%2C15.1818184%20L17.0909091%2C15.1818184%20L17.8806016%2C15.1818184%20L17.8821925%2C6.07289387%20L9.45454545%2C6.07289387%20Z%20M13.5057337%2C11.3636082%20L13.5057337%2C12.0000281%20L13.5057337%2C12.3181818%20L7.94881173%2C12.3181818%20L7.94881173%2C12.0000281%20L7.94881173%2C11.3636082%20L7.94881173%2C11.0454545%20L13.5057337%2C11.0454545%20L13.5057337%2C11.3636082%20Z%22%20fill%3D%22%232E3033%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16270
|
+
|
|
16271
|
+
var cancelIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M13.0151021%2C14.4269183%20L14.851%2C16.345%20L16.7185097%2C14.458311%20L17.5242651%2C15.3033815%20L15.658%2C17.189%20L17.3956835%2C19.0040241%20L16.5899281%2C19.8189135%20L14.847%2C18.009%20L13.0004688%2C19.876736%20L12.1947134%2C19.0316656%20L14.037%2C17.168%20L12.2093467%2C15.2719887%20L13.0151021%2C14.4269183%20Z%20M12.0143885%2C5%20C12.2446043%2C5%2012.4460432%2C5.09054326%2012.618705%2C5.27162978%20L16.9640288%2C9.79879276%20C17.1366906%2C9.97987928%2017.2230216%2C10.1911469%2017.2230216%2C10.4325956%20L17.2230216%2C13.4312601%20L16.0719424%2C13.4312601%20L16.071%2C10.949%20L12.4172662%2C10.9758551%20C12.1870504%2C10.9758551%2011.9568345%2C10.8853119%2011.7841727%2C10.7042254%20C11.6115108%2C10.5231388%2011.5251799%2C10.2816901%2011.5251799%2C10.0402414%20L11.525%2C6.237%20L7.17985612%2C6.23742455%20L7.17985612%2C18.1287726%20L10.9496403%2C18.1287726%20L10.9496403%2C19.3360161%20L6.86330935%2C19.3360161%20C6.4028777%2C19.3360161%206%2C18.943662%206%2C18.4305835%20L6%2C5.9054326%20C6%2C5.42253521%206.37410072%2C5%206.86330935%2C5%20L12.0143885%2C5%20Z%20M12.676259%2C7.08249497%20L12.676259%2C9.76861167%20L15.2086331%2C9.73843058%20L12.676259%2C7.08249497%20Z%22%20fill%3D%22%23040000%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
16272
|
+
|
|
16259
16273
|
var css_248z$g = "";
|
|
16260
16274
|
styleInject(css_248z$g);
|
|
16261
16275
|
|
|
@@ -16286,19 +16300,41 @@ var CommonAlert = (function (props) {
|
|
|
16286
16300
|
});
|
|
16287
16301
|
|
|
16288
16302
|
var _excluded$e = ["children"];
|
|
16303
|
+
var iconStyle = {
|
|
16304
|
+
width: 16,
|
|
16305
|
+
height: 16
|
|
16306
|
+
};
|
|
16289
16307
|
var iconMap = {
|
|
16290
|
-
edit: /*#__PURE__*/React__default['default'].createElement("img", {
|
|
16308
|
+
edit: /*#__PURE__*/React__default['default'].createElement("img", _objectSpread2({
|
|
16291
16309
|
src: editIcon
|
|
16292
|
-
}),
|
|
16293
|
-
delete: /*#__PURE__*/React__default['default'].createElement("img", {
|
|
16310
|
+
}, iconStyle)),
|
|
16311
|
+
delete: /*#__PURE__*/React__default['default'].createElement("img", _objectSpread2({
|
|
16294
16312
|
src: deleteIcon
|
|
16295
|
-
}),
|
|
16296
|
-
submit: /*#__PURE__*/React__default['default'].createElement("img", {
|
|
16313
|
+
}, iconStyle)),
|
|
16314
|
+
submit: /*#__PURE__*/React__default['default'].createElement("img", _objectSpread2({
|
|
16297
16315
|
src: submitIcon
|
|
16298
|
-
}),
|
|
16299
|
-
more: /*#__PURE__*/React__default['default'].createElement("img", {
|
|
16316
|
+
}, iconStyle)),
|
|
16317
|
+
more: /*#__PURE__*/React__default['default'].createElement("img", _objectSpread2({
|
|
16300
16318
|
src: moreIcon
|
|
16301
|
-
})
|
|
16319
|
+
}, iconStyle)),
|
|
16320
|
+
hangUp: /*#__PURE__*/React__default['default'].createElement("img", _objectSpread2({
|
|
16321
|
+
src: hangUpIcon
|
|
16322
|
+
}, iconStyle)),
|
|
16323
|
+
unhook: /*#__PURE__*/React__default['default'].createElement("img", _objectSpread2({
|
|
16324
|
+
src: unhookIcon
|
|
16325
|
+
}, iconStyle)),
|
|
16326
|
+
refresh: /*#__PURE__*/React__default['default'].createElement("img", _objectSpread2({
|
|
16327
|
+
src: refreshIcon
|
|
16328
|
+
}, iconStyle)),
|
|
16329
|
+
print: /*#__PURE__*/React__default['default'].createElement("img", _objectSpread2({
|
|
16330
|
+
src: printIcon
|
|
16331
|
+
}, iconStyle)),
|
|
16332
|
+
copy: /*#__PURE__*/React__default['default'].createElement("img", _objectSpread2({
|
|
16333
|
+
src: copyIcon
|
|
16334
|
+
}, iconStyle)),
|
|
16335
|
+
cancel: /*#__PURE__*/React__default['default'].createElement("img", _objectSpread2({
|
|
16336
|
+
src: cancelIcon
|
|
16337
|
+
}, iconStyle))
|
|
16302
16338
|
};
|
|
16303
16339
|
var index$3 = (function (props) {
|
|
16304
16340
|
var _useLocation = umi.useLocation(),
|
|
@@ -16413,6 +16449,7 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
16413
16449
|
}
|
|
16414
16450
|
};
|
|
16415
16451
|
var renderPageActionList = function renderPageActionList(actionLists) {
|
|
16452
|
+
var _actionLists$;
|
|
16416
16453
|
var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
|
|
16417
16454
|
var visibleActions = actionLists.filter(function (action) {
|
|
16418
16455
|
return (action.visible && action.visible !== 'false' || judgeIsEmpty$1(action.visible)) && (!shouldUseAuth() || judgeIsEmpty$1(action.code) || authButton.filter(function (item) {
|
|
@@ -16420,9 +16457,10 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
16420
16457
|
}));
|
|
16421
16458
|
});
|
|
16422
16459
|
var renderButton = function renderButton(item, type) {
|
|
16423
|
-
return /*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
|
16460
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Button, _objectSpread2({
|
|
16424
16461
|
type: type || 'primary',
|
|
16425
16462
|
icon: item.icon ? iconMap[item.icon] : '',
|
|
16463
|
+
style: item.icon ? {} : {},
|
|
16426
16464
|
danger: item.name === '删除' ? true : false,
|
|
16427
16465
|
disabled: item.disabled,
|
|
16428
16466
|
onClick: function onClick() {
|
|
@@ -16432,9 +16470,10 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
16432
16470
|
doDetailPageAction(item.action);
|
|
16433
16471
|
}
|
|
16434
16472
|
}
|
|
16435
|
-
}, item.name);
|
|
16473
|
+
}, item === null || item === void 0 ? void 0 : item.buttomProps), item.name);
|
|
16436
16474
|
};
|
|
16437
|
-
|
|
16475
|
+
// 可在actionList第一项设置visibleActionCount,控制按钮几个开始显示更多,默认为3个
|
|
16476
|
+
if (visibleActions.length <= ((actionLists === null || actionLists === void 0 ? void 0 : (_actionLists$ = actionLists[0]) === null || _actionLists$ === void 0 ? void 0 : _actionLists$.visibleActionCount) || 3)) {
|
|
16438
16477
|
return visibleActions.map(function (item) {
|
|
16439
16478
|
return renderButton(item);
|
|
16440
16479
|
});
|
package/package.json
CHANGED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="design-iconfont" width="16" height="16">
|
|
2
|
+
<path d="M13.0151021,14.4269183 L14.851,16.345 L16.7185097,14.458311 L17.5242651,15.3033815 L15.658,17.189 L17.3956835,19.0040241 L16.5899281,19.8189135 L14.847,18.009 L13.0004688,19.876736 L12.1947134,19.0316656 L14.037,17.168 L12.2093467,15.2719887 L13.0151021,14.4269183 Z M12.0143885,5 C12.2446043,5 12.4460432,5.09054326 12.618705,5.27162978 L16.9640288,9.79879276 C17.1366906,9.97987928 17.2230216,10.1911469 17.2230216,10.4325956 L17.2230216,13.4312601 L16.0719424,13.4312601 L16.071,10.949 L12.4172662,10.9758551 C12.1870504,10.9758551 11.9568345,10.8853119 11.7841727,10.7042254 C11.6115108,10.5231388 11.5251799,10.2816901 11.5251799,10.0402414 L11.525,6.237 L7.17985612,6.23742455 L7.17985612,18.1287726 L10.9496403,18.1287726 L10.9496403,19.3360161 L6.86330935,19.3360161 C6.4028777,19.3360161 6,18.943662 6,18.4305835 L6,5.9054326 C6,5.42253521 6.37410072,5 6.86330935,5 L12.0143885,5 Z M12.676259,7.08249497 L12.676259,9.76861167 L15.2086331,9.73843058 L12.676259,7.08249497 Z" fill="#040000" fill-rule="nonzero"></path>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="design-iconfont" width="16" height="16">
|
|
2
|
+
<path d="M17.0909091,5 L17.9987273,5.00011112 C18.5509686,5.00011112 18.9986659,5.44775865 18.9987273,6.00000001 L19,15.4545455 C19.0000614,16.0068302 18.5523959,16.4545952 18.0001111,16.4546566 C18.0000741,16.4546566 18.000037,16.4546566 18,16.4546566 L17.1625,16.4545455 L17.1625,16.4545455 L17.0909091,16.4545455 L16.4545455,16.4545455 L16.4545455,18 C16.4545455,18.5522847 16.0068302,19 15.4545455,19 L14.6170455,19 L14.6170455,19 L14.5454546,19 L6.90909091,19 L6,19 C5.44771525,19 5,18.5522847 5,18 L5,9.45454545 L5,9.45454545 L5,8.54545454 C5,7.99316979 5.44771525,7.54545454 6,7.54545454 L7.54545454,7.54545454 L7.54545454,7.54545454 L7.54545454,6 C7.54545454,5.44771525 7.99316979,5 8.54545454,5 L9.38295454,5 L9.38295454,5 L9.45454545,5 L17.0909091,5 Z M14.5454546,8.68691666 L6.90909091,8.68691666 L6.16011512,8.68691666 L6.16011512,16.7079008 L6.16011512,17.8735523 L7.16954857,17.8735523 L14.2108223,17.8735523 L15.3188691,17.8735523 L15.3188691,16.7502891 L15.3188691,8.68691666 L14.5454546,8.68691666 Z M13.5909091,14.8636364 L13.5909091,15.5 L7.86363635,15.5 L7.86363635,14.8636364 L7.86363635,14.2272727 L13.5909091,14.2272727 L13.5909091,14.8636364 Z M9.45454545,6.07289387 L8.72541673,6.07289387 L8.72382583,7.54545454 L15.4545455,7.54545454 C16.0068302,7.54545454 16.4545455,7.99316979 16.4545455,8.54545454 L16.4545455,9.38295454 L16.4545455,9.38295454 L16.4545455,9.45454545 L16.4545455,15.1818184 L17.0909091,15.1818184 L17.8806016,15.1818184 L17.8821925,6.07289387 L9.45454545,6.07289387 Z M13.5057337,11.3636082 L13.5057337,12.0000281 L13.5057337,12.3181818 L7.94881173,12.3181818 L7.94881173,12.0000281 L7.94881173,11.3636082 L7.94881173,11.0454545 L13.5057337,11.0454545 L13.5057337,11.3636082 Z" fill="#2E3033" fill-rule="nonzero"></path>
|
|
3
|
+
</svg>
|
|
@@ -1,30 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
<
|
|
3
|
-
<title>筛选-状态一备份 2</title>
|
|
4
|
-
<defs>
|
|
5
|
-
<rect id="path-1" x="0" y="0" width="20" height="20"></rect>
|
|
6
|
-
</defs>
|
|
7
|
-
<g id="顶部导航" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
8
|
-
<g id="最新框架-下拉式展开" transform="translate(-1665.000000, -94.000000)">
|
|
9
|
-
<g id="编组-7" transform="translate(160.000000, 50.000000)">
|
|
10
|
-
<g id="tab导航备份-7" transform="translate(0.000000, 26.000000)">
|
|
11
|
-
<g id="编组-10" transform="translate(1339.000000, 12.000000)">
|
|
12
|
-
<g id="搜索三件套备份-5" transform="translate(156.000000, 0.000000)">
|
|
13
|
-
<g id="筛选-状态一" transform="translate(10.000000, 6.000000)">
|
|
14
|
-
<mask id="mask-2" fill="white">
|
|
15
|
-
<use xlink:href="#path-1"></use>
|
|
16
|
-
</mask>
|
|
17
|
-
<use id="蒙版" fill="#D8D8D8" opacity="0" xlink:href="#path-1"></use>
|
|
18
|
-
<g id="编组" mask="url(#mask-2)" fill="#FFFFFF" fill-rule="nonzero">
|
|
19
|
-
<g transform="translate(4.000000, 3.000000)" id="形状">
|
|
20
|
-
<path d="M2.994,4.13446555 L3.51440001,11.7596603 L8.6112,11.7596603 L9.13120001,4.13446555 L10.3332,4.13446555 L9.80800001,11.8468976 C9.76369693,12.4963619 9.24110169,12.9998762 8.6112,13 L3.51440001,13 C2.88435477,12.9998609 2.36170317,12.4961118 2.31760001,11.8464841 L1.7916,4.13446555 L2.994,4.13446555 Z M5.60600001,4.51855739 L5.60600001,10.3068092 L4.40600001,10.3068092 L4.40600001,4.51855739 L5.60600001,4.51855739 Z M7.8,4.51855739 L7.8,10.3068092 L6.6,10.3068092 L6.6,4.51855739 L7.8,4.51855739 Z M0,2.06723278 L12,2.06723278 L12,3.30757244 L0,3.30757244 L0,2.06723278 Z M8.50280001,0 L8.50280001,1.24033966 L3.70280001,1.24033966 L3.70280001,0 L8.50280001,0 Z"></path>
|
|
21
|
-
</g>
|
|
22
|
-
</g>
|
|
23
|
-
</g>
|
|
24
|
-
</g>
|
|
25
|
-
</g>
|
|
26
|
-
</g>
|
|
27
|
-
</g>
|
|
28
|
-
</g>
|
|
29
|
-
</g>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="design-iconfont" width="16" height="16">
|
|
2
|
+
<path d="M15.1363636,4 C15.6886484,4 16.1363636,4.44771525 16.1363636,5 L16.1363636,7.125 L19,7.125 L19,8.375 L17.1292731,8.375 L17.1292731,19 C17.1292731,19.5522847 16.6815579,20 16.1292731,20 L15.5,20 L8.5,20 L7.59090908,20 C7.03862433,20 6.59090908,19.5522847 6.59090908,19 L6.59090908,8.375 L5,8.375 L5,7.125 L7.86363637,7.125 L7.86363637,5 C7.86363637,4.44771525 8.31135162,4 8.86363637,4 Z M15.9375,8.375 L7.8125,8.375 L7.8125,18.75 L15.9375,18.75 L15.9375,8.375 Z M10.9375,10.1875957 L10.9375,17.093797 L9.68749998,17.093797 L9.68749998,10.1875957 L10.9375,10.1875957 Z M14.0625,10.1875957 L14.0625,17.093797 L12.8125,17.093797 L12.8125,10.1875957 L14.0625,10.1875957 Z M14.9222156,5.25 L9.0625,5.25 L9.0625,7.125 L14.9222156,7.125 L14.9222156,5.25 Z" fill="#3E3E3E" fill-rule="nonzero"></path>
|
|
30
3
|
</svg>
|
package/src/assets/btn-edit.svg
CHANGED
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
<
|
|
3
|
-
<title>编组 9</title>
|
|
4
|
-
<g id="顶部导航" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
-
<g id="最新框架-下拉式展开" transform="translate(-1509.000000, -94.000000)">
|
|
6
|
-
<g id="编组-7" transform="translate(160.000000, 50.000000)">
|
|
7
|
-
<g id="tab导航备份-7" transform="translate(0.000000, 26.000000)">
|
|
8
|
-
<g id="编组-10" transform="translate(1339.000000, 12.000000)">
|
|
9
|
-
<g id="编组-2" transform="translate(10.000000, 6.000000)">
|
|
10
|
-
<rect id="蒙版" fill="#D8D8D8" opacity="0" x="0" y="0" width="20" height="20"></rect>
|
|
11
|
-
<g id="编组" transform="translate(3.000000, 4.000000)" fill="#FFFFFF" fill-rule="nonzero">
|
|
12
|
-
<path d="M10.389993,0 L10.389993,1.3 L1.27053272,1.3 L1.27053272,10.8333333 L11.4347944,10.8333333 L11.4347944,6.06666667 L12.7053272,6.06666667 L12.7053272,10.8333333 C12.7053272,11.5513035 12.1364903,12.1333333 11.4347944,12.1333333 L1.27053272,12.1333333 C0.568836873,12.1333333 0,11.5513035 0,10.8333333 L0,1.3 C0,0.582029825 0.568836873,0 1.27053272,0 L10.389993,0 Z M13.1046979,0.492266673 L14,1.4144 L7.17639229,8.34686666 L7.17893335,8.34946666 L6.25398553,8.38153334 L6.28024322,7.42126667 L6.28193725,7.42343334 L13.1046979,0.492266673 L13.1046979,0.492266673 Z" id="形状"></path>
|
|
13
|
-
</g>
|
|
14
|
-
</g>
|
|
15
|
-
</g>
|
|
16
|
-
</g>
|
|
17
|
-
</g>
|
|
18
|
-
</g>
|
|
19
|
-
</g>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="design-iconfont" width="16" height="16">
|
|
2
|
+
<path d="M20,18.6652611 L20,19.3979707 L20,20 L4,20 L4,19.3979707 L4,18.6652611 L20,18.6652611 Z M14.2960911,4.17633188 C14.5275784,3.94122271 14.9028913,3.94122271 15.1343622,4.17633188 L17.4163545,6.49402774 C17.6478583,6.72913692 17.6478583,7.11032182 17.4163545,7.345431 L8.43496158,16.4277085 C8.36527571,16.4984893 8.27931305,16.550506 8.18485181,16.579052 L4.93650384,17.560527 C4.48520307,17.6968699 4.06507135,17.2701649 4.19933041,16.8118199 L5.16568606,13.512649 C5.19379224,13.4167098 5.24500766,13.3294022 5.31469813,13.2586261 L14.2960911,4.17633188 Z M20,16.1286246 L20,16.8560691 L20,17.4580984 C19.2791568,17.4580984 18.3492175,17.4580984 17.2101821,17.4580984 C16.0711466,17.4580984 14.1650083,17.4580984 11.4917673,17.4580984 L11.4917673,16.8560691 L11.4917673,16.1286246 L20,16.1286246 Z M6.25913831,14.002149 L5.64777717,16.0893847 L7.70287596,15.4684416 L16.0610272,7.06564268 L14.6173225,5.5993668 L6.25913831,14.002149 Z" fill="#2C2C2C" fill-rule="nonzero"></path>
|
|
20
3
|
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="design-iconfont" width="16" height="16">
|
|
2
|
+
<path d="M11.7782857,3.00000016 C12.3001619,2.99977385 12.7937223,3.23470832 13.1191658,3.63825843 C13.4446093,4.04180854 13.5664902,4.57002172 13.4502857,5.07328132 L17.112,8.69530544 L18.8571429,8.69530544 C19.1602474,8.69530544 19.4509376,8.81440813 19.6652649,9.02641228 C19.8795922,9.23841643 20,9.52595576 20,9.82577491 L20,18.8695305 C20,19.4938716 19.4883254,20.0000002 18.8571429,20.0000002 L5.14285714,20.0000002 C4.51167457,20.0000002 4,19.4938716 4,18.8695305 L4,9.82577491 C4,9.52595576 4.12040781,9.23841643 4.3347351,9.02641228 C4.54906239,8.81440813 4.83975258,8.69530544 5.14285714,8.69530544 L6.48228571,8.69530544 L10.1131428,5.10267352 C9.98848601,4.59655451 10.1052663,4.06183998 10.4300197,3.65175481 C10.7547732,3.24166964 11.2516566,3.00147521 11.7782857,3.00000016 Z M18.8571429,9.82577491 L5.14285714,9.82577491 L5.14285714,18.8695305 L18.8571429,18.8695305 L18.8571429,9.82577491 Z M6.85714285,16.6085916 C7.17273414,16.6085916 7.42857143,16.8616558 7.42857143,17.1738264 C7.42857143,17.4859969 7.17273414,17.7390611 6.85714285,17.7390611 C6.54155156,17.7390611 6.28571427,17.4859969 6.28571427,17.1738264 C6.28571427,16.8616558 6.54155156,16.6085916 6.85714285,16.6085916 Z M17.1428571,16.6085916 C17.4584484,16.6085916 17.7142857,16.8616558 17.7142857,17.1738264 C17.7142857,17.4859969 17.4584484,17.7390611 17.1428571,17.7390611 C16.8272659,17.7390611 16.5714286,17.4859969 16.5714286,17.1738264 C16.5714286,16.8616558 16.8272659,16.6085916 17.1428571,16.6085916 Z M13.9634286,11.4932173 L14.7714286,12.2924592 L12.7508571,14.2911292 L14.7714286,16.2897992 L13.9634286,17.0890411 L11.9428571,15.0903712 L9.92228571,17.0890411 L9.11428572,16.2897992 L11.1348571,14.2911292 L9.11428572,12.2924592 L9.92228571,11.4932173 L11.9428571,13.4918874 L13.9634286,11.4932173 Z M17.1428571,11.0093764 C17.4584484,11.0093764 17.7142857,11.2624406 17.7142857,11.5746112 C17.7142857,11.8867817 17.4584484,12.1398459 17.1428571,12.1398459 C16.9387054,12.1398459 16.7500614,12.0321128 16.6479855,11.8572285 C16.5459096,11.6823443 16.5459096,11.466878 16.6479855,11.2919938 C16.7500614,11.1171095 16.9387054,11.0093764 17.1428571,11.0093764 Z M6.85714285,10.9562444 C7.17273412,10.9562444 7.42857139,11.2093086 7.42857139,11.5214791 C7.42857139,11.8336496 7.17273412,12.0867138 6.85714285,12.0867138 C6.65299108,12.0867138 6.46434706,11.9789807 6.36227117,11.8040965 C6.26019528,11.6292122 6.26019528,11.413746 6.36227117,11.2388617 C6.46434706,11.0639775 6.65299108,10.9562444 6.85714285,10.9562444 Z M12.8171429,6.04548504 C12.5188904,6.27107685 12.153742,6.39306307 11.7782857,6.39253917 C11.3977143,6.39253917 11.0457143,6.269318 10.7611429,6.06131161 L8.09828571,8.69530544 L15.4948571,8.69530544 L12.8171429,6.04548504 Z" fill="#000" fill-rule="nonzero"></path>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="design-iconfont" width="16" height="16">
|
|
2
|
+
<path d="M9.66666666,13.1666667 L9.66666666,17.8333333 L14.3333333,17.8333333 L14.3333333,13.1666667 L9.66666666,13.1666667 Z M15.5,15.5 L17.8333333,15.5 L17.8333333,9.66666666 L6.16666666,9.66666666 L6.16666666,15.5 L8.5,15.5 L8.5,13.1666667 L7.33342263,13.1666667 L7.33342263,12.5833333 L7.33342263,12 L16.6665774,12 L16.6665774,12.5833333 L16.6665774,13.1666667 L15.5,13.1666667 L15.5,15.5 Z M8.5,16.6666667 L6.16666666,16.6666667 C5.52233446,16.6666667 5,16.1443322 5,15.5 L5,9.66666666 C5,9.02233446 5.52233446,8.5 6.16666666,8.5 L8.5,8.5 L8.5,6.16666666 C8.5,5.52233446 9.02233446,5 9.66666666,5 L14.3333333,5 C14.9776655,5 15.5,5.52233446 15.5,6.16666666 L15.5,8.5 L17.8333333,8.5 C18.4776655,8.5 19,9.02233446 19,9.66666666 L19,15.5 C19,16.1443322 18.4776655,16.6666667 17.8333333,16.6666667 L15.5,16.6666667 L15.5,17.8333333 C15.5,18.4776655 14.9776655,19 14.3333333,19 L9.66666666,19 C9.02233446,19 8.5,18.4776655 8.5,17.8333333 L8.5,16.6666667 Z M14.3333333,8.5 L14.3333333,6.16666666 L9.66666666,6.16666666 L9.66666666,8.5 L14.3333333,8.5 Z" fill="#3E3E3E" fill-rule="nonzero"></path>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="design-iconfont" width="16" height="16">
|
|
2
|
+
<path d="M18.94575,11.125 C18.981625,11.4115625 19,11.7038125 19,12 C19,15.8661875 15.8661881,19 12.0000014,19 C10.1362517,19 8.44225205,18.2715625 7.1875023,17.08375 L7.1875023,19 L5.87500256,19 L5.87544006,15.9375 L5.87500256,14.625 L10.2500017,14.625 L10.2500017,15.9375 L7.89625216,15.9375 C8.93137696,17.016375 10.3873767,17.6875 12.0000014,17.6875 C15.1412507,17.6875 17.6875003,15.14125 17.6875003,12 C17.687583,11.7070512 17.665205,11.4145273 17.6205628,11.125 L18.9461875,11.125 L18.94575,11.125 Z M18.1250002,5 L18.1245627,8.06250001 L18.1250002,9.375 L13.750001,9.375 L13.750001,8.06250001 L16.1041881,8.06250001 C15.0327104,6.9428839 13.5497111,6.31054214 12.0000014,6.3125 C8.85875197,6.3125 6.31250247,8.85875 6.31250247,12 C6.31250247,12.2975 6.33525247,12.5901875 6.37943996,12.875 L5.05381521,12.875 C5.01779256,12.5847275 4.99982051,12.2924991 5.00000135,12 C5.00000135,8.1338125 8.13381462,5 12.0000014,5 C13.863751,5 15.5581882,5.72887501 16.8125004,6.91668749 L16.8125004,5 L18.1250002,5 Z" fill="#3E3E3E" fill-rule="nonzero"></path>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="design-iconfont" width="16" height="16">
|
|
2
|
+
<path d="M12.5311653,14.5508817 L12.5311653,13.2326256 C13.3848238,13.1340808 14.1752484,12.8138102 14.8328817,12.3334044 L15.8699187,13.3434885 L16.7109304,12.5243349 L15.6865402,11.5265689 C16.3757904,10.6889382 16.7741644,9.61110446 16.7299006,8.4470441 C16.6774618,7.32337401 16.3287928,6.21824036 15.4374714,5.33134433 C14.5455357,4.44383708 13.3572314,4.01010691 12,4.00006849 C10.8617886,3.99405125 9.8036016,4.3849051 8.98156004,5.02544626 L7.95302618,4.00636936 L7.11833784,4.8193639 L8.1531951,5.85691795 C7.69418947,6.44248923 7.27225519,7.38404803 7.27225519,8.11644273 C7.79460882,8.20600257 8.14631127,8.25397686 8.54141325,8.32640711 C8.62994081,7.83368313 8.83284993,7.16515696 9.11107938,6.7709778 L13.9539295,11.4772965 C13.5365854,11.7544537 13.0496838,11.9453842 12.5311653,12.0316109 L11.8102981,12.0316109 C11.5826558,12.0316109 11.3929539,12.2163824 11.3929539,12.4381082 L11.3929539,14.5508817 L5.70189702,14.5508817 C5.31616983,14.5631998 5,14.8773113 5,15.2468543 L5,19.3040274 C5,19.6858885 5.32249322,20 5.7145438,20 L18.2854562,20 C18.6775068,20 19,19.6858885 19,19.3040274 L19,15.2468543 C18.9873532,14.8649932 18.66486,14.5508817 18.2791328,14.5508817 L12.5311653,14.5508817 Z M12.2339657,5.20122497 C12.9096339,5.25166385 13.5465163,5.36896496 14.0643728,5.74187871 C14.8744517,6.32522476 15.491468,7.27667119 15.5647596,8.30990061 C15.6279936,9.17216756 15.2818428,10.048397 14.8012647,10.67662 L9.86269195,5.86640232 C10.5203252,5.3921555 11.3486901,5.13963448 12.2339657,5.20122497 Z M17.8491418,18.8081647 L6.15718157,18.8081647 L6.15718157,18.3831903 L6.15718157,16.2686664 L6.15718157,15.843692 L17.8491418,15.843692 L17.8491418,16.2686664 L17.8491418,18.3831903 L17.8491418,18.8081647 Z" fill="#3E3E3E" fill-rule="nonzero"></path>
|
|
3
|
+
</svg>
|
|
@@ -12,6 +12,12 @@ import editIcon from '../../../assets/btn-edit.svg';
|
|
|
12
12
|
import submitIcon from '../../../assets/btn-submit.svg';
|
|
13
13
|
import deleteIcon from '../../../assets/btn-delete.svg';
|
|
14
14
|
import moreIcon from '../../../assets/btn-more.svg';
|
|
15
|
+
import hangUpIcon from '../../../assets/btn-hangUp.svg';
|
|
16
|
+
import unhookIcon from '../../../assets/btn-unhook.svg';
|
|
17
|
+
import refreshIcon from '../../../assets/btn-refresh.svg';
|
|
18
|
+
import printIcon from '../../../assets/btn-print.svg';
|
|
19
|
+
import copyIcon from '../../../assets/btn-copy.svg';
|
|
20
|
+
import cancelIcon from '../../../assets/btn-cancel.svg';
|
|
15
21
|
import { useLocation, formatMessage } from 'umi';
|
|
16
22
|
import CommonAlert from '../CommonAlert';
|
|
17
23
|
import ENUM from '@/utils/enumConfig';
|
|
@@ -30,11 +36,21 @@ interface actionItem {
|
|
|
30
36
|
action: object;
|
|
31
37
|
}
|
|
32
38
|
|
|
39
|
+
const iconStyle = {
|
|
40
|
+
width: 16,
|
|
41
|
+
height: 16,
|
|
42
|
+
};
|
|
33
43
|
export const iconMap = {
|
|
34
|
-
edit: <img src={editIcon} />,
|
|
35
|
-
delete: <img src={deleteIcon} />,
|
|
36
|
-
submit: <img src={submitIcon} />,
|
|
37
|
-
more: <img src={moreIcon} />,
|
|
44
|
+
edit: <img src={editIcon} {...iconStyle} />,
|
|
45
|
+
delete: <img src={deleteIcon} {...iconStyle} />,
|
|
46
|
+
submit: <img src={submitIcon} {...iconStyle} />,
|
|
47
|
+
more: <img src={moreIcon} {...iconStyle} />,
|
|
48
|
+
hangUp: <img src={hangUpIcon} {...iconStyle} />,
|
|
49
|
+
unhook: <img src={unhookIcon} {...iconStyle} />,
|
|
50
|
+
refresh: <img src={refreshIcon} {...iconStyle} />,
|
|
51
|
+
print: <img src={printIcon} {...iconStyle} />,
|
|
52
|
+
copy: <img src={copyIcon} {...iconStyle} />,
|
|
53
|
+
cancel: <img src={cancelIcon} {...iconStyle} />,
|
|
38
54
|
};
|
|
39
55
|
|
|
40
56
|
export default (props: any) => {
|
|
@@ -194,6 +210,7 @@ const DetailWrapper = React.memo(
|
|
|
194
210
|
<Button
|
|
195
211
|
type={type || 'primary'}
|
|
196
212
|
icon={item.icon ? iconMap[item.icon] : ''}
|
|
213
|
+
style={item.icon ? {} : {}}
|
|
197
214
|
danger={item.name === '删除' ? true : false}
|
|
198
215
|
disabled={item.disabled}
|
|
199
216
|
onClick={() => {
|
|
@@ -203,13 +220,15 @@ const DetailWrapper = React.memo(
|
|
|
203
220
|
doDetailPageAction(item.action);
|
|
204
221
|
}
|
|
205
222
|
}}
|
|
223
|
+
{...item?.buttomProps}
|
|
206
224
|
>
|
|
207
225
|
{item.name}
|
|
208
226
|
</Button>
|
|
209
227
|
);
|
|
210
228
|
};
|
|
211
229
|
|
|
212
|
-
|
|
230
|
+
// 可在actionList第一项设置visibleActionCount,控制按钮几个开始显示更多,默认为3个
|
|
231
|
+
if (visibleActions.length <= (actionLists?.[0]?.visibleActionCount || 3)) {
|
|
213
232
|
return visibleActions.map((item) => {
|
|
214
233
|
return renderButton(item);
|
|
215
234
|
});
|
|
@@ -85,7 +85,12 @@ export const getMainCrumbNameMap = (menuData) => {
|
|
|
85
85
|
|
|
86
86
|
const flattenMenuData = (data, parent) => {
|
|
87
87
|
let pNameMap = parent.nameMap ? [...parent.nameMap] : [];
|
|
88
|
-
data.forEach((menuItem) => {
|
|
88
|
+
data.forEach((menuItem) => {
|
|
89
|
+
// 面包屑路径,增加显示一级导航路径显示
|
|
90
|
+
if(parent.isMenuRoot) {
|
|
91
|
+
const newList = (window.top||window)?.applicationList?.filter?.((app: any) => app.code === menuItem.belongAppCode) || [];
|
|
92
|
+
pNameMap = newList.length > 0 ? [newList[0].name] : [];
|
|
93
|
+
}
|
|
89
94
|
let newMenuItem = {
|
|
90
95
|
...menuItem,
|
|
91
96
|
nameMap: [...pNameMap, menuItem.name]
|
|
@@ -100,9 +105,7 @@ export const getMainCrumbNameMap = (menuData) => {
|
|
|
100
105
|
};
|
|
101
106
|
});
|
|
102
107
|
};
|
|
103
|
-
|
|
104
|
-
const appChannelParent = newList.length > 0 ? { nameMap: [newList[0].name]} : {};
|
|
105
|
-
flattenMenuData(menuData,appChannelParent);
|
|
108
|
+
flattenMenuData(menuData,{ isMenuRoot: true });
|
|
106
109
|
return routerMap;
|
|
107
110
|
}
|
|
108
111
|
|