@voplus/morpho-workspace 6.0.21 → 6.0.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. package/es/controls/filters/WorkStatusFilter/index.js +9 -11
  2. package/es/controls/filters/WorkStatusFilter/index.js.map +1 -1
  3. package/es/controls/filters/WorkStatusFilter/state.d.ts +0 -2
  4. package/es/controls/filters/WorkStatusFilter/state.js +0 -11
  5. package/es/controls/filters/WorkStatusFilter/state.js.map +1 -1
  6. package/es/controls/filters/WorkTypesFilter/index.d.ts +1 -1
  7. package/es/controls/filters/WorkTypesFilter/index.js +9 -11
  8. package/es/controls/filters/WorkTypesFilter/index.js.map +1 -1
  9. package/es/controls/filters/WorkTypesFilter/state.d.ts +0 -2
  10. package/es/controls/filters/WorkTypesFilter/state.js +0 -11
  11. package/es/controls/filters/WorkTypesFilter/state.js.map +1 -1
  12. package/es/data/work/WorkStore.d.ts +4 -1
  13. package/es/data/work/WorkStore.js +4 -0
  14. package/es/data/work/WorkStore.js.map +1 -1
  15. package/es/data/work/interfaces.d.ts +11 -0
  16. package/es/modules/work/components/WorkCashReport/WorkCashReportTemplate.d.ts +8 -0
  17. package/es/modules/work/components/WorkCashReport/WorkCashReportTemplate.js +24 -0
  18. package/es/modules/work/components/WorkCashReport/WorkCashReportTemplate.js.map +1 -0
  19. package/es/modules/work/components/WorkCashReport/index.d.ts +5 -0
  20. package/es/modules/work/components/WorkCashReport/index.js +44 -0
  21. package/es/modules/work/components/WorkCashReport/index.js.map +1 -0
  22. package/es/modules/work/components/WorkCashReport/index.less +35 -0
  23. package/es/modules/work/components/WorkCashReport/state.d.ts +18 -0
  24. package/es/modules/work/components/WorkCashReport/state.js +103 -0
  25. package/es/modules/work/components/WorkCashReport/state.js.map +1 -0
  26. package/es/modules/work/components/WorkList/index.js +2 -0
  27. package/es/modules/work/components/WorkList/index.js.map +1 -1
  28. package/es/modules/work/work-type/components/AutoSequenceLink/index.js +9 -3
  29. package/es/modules/work/work-type/components/AutoSequenceLink/index.js.map +1 -1
  30. package/es/modules/work/work-type/components/WorkTypeProperties/Properties.d.ts +1 -1
  31. package/es/modules/work/work-type/components/WorkTypeProperties/Properties.js +4 -9
  32. package/es/modules/work/work-type/components/WorkTypeProperties/Properties.js.map +1 -1
  33. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js +0 -1
  34. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js.map +1 -1
  35. package/es/modules/work/work-type/components/WorkTypeProperties/index.js +0 -1
  36. package/es/modules/work/work-type/components/WorkTypeProperties/index.js.map +1 -1
  37. package/es/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.d.ts +7 -0
  38. package/es/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.js +43 -0
  39. package/es/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.js.map +1 -0
  40. package/es/modules/workspace/pages/WorkspacePage/index.js +2 -1
  41. package/es/modules/workspace/pages/WorkspacePage/index.js.map +1 -1
  42. package/es/modules/workspace/pages/WorkspacePage/index.less +12 -4
  43. package/package.json +1 -1
@@ -1,25 +1,23 @@
1
- import { Badge } from "antd";
2
- import React from "react";
1
+ import React, { useEffect } from "react";
3
2
  import { State } from "./state";
4
- import classnames from "classnames";
3
+ import { Badge } from "antd";
5
4
  import { observe } from "@voplus/morpho-ui";
6
- import { runInAction } from "mobx";
7
5
  import { useFilterOptionsContext } from "@voplus/morpho-ui/es/data";
