venus-design 1.0.65 → 1.0.69

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.
@@ -43,6 +43,7 @@ export declare function getColumnData(data: any): Promise<any>;
43
43
  export declare function getFormData(data: any): Promise<any>;
44
44
  export declare function getDetailColumnData(data: any): Promise<any>;
45
45
  export declare function getSecLevelDataList(data: any): Promise<any>;
46
+ export declare function getElementRules(data: any): Promise<any>;
46
47
  /**
47
48
  * 获取流程表达式定义列表
48
49
  * @param data 表达式获取参数
@@ -594,10 +594,8 @@ export function getSecLevelDataList(_x17) {
594
594
  return _getSecLevelDataList.apply(this, arguments);
595
595
  }
596
596
 
597
- /**
598
- * 获取流程表达式定义列表
599
- * @param data 表达式获取参数
600
- * @returns 流程表达式列表
597
+ /*
598
+ * 获取流程节点规则
601
599
  */
602
600
  function _getSecLevelDataList() {
603
601
  _getSecLevelDataList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(data) {
@@ -619,7 +617,33 @@ function _getSecLevelDataList() {
619
617
  }));
620
618
  return _getSecLevelDataList.apply(this, arguments);
621
619
  }
622
- export function getExpressionList(_x18) {
620
+ export function getElementRules(_x18) {
621
+ return _getElementRules.apply(this, arguments);
622
+ }
623
+ /**
624
+ * 获取流程表达式定义列表
625
+ * @param data 表达式获取参数
626
+ * @returns 流程表达式列表
627
+ */
628
+ function _getElementRules() {
629
+ _getElementRules = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23(data) {
630
+ return _regeneratorRuntime().wrap(function _callee23$(_context23) {
631
+ while (1) switch (_context23.prev = _context23.next) {
632
+ case 0:
633
+ return _context23.abrupt("return", request("/wfnoderules/list", {
634
+ method: 'post',
635
+ data: data,
636
+ prefix: '/workflow'
637
+ }));
638
+ case 1:
639
+ case "end":
640
+ return _context23.stop();
641
+ }
642
+ }, _callee23);
643
+ }));
644
+ return _getElementRules.apply(this, arguments);
645
+ }
646
+ export function getExpressionList(_x19) {
623
647
  return _getExpressionList.apply(this, arguments);
624
648
  }
625
649
 
