@hzab/flowlong-designer 1.0.9-alpha.0 → 1.0.9-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # @hzab/flowlong-designer@1.0.9
2
+
3
+ feat:发起人、审批人默认模板添加 extendConfig
4
+
1
5
  # @hzab/flowlong-designer@1.0.8
2
6
 
3
7
  feat:审批人文案修改
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hzab/flowlong-designer",
3
- "version": "1.0.9-alpha.0",
3
+ "version": "1.0.9-alpha.2",
4
4
  "description": "自定义审批流配置组件",
5
5
  "main": "src",
6
6
  "scripts": {
@@ -34,6 +34,10 @@ export const getInitNodeData = function (data: IConfig = {}, nodeConfig: INodeCo
34
34
  nodeKey: "flk" + id,
35
35
  type: 0,
36
36
  nodeAssigneeList: [],
37
+ extendConfig: {
38
+ needSign: false,
39
+ needConfirm: false
40
+ },
37
41
  ...nodeConfig,
38
42
  },
39
43
  ...data,
@@ -37,6 +37,11 @@ export const typeDataEnum = {
37
37
  termMode: 1, //审批期限超时后执行类型
38
38
  examineMode: 3, //多人审批时审批方式
39
39
  directorMode: 0, //连续主管审批方式
40
+ extendConfig: {
41
+ needConfirm: true,
42
+ confirmTxt: "确认同意该审批?",
43
+ needSign: false,
44
+ },
40
45
  },
41
46
  [NODE_TYPE.ccNode]: {
42
47
  _Icon: SendOutlined,
@@ -393,10 +393,11 @@ export const Approver = (props) => {
393
393
  });
394
394
  }}
395
395
  options={[
396
- {
397
- label: "驻点队长",
398
- value: 1,
399
- },
396
+ //老马不要的
397
+ // {
398
+ // label: "驻点队长",
399
+ // value: 1,
400
+ // },
400
401
  {
401
402
  label: "指定人员",
402
403
  value: 2,