@voplus/morpho-workspace 6.0.147 → 6.0.149
Sign up to get free protection for your applications and to get access to all the features.
- package/es/modules/work/components/WorkList2/index.d.ts +2 -0
- package/es/modules/work/components/WorkList2/index.js +8 -3
- package/es/modules/work/components/WorkList2/index.js.map +1 -1
- package/es/modules/work/components/WorkList2/index.less +74 -0
- package/es/modules/work/components/WorkListCard/index.d.ts +1 -1
- package/es/modules/work/components/WorkListCard/index.js +7 -4
- package/es/modules/work/components/WorkListCard/index.js.map +1 -1
- package/es/modules/work/components/WorkListHeader/index.d.ts +5 -2
- package/es/modules/work/components/WorkListHeader/index.js +13 -4
- package/es/modules/work/components/WorkListHeader/index.js.map +1 -1
- package/es/modules/work/pages/WorkListPage/index.js +2 -2
- package/es/modules/work/pages/WorkListPage/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.less +2 -1
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.less +4 -2
- package/es/modules/work/work-type/pages/WorkTypePage/WorkListPage.js +1 -1
- package/es/modules/work/work-type/pages/WorkTypePage/WorkListPage.js.map +1 -1
- package/package.json +1 -1
@@ -32,6 +32,8 @@ export type WorkListProps = {
|
|
32
32
|
};
|
33
33
|
/** Call back when an item has been clicked on the list. */
|
34
34
|
onClickItem?: (item: IWork) => void;
|
35
|
+
/** 是否显示 total 总数 */
|
36
|
+
total?: boolean;
|
35
37
|
/** Call back when received total number of works. */
|
36
38
|
onTotal?: (total: number) => void;
|
37
39
|
};
|
@@ -14,16 +14,18 @@ import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
|
14
14
|
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
|
15
15
|
import NewWorkForm from "../NewWorkForm";
|
16
16
|
import WorkItem from "../WorkItem";
|
17
|
+
import { Badge } from "antd";
|
17
18
|
import dayjs from "dayjs";
|
18
19
|
import S from "string";
|
19
20
|
import "./index.less";
|
20
21
|
const WorkList2 = (props) => {
|
21
|
-
const { typesId, roles, status, statusArr, workspaceId, workId, contactId, contact, workHeaderProps, } = props;
|
22
|
+
const { typesId, roles, status, statusArr, workspaceId, workId, contactId, contact, total, workHeaderProps, } = props;
|
22
23
|
const [activeId, setActiveId] = useState("");
|
24
|
+
const [workTotal, setWorkTotal] = useState(0);
|
23
25
|
const [asideContext] = useState(AsideContent.createContext());
|
24
26
|
const documentStore = useDocumentStore();
|
25
27
|
const workType = useWorkType(typesId);
|
26
|
-
let listViewHeaderProps =
|
28
|
+
let listViewHeaderProps = undefined;
|
27
29
|
const filterCol = () => {
|
28
30
|
let filtercolumns = [];
|
29
31
|
if (Array.isArray(props.filterVisible)) {
|
@@ -60,6 +62,7 @@ const WorkList2 = (props) => {
|
|
60
62
|
useWorkListEffect(list, (result, total) => {
|
61
63
|
var _a;
|
62
64
|
list.union(result);
|
65
|
+
setWorkTotal(total);
|
63
66
|
(_a = props.onTotal) === null || _a === void 0 ? void 0 : _a.call(props, total);
|
64
67
|
}, {
|
65
68
|
Total: true,
|
@@ -68,7 +71,9 @@ const WorkList2 = (props) => {
|
|
68
71
|
return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
|
69
72
|
React.createElement(AsideContent, { context: asideContext },
|
70
73
|
React.createElement("div", { className: "work-list-2" },
|
71
|
-
React.createElement(WorkListHeader, { ...workHeaderProps, viewTitle:
|
74
|
+
React.createElement(WorkListHeader, { ...workHeaderProps, viewTitle: React.createElement(React.Fragment, null,
|
75
|
+
React.createElement("span", { className: "margin-right-10" }, (workHeaderProps === null || workHeaderProps === void 0 ? void 0 : workHeaderProps.viewTitle) || (workType === null || workType === void 0 ? void 0 : workType.name) || "My Works"),
|
76
|
+
total && workTotal ? React.createElement(Badge, { count: workTotal }) : null), filterProps: listViewHeaderProps, selectedFilterKey: ["WorkTypes"], onAdd: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(NewWorkForm, { contact: contact, showView: true }), {
|
72
77
|
span: 12,
|
73
78
|
}) }),
|
74
79
|
React.createElement(ListView, { headerProps: { visible: false }, moveAfter: moveAfter, asideable: false, renderItem: ({ item, connectDragSource }) => (React.createElement(DocumentItemFrame, { key: item.id, frameProps: { active: activeId === item.id }, onClick: () => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList2/index.tsx"],"names":[],"mappings":"AAAA;;KAEK;AAEL,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,cAAuC,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList2/index.tsx"],"names":[],"mappings":"AAAA;;KAEK;AAEL,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,cAAuC,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAS,iBAAiB,EAAE,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,CAAC,CAAC;YACnB,KAAK,WAAW;gBACf,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;YACnC;gBACC,MAAM;QACR,CAAC;QAED,IAAI,SAAS;YAAE,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAExC,IAAI,OAAO;YAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;QAE/B,OAAO,EAAE,CAAC;IACX,CAAC;IAED,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,SAAS,CAAC,YAAY,GAAG;IACxB,SAAS,EAAE,IAAI;IACf,aAAa,EAAE,IAAI;CACnB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
@@ -14,6 +14,80 @@
|
|
14
14
|
.list-view-header-tool {
|
15
15
|
padding: 20px;
|
16
16
|
}
|
17
|
+
&.default {
|
18
|
+
margin-bottom: 20px;
|
19
|
+
&.selectedFilter {
|
20
|
+
.list-view-header-tool {
|
21
|
+
padding: 0;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
&.page-card {
|
25
|
+
margin-bottom: 0;
|
26
|
+
.list-view-header-tool {
|
27
|
+
padding: 14px 20px 0 20px;
|
28
|
+
margin: 0;
|
29
|
+
.selected-filter-list {
|
30
|
+
margin-top: 14px;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
.list-view-header-tool {
|
35
|
+
padding: 0 0 20px 0;
|
36
|
+
margin: 20px 20px 0 20px;
|
37
|
+
background: #fff;
|
38
|
+
border-bottom: 1px solid #e6e6e6;
|
39
|
+
.selected-filter-list {
|
40
|
+
margin-top: 20px;
|
41
|
+
}
|
42
|
+
.header-tool-space {
|
43
|
+
align-items: end;
|
44
|
+
justify-content: space-between;
|
45
|
+
}
|
46
|
+
.page-head-content {
|
47
|
+
flex: 2;
|
48
|
+
display: flex;
|
49
|
+
.ant-avatar {
|
50
|
+
width: 50px;
|
51
|
+
height: 50px;
|
52
|
+
line-height: 50px;
|
53
|
+
border-radius: 2px;
|
54
|
+
}
|
55
|
+
.page-head-avatar {
|
56
|
+
width: 50px;
|
57
|
+
height: 50px;
|
58
|
+
padding: 0 12px;
|
59
|
+
line-height: 50px;
|
60
|
+
font-size: 22px;
|
61
|
+
display: flex;
|
62
|
+
align-items: center;
|
63
|
+
justify-content: center;
|
64
|
+
color: #217eb2;
|
65
|
+
background: #e5fbff;
|
66
|
+
border-radius: 5px;
|
67
|
+
border: 2px solid #217eb2;
|
68
|
+
}
|
69
|
+
.page-head-info {
|
70
|
+
color: #868686;
|
71
|
+
margin-left: 15px;
|
72
|
+
}
|
73
|
+
.page-head-name {
|
74
|
+
display: flex;
|
75
|
+
align-items: center;
|
76
|
+
color: #217eb2;
|
77
|
+
font-size: 20px;
|
78
|
+
font-weight: bold;
|
79
|
+
line-height: 27px;
|
80
|
+
.ant-dropdown-trigger {
|
81
|
+
color: #cbcbcb;
|
82
|
+
font-weight: normal;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
.description {
|
86
|
+
font-size: 14px;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
17
91
|
}
|
18
92
|
|
19
93
|
.work-status-menu {
|
@@ -1,10 +1,13 @@
|
|
1
|
-
import React from "react";
|
1
|
+
import React, { useMemo } from "react";
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
3
3
|
import ListCard from "@voplus/morpho-ui/es/controls/ListCard";
|
4
|
-
import WorkList from "../
|
4
|
+
import WorkList from "../WorkList2";
|
5
|
+
import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
5
6
|
const WorkListCard = (props) => {
|
6
|
-
|
7
|
-
|
7
|
+
const view = useMemo(() => new ViewContextData("PropertiesView"), []);
|
8
|
+
return observe(() => (React.createElement(ViewContext.Provider, { value: view },
|
9
|
+
React.createElement(ListCard, { style: props.style },
|
10
|
+
React.createElement(WorkList, { ...props, workHeaderProps: { type: "card" } })))));
|
8
11
|
};
|
9
12
|
WorkListCard.defaultProps = {
|
10
13
|
total: true,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,QAAQ,MAAM,wCAAwC,CAAC;AAC9D,OAAO,QAA2B,MAAM,cAAc,CAAC;AACvD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAElE,MAAM,YAAY,GAAG,CAAC,KAAsD,EAAE,EAAE;IAC/E,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEtE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QAChC,oBAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK;YAC3B,oBAAC,QAAQ,OAAK,KAAK,EAAE,eAAe,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,GAAI,CAChD,CACW,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,YAAY,CAAC,YAAY,GAAG;IAC3B,KAAK,EAAE,IAAI;CACX,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -1,10 +1,13 @@
|
|
1
|
-
import React from "react";
|
1
|
+
import React, { ReactNode } from "react";
|
2
2
|
import { FilterViewProps } from "@voplus/morpho-ui/es/controls/FilterView";
|
3
3
|
export type WorkListHeaderProps = {
|
4
4
|
addAble?: boolean;
|
5
5
|
dueDate?: string;
|
6
|
-
viewTitle?:
|
6
|
+
viewTitle?: ReactNode;
|
7
7
|
filterProps?: FilterViewProps;
|
8
|
+
selectedFilterKey?: string[];
|
9
|
+
/** 如果card 头部样式不一样 */
|
10
|
+
type?: "card";
|
8
11
|
workMenu?: {
|
9
12
|
key: string;
|
10
13
|
label: string;
|
@@ -10,15 +10,24 @@ const WorkListHeader = (props) => {
|
|
10
10
|
const { addAble, viewTitle, dueDate, workMenu, filterProps } = props;
|
11
11
|
const [active, setActive] = useState();
|
12
12
|
useEffect(() => setActive(dueDate || ""), [dueDate]);
|
13
|
-
return observe(() => (React.createElement("div", { className: "work-header"
|
14
|
-
|
15
|
-
|
13
|
+
return observe(() => (React.createElement("div", { className: classnames("work-header", {
|
14
|
+
default: !workMenu,
|
15
|
+
selectedFilter: props.selectedFilterKey,
|
16
|
+
"page-card": props.type === "card",
|
17
|
+
}) },
|
18
|
+
workMenu && (React.createElement(PageHeadDashboard, { headerType: "page", avatarIcon: React.createElement(FAIcon, { icon: faBriefcase }), title: viewTitle, description: "Your tasks: prioritize and complete your work" })),
|
19
|
+
React.createElement(ListHeaderTool, { filterViewProps: filterProps, addAble: addAble || (dueDate === "requested" ? true : false), onAdd: props.onAdd, sortable: false, searchHeader: true, searchOptions: { placeholder: "search in work list" }, selectedFilterKey: props.selectedFilterKey, preExtra: () => (React.createElement(React.Fragment, null, workMenu ? (React.createElement("div", { className: "work-status-menu" }, workMenu === null || workMenu === void 0 ? void 0 : workMenu.map((item, index) => (React.createElement(Button, { key: index, className: classnames(item, {
|
16
20
|
active: active === item.key,
|
17
21
|
}), onClick: () => onChangeFilter(item.key) },
|
18
22
|
React.createElement(React.Fragment, null,
|
19
23
|
item.label,
|
20
24
|
" ",
|
21
|
-
(item === null || item === void 0 ? void 0 : item.total) ? ` (${item.total})` : "")))))) }))
|
25
|
+
(item === null || item === void 0 ? void 0 : item.total) ? ` (${item.total})` : "")))))) : (React.createElement("div", { className: "page-head-content" }, props.type === "card" ? (React.createElement("div", { className: "page-head-name" }, viewTitle)) : (React.createElement(React.Fragment, null,
|
26
|
+
React.createElement("div", { className: "page-head-avatar" },
|
27
|
+
React.createElement(FAIcon, { icon: faBriefcase })),
|
28
|
+
React.createElement("div", { className: "page-head-info" },
|
29
|
+
React.createElement("div", { className: "page-head-name" }, viewTitle),
|
30
|
+
React.createElement("div", { className: "description" }, "Your tasks: prioritize and complete your work")))))))) }))));
|
22
31
|
function onChangeFilter(item) {
|
23
32
|
var _a;
|
24
33
|
setActive(item);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAa,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,UAAU,MAAM,YAAY,CAAC;AAepC,MAAM,cAAc,GAAG,CAAC,KAA0B,EAAE,EAAE;IACrD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,KAA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E,MAAM,KAAK,IAAI,CAAC,GAAG;iBAC3B,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC;gBAEvC;oBACE,IAAI,CAAC,KAAK;;oBAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAC,CAAC,CAAC,KAAK,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,CACjD,CACK,CACT,CAAC,CACG,CACN,CAAC,CAAC,CAAC,CACH,6BAAK,SAAS,EAAC,mBAAmB,IAChC,KAAK,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,CACxB,6BAAK,SAAS,EAAC,gBAAgB,IAAE,SAAS,CAAO,CACjD,CAAC,CAAC,CAAC,CACH;gBACC,6BAAK,SAAS,EAAC,kBAAkB;oBAChC,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,GAAI,CACxB;gBACN,6BAAK,SAAS,EAAC,gBAAgB;oBAC9B,6BAAK,SAAS,EAAC,gBAAgB,IAAE,SAAS,CAAO;oBACjD,6BAAK,SAAS,EAAC,aAAa,oDAEtB,CACD,CACJ,CACH,CACI,CACN,CACC,CACH,GACA,CACG,CACN,CAAC,CAAC;IAEH,SAAS,cAAc,CAAC,IAAY;;QACnC,SAAS,CAAC,IAAI,CAAC,CAAC;QAEhB,MAAA,KAAK,CAAC,cAAc,sDAAG,IAAI,CAAC,CAAC;IAC9B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import WorkList from "../../components/
|
2
|
+
import WorkList from "../../components/WorkList2";
|
3
3
|
import { generatePath } from "react-router";
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
5
5
|
import { runInAction } from "mobx";
|
@@ -8,7 +8,7 @@ import { useParams } from "react-router-dom";
|
|
8
8
|
const WorkListPage = (props) => {
|
9
9
|
const params = useParams();
|
10
10
|
const layout = useLayout();
|
11
|
-
return observe(() => (React.createElement(WorkList, { status: params.status, active: params.active, typesId: params.typesId, dueDate: params.dueDate, workspaceId: params.id, onClickItem: (item) => {
|
11
|
+
return observe(() => (React.createElement(WorkList, { status: params.status, active: params.active, typesId: params.typesId, workHeaderProps: { dueDate: params.dueDate }, workspaceId: params.id, onClickItem: (item) => {
|
12
12
|
layout.history.replace(generatePath(props.path, {
|
13
13
|
id: params.id,
|
14
14
|
status: params.status || "",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/pages/WorkListPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/pages/WorkListPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,4BAA4B,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,YAAY,GAAG,CAAC,KAAqC,EAAE,EAAE;IAC9D,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IACR,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,OAAO,EAAE,MAAM,CAAC,OAAO,EACvB,eAAe,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,EAC5C,WAAW,EAAE,MAAM,CAAC,EAAE,EACtB,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE;YACrB,MAAM,CAAC,OAAO,CAAC,OAAO,CACrB,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE;gBACxB,EAAE,EAAE,MAAM,CAAC,EAAG;gBACd,MAAM,EAAE,MAAM,CAAC,MAAM,IAAI,EAAE;gBAC3B,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,EAAE;gBAC7B,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,EAAE;gBAC7B,MAAM,EAAE,IAAI,CAAC,EAAE;aACf,CAAC,CACF,CAAC;QACH,CAAC,EACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;YAClB,WAAW,CAAC,GAAG,EAAE;gBAChB,KAAK,CAAC,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAO,CAAC,GAAG,KAAK,CAAC;gBACrD,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,MAAM,CAAC,OAAQ,CAAC,GAAG,KAAK,CAAC;gBACrD,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,OAAQ,CAAC,GAAG,KAAK,CAAC;YACjD,CAAC,CAAC,CAAC;QACJ,CAAC,GACA,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -9,11 +9,13 @@
|
|
9
9
|
padding: 0 !important;
|
10
10
|
}
|
11
11
|
.list-view-header-tool {
|
12
|
-
padding: 20px
|
12
|
+
padding: 20px 0 0 0;
|
13
|
+
margin: 0 20px 20px 20px;
|
13
14
|
background: #fff;
|
14
15
|
border-bottom: 1px solid #e6e6e6;
|
15
16
|
&.page-card {
|
16
17
|
padding: 14px 20px 0 20px;
|
18
|
+
margin: 0;
|
17
19
|
.selected-filter-list {
|
18
20
|
margin-top: 14px;
|
19
21
|
}
|
@@ -26,7 +28,7 @@
|
|
26
28
|
justify-content: space-between;
|
27
29
|
}
|
28
30
|
.page-head-content {
|
29
|
-
flex:
|
31
|
+
flex: 2;
|
30
32
|
display: flex;
|
31
33
|
.ant-avatar {
|
32
34
|
width: 50px;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useParams, useResolvedPath } from "react-router-dom";
|
2
2
|
import React from "react";
|
3
|
-
import WorkList from "../../../components/
|
3
|
+
import WorkList from "../../../components/WorkList2";
|
4
4
|
import { generatePath } from "react-router";
|
5
5
|
import { observe } from "@voplus/morpho-ui";
|
6
6
|
import { runInAction } from "mobx";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WorkListPage.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/pages/WorkTypePage/WorkListPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAE9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,
|
1
|
+
{"version":3,"file":"WorkListPage.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/pages/WorkTypePage/WorkListPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAE9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,YAAY,GAAG,CAAC,KAAqC,EAAE,EAAE;IAC9D,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,GAAG,GAAG,eAAe,CAAC,EAAE,CAAC,CAAC,QAAQ,CAA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