6
+ import classnames from "classnames";
8
7
  const WorkStatusFilter = (props) => {
9
8
  const context = useFilterOptionsContext();
10
9
  const state = context.getFilterState("WorkStatus", () => new State());
11
10
  // defaultValue 为传入的预选状态
12
- state.showDefaultValue &&
13
- props.defaultValue &&
14
- props.defaultValue.map((value) => state.onChangeStatus(value));
11
+ useEffect(() => {
12
+ var _a;
13
+ state.reset();
14
+ (_a = props.defaultValue) === null || _a === void 0 ? void 0 : _a.map((value) => state.onChangeStatus(value));
15
+ }, [props.defaultValue]);
15
16
  return observe(() => (React.createElement("div", null,
16
17
  React.createElement("div", { className: "menu-item-title" }, "WorkStatus"),
17
18
  state.menus.map((item, index) => (React.createElement("div", { key: index, className: classnames("filter-menu-item", {
18
19
  bold: state.status.has(item.value),
19
- }), onClick: () => {
20
- state.onChangeStatus(item.value);
21
- runInAction(() => (state.showDefaultValue = false));
22
- } },
20
+ }), onClick: () => state.onChangeStatus(item.value) },
23
21
  React.createElement("div", { className: "filter-name" },
24
22
  React.createElement(Badge, { color: item.color }),
25
23
  item.name),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkStatusFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,MAAM,gBAAgB,GAAG,CAAC,KAAkC,EAAE,EAAE;IAC/D,MAAM,OAAO,GAAG,uBAAuB,EAAE,CAAC;IAE1C,MAAM,KAAK,GAAG,OAAO,CAAC,cAAc,CAAC,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtE,wBAAwB;IACxB,KAAK,CAAC,gBAAgB;QACrB,KAAK,CAAC,YAAY;QAClB,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC;IAEhE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACC,6BAAK,SAAS,EAAC,iBAAiB,iBAAiB;QAChD,KAAK,CAAC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CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtE,wBAAwB;IACxB,SAAS,CAAC,GAAG,EAAE;;QACd,KAAK,CAAC,KAAK,EAAE,CAAC;QACd,MAAA,KAAK,CAAC,YAAY,0CAAE,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC;IACjE,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;IAEzB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACC,6BAAK,SAAS,EAAC,iBAAiB,iBAAiB;QAChD,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,KAAa,EAAE,EAAE,CAAC,CAC9C,6BACC,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,UAAU,CAAC,kBAAkB,EAAE;gBACzC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC;aAClC,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC;YAE/C,6BAAK,SAAS,EAAC,aAAa;gBAC3B,oBAAC,KAAK,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI;gBAC3B,IAAI,CAAC,IAAI,CACL;YACN,kCAAO,IAAI,CAAC,MAAM,CAAQ,CACrB,CACN,CAAC,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,8 +1,6 @@
1
1
  import { FilterOption } from "@voplus/morpho-data";
2
2
  import { IFilterState } from "@voplus/morpho-ui/es/data/IFilterState";
3
3
  export declare class State implements IFilterState {
4
- /** 是否显示预选status */
5
- showDefaultValue: boolean;
6
4
  /** Status of filter */
7
5
  status: Map<string, boolean>;
8
6
  constructor();
@@ -2,13 +2,6 @@ import { __decorate } from "tslib";
2
2
  import { action, makeObservable, observable } from "mobx";
3
3
  export class State {
4
4
  constructor() {
5
- /** 是否显示预选status */
6
- Object.defineProperty(this, "showDefaultValue", {
7
- enumerable: true,
8
- configurable: true,
9
- writable: true,
10
- value: true
11
- });
12
5
  /** Status of filter */
13
6
  Object.defineProperty(this, "status", {
14
7
  enumerable: true,
@@ -44,12 +37,8 @@ export class State {
44
37
  }
45
38
  reset() {
46
39
  this.status.clear();
47
- this.showDefaultValue = true;
48
40
  }
49
41
  }
50
- __decorate([
51
- observable
52
- ], State.prototype, "showDefaultValue", void 0);
53
42
  __decorate([
54
43
  observable
55
44
  ], State.prototype, "status", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkStatusFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAK1D,MAAM,OAAO,KAAK;IAMjB;QALA,mBAAmB;QACA;;;;mBAAmB,IAAI;WAAC;QAC3C,uBAAuB;QACJ;;;;mBAA+B,IAAI,GAAG,EAAE;WAAC;QAG3D,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,oBAAoB;IAEb,cAAc,CAAC,KAAa;QAClC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;IAED,IAAW,KAAK;QACf,OAAO;YACN,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;YAChE,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,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MAAM,CAAC,KAAK,EAAE,CAAC;IACrB,CAAC;CACD;AAnCmB;IAAlB,UAAU;qCAAiD;AAQrD;IADN,MAAM;2CAGN"}
@@ -1,5 +1,5 @@
1
- import { IWorkType } from "../../../data/worktype";
2
1
  import React from "react";
2
+ import { IWorkType } from "../../../data/worktype";
3
3
  declare const WorkTypesFilter: (props: {
4
4
  workTypeList: IWorkType[];
5
5
  defaultValue?: string[];
@@ -1,26 +1,24 @@
1
- import { Badge } from "antd";
2
- import React from "react";
1
+ import React, { useEffect } from "react";
3
2
  import { State } from "./state";
4
- import classnames from "classnames";
3
+ import { Badge } from "antd";
5
4
  import { observe } from "@voplus/morpho-ui";
6
- import { runInAction } from "mobx";
7
5
  import { useFilterOptionsContext } from "@voplus/morpho-ui/es/data";
6
+ import classnames from "classnames";
8
7
  const WorkTypesFilter = (props) => {
9
8
  const context = useFilterOptionsContext();
10
9
  const state = context.getFilterState("WorkTypes", () => new State());
11
10
  state.workTypeList = props.workTypeList;
12
11
  // defaultValue 为传入的预选状态
13
- state.showDefaultValue &&
14
- props.defaultValue &&
15
- props.defaultValue.map((value) => state.onChangeTypes(value));
12
+ useEffect(() => {
13
+ var _a;
14
+ state.reset();
15
+ (_a = props.defaultValue) === null || _a === void 0 ? void 0 : _a.map((value) => state.onChangeTypes(value));
16
+ }, [props.defaultValue]);
16
17
  return observe(() => (React.createElement("div", null,
17
18
  React.createElement("div", { className: "menu-item-title" }, "WorkTypes"),
18
19
  state.menus.map((item, index) => (React.createElement("div", { key: index, className: classnames("filter-menu-item", {
19
20
  bold: state.types.has(item.value),
20
- }), onClick: () => {
21
- state.onChangeTypes(item.value);
22
- runInAction(() => (state.showDefaultValue = false));
23
- } },
21
+ }), onClick: () => state.onChangeTypes(item.value) },
24
22
  React.createElement("div", { className: "filter-name" },
25
23
  React.createElement(Badge, { color: item.color }),
26
24
  item.name),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypes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AY,CAAC,CAAC,CAAC;IAEzB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACC,6BAAK,SAAS,EAAC,iBAAiB,gBAAgB;QAC/C,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,KAAa,EAAE,EAAE,CAAC,CAC9C,6BACC,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,UAAU,CAAC,kBAAkB,EAAE;gBACzC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC;aACjC,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC;YAE9C,6BAAK,SAAS,EAAC,aAAa;gBAC3B,oBAAC,KAAK,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI;gBAC3B,IAAI,CAAC,IAAI,CACL;YACN,kCAAO,IAAI,CAAC,MAAM,CAAQ,CACrB,CACN,CAAC,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -2,8 +2,6 @@ import { FilterOption } from "@voplus/morpho-data";
2
2
  import { IFilterState } from "@voplus/morpho-ui/es/data/IFilterState";
3
3
  import { IWorkType } from "../../../data/worktype";
4
4
  export declare class State implements IFilterState {
5
- /** 是否显示预选types */
6
- showDefaultValue: boolean;
7
5
  /** types of filter */
8
6
  types: Map<string, boolean>;
9
7
  workTypeList: IWorkType[];
@@ -2,13 +2,6 @@ import { __decorate } from "tslib";
2
2
  import { action, makeObservable, observable } from "mobx";
3
3
  export class State {
4
4
  constructor() {
5
- /** 是否显示预选types */
6
- Object.defineProperty(this, "showDefaultValue", {
7
- enumerable: true,
8
- configurable: true,
9
- writable: true,
10
- value: true
11
- });
12
5
  /** types of filter */
13
6
  Object.defineProperty(this, "types", {
14
7
  enumerable: true,
@@ -53,12 +46,8 @@ export class State {
53
46
  }
54
47
  reset() {
55
48
  this.types.clear();
56
- this.showDefaultValue = true;
57
49
  }
58
50
  }
59
- __decorate([
60
- observable
61
- ], State.prototype, "showDefaultValue", void 0);
62
51
  __decorate([
63
52
  observable
64
53
  ], State.prototype, "types", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAM1D,MAAM,OAAO,KAAK;IAOjB;QANA,kBAAkB;QACC;;;;mBAAmB,IAAI;WAAC;QAC3C,sBAAsB;QACH;;;;mBAA8B,IAAI,GAAG,EAAE;WAAC;QACxC;;;;;WAA0B;QAG5C,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,mBAAmB;IAEZ,aAAa,CAAC,KAAa;QACjC,kFAAkF;QAClF,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;YAC3B,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;aAAM,CAAC;YACP,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC;IACF,CAAC;IAED,IAAW,KAAK;;QACf,MAAM,GAAG,GAAU,EAAE,CAAC;QACtB,MAAA,IAAI,CAAC,YAAY,0CAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAC/B,GAAG,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAC5E,CAAC;QACF,OAAO,GAAG,CAAC;IACZ,CAAC;IACD,IAAW,OAAO;QACjB,OAAO;YACN;gBACC,CAAC,EAAE,UAAU;gBACb,CAAC,EAAE,GAAG;gBACN,EAAE,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBACpC,CAAC,EAAE,KAAK;aACQ;SACjB,CAAC;IACH,CAAC;IACM,KAAK;QACX,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;QACnB,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAC9B,CAAC;CACD;AA1CmB;IAAlB,UAAU;+CAAgC;AAExB;IAAlB,UAAU;oCAAgD;AACxC;IAAlB,UAAU;2CAAkC;AAQtC;IADN,MAAM;0CASN"}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAM1D,MAAM,OAAO,KAAK;IAKjB;QAJA,sBAAsB;QACH;;;;mBAA8B,IAAI,GAAG,EAAE;WAAC;QACxC;;;;;WAA0B;QAG5C,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,mBAAmB;IAEZ,aAAa,CAAC,KAAa;QACjC,kFAAkF;QAClF,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;YAC3B,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;aAAM,CAAC;YACP,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC;IACF,CAAC;IAED,IAAW,KAAK;;QACf,MAAM,GAAG,GAAU,EAAE,CAAC;QACtB,MAAA,IAAI,CAAC,YAAY,0CAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAC/B,GAAG,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAC5E,CAAC;QACF,OAAO,GAAG,CAAC;IACZ,CAAC;IACD,IAAW,OAAO;QACjB,OAAO;YACN;gBACC,CAAC,EAAE,UAAU;gBACb,CAAC,EAAE,GAAG;gBACN,EAAE,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBACpC,CAAC,EAAE,KAAK;aACQ;SACjB,CAAC;IACH,CAAC;IACM,KAAK;QACX,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IACpB,CAAC;CACD;AAvCmB;IAAlB,UAAU;oCAAgD;AACxC;IAAlB,UAAU;2CAAkC;AAQtC;IADN,MAAM;0CASN"}
@@ -1,6 +1,6 @@
1
1
  import { DocumentStore, DocumentTypeStore, LoadDocumentListOptions, LoadDocumentOptions } from "@voplus/morpho-document-core";
2
2
  import { CreateWorkOptions, IWork, IWorkEditOptions, WorkSendFormOptions } from "./interfaces";
3
- import { StoreActionOptions } from "@voplus/morpho-data";
3
+ import { StoreActionOptions, FilterOption } from "@voplus/morpho-data";
4
4
  import { ApiEndPoint } from "@voplus/api";
5
5
  export declare class WorkStore extends DocumentTypeStore<IWork, LoadDocumentOptions, LoadDocumentListOptions, CreateWorkOptions, IWorkEditOptions, any> {
6
6
  /** Name of the store */
@@ -18,6 +18,9 @@ export declare class WorkStore extends DocumentTypeStore<IWork, LoadDocumentOpti
18
18
  * @param {string} id - id of the work.
19
19
  */
20
20
  reject(id: string, options: StoreActionOptions): Promise<any>;
21
+ loadWorkReport(options?: {
22
+ Filters?: FilterOption[];
23
+ }): Promise<any>;
21
24
  }
22
25
  /** 响应钩子检索 PageStore */
23
26
  export declare const useWorkStore: () => WorkStore;
@@ -49,6 +49,10 @@ export class WorkStore extends DocumentTypeStore {
49
49
  }
50
50
  }, options);
51
51
  }
52
+ async loadWorkReport(options) {
53
+ const r = await this.endpoint.post(`/api/works/reports/monthly`, new RequestBuilder().json(options ? options : { Filters: [] }));
54
+ return await r.json();
55
+ }
52
56
  }
53
57
  /** 响应钩子检索 PageStore */
54
58
  export const useWorkStore = () => {
@@ -1 +1 @@
1
- {"version":3,"file":"WorkStore.js","sourceRoot":"","sources":["../../../src/data/work/WorkStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,iBAAiB,EAGjB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAsB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1D,MAAM,SAAS,GAAG,WAAW,CAAC;AAE9B,MAAM,OAAO,SAAU,SAAQ,iBAO9B;IAIA,YAAmB,QAAqB,EAAE,SAAwB;QACjE,KAAK,CAAC,QAAQ,EAAE,YAAY,EAAE,SAAS,CAAC,CAAC;QAJ1C,wBAAwB;QACR;;;;mBAAe,SAAS;WAAC;IAIzC,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,IAAI,CAAC,EAAU,EAAE,OAA4B;QACzD,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;YAC7B,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,EAAE,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;YAC3F,IAAI,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC;gBACnC,IAAI,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAU,CAAC;gBACnD,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;YACzB,CAAC;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AAC,OAAO,EAAE,EAAE,CAAC,IAAI,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,SAAS,CAAC,CAClE,CAAC;AACH,CAAC,CAAC"}
@@ -66,3 +66,14 @@ export type WorkSendFormOptions = {
66
66
  Message: string;
67
67
  };
68
68
  } & StoreActionOptions;
69
+ export interface IWorkReport {
70
+ id: string;
71
+ start: string;
72
+ end: string;
73
+ items: IWorkReportItem[];
74
+ }
75
+ export interface IWorkReportItem {
76
+ year: number;
77
+ month: number;
78
+ total: number;
79
+ }
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ declare const WorkCashReportTemplate: (props: {
3
+ data: {
4
+ date: string;
5
+ total: number;
6
+ }[];
7
+ }) => React.JSX.Element;
8
+ export default WorkCashReportTemplate;
@@ -0,0 +1,24 @@
1
+ import React, { useEffect } from "react";
2
+ import { Chart } from "@antv/g2";
3
+ import { observe } from "@voplus/morpho-ui";
4
+ const WorkCashReportTemplate = (props) => {
5
+ useEffect(() => init(), []);
6
+ const init = () => {
7
+ const chart = new Chart({
8
+ container: "work-report-container",
9
+ autoFit: true,
10
+ height: 280,
11
+ });
12
+ chart.data(props.data);
13
+ chart.scale("total", {
14
+ nice: true,
15
+ });
16
+ chart.interval().position("date*total");
17
+ chart.interaction("active-region");
18
+ chart.interaction('element-active');
19
+ chart.render();
20
+ };
21
+ return observe(() => React.createElement("div", { id: "work-report-container" }));
22
+ };
23
+ export default WorkCashReportTemplate;
24
+ //# sourceMappingURL=WorkCashReportTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkCashReportTemplate.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkCashReport/WorkCashReportTemplate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,sBAAsB,GAAG,CAAC,KAAkD,EAAE,EAAE;IACrF,SAAS,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IAE5B,MAAM,IAAI,GAAG,GAAG,EAAE;QACjB,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC;YACvB,SAAS,EAAE,uBAAuB;YAClC,OAAO,EAAE,IAAI;YACb,MAAM,EAAE,GAAG;SACX,CAAC,CAAC;QAEH,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACvB,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE;YACpB,IAAI,EAAE,IAAI;SACV,CAAC,CAAC;QAEH,KAAK,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;QAExC,KAAK,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;QACnC,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;QAEpC,KAAK,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,6BAAK,EAAE,EAAC,uBAAuB,GAAG,CAAC,CAAC;AAC1D,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ declare const WorkCashReport: (props: {
3
+ id: string;
4
+ }) => React.JSX.Element;
5
+ export default WorkCashReport;
@@ -0,0 +1,44 @@
1
+ import React, { useEffect, useState } from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import { FilterOptionsContext, ListDataContext, useCreateListDataState, } from "@voplus/morpho-ui/es/data";
4
+ import { useWorkStore } from "../../../../data/work";
5
+ import { State } from "./state";
6
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
7
+ import { faBarsFilter } from "@fortawesome/pro-light-svg-icons";
8
+ import { Skeleton } from "antd";
9
+ import { CloseOutlined } from "@ant-design/icons";
10
+ import { WorkStatusFilter } from "../../../../controls/filters";
11
+ import WorkCashReportTemplate from "./WorkCashReportTemplate";
12
+ import FilterView from "@voplus/morpho-ui/es/controls/FilterView";
13
+ import styles from "./index.less";
14
+ const WorkCashReport = (props) => {
15
+ const list = useCreateListDataState();
16
+ const store = useWorkStore();
17
+ const [state] = useState(new State(props.id, store));
18
+ useEffect(() => state.onLoad(), [props.id]);
19
+ return observe(() => {
20
+ var _a;
21
+ return (React.createElement(ListDataContext.Provider, { value: list },
22
+ React.createElement("div", { className: styles["work-report-g2"] },
23
+ React.createElement(FilterOptionsContext.Provider, { value: list.filters },
24
+ React.createElement("div", { className: "work-report-header" },
25
+ React.createElement("div", { className: "selected-filter" }, (_a = state.filterV1Val) === null || _a === void 0 ? void 0 : _a.map((type) => (React.createElement("div", { className: "selected-filter-item" },
26
+ React.createElement("span", { className: "prosemirror-mention-node" }, type),
27
+ React.createElement(CloseOutlined, { className: "selected-filter-item-del", onClick: () => state.onResetFilter(type) }))))),
28
+ React.createElement("div", { className: "filter-component" },
29
+ React.createElement(FilterView, { className: "ml-2.5", icon: React.createElement(FAIcon, { icon: faBarsFilter, size: "lg" }), columns: [
30
+ React.createElement(WorkStatusFilter, { key: "WorkStatusFilter", defaultValue: state.filterV1Val }),
31
+ ], onFilter: (c) => {
32
+ var _a, _b;
33
+ c.filter();
34
+ state.onFilter((state.filterV1Val = ((_a = c === null || c === void 0 ? void 0 : c.options) === null || _a === void 0 ? void 0 : _a.Filters)
35
+ ? JSON.parse((_b = c === null || c === void 0 ? void 0 : c.options) === null || _b === void 0 ? void 0 : _b.Filters[0].v1)
36
+ : []));
37
+ }, onReset: () => state.onFilter([]) })))),
38
+ React.createElement("div", { className: "work-report-content" },
39
+ React.createElement(Skeleton, { loading: state.loading, active: true },
40
+ React.createElement(WorkCashReportTemplate, { data: state.dataList }))))));
41
+ });
42
+ };
43
+ export default WorkCashReport;
44
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,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,CAAC,EAAE,CAAC,GAChC,CACG,CACD,CACyB;gBAEhC,6BAAK,SAAS,EAAC,qBAAqB;oBACnC,oBAAC,QAAQ,IAAC,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,MAAM;wBACvC,oBAAC,sBAAsB,IAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,GAAI,CACtC,CACN,CACD,CACoB,CAC3B,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,35 @@
1
+ .work-report-g2 {
2
+ :global {
3
+ .work-report-header {
4
+ display: flex;
5
+ justify-content: space-between;
6
+ margin-bottom: 40px;
7
+ }
8
+
9
+ .selected-filter {
10
+ }
11
+
12
+ .selected-filter-item {
13
+ position: relative;
14
+ display: inline-block;
15
+
16
+ .selected-filter-item-del {
17
+ position: absolute;
18
+ font-size: 12px;
19
+ right: 12px;
20
+ top: 11px;
21
+ display: none;
22
+ }
23
+
24
+ &:hover {
25
+ .prosemirror-mention-node {
26
+ padding-right: 24px;
27
+ }
28
+
29
+ .selected-filter-item-del {
30
+ display: block;
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,18 @@
1
+ import { WorkStore, IWorkReport } from "../../../../data/work";
2
+ import { FilterOption } from "@voplus/morpho-data";
3
+ export declare class State {
4
+ private worktypeId;
5
+ private store;
6
+ loading: boolean;
7
+ filterV1Val: string[];
8
+ filter: FilterOption[];
9
+ dataList: {
10
+ date: string;
11
+ total: number;
12
+ }[];
13
+ constructor(worktypeId: string, store: WorkStore);
14
+ onLoad(filterOption?: FilterOption[]): void;
15
+ loadCashList(workReport: IWorkReport): void;
16
+ onResetFilter(item: string): void;
17
+ onFilter(filterV1Val: string[]): void;
18
+ }
@@ -0,0 +1,103 @@
1
+ import { __decorate } from "tslib";
2
+ import { makeObservable, observable, action } from "mobx";
3
+ import dayjs from "dayjs";
4
+ export class State {
5
+ constructor(worktypeId, store) {
6
+ Object.defineProperty(this, "worktypeId", {
7
+ enumerable: true,
8
+ configurable: true,
9
+ writable: true,
10
+ value: worktypeId
11
+ });
12
+ Object.defineProperty(this, "store", {
13
+ enumerable: true,
14
+ configurable: true,
15
+ writable: true,
16
+ value: store
17
+ });
18
+ Object.defineProperty(this, "loading", {
19
+ enumerable: true,
20
+ configurable: true,
21
+ writable: true,
22
+ value: false
23
+ });
24
+ Object.defineProperty(this, "filterV1Val", {
25
+ enumerable: true,
26
+ configurable: true,
27
+ writable: true,
28
+ value: ["Draft", "New", "Rejected", "Active", "Closed", "Done"]
29
+ });
30
+ Object.defineProperty(this, "filter", {
31
+ enumerable: true,
32
+ configurable: true,
33
+ writable: true,
34
+ value: [
35
+ {
36
+ c: "WorkStatus",
37
+ o: "contains",
38
+ l: "And",
39
+ v1: JSON.stringify(this.filterV1Val),
40
+ },
41
+ { c: "WorkType", o: "=", l: "And", v1: this.worktypeId },
42
+ ]
43
+ });
44
+ // 柱状图的数据列表
45
+ Object.defineProperty(this, "dataList", {
46
+ enumerable: true,
47
+ configurable: true,
48
+ writable: true,
49
+ value: []
50
+ });
51
+ makeObservable(this);
52
+ }
53
+ onLoad(filterOption) {
54
+ this.loading = true;
55
+ this.store
56
+ .loadWorkReport({ Filters: filterOption !== null && filterOption !== void 0 ? filterOption : this.filter })
57
+ .then((res) => this.loadCashList(res))
58
+ .finally(() => (this.loading = false));
59
+ }
60
+ // 把后台返回的值转成柱状图所需要的数据
61
+ loadCashList(workReport) {
62
+ var _a;
63
+ this.dataList = [];
64
+ (_a = workReport === null || workReport === void 0 ? void 0 : workReport.items) === null || _a === void 0 ? void 0 : _a.map((i) => this.dataList.push({
65
+ date: dayjs(`${i.year}-${i.month}`).format("YYYY MMM"),
66
+ total: i.total,
67
+ }));
68
+ }
69
+ onResetFilter(item) {
70
+ var _a;
71
+ this.onFilter((_a = this.filterV1Val) === null || _a === void 0 ? void 0 : _a.filter((v) => v !== item));
72
+ }
73
+ onFilter(filterV1Val) {
74
+ this.filterV1Val = filterV1Val;
75
+ this.filter[0].v1 = JSON.stringify(filterV1Val);
76
+ this.onLoad(this.filter);
77
+ }
78
+ }
79
+ __decorate([
80
+ observable
81
+ ], State.prototype, "loading", void 0);
82
+ __decorate([
83
+ observable
84
+ ], State.prototype, "filterV1Val", void 0);
85
+ __decorate([
86
+ observable
87
+ ], State.prototype, "filter", void 0);
88
+ __decorate([
89
+ observable
90
+ ], State.prototype, "dataList", void 0);
91
+ __decorate([
92
+ action
93
+ ], State.prototype, "onLoad", null);
94
+ __decorate([
95
+ action
96
+ ], State.prototype, "loadCashList", null);
97
+ __decorate([
98
+ action
99
+ ], State.prototype, "onResetFilter", null);
100
+ __decorate([
101
+ action
102
+ ], State.prototype, "onFilter", null);
103
+ //# sourceMappingURL=state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkCashReport/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAG1D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAK;IAkBjB,YAAoB,UAAkB,EAAU,KAAgB;QAApD;;;;mBAAQ,UAAU;WAAQ;QAAE;;;;mBAAQ,KAAK;WAAW;QAjBpD;;;;mBAAU,KAAK;WAAC;QAEhB;;;;mBAAwB,CAAC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC;WAAC;QAEjF;;;;mBAAyB;gBACpC;oBACC,CAAC,EAAE,YAAY;oBACf,CAAC,EAAE,UAAU;oBACb,CAAC,EAAE,KAAK;oBACR,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;iBACpC;gBACD,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC,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I,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;QAEhD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC1B,CAAC;CACD;AApDY;IAAX,UAAU;sCAAiB;AAEhB;IAAX,UAAU;0CAAkF;AAEjF;IAAX,UAAU;qCAQT;AAGU;IAAX,UAAU;uCAAkD;AAM9C;IAAd,MAAM;mCAON;AAGc;IAAd,MAAM;yCASN;AAEc;IAAd,MAAM;0CAEN;AAEc;IAAd,MAAM;qCAKN"}
@@ -177,6 +177,8 @@ const WorkList = (props) => {
177
177
  }
178
178
  if (contactId)
179
179
  return ["New", "Active"];
180
+ if (typesId)
181
+ return ["Active"];
180
182
  return [];
181
183
  }
182
184
  function onFilter(context) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAa,WAAW,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC1F,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,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,MAAM,M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gBACT,OAAO,CAAC,QAAQ,CAAC,CAAC;YACnB,KAAK,WAAW;gBACf,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;YACnC;gBACC,MAAM;QACR,CAAC;QACD,IAAI,SAAS;YAAE,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QACxC,IAAI,OAAO;YAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC/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,QAAQ,CAAC,YAAY,GAAG;IACvB,SAAS,EAAE,IAAI;CACf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,11 +1,17 @@
1
1
  import React, { useState } from "react";
2
2
  import { observe } from "@voplus/morpho-ui";
3
3
  import AutoSequenceDialog from "../AutoSequenceDialog";
4
+ import classnames from "classnames";
5
+ import { useWorkType } from "../../../../../data/worktype";
4
6
  const AutoSequenceLink = (props) => {
5
7
  const [open, setOpen] = useState(false);
6
- return observe(() => (React.createElement(React.Fragment, null,
7
- React.createElement("span", { className: "add-info-style", style: { cursor: "pointer" }, onClick: () => setOpen(true) }, "Auto Sequence"),
8
- open && (React.createElement(AutoSequenceDialog, { id: props.id, onCancel: () => setOpen(false), onSubmit: () => setOpen(false) })))));
8
+ const worktype = useWorkType(props.id);
9
+ return observe(() => {
10
+ var _a, _b;
11
+ return (React.createElement(React.Fragment, null,
12
+ React.createElement("span", { className: classnames({ "add-info-style": !((_a = worktype.sequence) === null || _a === void 0 ? void 0 : _a.format) }), style: { cursor: "pointer" }, onClick: () => setOpen(true) }, ((_b = worktype.sequence) === null || _b === void 0 ? void 0 : _b.format) ? worktype.sequence.format : "Add NumberFormat"),
13
+ open && (React.createElement(AutoSequenceDialog, { id: props.id, onCancel: () => setOpen(false), onSubmit: () => setOpen(false) }))));
14
+ });
9
15
  };
10
16
  export default AutoSequenceLink;
11
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/AutoSequenceLink/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AAEvD,MAAM,gBAAgB,GAAG,CAAC,KAAqB,EAAE,EAAE;IAClD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACC,8BAAM,SAAS,EAAC,gBAAgB,EAAC,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,oBAEpF;QACN,IAAI,IAAI,CACR,oBAAC,kBAAkB,IAClB,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,QAAQ,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAC9B,QAAQ,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,GAC7B,CACF,CACC,CACH,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/AutoSequenceLink/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,gBAAgB,GAAG,CAAC,KAAqB,EAAE,EAAE;IAClD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxC,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAEvC,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB;YACC,8BACC,SAAS,EAAE,UAAU,CAAC,EAAE,gBAAgB,EAAE,CAAC,CAAA,MAAA,QAAQ,CAAC,QAAQ,0CAAE,MAAM,CAAA,EAAE,CAAC,EACvE,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAC5B,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAE3B,CAAA,MAAA,QAAQ,CAAC,QAAQ,0CAAE,MAAM,EAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,kBAAkB,CACpE;YACN,IAAI,IAAI,CACR,oBAAC,kBAAkB,IAClB,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,QAAQ,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAC9B,QAAQ,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,GAC7B,CACF,CACC,CACH,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- export type WorkTypePropertiesName = "Work Space" | "Sequence" | "Number Format" | "Status" | "Default Folder" | "Documentation" | "Default Due" | "Requester" | "Accepters" | "Default Owner" | "Auto Accept";
2
+ export type WorkTypePropertiesName = "Work Space" | "Number Format" | "Status" | "Default Folder" | "Documentation" | "Default Due" | "Requester" | "Accepters" | "Default Owner" | "Auto Accept";
3
3
  declare const Properties: (props: {
4
4
  id: string;
5
5
  propertiesName: WorkTypePropertiesName;
@@ -24,28 +24,23 @@ const Properties = (props) => {
24
24
  state.documentationEdit && (React.createElement(DocumentSelectDialog, { multiSelect: false, onCancel: () => state.onCancel(), onSelect: (data) => state.onSelect(data) })),
25
25
  state.folderEdit && (React.createElement(ChangeWorkDefaultFolderDialog, { id: id, defaultDocument: state.worktype.defaultFolder, onCancel: () => (state.folderEdit = false), onSubmit: () => (state.folderEdit = false) })))));
26
26
  function renderProp(name) {
27
- var _a, _b, _c, _d;
27
+ var _a, _b, _c;
28
28
  switch (name) {
29
29
  case "Work Space":
30
30
  return (React.createElement(NodeLink, { node: worktype === null || worktype === void 0 ? void 0 : worktype.workspace, url: `/workspaces/${(_a = worktype.workspace) === null || _a === void 0 ? void 0 : _a.id}` }));
31
- case "Sequence":
32
- return React.createElement(AutoSequenceLink, { id: id });
33
31
  case "Number Format":
34
- return (React.createElement(InlineEdit, { defaultValue: (_b = worktype.sequence) === null || _b === void 0 ? void 0 : _b.format, content: (v) => {
35
- var _a;
36
- return ((_a = worktype.sequence) === null || _a === void 0 ? void 0 : _a.format) ? (React.createElement("span", null, worktype.sequence.format)) : (React.createElement("span", { className: "add-info-style" }, "Add NumberFormat"));
37
- }, onSave: (value) => { var _a; return state.save(value, (_a = worktype.sequence) === null || _a === void 0 ? void 0 : _a.format, { Sequence: { format: value } }); } }));
32
+ return React.createElement(AutoSequenceLink, { id: id });
38
33
  case "Status":
39
34
  return (React.createElement(WorkTypeStatusLabel, { editable: true, status: worktype.status, onChange: (status) => {
40
35
  store.edit(worktype.id, { data: { Status: status }, error: "message" });
41
36
  } }));
42
37
  case "Default Folder":
43
- return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_c = state.worktype.defaultFolder) === null || _c === void 0 ? void 0 : _c.name}`, editable: false, content: (v) => {
38
+ return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_b = state.worktype.defaultFolder) === null || _b === void 0 ? void 0 : _b.name}`, editable: false, content: (v) => {
44
39
  var _a;
45
40
  return (React.createElement("div", null, ((_a = state.worktype.defaultFolder) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(DocumentReference, { file: state.worktype.defaultFolder })) : (React.createElement("span", { className: "add-info-style" }, "Add Default Folder"))));
46
41
  }, onEditIconClick: () => runInAction(() => (state.folderEdit = true)) }));
47
42
  case "Documentation":
48
- return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_d = state.worktype.document) === null || _d === void 0 ? void 0 : _d.name}`, editable: false, content: (v) => {
43
+ return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_c = state.worktype.document) === null || _c === void 0 ? void 0 : _c.name}`, editable: false, content: (v) => {
49
44
  var _a;
50
45
  return (React.createElement("div", null, ((_a = state.worktype.document) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(DocumentReference, { file: state.worktype.document })) : (React.createElement("span", { className: "add-info-style" }, "Add Documentation"))));
51
46
  }, onEditIconClick: () => runInAction(() => (state.documentationEdit = true)) }));
@@ -1 +1 @@
1
- {"version":3,"file":"Properties.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/Properties.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,QAAQ,MAAM,kCAAkC,CAAC;AACxD,O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K,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBAC3E,CAAC,GACA,CACF,CAAC;YACH,KAAK,eAAe;gBACnB,OAAO,CACN,oBAAC,UAAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,QAAQ,QACR,UAAU,EAAC,IAAI,EACf,IAAI,EAAE,QAAQ,CAAC,MAAM,EACrB,QAAQ,EAAE,CAAC,GAAa,EAAE,EAAE;wBAC3B,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBACxE,CAAC,GACA,CACF,CAAC;YACH,KAAK,aAAa;gBACjB,OAAO,CACN,oBAAC,MAAM,IACN,OAAO,EAAE,QAAQ,CAAC,UAAU,EAC5B,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,CACrB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAE5E,CACF,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"Properties.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/Properties.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B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wBAC3B,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBACxE,CAAC,GACA,CACF,CAAC;YACH,KAAK,aAAa;gBACjB,OAAO,CACN,oBAAC,MAAM,IACN,OAAO,EAAE,QAAQ,CAAC,UAAU,EAC5B,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,CACrB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAE5E,CACF,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -13,7 +13,6 @@ const WorkTypePropertiesCard = (props) => {
13
13
  WorkTypePropertiesCard.defaultProps = {
14
14
  workTypeProperties: [
15
15
  { key: "Work Space" },
16
- { key: "Sequence" },
17
16
  { key: "Number Format" },
18
17
  { key: "Status" },
19
18
  { key: "Default Folder" },
@@ -1 +1 @@
1
- {"version":3,"file":"WorkTypePropertiesCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,sBAAsB,GAAG,CAAC,KAG/B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IACzC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEjC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzC,oBAAC,cAAc,IACd,KAAK,EAAC,mBAAmB,EACzB,QAAQ,EAAE,kBAAkB,EAC5B,QAAQ,EAAE,CAAC,IAA4B,EAAE,EAAE,CAAC,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,GAAI,GACvF,CACQ,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,kBAAkB,EAAE;QACnB,EAAE,GAAG,EAAE,YAAY,EAAE;QACrB,EAAE,GAAG,EAAE,UAAU,EAAE;QACnB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,QAAQ,EAAE;QACjB,EAAE,GAAG,EAAE,gBAAgB,EAAE;QACzB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;QACtB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;KACtB;CACD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"WorkTypePropertiesCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,sBAAsB,GAAG,CAAC,KAG/B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IACzC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEjC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzC,oBAAC,cAAc,IACd,KAAK,EAAC,mBAAmB,EACzB,QAAQ,EAAE,kBAAkB,EAC5B,QAAQ,EAAE,CAAC,IAA4B,EAAE,EAAE,CAAC,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,GAAI,GACvF,CACQ,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,kBAAkB,EAAE;QACnB,EAAE,GAAG,EAAE,YAAY,EAAE;QACrB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,QAAQ,EAAE;QACjB,EAAE,GAAG,EAAE,gBAAgB,EAAE;QACzB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;QACtB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;KACtB;CACD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -31,7 +31,6 @@ WorkTypeProperties.defaultProps = {
31
31
  header: true,
32
32
  workTypeProperties: [
33
33
  "Work Space",
34
- "Sequence",
35
34
  "Number Format",
36
35
  "Status",
37
36
  "Default Folder",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources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;QACf,aAAa;QACb,WAAW;QACX,WAAW;QACX,eAAe;QACf,aAAa;KACb;CACD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,UAAsC,MAAM,cAAc,CAAC;AAClE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAE7E,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,kBAAkB,GAAG,CAAC,KAI3B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IACzC,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IAE3C,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACvC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAEvB,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;IAE9B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,UAAU,CAAC,iBAAiB,CAAC;QAC3C,KAAK,CAAC,MAAM,IAAI,CAChB,6BAAK,SAAS,EAAC,mBAAmB;YACjC,6BAAK,SAAS,EAAC,OAAO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,CAAC,YAAY,GAAG;IACjC,MAAM,EAAE,IAAI;IACZ,kBAAkB,EAAE;QACnB,YAAY;QACZ,eAAe;QACf,QAAQ;QACR,gBAAgB;QAChB,eAAe;QACf,aAAa;QACb,WAAW;QACX,WAAW;QACX,eAAe;QACf,aAAa;KACb;CACD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { State } from "./state";
3
+ declare const Dashboard: (props: {
4
+ state: State;
5
+ path: string;
6
+ }) => React.JSX.Element;
7
+ export default Dashboard;
@@ -0,0 +1,43 @@
1
+ import React, { useLayoutEffect, useRef, useState } from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import { generatePath } from "react-router";
4
+ import { useLayout } from "@voplus/morpho-data";
5
+ import { useParams } from "react-router-dom";
6
+ import { Card } from "antd";
7
+ import { runInAction } from "mobx";
8
+ import RelatedDocument from "@voplus/morpho-document/es/controls/RelatedDocument";
9
+ import WorkListCard from "../../../work/components/WorkListCard";
10
+ import WorkCashReport from "../../../work/components/WorkCashReport";
11
+ import styles from "./index.less";
12
+ const Dashboard = (props) => {
13
+ const ref = useRef(null);
14
+ const params = useParams();
15
+ const layout = useLayout();
16
+ const [dashboardHeight, setDashboardHeight] = useState();
17
+ useLayoutEffect(() => {
18
+ var _a;
19
+ setDashboardHeight((_a = ref.current) === null || _a === void 0 ? void 0 : _a.offsetHeight);
20
+ });
21
+ return observe(() => (React.createElement("div", { className: styles["worktype-works-dashboard"], ref: ref },
22
+ React.createElement(RelatedDocument, null,
23
+ React.createElement(Card, { className: "work-cash-report" },
24
+ React.createElement(WorkCashReport, { id: params.typesId })),
25
+ React.createElement("div", { className: "work-list-card" },
26
+ React.createElement(WorkListCard, { style: { height: `${dashboardHeight - 463}px` }, status: params.status, active: params.active, typesId: params.typesId, dueDate: params.dueDate, workspaceId: params.id, onClickItem: (item) => {
27
+ layout.history.replace(generatePath(props.path, {
28
+ id: params.id,
29
+ status: params.status || "",
30
+ typesId: params.typesId || "",
31
+ dueDate: params.dueDate || "",
32
+ active: item.id,
33
+ }));
34
+ }, onTotal: (total) => {
35
+ runInAction(() => {
36
+ props.state.workStatusTotals[params.status] = total;
37
+ props.state.workTypesTotals[params.typesId] = total;
38
+ props.state.workTotals[params.dueDate] = total;
39
+ });
40
+ } }))))));
41
+ };
42
+ export default Dashboard;
43
+ //# sourceMappingURL=WorkTypeWorksDashBoard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkTypeWorksDashBoard.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAEnC,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,YAAY,MAAM,uCAAuC,CAAC;AACjE,OAAO,cAAc,MAAM,yCAAyC,CAAC;AACrE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,SAAS,GAAG,CAAC,KAAqC,EAAE,EAAE;IAC3D,MAAM,GAAG,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IACzC,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,EAAU,CAAC;IAEjE,eAAe,CAAC,G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AK,CAAC,eAAe,CAAC,MAAM,CAAC,OAAQ,CAAC,GAAG,KAAK,CAAC;4BACrD,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,OAAQ,CAAC,GAAG,KAAK,CAAC;wBACjD,CAAC,CAAC,CAAC;oBACJ,CAAC,GACA,CACG,CACW,CACb,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -21,6 +21,7 @@ import { useWorkListEffect } from "../../../../data/work";
21
21
  import { useWorkTypeListEffect } from "../../../../data/worktype";
22
22
  import { useWorkspace } from "../../../../data/workspace";
23
23
  import SettingPage from "./SettingPage";
24
+ import WorktypeWorksDashBoard from "./WorkTypeWorksDashBoard";
24
25
  const WorkspacePage = () => {
25
26
  /** 加class name 为了方便做integration tests */
26
27
  const classId = "workspace-page";
@@ -232,7 +233,7 @@ const WorkspacePage = () => {
232
233
  React.createElement(Route, { path: `document`, element: React.createElement(DocumentPage, { root: id, route: `document`, exclude: ["Meeting", "MeetingsFolder"] }) }),
233
234
  React.createElement(Route, { path: `meeting`, element: React.createElement(DocumentPage, { root: id, route: `meeting`, defaultViewType: "MeetingsFolder" }) }),
234
235
  React.createElement(Route, { path: `workstatus/:status/:active?`, element: React.createElement(Works, { state: state, path: `${url}/workstatus/:status/:active?` }) }),
235
- React.createElement(Route, { path: `worktype/:typesId/:active?`, element: React.createElement(Works, { state: state, path: `${url}/worktype/:typesId/:active?` }) }),
236
+ React.createElement(Route, { path: `worktype/:typesId/:active?`, element: React.createElement(WorktypeWorksDashBoard, { state: state, path: `${url}/worktype/:typesId/:active?` }) }),
236
237
  React.createElement(Route, { path: `workdue/:dueDate/:active?`, element: React.createElement(Works, { state: state, path: `${url}/workdue/:dueDate/:active?` }) }),
237
238
  React.createElement(Route, { path: `setting`, element: React.createElement(SettingPage, { id: id }) }),
238
239
  React.createElement(Route, { path: "/", element: React.createElement(Navigate, { to: `home` }) }))));
@@ -1 +1 @@
1
- {"version":3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AQ,IAAC,EAAE,EAAE,MAAM,GAAI,GAAI,CAC7C,CACI,CACd,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,10 +1,7 @@
1
1
  @import "~@voplus/morpho-theme/styles/index.less";
2
2
 
3
3
  .work-space-page {
4
- :global {
5
- .main-nav-container {
6
- }
7
- }
4
+ :global {}
8
5
  }
9
6
 
10
7
  :global {
@@ -14,3 +11,14 @@
14
11
  background: #fff;
15
12
  }
16
13
  }
14
+
15
+ .worktype-works-dashboard {
16
+ height: 100%;
17
+ background: #f5f9fc;
18
+
19
+ :global {
20
+ .work-cash-report {
21
+ margin: 20px 0;
22
+ }
23
+ }
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.21",
3
+ "version": "6.0.22",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",