kts-components-document-access-point 1.2.9 → 1.2.10

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/dist/index.esm.js CHANGED
@@ -3098,6 +3098,20 @@ var PageHeader = (function () {
3098
3098
  "value": 1
3099
3099
  }]
3100
3100
  },
3101
+ attribution: {
3102
+ type: "radio",
3103
+ title: "我的收发角色",
3104
+ enum: [{
3105
+ "label": "发送方",
3106
+ "value": '1'
3107
+ }, {
3108
+ "label": "接收方",
3109
+ "value": '0'
3110
+ }],
3111
+ 'x-props': {
3112
+ mode: "multiple"
3113
+ }
3114
+ },
3101
3115
  attributionList: {
3102
3116
  type: "string",
3103
3117
  title: "发送对象",
@@ -3126,20 +3140,6 @@ var PageHeader = (function () {
3126
3140
  enum: profileEnum,
3127
3141
  visible: false
3128
3142
  },
3129
- attribution: {
3130
- type: "radio",
3131
- title: "我的收发角色",
3132
- enum: [{
3133
- "label": "发送方",
3134
- "value": '1'
3135
- }, {
3136
- "label": "接收方",
3137
- "value": '0'
3138
- }],
3139
- 'x-props': {
3140
- mode: "multiple"
3141
- }
3142
- },
3143
3143
  '[beginCreateTime,endCreateTime]': {
3144
3144
  key: "[beginCreateTime,endCreateTime",
3145
3145
  name: "[beginCreateTime,endCreateTime",
@@ -3436,8 +3436,14 @@ function validaterule(props) {
3436
3436
  s.params = {
3437
3437
  configNumber: record.configNumber
3438
3438
  };
3439
+ history.push({
3440
+ pathname: "/rulelist",
3441
+ state: {
3442
+ type: 2
3443
+ }
3444
+ });
3439
3445
 
3440
- case 2:
3446
+ case 3:
3441
3447
  case "end":
3442
3448
  return _context3.stop();
3443
3449
  }
@@ -4022,7 +4028,6 @@ var Main$1 = function Main(props) {
4022
4028
  useEffect(function () {
4023
4029
  var params = props.location.state;
4024
4030
  var tab = params && params.type;
4025
- console.log(tab);
4026
4031
 
4027
4032
  if (tab) {
4028
4033
  controller.pipeline( /*#__PURE__*/function () {
@@ -5183,7 +5188,7 @@ function Rule(props) {
5183
5188
  schema: schema,
5184
5189
  onChange: updateSchema
5185
5190
  }))), /*#__PURE__*/React.createElement(Modal, {
5186
- title: "\u8BF7\u9009\u62E9",
5191
+ title: "\u8BF7\u9009\u62E9\u6211\u53F8\u5BF9\u5E94DID",
5187
5192
  visible: visible,
5188
5193
  onOk: handleOk,
5189
5194
  onCancel: handleCancel
package/dist/index.js CHANGED
@@ -3112,6 +3112,20 @@ var PageHeader = (function () {
3112
3112
  "value": 1
3113
3113
  }]
3114
3114
  },
3115
+ attribution: {
3116
+ type: "radio",
3117
+ title: "我的收发角色",
3118
+ enum: [{
3119
+ "label": "发送方",
3120
+ "value": '1'
3121
+ }, {
3122
+ "label": "接收方",
3123
+ "value": '0'
3124
+ }],
3125
+ 'x-props': {
3126
+ mode: "multiple"
3127
+ }
3128
+ },
3115
3129
  attributionList: {
3116
3130
  type: "string",
3117
3131
  title: "发送对象",
@@ -3140,20 +3154,6 @@ var PageHeader = (function () {
3140
3154
  enum: profileEnum,
3141
3155
  visible: false
3142
3156
  },
3143
- attribution: {
3144
- type: "radio",
3145
- title: "我的收发角色",
3146
- enum: [{
3147
- "label": "发送方",
3148
- "value": '1'
3149
- }, {
3150
- "label": "接收方",
3151
- "value": '0'
3152
- }],
3153
- 'x-props': {
3154
- mode: "multiple"
3155
- }
3156
- },
3157
3157
  '[beginCreateTime,endCreateTime]': {
3158
3158
  key: "[beginCreateTime,endCreateTime",
3159
3159
  name: "[beginCreateTime,endCreateTime",
@@ -3450,8 +3450,14 @@ function validaterule(props) {
3450
3450
  s.params = {
3451
3451
  configNumber: record.configNumber
3452
3452
  };
3453
+ history.push({
3454
+ pathname: "/rulelist",
3455
+ state: {
3456
+ type: 2
3457
+ }
3458
+ });
3453
3459
 
3454
- case 2:
3460
+ case 3:
3455
3461
  case "end":
3456
3462
  return _context3.stop();
3457
3463
  }
@@ -4036,7 +4042,6 @@ var Main$1 = function Main(props) {
4036
4042
  React.useEffect(function () {
4037
4043
  var params = props.location.state;
4038
4044
  var tab = params && params.type;
4039
- console.log(tab);
4040
4045
 
4041
4046
  if (tab) {
4042
4047
  controller.pipeline( /*#__PURE__*/function () {
@@ -5197,7 +5202,7 @@ function Rule(props) {
5197
5202
  schema: schema,
5198
5203
  onChange: updateSchema
5199
5204
  }))), /*#__PURE__*/React__default['default'].createElement(ktsXui.Modal, {
5200
- title: "\u8BF7\u9009\u62E9",
5205
+ title: "\u8BF7\u9009\u62E9\u6211\u53F8\u5BF9\u5E94DID",
5201
5206
  visible: visible,
5202
5207
  onOk: handleOk,
5203
5208
  onCancel: handleCancel
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kts-components-document-access-point",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "dumi dev",
@@ -3,6 +3,6 @@ import React from "react";
3
3
 
4
4
  export default () => {
5
5
  return (
6
- <DocumentsCont path='/billwhiteliest'/>
6
+ <DocumentsCont path=''/>
7
7
  );
8
8
  };
@@ -24,7 +24,6 @@ const Main = (props: any) => {
24
24
  useEffect(() => {
25
25
  const params = props.location.state;
26
26
  const tab = params && params.type;
27
- console.log(tab)
28
27
  if (tab) {
29
28
  controller.pipeline(async s => {
30
29
  s.type = Number(tab);
@@ -133,6 +133,20 @@ export default () => {
133
133
  "value": 1
134
134
  }]
135
135
  },
136
+ attribution: {
137
+ type: "radio",
138
+ title: "我的收发角色",
139
+ enum: [{
140
+ "label": "发送方",
141
+ "value": '1'
142
+ }, {
143
+ "label": "接收方",
144
+ "value": '0'
145
+ }],
146
+ 'x-props': {
147
+ mode: "multiple"
148
+ }
149
+ },
136
150
  attributionList: {
137
151
  type: "string",
138
152
  title: "发送对象",
@@ -161,20 +175,7 @@ export default () => {
161
175
  enum: profileEnum,
162
176
  visible: false
163
177
  },
164
- attribution: {
165
- type: "radio",
166
- title: "我的收发角色",
167
- enum: [{
168
- "label": "发送方",
169
- "value": '1'
170
- }, {
171
- "label": "接收方",
172
- "value": '0'
173
- }],
174
- 'x-props': {
175
- mode: "multiple"
176
- }
177
- },
178
+
178
179
  '[beginCreateTime,endCreateTime]': {
179
180
  key: "[beginCreateTime,endCreateTime",
180
181
  name: "[beginCreateTime,endCreateTime",
@@ -60,6 +60,7 @@ export default function validaterule(props: any) {
60
60
  controller.pipeline(async s => {
61
61
  s.type = 2;
62
62
  s.params = { configNumber: record.configNumber }
63
+ history.push({ pathname: `/rulelist`, state: { type: 2 } })
63
64
  })()
64
65
  }, []);
65
66
  const onPageChange = (pageNum: any, pageSize: any) => {
@@ -319,7 +319,7 @@ export default function Rule(props: any) {
319
319
  </div>
320
320
  </Card>
321
321
  <Modal
322
- title="请选择"
322
+ title="请选择我司对应DID"
323
323
  visible={visible}
324
324
  onOk={handleOk}
325
325
  onCancel={handleCancel}