@voplus/morpho-workspace 1.3.19 → 1.3.20
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/es/data/work/interfaces.d.ts +4 -0
- package/es/modules/tasks/components/TaskItem/defaultTaskItem.less +19 -1
- package/es/modules/tasks/components/TaskPropertiesView/index.js +5 -2
- package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
- package/es/modules/work/components/NewWorkErrorDialog/index.js +6 -1
- package/es/modules/work/components/NewWorkErrorDialog/index.js.map +1 -1
- package/es/modules/work/components/WorksProperties/index.js +13 -12
- package/es/modules/work/components/WorksProperties/index.js.map +1 -1
- package/es/modules/work/pages/WorkDefaultView/index.js +5 -2
- package/es/modules/work/pages/WorkDefaultView/index.js.map +1 -1
- package/es/modules/workspace/pages/WorkspacePage/index.js +6 -5
- package/es/modules/workspace/pages/WorkspacePage/index.js.map +1 -1
- package/es/modules/workspace/pages/WorkspacePage/state.d.ts +0 -2
- package/es/modules/workspace/pages/WorkspacePage/state.js +8 -8
- package/es/modules/workspace/pages/WorkspacePage/state.js.map +1 -1
- package/es/pages/Space/components/Tasks/index.js +2 -0
- package/es/pages/Space/components/Tasks/index.js.map +1 -1
- package/es/pages/Space/pages/MySpace/state.js +0 -1
- package/es/pages/Space/pages/MySpace/state.js.map +1 -1
- package/package.json +1 -1
@@ -1,15 +1,18 @@
|
|
1
1
|
@import "~@voplus/antd/es/style/themes/default.less";
|
2
|
+
|
2
3
|
:global {
|
3
4
|
.default-task-item {
|
4
5
|
position: relative;
|
5
6
|
align-items: center;
|
6
7
|
cursor: pointer;
|
7
8
|
background-color: transparent;
|
9
|
+
|
8
10
|
.flag-icon {
|
9
11
|
display: inline-block;
|
10
12
|
width: 23px;
|
11
13
|
margin-left: 0;
|
12
14
|
}
|
15
|
+
|
13
16
|
.task-move {
|
14
17
|
display: inline-block;
|
15
18
|
width: 23px;
|
@@ -21,15 +24,30 @@
|
|
21
24
|
text-align: center;
|
22
25
|
cursor: move;
|
23
26
|
}
|
27
|
+
|
28
|
+
.document-status-label {
|
29
|
+
z-index: 1;
|
30
|
+
}
|
31
|
+
|
32
|
+
.avatar-list-view {
|
33
|
+
display: inline-block;
|
34
|
+
position: absolute;
|
35
|
+
left: 420px;
|
36
|
+
top: 50%;
|
37
|
+
transform: translate(0, -50%);
|
38
|
+
}
|
39
|
+
|
24
40
|
.avatar-list {
|
25
41
|
display: block;
|
26
42
|
margin-left: 30px;
|
27
43
|
}
|
44
|
+
|
28
45
|
&:hover {
|
29
46
|
.task-move {
|
30
47
|
opacity: 1;
|
31
48
|
}
|
32
49
|
}
|
50
|
+
|
33
51
|
&:after {
|
34
52
|
position: absolute;
|
35
53
|
content: "";
|
@@ -39,4 +57,4 @@
|
|
39
57
|
border-bottom: 1px solid #f2f2f2;
|
40
58
|
}
|
41
59
|
}
|
42
|
-
}
|
60
|
+
}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import "./index.less";
|
2
2
|
import { Archive, Open, Reload } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
3
|
-
import React, { useEffect, useState } from "react";
|
3
|
+
import React, { useEffect, useMemo, useState } from "react";
|
4
4
|
import { Skeleton, message } from "@voplus/antd";
|
5
|
+
import { ViewContext, ViewContextData } from "@voplus/morpho-document/es/data/contexts/ViewContext";
|
5
6
|
import { useTask, useTaskStore } from "../../../../data/task";
|
6
7
|
import AvatarList from "@voplus/morpho-document/es/components/AvatarList";
|
7
8
|
import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
|
@@ -20,6 +21,7 @@ const TaskPropertiesView = (props) => {
|
|
20
21
|
const id = props.id;
|
21
22
|
const meta = useMetaStore();
|
22
23
|
const { user } = useApplicationContext();
|
24
|
+
const view = useMemo(() => new ViewContextData("QuickView"), []);
|
23
25
|
const task = useTask(id, { reload: false, includes: "tags" });
|
24
26
|
const taskStore = useTaskStore();
|
25
27
|
const [taskStatus, setTaskStatus] = useState(task.taskStatus);
|
@@ -51,7 +53,8 @@ const TaskPropertiesView = (props) => {
|
|
51
53
|
task.loading ? (React.createElement("div", { className: "task-description" },
|
52
54
|
React.createElement(Skeleton, { active: true }),
|
53
55
|
" ")) : (React.createElement(DescriptionEditor, { id: id, description: task.description, readonly: task.readonly })),
|
54
|
-
React.createElement(
|
56
|
+
React.createElement(ViewContext.Provider, { value: view },
|
57
|
+
React.createElement(SubTaskList, { parentId: id, readonly: task.status === "Readonly" }))) }))))));
|
55
58
|
/** reload data */
|
56
59
|
function onReload() {
|
57
60
|
setLoaded(false);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,sDAAsD,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,cAAc,MAAM,sDAAsD,CAAC;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AC,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,MAAM,KAAK,UAAU,GAAI,CAC7C,CAClB,GAEN,CACc,CACjB,CACI,CACN,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;IAED,2BAA2B;IAC3B,KAAK,UAAU,MAAM,CAAC,UAAe;QACpC,aAAa,CAAC,UAAU,CAAC,CAAC;QAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE;YACxB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;gBACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAC7B,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAChC,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
|
@@ -41,7 +41,12 @@ const NewWorkErrorDialog = (props) => {
|
|
41
41
|
} },
|
42
42
|
React.createElement(Option, { value: "S0" }, "S0"),
|
43
43
|
React.createElement(Option, { value: "S1" }, "S1"),
|
44
|
-
React.createElement(Option, { value: "S2" }, "S2")
|
44
|
+
React.createElement(Option, { value: "S2" }, "S2"),
|
45
|
+
React.createElement(Option, { value: "S3" }, "S3"),
|
46
|
+
React.createElement(Option, { value: "S4" }, "S4"),
|
47
|
+
React.createElement(Option, { value: "S5" }, "S5"),
|
48
|
+
React.createElement(Option, { value: "S6" }, "S6"),
|
49
|
+
React.createElement(Option, { value: "S7" }, "S7"))))),
|
45
50
|
React.createElement(Row, { gutter: 20 },
|
46
51
|
React.createElement(Col, { span: 12 },
|
47
52
|
React.createElement(Form.Item, { label: "Incident Date" },
|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AC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC7B,CAAC,CAAC,CAAC;QACH,IAAI,KAAK,CAAC,YAAY;YAAE,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1D,CAAC;IACD,mBAAmB;IACnB,SAAS,QAAQ;QAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
|
@@ -8,18 +8,16 @@ import AvatarList from "@voplus/morpho-document/es/components/AvatarList";
|
|
8
8
|
import ChangeOwnerDialog from "../ChangeOwnerDialog";
|
9
9
|
import DocumentQuickViewDialog from "@voplus/morpho-document/es/components/DocumentQuickViewDialog";
|
10
10
|
import { Scrollbars } from "react-custom-scrollbars";
|
11
|
-
import { useApplicationContext } from "@voplus/morpho-data";
|
12
11
|
const WorksProperties = (props) => {
|
13
12
|
const work = useWork(props.id);
|
14
13
|
const store = useWorkStore();
|
15
|
-
const { user } = useApplicationContext();
|
16
14
|
const [visible, setVisible] = useState(false);
|
17
15
|
const [ids, setIds] = useState("");
|
18
16
|
const [dueDateEdit, setDueDateEdit] = useState(false);
|
19
17
|
const [editable, setEditable] = useState(false);
|
20
18
|
const noData = React.createElement("span", { className: "no-data" }, "no data");
|
21
19
|
return observe(() => {
|
22
|
-
var _a, _b;
|
20
|
+
var _a, _b, _c;
|
23
21
|
return (React.createElement("div", { className: "work-roperties" },
|
24
22
|
React.createElement("h2", null, (_a = work.workType) === null || _a === void 0 ? void 0 : _a.name),
|
25
23
|
React.createElement(Scrollbars, { autoHide: true },
|
@@ -28,23 +26,26 @@ const WorksProperties = (props) => {
|
|
28
26
|
React.createElement(Form.Item, { label: "Type" }, work.type || noData),
|
29
27
|
React.createElement(Form.Item, { label: "Status" }, work.workStatus || noData),
|
30
28
|
React.createElement(Form.Item, { label: "Contact" }),
|
31
|
-
React.createElement(Form.Item, { label: "Folder" }, ((_b = work.
|
29
|
+
React.createElement(Form.Item, { label: "Folder" }, ((_b = work.defaultFolder) === null || _b === void 0 ? void 0 : _b.id) ? (React.createElement("span", { className: "prosemirror-mention-node", onClick: () => {
|
30
|
+
var _a;
|
31
|
+
setVisible(true);
|
32
|
+
setIds((_a = work.defaultFolder) === null || _a === void 0 ? void 0 : _a.id);
|
33
|
+
} }, `@${work.defaultFolder.name}`)) : (noData)),
|
34
|
+
React.createElement(Form.Item, { label: "Document" }, ((_c = work.document) === null || _c === void 0 ? void 0 : _c.id) ? (React.createElement("span", { className: "prosemirror-mention-node", onClick: () => {
|
32
35
|
var _a;
|
33
36
|
setVisible(true);
|
34
37
|
setIds((_a = work.document) === null || _a === void 0 ? void 0 : _a.id);
|
35
|
-
} },
|
38
|
+
} }, `&${work.document.name}`)) : (noData)),
|
36
39
|
React.createElement(Form.Item, { label: "Create Date" }, work.createDate ? moment(work.createDate).format("DD MMM yyyy") : noData),
|
37
40
|
React.createElement(Form.Item, { label: "Due" }, dueDateEdit ? (React.createElement(DatePicker, { defaultValue: moment(work.due), bordered: false, onChange: (date, dateString) => store
|
38
41
|
.edit(work.id, { data: { DueDate: dateString }, error: "message" })
|
39
42
|
.then(() => setDueDateEdit(false)) })) : (React.createElement("div", { onClick: () => setDueDateEdit(true) }, work.due ? moment(work.due).format("DD MMM yyyy") : noData))),
|
40
43
|
React.createElement(Form.Item, { label: "Owner" },
|
41
|
-
React.createElement(InlineEdit, { defaultValue: "", showEditIcon: true, editable: false, onEditIconClick: () => setEditable(true), content: (v) => ((work.owners ||
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
setEditable(false);
|
47
|
-
} }),
|
44
|
+
React.createElement(InlineEdit, { defaultValue: "", showEditIcon: true, editable: false, onEditIconClick: () => setEditable(true), content: (v) => work.owners || editable ? (React.createElement(AvatarList, { editable: false, list: work.owners || [] })) : (noData) })))),
|
45
|
+
editable && (React.createElement(ChangeOwnerDialog, { owners: work.owners || [], onCancel: () => setEditable(false), onSave: async (ids) => {
|
46
|
+
await store.edit(props.id, { data: { OwnerIds: ids }, error: "message" });
|
47
|
+
setEditable(false);
|
48
|
+
} })),
|
48
49
|
React.createElement(DocumentQuickViewDialog, { id: ids, visible: visible, onCancel: () => setVisible(false) })));
|
49
50
|
});
|
50
51
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorksProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,MAAkB,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,uBAAuB,MAAM,+DAA+D,CAAC;AACpG,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorksProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,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EACzB,QAAQ,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,EAClC,MAAM,EAAE,KAAK,EAAE,GAAa,EAAE,EAAE;oBAC/B,MAAM,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBAC1E,WAAW,CAAC,KAAK,CAAC,CAAC;gBACpB,CAAC,GACA,CACF;YACD,oBAAC,uBAAuB,IAAC,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAAI,CACpF,CACN,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import "./index.less";
|
2
|
-
import React, { useState } from "react";
|
2
|
+
import React, { useMemo, useState } from "react";
|
3
3
|
import { TabItemContext, TabItemStore } from "@voplus/morpho-data";
|
4
|
+
import { ViewContext, ViewContextData } from "@voplus/morpho-document/es/data/contexts/ViewContext";
|
4
5
|
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
5
6
|
import MainContent from "@voplus/morpho-ui/es/components/layout/MainContent";
|
6
7
|
import WorkTabs from "../../components/WorkTabs";
|
@@ -12,13 +13,15 @@ const WorkDefaultView = ({ id }) => {
|
|
12
13
|
const store = new TabItemStore({ url: "" });
|
13
14
|
const [asideContext] = useState(AsideContent.createContext());
|
14
15
|
const workStore = useWorkStore();
|
16
|
+
const view = useMemo(() => new ViewContextData("PropertiesView"), []);
|
15
17
|
return observe(() => React.createElement(TabItemContext.Provider, { value: store },
|
16
18
|
React.createElement(MainContent, { className: "work-default-view" },
|
17
19
|
React.createElement(MainContent.Nav, { collapsible: true },
|
18
20
|
React.createElement(WorksProperties, { id: id })),
|
19
21
|
React.createElement("div", { className: "work-context" },
|
20
22
|
React.createElement(AsideContent, { context: asideContext },
|
21
|
-
React.createElement(
|
23
|
+
React.createElement(ViewContext.Provider, { value: view },
|
24
|
+
React.createElement(WorkTabs, { id: id })))))));
|
22
25
|
};
|
23
26
|
export default WorkDefaultView;
|
24
27
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/pages/WorkDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/pages/WorkDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,sDAAsD,CAAC;AAGpG,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,WAAW,MAAM,oDAAoD,CAAC;AAC7E,OAAO,QAAQ,MAAM,2BAA2B,CAAC;AACjD,OAAO,eAAe,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,8DAA8D;AAC9D,MAAM,eAAe,GAAG,CAAC,EAAE,EAAE,EAAkB,EAAE,EAAE;IAE/C,MAAM,KAAK,GAAG,IAAI,YAAY,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5C,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAE9D,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEtE,OAAO,OAAO,CAAC,GAAG,EAAE,CAChB,oBAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK;QACjC,oBAAC,WAAW,IAAC,SAAS,EAAC,mBAAmB;YACtC,oBAAC,WAAW,CAAC,GAAG,IAAC,WAAW;gBACxB,oBAAC,eAAe,IAAC,EAAE,EAAE,EAAE,GAAI,CACb;YAClB,6BAAK,SAAS,EAAC,cAAc;gBAIzB,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY;oBAC/B,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;wBAC7B,oBAAC,QAAQ,IAAC,EAAE,EAAE,EAAE,GAAI,CACD,CACZ,CACb,CACI,CACQ,CAC7B,CAAA;AACL,CAAC,CAAA;AAED,eAAe,eAAe,CAAC"}
|
@@ -37,7 +37,11 @@ const WorkspacePage = () => {
|
|
37
37
|
Filters: [{ c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Requester"]) }],
|
38
38
|
});
|
39
39
|
useWorkListEffect(null, (result, total) => runInAction(() => (state.workStatusTotals.new = total || 0)), state.nNewOptions);
|
40
|
-
useWorkListEffect(
|
40
|
+
// useWorkListEffect(
|
41
|
+
// null,
|
42
|
+
// (result, total) => runInAction(() => (state.workStatusTotals.draft = total || 0)),
|
43
|
+
// state.nDraftOptions
|
44
|
+
// );
|
41
45
|
useWorkListEffect(null, (result, total) => runInAction(() => (state.workStatusTotals.active = total || 0)), state.nActiveOptions);
|
42
46
|
useWorkListEffect(null, (result, total) => runInAction(() => (state.workStatusTotals.done = total || 0)), state.nDoneOptions);
|
43
47
|
useWorkListEffect(null, (result, total) => runInAction(() => (state.workStatusTotals.rejected = total || 0)), state.nRejectedOptions);
|
@@ -56,9 +60,6 @@ const WorkspacePage = () => {
|
|
56
60
|
React.createElement(Menu.Item, { key: "/document", icon: React.createElement(FAIcon, { icon: faFolders }) }, "Documents"),
|
57
61
|
React.createElement(Menu.Item, { key: "/meeting", icon: React.createElement(FAIcon, { icon: faCalendarDay }) }, "Meetings"),
|
58
62
|
React.createElement(SubMenu, { key: "Workstatus", icon: React.createElement(FAIcon, { icon: faBatteryHalf }), title: "Works(Status)" },
|
59
|
-
React.createElement(Menu.Item, { key: "/workstatus/draft" },
|
60
|
-
"Draft",
|
61
|
-
React.createElement(Badge, { count: state.workStatusTotals.draft, className: "site-badge-count" })),
|
62
63
|
React.createElement(Menu.Item, { key: "/workstatus/new" },
|
63
64
|
"New",
|
64
65
|
React.createElement(Badge, { count: state.workStatusTotals.new, className: "site-badge-count" })),
|
@@ -81,7 +82,7 @@ const WorkspacePage = () => {
|
|
81
82
|
React.createElement(Route, { path: `${match.path}/home` },
|
82
83
|
React.createElement(WorkspaceDefaultView, { id: id })),
|
83
84
|
React.createElement(Route, { path: `${match.path}/document` },
|
84
|
-
React.createElement(DocumentPage, { root: id, route: `${match.url}/document
|
85
|
+
React.createElement(DocumentPage, { root: id, route: `${match.url}/document`, exclude: ["Meeting"] })),
|
85
86
|
React.createElement(Route, { path: `${match.path}/meeting` },
|
86
87
|
React.createElement(DocumentPage, { root: id, route: `${match.url}/meeting`, defaultViewType: "MeetingsFolder" })),
|
87
88
|
React.createElement(Route, { path: `${match.path}/workstatus/:status/:active?` },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspacePage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,QAAQ,EA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AG,KAAK,CAAC,IAAI,8BAA8B;oBAEvD,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,GAAI,CAChB;gBACR,oBAAC,KAAK,IAAC,IAAI,EAAE,GAAG,KAAK,CAAC,IAAI,6BAA6B;oBAEtD,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,GAAI,CAChB;gBACR,oBAAC,QAAQ,IAAC,EAAE,EAAE,GAAG,KAAK,CAAC,IAAI,OAAO,GAAI,CAC9B,CACI,CACd,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -8,7 +8,6 @@ export declare class State {
|
|
8
8
|
menuKey: string[] | undefined;
|
9
9
|
workTypeList: IWorkType[];
|
10
10
|
workStatusTotals: {
|
11
|
-
draft: number;
|
12
11
|
new: number;
|
13
12
|
rejected: number;
|
14
13
|
active: number;
|
@@ -21,7 +20,6 @@ export declare class State {
|
|
21
20
|
updateWorkStatusTotal(oldStatus: WorkStatus, status: WorkStatus): void;
|
22
21
|
updateWorkTypesTotal(oldStatus: string, status: string): void;
|
23
22
|
get nNewOptions(): LoadDocumentListOptions;
|
24
|
-
get nDraftOptions(): LoadDocumentListOptions;
|
25
23
|
get nRejectedOptions(): LoadDocumentListOptions;
|
26
24
|
get nDoneOptions(): LoadDocumentListOptions;
|
27
25
|
get nActiveOptions(): LoadDocumentListOptions;
|
@@ -31,7 +31,7 @@ export class State {
|
|
31
31
|
configurable: true,
|
32
32
|
writable: true,
|
33
33
|
value: {
|
34
|
-
draft: 0,
|
34
|
+
// draft: 0,
|
35
35
|
new: 0,
|
36
36
|
rejected: 0,
|
37
37
|
active: 0,
|
@@ -66,13 +66,13 @@ export class State {
|
|
66
66
|
Filters: [{ c: "WorkStatus", o: "=", l: "And", v1: "New" }],
|
67
67
|
};
|
68
68
|
}
|
69
|
-
get nDraftOptions() {
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
}
|
69
|
+
// public get nDraftOptions(): LoadDocumentListOptions {
|
70
|
+
// return {
|
71
|
+
// Total: true,
|
72
|
+
// List: false,
|
73
|
+
// Filters: [{ c: "WorkStatus", o: "=", l: "And", v1: "Draft" }],
|
74
|
+
// };
|
75
|
+
// }
|
76
76
|
get nRejectedOptions() {
|
77
77
|
return {
|
78
78
|
Total: true,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspacePage/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAY,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAMpE,MAAM,OAAO,KAAK;IAajB,YAAoB,OAAsB,EAAU,IAAY;;;;;mBAA5C;;;;;;mBAAgC;;QAZxC;;;;mBAAiB,SAAiC;WAAC;QACnD;;;;;WAAiC;QACjC;;;;mBAA0B;gBACrC,
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspacePage/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAY,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAMpE,MAAM,OAAO,KAAK;IAajB,YAAoB,OAAsB,EAAU,IAAY;;;;;mBAA5C;;;;;;mBAAgC;;QAZxC;;;;mBAAiB,SAAiC;WAAC;QACnD;;;;;WAAiC;QACjC;;;;mBAA0B;gBACrC,YAAY;gBACZ,GAAG,EAAE,CAAC;gBACN,QAAQ,EAAE,CAAC;gBACX,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;gBACT,IAAI,EAAE,CAAC;aACP;WAAC;QACU;;;;mBAAyB,EAAE;WAAC;QAGvC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAEc,QAAQ,CAAC,GAAW,EAAE,IAAa;QACjD,IAAI,CAAC,OAAO,GAAG,CAAC,GAAG,CAAC,CAAC;QACrB,IAAI,CAAC,OAAO,CAAC,OA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AAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC;SAC5D,CAAC;IACH,CAAC;IAED,IAAW,cAAc;QACxB,OAAO;YACN,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,KAAK;YACX,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC;SAC9D,CAAC;IACH,CAAC;IAED,IAAW,cAAc;QACxB,OAAO;YACN,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,KAAK;YACX,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC;SAC9D,CAAC;IACH,CAAC;CACD;AAhFY;IAAX,UAAU;sCAAoD;AACnD;IAAX,UAAU;2CAAkC;AACjC;IAAX,UAAU;+CAOT;AACU;IAAX,UAAU;8CAA6B;AAMhC;IAAP,MAAM;qCAGN;AAGD;IADC,MAAM;kDAIN;AAGD;IADC,MAAM;iDAIN"}
|
@@ -64,6 +64,8 @@ const TaskList = (props) => {
|
|
64
64
|
let filter = [
|
65
65
|
{ c: "Members", o: "contains", l: "And", v1: JSON.stringify([user.info.unit.id]) },
|
66
66
|
{ c: "Status", o: "!=", v1: "Draft", l: "And" },
|
67
|
+
{ c: "TaskStatus", o: "=", l: "And", v1: "NotStarted" },
|
68
|
+
{ c: "TaskStatus", o: "=", l: "And", v1: "Progress" },
|
67
69
|
];
|
68
70
|
if (match.params.dueDate && match.params.dueDate !== "due") {
|
69
71
|
let date = "day";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Space/components/Tasks/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAgB,qBAAqB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,EAAE,MAAM,EAAE,CAAC,MAAM,CAAC,qBAAqB,CAAC,EAAE,CAAC,CAAC;SAC5F;QACD,IAAI,KAAK,CAAC,MAAM,CAAC,OAAO,KAAK,SAAS,EAAE;YACvC,MAAM,GAAG,EAAE,CAAC;SACZ;QACD,OAAO,MAAwB,CAAC;IACjC,CAAC;IAED,KAAK,UAAU,SAAS,CAAC,EAAU,EAAE,OAAe;QACnD,MAAM,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;IACD,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,eAAe,QAAQ,CAAC"}
|
@@ -2,7 +2,6 @@ import { __decorate } from "tslib";
|
|
2
2
|
import { action, computed, makeObservable, observable } from "mobx";
|
3
3
|
import moment from "moment";
|
4
4
|
export class State {
|
5
|
-
// 只显示 "NotStarted" | "Progress"
|
6
5
|
constructor(_layout, _url, user) {
|
7
6
|
Object.defineProperty(this, "_layout", {
|
8
7
|
enumerable: true,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,MAAkB,MAAM,QAAQ,CAAC;AAOxC,MAAM,OAAO,KAAK;IAqFjB,
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,MAAkB,MAAM,QAAQ,CAAC;AAOxC,MAAM,OAAO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