@@ -627,24 +651,24 @@ export function getExpressionList(_x18) {
627
651
  * 获取用户列表(根据密级查询)
628
652
  */
629
653
  function _getExpressionList() {
630
- _getExpressionList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23(data) {
631
- return _regeneratorRuntime().wrap(function _callee23$(_context23) {
632
- while (1) switch (_context23.prev = _context23.next) {
654
+ _getExpressionList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24(data) {
655
+ return _regeneratorRuntime().wrap(function _callee24$(_context24) {
656
+ while (1) switch (_context24.prev = _context24.next) {
633
657
  case 0:
634
- return _context23.abrupt("return", request("/wfprocessdefinition/expression/list", {
658
+ return _context24.abrupt("return", request("/wfprocessdefinition/expression/list", {
635
659
  method: 'post',
636
660
  data: data,
637
661
  prefix: '/workflow'
638
662
  }));
639
663
  case 1:
640
664
  case "end":
641
- return _context23.stop();
665
+ return _context24.stop();
642
666
  }
643
- }, _callee23);
667
+ }, _callee24);
644
668
  }));
645
669
  return _getExpressionList.apply(this, arguments);
646
670
  }
647
- export function getUserListBySecLevelId(_x19, _x20, _x21) {
671
+ export function getUserListBySecLevelId(_x20, _x21, _x22) {
648
672
  return _getUserListBySecLevelId.apply(this, arguments);
649
673
  }
650
674
 
@@ -652,44 +676,44 @@ export function getUserListBySecLevelId(_x19, _x20, _x21) {
652
676
  * 根据type获取字典项
653
677
  */
654
678
  function _getUserListBySecLevelId() {
655
- _getUserListBySecLevelId = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24(secId, type, data) {
679
+ _getUserListBySecLevelId = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25(secId, type, data) {
656
680
  var current, size, others;
657
- return _regeneratorRuntime().wrap(function _callee24$(_context24) {
658
- while (1) switch (_context24.prev = _context24.next) {
681
+ return _regeneratorRuntime().wrap(function _callee25$(_context25) {
682
+ while (1) switch (_context25.prev = _context25.next) {
659
683
  case 0:
660
684
  current = data.current, size = data.size, others = _objectWithoutProperties(data, _excluded2);
661
- return _context24.abrupt("return", request("/user/list/".concat(secId, "/").concat(type, "?current=").concat(current, "&size=").concat(size), {
685
+ return _context25.abrupt("return", request("/user/list/".concat(secId, "/").concat(type, "?current=").concat(current, "&size=").concat(size), {
662
686
  method: 'post',
663
687
  data: others,
664
688
  prefix: '/ssoApi'
665
689
  }));
666
690
  case 2:
667
691
  case "end":
668
- return _context24.stop();
692
+ return _context25.stop();
669
693
  }
670
- }, _callee24);
694
+ }, _callee25);
671
695
  }));
672
696
  return _getUserListBySecLevelId.apply(this, arguments);
673
697
  }
674
- export function getDictItemByType(_x22) {
698
+ export function getDictItemByType(_x23) {
675
699
  return _getDictItemByType.apply(this, arguments);
676
700
  }
677
701
  /*
678
702
  * 获取流程定义列表
679
703
  */
680
704
  function _getDictItemByType() {
681
- _getDictItemByType = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25(type) {
682
- return _regeneratorRuntime().wrap(function _callee25$(_context25) {
683
- while (1) switch (_context25.prev = _context25.next) {
705
+ _getDictItemByType = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26(type) {
706
+ return _regeneratorRuntime().wrap(function _callee26$(_context26) {
707
+ while (1) switch (_context26.prev = _context26.next) {
684
708
  case 0:
685
- return _context25.abrupt("return", request("/dict/type/".concat(type), {
709
+ return _context26.abrupt("return", request("/dict/type/".concat(type), {
686
710
  method: 'get'
687
711
  }));
688
712
  case 1:
689
713
  case "end":
690
- return _context25.stop();
714
+ return _context26.stop();
691
715
  }
692
- }, _callee25);
716
+ }, _callee26);
693
717
  }));
694
718
  return _getDictItemByType.apply(this, arguments);
695
719
  }
@@ -701,19 +725,19 @@ export function getDataListBase() {
701
725
  * 获取表单定义列表树形
702
726
  */
703
727
  function _getDataListBase() {
704
- _getDataListBase = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26() {
705
- return _regeneratorRuntime().wrap(function _callee26$(_context26) {
706
- while (1) switch (_context26.prev = _context26.next) {
728
+ _getDataListBase = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee27() {
729
+ return _regeneratorRuntime().wrap(function _callee27$(_context27) {
730
+ while (1) switch (_context27.prev = _context27.next) {
707
731
  case 0:
708
- return _context26.abrupt("return", request("/wfprocessbaseinfo/baseinfo/list/-1", {
732
+ return _context27.abrupt("return", request("/wfprocessbaseinfo/baseinfo/list/-1", {
709
733
  method: 'get',
710
734
  prefix: '/workflow'
711
735
  }));
712
736
  case 1:
713
737
  case "end":
714
- return _context26.stop();
738
+ return _context27.stop();
715
739
  }
716
- }, _callee26);
740
+ }, _callee27);
717
741
  }));
718
742
  return _getDataListBase.apply(this, arguments);
719
743
  }
@@ -725,34 +749,34 @@ export function getDataListTable() {
725
749
  * 获取显示列详情
726
750
  */
727
751
  function _getDataListTable() {
728
- _getDataListTable = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee27() {
729
- return _regeneratorRuntime().wrap(function _callee27$(_context27) {
730
- while (1) switch (_context27.prev = _context27.next) {
752
+ _getDataListTable = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee28() {
753
+ return _regeneratorRuntime().wrap(function _callee28$(_context28) {
754
+ while (1) switch (_context28.prev = _context28.next) {
731
755
  case 0:
732
- return _context27.abrupt("return", request("/systemwfprocessclassification/listAndDefine", {
756
+ return _context28.abrupt("return", request("/systemwfprocessclassification/listAndDefine", {
733
757
  method: 'get',
734
758
  prefix: '/workflow'
735
759
  }));
736
760
  case 1:
737
761
  case "end":
738
- return _context27.stop();
762
+ return _context28.stop();
739
763
  }
740
- }, _callee27);
764
+ }, _callee28);
741
765
  }));
742
766
  return _getDataListTable.apply(this, arguments);
743
767
  }
744
- export function SelectBysceneIdAndCreateBy(_x23) {
768
+ export function SelectBysceneIdAndCreateBy(_x24) {
745
769
  return _SelectBysceneIdAndCreateBy.apply(this, arguments);
746
770
  }
747
771
  /*
748
772
  * 获取用户列表
749
773
  */
750
774
  function _SelectBysceneIdAndCreateBy() {
751
- _SelectBysceneIdAndCreateBy = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee28(pathName) {
752
- return _regeneratorRuntime().wrap(function _callee28$(_context28) {
753
- while (1) switch (_context28.prev = _context28.next) {
775
+ _SelectBysceneIdAndCreateBy = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee29(pathName) {
776
+ return _regeneratorRuntime().wrap(function _callee29$(_context29) {
777
+ while (1) switch (_context29.prev = _context29.next) {
754
778
  case 0:
755
- return _context28.abrupt("return", request("/ssoviewcolumn/allList", {
779
+ return _context29.abrupt("return", request("/ssoviewcolumn/allList", {
756
780
  method: 'post',
757
781
  data: {
758
782
  pathName: pathName
@@ -761,13 +785,13 @@ function _SelectBysceneIdAndCreateBy() {
761
785
  }));
762
786
  case 1:
763
787
  case "end":
764
- return _context28.stop();
788
+ return _context29.stop();
765
789
  }
766
- }, _callee28);
790
+ }, _callee29);
767
791
  }));
768
792
  return _SelectBysceneIdAndCreateBy.apply(this, arguments);
769
793
  }
770
- export function getUserList(_x24) {
794
+ export function getUserList(_x25) {
771
795
  return _getUserList.apply(this, arguments);
772
796
  }
773
797
 
@@ -776,22 +800,22 @@ export function getUserList(_x24) {
776
800
  * @returns
777
801
  */
778
802
  function _getUserList() {
779
- _getUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee29(data) {
803
+ _getUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee30(data) {
780
804
  var current, size, others;
781
- return _regeneratorRuntime().wrap(function _callee29$(_context29) {
782
- while (1) switch (_context29.prev = _context29.next) {
805
+ return _regeneratorRuntime().wrap(function _callee30$(_context30) {
806
+ while (1) switch (_context30.prev = _context30.next) {
783
807
  case 0:
784
808
  current = data.current, size = data.size, others = _objectWithoutProperties(data, _excluded3);
785
- return _context29.abrupt("return", request("/user/list?current=".concat(current, "&size=").concat(size), {
809
+ return _context30.abrupt("return", request("/user/list?current=".concat(current, "&size=").concat(size), {
786
810
  method: 'post',
787
811
  data: others,
788
812
  prefix: '/ssoApi'
789
813
  }));
790
814
  case 2:
791
815
  case "end":
792
- return _context29.stop();
816
+ return _context30.stop();
793
817
  }
794
- }, _callee29);
818
+ }, _callee30);
795
819
  }));
796
820
  return _getUserList.apply(this, arguments);
797
821
  }
@@ -804,46 +828,46 @@ export function getAppByUser() {
804
828
  * data:dto
805
829
  */
806
830
  function _getAppByUser() {
807
- _getAppByUser = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee30() {
808
- return _regeneratorRuntime().wrap(function _callee30$(_context30) {
809
- while (1) switch (_context30.prev = _context30.next) {
831
+ _getAppByUser = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee31() {
832
+ return _regeneratorRuntime().wrap(function _callee31$(_context31) {
833
+ while (1) switch (_context31.prev = _context31.next) {
810
834
  case 0:
811
- return _context30.abrupt("return", request("/user/apps", {
835
+ return _context31.abrupt("return", request("/user/apps", {
812
836
  method: 'get'
813
837
  }));
814
838
  case 1:
815
839
  case "end":
816
- return _context30.stop();
840
+ return _context31.stop();
817
841
  }
818
- }, _callee30);
842
+ }, _callee31);
819
843
  }));
820
844
  return _getAppByUser.apply(this, arguments);
821
845
  }
822
- export function listAppData(_x25) {
846
+ export function listAppData(_x26) {
823
847
  return _listAppData.apply(this, arguments);
824
848
  }
825
849
  /**
826
850
  *流程跟踪
827
851
  */
828
852
  function _listAppData() {
829
- _listAppData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee31(data) {
830
- return _regeneratorRuntime().wrap(function _callee31$(_context31) {
831
- while (1) switch (_context31.prev = _context31.next) {
853
+ _listAppData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee32(data) {
854
+ return _regeneratorRuntime().wrap(function _callee32$(_context32) {
855
+ while (1) switch (_context32.prev = _context32.next) {
832
856
  case 0:
833
- return _context31.abrupt("return", request("/system/app/list", {
857
+ return _context32.abrupt("return", request("/system/app/list", {
834
858
  method: 'post',
835
859
  data: data,
836
860
  prefix: '/platform'
837
861
  }));
838
862
  case 1:
839
863
  case "end":
840
- return _context31.stop();
864
+ return _context32.stop();
841
865
  }
842
- }, _callee31);
866
+ }, _callee32);
843
867
  }));
844
868
  return _listAppData.apply(this, arguments);
845
869
  }
846
- export function Wftrack(_x26) {
870
+ export function Wftrack(_x27) {
847
871
  return _Wftrack.apply(this, arguments);
848
872
  }
849
873
  /**
@@ -852,23 +876,23 @@ export function Wftrack(_x26) {
852
876
  * @returns
853
877
  */
854
878
  function _Wftrack() {
855
- _Wftrack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee32(processInstanceId) {
856
- return _regeneratorRuntime().wrap(function _callee32$(_context32) {
857
- while (1) switch (_context32.prev = _context32.next) {
879
+ _Wftrack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee33(processInstanceId) {
880
+ return _regeneratorRuntime().wrap(function _callee33$(_context33) {
881
+ while (1) switch (_context33.prev = _context33.next) {
858
882
  case 0:
859
- return _context32.abrupt("return", request("/wftodotask/wftrack?processInstanceId=".concat(processInstanceId), {
883
+ return _context33.abrupt("return", request("/wftodotask/wftrack?processInstanceId=".concat(processInstanceId), {
860
884
  method: 'post',
861
885
  prefix: '/workflow'
862
886
  }));
863
887
  case 1:
864
888
  case "end":
865
- return _context32.stop();
889
+ return _context33.stop();
866
890
  }
867
- }, _callee32);
891
+ }, _callee33);
868
892
  }));
869
893
  return _Wftrack.apply(this, arguments);
870
894
  }
871
- export function getSecByUserSecId(_x27) {
895
+ export function getSecByUserSecId(_x28) {
872
896
  return _getSecByUserSecId.apply(this, arguments);
873
897
  }
874
898
 
@@ -876,34 +900,34 @@ export function getSecByUserSecId(_x27) {
876
900
  * 根据表单标识查询表单绘制项列表
877
901
  */
878
902
  function _getSecByUserSecId() {
879
- _getSecByUserSecId = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee33(secId) {
880
- return _regeneratorRuntime().wrap(function _callee33$(_context33) {
881
- while (1) switch (_context33.prev = _context33.next) {
903
+ _getSecByUserSecId = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee34(secId) {
904
+ return _regeneratorRuntime().wrap(function _callee34$(_context34) {
905
+ while (1) switch (_context34.prev = _context34.next) {
882
906
  case 0:
883
- return _context33.abrupt("return", request("/seclevelbyUserSecId/".concat(secId), {
907
+ return _context34.abrupt("return", request("/seclevelbyUserSecId/".concat(secId), {
884
908
  method: 'get',
885
909
  prefix: '/ssoApi'
886
910
  }));
887
911
  case 1:
888
912
  case "end":
889
- return _context33.stop();
913
+ return _context34.stop();
890
914
  }
891
- }, _callee33);
915
+ }, _callee34);
892
916
  }));
893
917
  return _getSecByUserSecId.apply(this, arguments);
894
918
  }
895
- export function getFormDesignList(_x28) {
919
+ export function getFormDesignList(_x29) {
896
920
  return _getFormDesignList.apply(this, arguments);
897
921
  }
898
922
  /*
899
923
  * 退出登录
900
924
  */
901
925
  function _getFormDesignList() {
902
- _getFormDesignList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee34(id) {
903
- return _regeneratorRuntime().wrap(function _callee34$(_context34) {
904
- while (1) switch (_context34.prev = _context34.next) {
926
+ _getFormDesignList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee35(id) {
927
+ return _regeneratorRuntime().wrap(function _callee35$(_context35) {
928
+ while (1) switch (_context35.prev = _context35.next) {
905
929
  case 0:
906
- return _context34.abrupt("return", request("/wfformdesignitem/list", {
930
+ return _context35.abrupt("return", request("/wfformdesignitem/list", {
907
931
  method: 'post',
908
932
  data: {
909
933
  id: id
@@ -912,37 +936,37 @@ function _getFormDesignList() {
912
936
  }));
913
937
  case 1:
914
938
  case "end":
915
- return _context34.stop();
939
+ return _context35.stop();
916
940
  }
917
- }, _callee34);
941
+ }, _callee35);
918
942
  }));
919
943
  return _getFormDesignList.apply(this, arguments);
920
944
  }
921
- export function loginOutService(_x29) {
945
+ export function loginOutService(_x30) {
922
946
  return _loginOutService.apply(this, arguments);
923
947
  }
924
948
  /*
925
949
  * 修改密码
926
950
  */
927
951
  function _loginOutService() {
928
- _loginOutService = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee35(params) {
929
- return _regeneratorRuntime().wrap(function _callee35$(_context35) {
930
- while (1) switch (_context35.prev = _context35.next) {
952
+ _loginOutService = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee36(params) {
953
+ return _regeneratorRuntime().wrap(function _callee36$(_context36) {
954
+ while (1) switch (_context36.prev = _context36.next) {
931
955
  case 0:
932
- return _context35.abrupt("return", request("/user/logout", {
956
+ return _context36.abrupt("return", request("/user/logout", {
933
957
  method: 'get',
934
958
  prefix: '/loginApi',
935
959
  params: params
936
960
  }));
937
961
  case 1:
938
962
  case "end":
939
- return _context35.stop();
963
+ return _context36.stop();
940
964
  }
941
- }, _callee35);
965
+ }, _callee36);
942
966
  }));
943
967
  return _loginOutService.apply(this, arguments);
944
968
  }
945
- export function onChangePassword(_x30) {
969
+ export function onChangePassword(_x31) {
946
970
  return _onChangePassword.apply(this, arguments);
947
971
  }
948
972
 
@@ -951,19 +975,19 @@ export function onChangePassword(_x30) {
951
975
  * 返回的data中有两个字段{data:模板字段列表,spreadjson:"整个工作表的json字符串"}
952
976
  */
953
977
  function _onChangePassword() {
954
- _onChangePassword = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee36(data) {
955
- return _regeneratorRuntime().wrap(function _callee36$(_context36) {
956
- while (1) switch (_context36.prev = _context36.next) {
978
+ _onChangePassword = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee37(data) {
979
+ return _regeneratorRuntime().wrap(function _callee37$(_context37) {
980
+ while (1) switch (_context37.prev = _context37.next) {
957
981
  case 0:
958
- return _context36.abrupt("return", request("/user/password", {
982
+ return _context37.abrupt("return", request("/user/password", {
959
983
  method: 'put',
960
984
  data: data
961
985
  }));
962
986
  case 1:
963
987
  case "end":
964
- return _context36.stop();
988
+ return _context37.stop();
965
989
  }
966
- }, _callee36);
990
+ }, _callee37);
967
991
  }));
968
992
  return _onChangePassword.apply(this, arguments);
969
993
  }
@@ -48,7 +48,6 @@ var DownLoad = /*#__PURE__*/function (_Component) {
48
48
  var response = xhr.response;
49
49
  if (_typeof(response) === 'object') {
50
50
  var reader = new FileReader();
51
- debugger;
52
51
  reader.addEventListener('loadend', function () {
53
52
  try {
54
53
  // @ts-ignore
@@ -171,7 +171,7 @@ var VenusDept = function VenusDept(props) {
171
171
  try {
172
172
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
173
173
  var u = _step2.value;
174
- if (user.key == u.value || user.key == u.id) {
174
+ if (u && u.value && u.id && user.key == u.value || user.key == u.id) {
175
175
  seleceEdList.push(user);
176
176
  selectKeysEd.push(user.key);
177
177
  }
@@ -173,7 +173,7 @@ var VenusRole = function VenusRole(props) {
173
173
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
174
174
  var u = _step2.value;
175
175
  //@ts-ignore
176
- if (role.id == u.value || role.id == u.id) {
176
+ if (u && u.value && u.id && (role.id == u.value || role.id == u.id)) {
177
177
  seleceEdList.push(role);
178
178
  //@ts-ignore
179
179
  selectKeysEd.push(role.id);
@@ -163,7 +163,7 @@ var VenusUser = function VenusUser(props) {
163
163
  try {
164
164
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
165
165
  var u = _step2.value;
166
- if (user.id == u.value || user.id == u.id) {
166
+ if (u && u.value && u.id && (user.id == u.value || user.id == u.id)) {
167
167
  seleceEdList.push(user);
168
168
  selectKeysEd.push(user.key);
169
169
  }
@@ -108,6 +108,7 @@ var VenusDesignForm = /*#__PURE__*/forwardRef(function (props, ref) {
108
108
  ,
109
109
  rules: props.rules,
110
110
  ref: formRef,
111
+ vdisabled: true,
111
112
  onValuesChange: onValuesChange,
112
113
  submitIng: false //必传 确认按钮加载
113
114
  //closeParentEdit={true} //当需要自己处理表单回显时设置为true
@@ -118,6 +119,7 @@ var VenusDesignForm = /*#__PURE__*/forwardRef(function (props, ref) {
118
119
  ,
119
120
  onFinish: function onFinish() {} //表单保存 必传
120
121
  ,
122
+
121
123
  onCancel: function onCancel() {} //取消 必传
122
124
  //reflushFlagNum={tag.reflushFlagNum||1}
123
125
  ,
@@ -20,7 +20,6 @@ var VenusDesignCom = function VenusDesignCom(props) {
20
20
  _useState2 = _slicedToArray(_useState, 2),
21
21
  items = _useState2[0],
22
22
  setItems = _useState2[1];
23
- console.log(props.rules);
24
23
  var getItems = /*#__PURE__*/function () {
25
24
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
26
25
  var res;
@@ -33,7 +32,6 @@ var VenusDesignCom = function VenusDesignCom(props) {
33
32
  res = _context.sent;
34
33
  if (res && res.success) {
35
34
  setItems(res.data);
36
- console.log(res.data);
37
35
  }
38
36
  case 4:
39
37
  case "end":
@@ -153,7 +153,6 @@ export var haveQt = function haveQt(data) {
153
153
  * @returns
154
154
  */
155
155
  export var validatorListToValidator = function validatorListToValidator(rule, value, callback, column) {
156
- debugger;
157
156
  if (value == null || value == undefined || value == "") {
158
157
  return callback();
159
158
  } else {
@@ -323,7 +323,7 @@ var VenusForm = /*#__PURE__*/forwardRef(function (props, ref) {
323
323
  colon: props.colon || true //标签后的冒号
324
324
  ,
325
325
  disabled: props.disabled || false //是否禁用
326
- }), handleFormItems(formData, props.adjustFlag !== undefined ? "adjust" : isEdit + "", props.disabled || false, formWatchData, getSecId, props.rules || []) //处理表单项
326
+ }), handleFormItems(formData, props.adjustFlag !== undefined ? "adjust" : isEdit + "", props.vdisabled || false, formWatchData, getSecId, props.rules || []) //处理表单项
327
327
  , props.children,
328
328
  //提交和取消按钮
329
329
  !props.submitNodeFlag && props.submitNodeFlag !== undefined ? null : props.haveSaveFlag && props.haveSaveFlag ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
@@ -109,6 +109,7 @@ export interface VenusFormType {
109
109
  colon?: boolean;
110
110
  closeParentEdit?: boolean;
111
111
  disabled?: boolean;
112
+ vdisabled?: boolean;
112
113
  adjustFlag?: boolean;
113
114
  onSetDataAfter?: Function;
114
115
  submitNodeFlag?: boolean;
@@ -915,7 +915,6 @@ export var VENUS_FORM_ITEM_TYPE = {
915
915
  disabled: disabled ? disabled : isNotEditScene(type, column.nonEditableScene),
916
916
  span: column.formWidth || 8,
917
917
  comAttr: _objectSpread({}, column.parameterSource)
918
-
919
918
  //@ts-ignore
920
919
  ,
921
920
  placeholder: VENUS_FORM_PLACHOLDER_TYPE[column.formUnitType] + column.fieldName,
@@ -1253,7 +1252,6 @@ export var addFormCustomCom = function addFormCustomCom(name, reactNode) {
1253
1252
  };
1254
1253
  //处理人员组件回显
1255
1254
  export var getUserFormate = function getUserFormate(data, dataIdIndex, dataIndex) {
1256
- debugger;
1257
1255
  if (data[dataIndex] != undefined && data[dataIndex].indexOf(",") != -1) {
1258
1256
  var userList = [];
1259
1257
  var userIdCon = data[dataIdIndex].split(",");
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ interface VenusWfTaskDetailProps {
3
+ formId: string;
4
+ params: any;
5
+ businessId: string;
6
+ height: string;
7
+ style: any;
8
+ workflowDetail: any;
9
+ onMount: any;
10
+ componentUrl: string;
11
+ dataTrackFlag: boolean;
12
+ }
13
+ /**
14
+ * 审批页面
15
+ * @param props
16
+ * @returns
17
+ */
18
+ declare const VenusWfTaskDetail: (props: VenusWfTaskDetailProps) => React.JSX.Element;
19
+ export default VenusWfTaskDetail;
@@ -0,0 +1,129 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
+ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
9
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
10
+ function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
11
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
12
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
13
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
14
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
15
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
16
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
17
+ import React, { useRef, useImperativeHandle, useEffect, useState } from 'react';
18
+ import { VenusDesignCom, VenusWorkDetail, RefContext, getElementRules } from "./..";
19
+
20
+ // 审批页面详情
21
+
22
+ /**
23
+ * 审批页面
24
+ * @param props
25
+ * @returns
26
+ */
27
+ var VenusWfTaskDetail = function VenusWfTaskDetail(props) {
28
+ // 实例集合
29
+ var bagRef = useRef([]);
30
+ var _useState = useState([]),
31
+ _useState2 = _slicedToArray(_useState, 2),
32
+ rules = _useState2[0],
33
+ setRules = _useState2[1];
34
+ var _useState3 = useState(false),
35
+ _useState4 = _slicedToArray(_useState3, 2),
36
+ loadRules = _useState4[0],
37
+ setLoadRules = _useState4[1];
38
+ //获取流程节点规则
39
+ var getRules = /*#__PURE__*/function () {
40
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
41
+ var res;
42
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
43
+ while (1) switch (_context.prev = _context.next) {
44
+ case 0:
45
+ _context.next = 2;
46
+ return getElementRules({
47
+ headFilterParams: {
48
+ formId: props.formId,
49
+ activitiId: props.params.elementId,
50
+ wfBaseInfoId: props.params.wfBaseInfoId,
51
+ dataSceneIid: "WfNodeRules_SCENE_DEFAULT"
52
+ }
53
+ });
54
+ case 2:
55
+ res = _context.sent;
56
+ if (res.data && res.data.length > 0) {
57
+ setRules(res.data);
58
+ }
59
+ setLoadRules(true);
60
+ case 5:
61
+ case "end":
62
+ return _context.stop();
63
+ }
64
+ }, _callee);
65
+ }));
66
+ return function getRules() {
67
+ return _ref.apply(this, arguments);
68
+ };
69
+ }();
70
+ useEffect(function () {
71
+ if (props.formId != "-1" && !props.dataTrackFlag) {
72
+ getRules();
73
+ }
74
+ }, []);
75
+
76
+ // 注册实例
77
+ var register = function register(bag) {
78
+ bagRef.current.push(bag);
79
+ return function () {
80
+ var idx = bagRef.current.indexOf(bag);
81
+ if (idx > -1) bagRef.current.splice(idx, 1);
82
+ };
83
+ };
84
+ /* ---------- 暴露给父组件的方法 ---------- */
85
+ //@ts-ignore
86
+ useImperativeHandle(ref, function () {
87
+ return {
88
+ getRef: function getRef() {
89
+ return bagRef.current;
90
+ }
91
+ };
92
+ });
93
+ if (props.formId && props.formId !== '-1') {
94
+ return /*#__PURE__*/React.createElement("div", {
95
+ style: _objectSpread(_objectSpread({}, props.style), {}, {
96
+ height: "100%"
97
+ })
98
+ }, /*#__PURE__*/React.createElement(RefContext.Provider, {
99
+ value: {
100
+ register: register
101
+ }
102
+ }, props.dataTrackFlag ? /*#__PURE__*/React.createElement(VenusDesignCom, {
103
+ id: props.businessId,
104
+ params: props.params,
105
+ height: props.height,
106
+ formId: props.formId
107
+ }) : !loadRules ? null : /*#__PURE__*/React.createElement(VenusDesignCom, {
108
+ rules: rules,
109
+ id: props.businessId,
110
+ params: props.params,
111
+ height: props.height,
112
+ formId: props.formId
113
+ })));
114
+ }
115
+ return /*#__PURE__*/React.createElement(VenusWorkDetail, _extends({
116
+ height: props.height,
117
+ loader: function loader() {
118
+ return props.componentUrl ? import("@/pages/workflow/components".concat(props.componentUrl)) : null;
119
+ },
120
+ otherProps: props.params,
121
+ rules: rules,
122
+ style: props.style
123
+ }, props.workflowDetail, {
124
+ onMount: props.onMount,
125
+ dataAfterViewIid: props.workflowDetail.wf && props.workflowDetail.wf.dataAfterViewIid,
126
+ dataAfterSceneIid: props.workflowDetail.wf && props.workflowDetail.wf.dataAfterSceneIid
127
+ }));
128
+ };
129
+ export default VenusWfTaskDetail;
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ export { default as CheckBoxInput } from './CheckBoxInput';
11
11
  export { default as VenusUploadSecLevelForm } from './VenusUploadForm';
12
12
  export { default as UploadImage } from './UploadImage';
13
13
  export { default as NotificationManager, notifier } from './NotificationManager';
14
- export { getUserInfo, getLockScreenTime, getMenuConfig, addMenuConfig, editMenuConfig, getUserMenu, getMenus, getDifyConfigs, deleteFile, validateLogin, deleteNewFile, downloadFile, venusAi, uploadFile, updateSecLevelId, fileByAssId, mnLoginDify, refreshTokenFn, getFileData, getUserOrgTreeList, getRoleList, getVenusAdjust, getColumnData, getFormData, getDetailColumnData, getSecLevelDataList, getExpressionList, getUserListBySecLevelId, getDictItemByType, getDataListBase, getDataListTable, getUserList, listAppData, getAppByUser, SelectBysceneIdAndCreateBy, Wftrack, getSecByUserSecId, getFormDesignList, loginOutService, onChangePassword, excelFieldTable, downloadExcelTemplateUrl } from './Config/api';
14
+ export { getUserInfo, getLockScreenTime, getMenuConfig, addMenuConfig, editMenuConfig, getUserMenu, getMenus, getDifyConfigs, deleteFile, validateLogin, deleteNewFile, downloadFile, venusAi, uploadFile, updateSecLevelId, fileByAssId, mnLoginDify, refreshTokenFn, getFileData, getUserOrgTreeList, getRoleList, getVenusAdjust, getColumnData, getFormData, getDetailColumnData, getElementRules, getSecLevelDataList, getExpressionList, getUserListBySecLevelId, getDictItemByType, getDataListBase, getDataListTable, getUserList, listAppData, getAppByUser, SelectBysceneIdAndCreateBy, Wftrack, getSecByUserSecId, getFormDesignList, loginOutService, onChangePassword, excelFieldTable, downloadExcelTemplateUrl } from './Config/api';
15
15
  export { default as request } from './Config/request';
16
16
  export { default as storage, checkCookieAuth } from './Config/storage';
17
17
  export { LIVE_ACCESS_TOKEN, LIVE_REFRESH_TOKEN, VENUS_PROJECT_INFO, LIVE_ACCESS_TOKEN_EXPIRES_TIME, LIVE_REFRESH_TOKEN_EXPIRES_TIME, HISTORY_PATHNAME, QUICK_ENTRY_OPEN, DATE_FORMAT, DATETIME_FORMAT, SPECIAL_DATETIME_FORMAT, SPECIAL_DATETIME_FORMAT_30, SPECIAL_DATETIME_FORMAT_00, ADMIN_APP_TOKEN, BUCKET, chromeWin32, chromeWin64, MAX_SIZE, chromeMac } from './Config/constants';
@@ -90,3 +90,4 @@ export { createUltimateSearch } from './Config/columnFilter';
90
90
  export { default as VenusEditor } from './VenusEditor';
91
91
  export { addRenderVirtFunction } from './VenusVirtTable/staticAttr';
92
92
  export { default as VenusUploadSecLevel } from './VenusUploadSecLevel';
93
+ export { default as VenusWfTaskDetail } from './VenusWfTaskDetail';
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ export { default as CheckBoxInput } from "./CheckBoxInput";
11
11
  export { default as VenusUploadSecLevelForm } from "./VenusUploadForm";
12
12
  export { default as UploadImage } from "./UploadImage";
13
13
  export { default as NotificationManager, notifier } from "./NotificationManager";
14
- export { getUserInfo, getLockScreenTime, getMenuConfig, addMenuConfig, editMenuConfig, getUserMenu, getMenus, getDifyConfigs, deleteFile, validateLogin, deleteNewFile, downloadFile, venusAi, uploadFile, updateSecLevelId, fileByAssId, mnLoginDify, refreshTokenFn, getFileData, getUserOrgTreeList, getRoleList, getVenusAdjust, getColumnData, getFormData, getDetailColumnData, getSecLevelDataList, getExpressionList, getUserListBySecLevelId, getDictItemByType, getDataListBase, getDataListTable, getUserList, listAppData, getAppByUser, SelectBysceneIdAndCreateBy, Wftrack, getSecByUserSecId, getFormDesignList, loginOutService, onChangePassword, excelFieldTable, downloadExcelTemplateUrl } from "./Config/api";
14
+ export { getUserInfo, getLockScreenTime, getMenuConfig, addMenuConfig, editMenuConfig, getUserMenu, getMenus, getDifyConfigs, deleteFile, validateLogin, deleteNewFile, downloadFile, venusAi, uploadFile, updateSecLevelId, fileByAssId, mnLoginDify, refreshTokenFn, getFileData, getUserOrgTreeList, getRoleList, getVenusAdjust, getColumnData, getFormData, getDetailColumnData, getElementRules, getSecLevelDataList, getExpressionList, getUserListBySecLevelId, getDictItemByType, getDataListBase, getDataListTable, getUserList, listAppData, getAppByUser, SelectBysceneIdAndCreateBy, Wftrack, getSecByUserSecId, getFormDesignList, loginOutService, onChangePassword, excelFieldTable, downloadExcelTemplateUrl } from "./Config/api";
15
15
  export { default as request } from "./Config/request";
16
16
  export { default as storage, checkCookieAuth } from "./Config/storage";
17
17
  export { LIVE_ACCESS_TOKEN, LIVE_REFRESH_TOKEN, VENUS_PROJECT_INFO, LIVE_ACCESS_TOKEN_EXPIRES_TIME, LIVE_REFRESH_TOKEN_EXPIRES_TIME, HISTORY_PATHNAME, QUICK_ENTRY_OPEN, DATE_FORMAT, DATETIME_FORMAT, SPECIAL_DATETIME_FORMAT, SPECIAL_DATETIME_FORMAT_30, SPECIAL_DATETIME_FORMAT_00, ADMIN_APP_TOKEN, BUCKET, chromeWin32, chromeWin64, MAX_SIZE, chromeMac } from "./Config/constants";
@@ -91,4 +91,5 @@ export { default as Config } from "./VirtTable/src/Config";
91
91
  export { createUltimateSearch } from "./Config/columnFilter";
92
92
  export { default as VenusEditor } from "./VenusEditor";
93
93
  export { addRenderVirtFunction } from "./VenusVirtTable/staticAttr";
94
- export { default as VenusUploadSecLevel } from "./VenusUploadSecLevel";
94
+ export { default as VenusUploadSecLevel } from "./VenusUploadSecLevel";
95
+ export { default as VenusWfTaskDetail } from "./VenusWfTaskDetail";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "venus-design",
3
- "version": "1.0.65",
3
+ "version": "1.0.69",
4
4
  "description": "venus all compoments",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",