resolver-egretimp-plus 0.1.90 → 0.1.92
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/h5/index.js +2 -2
- package/dist/web/index.js +2 -2
- package/package.json +1 -1
- package/src/bpm/bpmInstance.js +2 -2
- package/src/components/modal/index.js +9 -9
- package/src/components/modal/modal.scss +194 -194
- package/src/components/modal/modal.vue +200 -200
- package/src/components/packages-H5/CmiPicker.vue +3 -2
- package/src/components/packages-web/ElDatePicker.vue +4 -1
- package/src/index.jsx +1 -0
- package/src/resolver-H5.vue +1 -1
- package/src/utils/render.jsx +40 -1
package/package.json
CHANGED
package/src/bpm/bpmInstance.js
CHANGED
|
@@ -67,7 +67,7 @@ export class Bpm {
|
|
|
67
67
|
window.addEventListener("message", this.messageListener.bind(this))
|
|
68
68
|
}
|
|
69
69
|
setNativeMethods() {
|
|
70
|
-
const { validate: nativeValidate, dynamicMapComp, bpmSubmitBtn, toExecuteLoadServices } = this.params
|
|
70
|
+
const { validate: nativeValidate, dynamicMapComp, bpmSubmitBtn, toExecuteLoadServices, messageInstance } = this.params
|
|
71
71
|
const { getDetailReq, customValidate, saveValidate } = this.bpmConfigs
|
|
72
72
|
|
|
73
73
|
const toSave = async (eventData) => {
|
|
@@ -130,7 +130,7 @@ export class Bpm {
|
|
|
130
130
|
})
|
|
131
131
|
})
|
|
132
132
|
} else {
|
|
133
|
-
messageInstance?.warning?.('no set bpmSubmitBtn, or bpmSubmitBtn is invalid
|
|
133
|
+
messageInstance?.warning?.('no set bpmSubmitBtn, or bpmSubmitBtn is invalid.')
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
const getDetail = () => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { render, createVNode } from 'vue';
|
|
2
|
-
import modalObj from './modal.vue'
|
|
3
|
-
export const copyModal = (props = {}) => {
|
|
4
|
-
const container = document.createElement('div')
|
|
5
|
-
const vnode = createVNode(modalObj, props);
|
|
6
|
-
render(vnode, container);
|
|
7
|
-
const instance = vnode.component;
|
|
8
|
-
document.body.appendChild(container);
|
|
9
|
-
}
|
|
1
|
+
import { render, createVNode } from 'vue';
|
|
2
|
+
import modalObj from './modal.vue'
|
|
3
|
+
export const copyModal = (props = {}) => {
|
|
4
|
+
const container = document.createElement('div')
|
|
5
|
+
const vnode = createVNode(modalObj, props);
|
|
6
|
+
render(vnode, container);
|
|
7
|
+
const instance = vnode.component;
|
|
8
|
+
document.body.appendChild(container);
|
|
9
|
+
}
|
|
@@ -1,195 +1,195 @@
|
|
|
1
|
-
.warning-modal {
|
|
2
|
-
.warning-modal-backdrop {
|
|
3
|
-
position: fixed;
|
|
4
|
-
top: 0;
|
|
5
|
-
right: 0;
|
|
6
|
-
bottom: 0;
|
|
7
|
-
left: 0;
|
|
8
|
-
z-index: 106000;
|
|
9
|
-
background-color: #000;
|
|
10
|
-
transition: all .3s;
|
|
11
|
-
opacity: 0.5;
|
|
12
|
-
visibility: initial;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.warning-modal {
|
|
16
|
-
|
|
17
|
-
position: fixed;
|
|
18
|
-
top: 0;
|
|
19
|
-
right: 0;
|
|
20
|
-
bottom: 0;
|
|
21
|
-
left: 0;
|
|
22
|
-
display: block;
|
|
23
|
-
z-index: 106000;
|
|
24
|
-
outline: 0;
|
|
25
|
-
|
|
26
|
-
.warning-modal-dialog {
|
|
27
|
-
position: relative;
|
|
28
|
-
width: 900px;
|
|
29
|
-
margin: 100px auto;
|
|
30
|
-
-webkit-transform: translate(0);
|
|
31
|
-
transform: translate(0);
|
|
32
|
-
|
|
33
|
-
.warning-modal-content {
|
|
34
|
-
.warning-icon {
|
|
35
|
-
i.aid::before {
|
|
36
|
-
color: #3271FE;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.waring-btn {
|
|
41
|
-
|
|
42
|
-
span,
|
|
43
|
-
div {
|
|
44
|
-
&:first-child {
|
|
45
|
-
background-color: #D0D3D6 !important;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.yes:last-child {
|
|
50
|
-
background-color: #3271FE !important;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.warning-tips {
|
|
58
|
-
width: 400px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.warning-modal-content {
|
|
62
|
-
height: auto;
|
|
63
|
-
position: relative;
|
|
64
|
-
display: -webkit-box;
|
|
65
|
-
display: -ms-flexbox;
|
|
66
|
-
display: flex;
|
|
67
|
-
-webkit-box-orient: vertical;
|
|
68
|
-
-webkit-box-direction: normal;
|
|
69
|
-
-ms-flex-direction: column;
|
|
70
|
-
flex-direction: column;
|
|
71
|
-
background-color: #fff;
|
|
72
|
-
background-clip: padding-box;
|
|
73
|
-
border-radius: 4px;
|
|
74
|
-
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .1);
|
|
75
|
-
outline: 0;
|
|
76
|
-
max-width: calc(100vw - 30px*2);
|
|
77
|
-
max-height: calc(100vh - 30px*2);
|
|
78
|
-
|
|
79
|
-
.warning-icon {
|
|
80
|
-
width: 100%;
|
|
81
|
-
height: auto;
|
|
82
|
-
text-align: center;
|
|
83
|
-
padding: 40px 0px 0px 0px;
|
|
84
|
-
|
|
85
|
-
i {
|
|
86
|
-
font-size: 80px;
|
|
87
|
-
color: #3271FE;
|
|
88
|
-
padding-bottom: 10px;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
p {
|
|
92
|
-
font-size: 24px;
|
|
93
|
-
color: #3271FE;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.waring-cnt {
|
|
98
|
-
width: 100%;
|
|
99
|
-
height: auto;
|
|
100
|
-
text-align: center;
|
|
101
|
-
border-radius: 0 0 0 4px;
|
|
102
|
-
cursor: pointer;
|
|
103
|
-
|
|
104
|
-
p {
|
|
105
|
-
font-size: 18px;
|
|
106
|
-
margin-bottom: 0rem;
|
|
107
|
-
|
|
108
|
-
span:first-child {
|
|
109
|
-
color: #455155;
|
|
110
|
-
opacity: 0.6;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
span:last-child {
|
|
114
|
-
color: #455155;
|
|
115
|
-
opacity: 0.9;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.waring-btn {
|
|
121
|
-
width: 100%;
|
|
122
|
-
overflow: hidden;
|
|
123
|
-
margin-top: 20px;
|
|
124
|
-
cursor: pointer;
|
|
125
|
-
|
|
126
|
-
span {
|
|
127
|
-
display: inline-block;
|
|
128
|
-
width: 100%;
|
|
129
|
-
float: left;
|
|
130
|
-
height: 50px;
|
|
131
|
-
line-height: 50px;
|
|
132
|
-
text-align: center;
|
|
133
|
-
font-size: 18px;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.no {
|
|
137
|
-
background: #E5E8E8;
|
|
138
|
-
border-bottom-left-radius: 4px;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.yes {
|
|
142
|
-
background: #3271FE;
|
|
143
|
-
color: #fff;
|
|
144
|
-
border-bottom-right-radius: 4px;
|
|
145
|
-
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.reject-btn {
|
|
150
|
-
margin-top: 0px !important;
|
|
151
|
-
|
|
152
|
-
span {
|
|
153
|
-
width: 50%;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.warning-modal-close {
|
|
160
|
-
padding: 10px 10px 0px 0px;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
._copymodal {
|
|
165
|
-
.waring-cnt {
|
|
166
|
-
word-break: break-word;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.maxheight {
|
|
170
|
-
max-height: 500px;
|
|
171
|
-
overflow-y: auto;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.copycontent-l {
|
|
175
|
-
padding-right: 15px;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.copycontent-r {
|
|
179
|
-
color: rgb(255, 128, 0) !important;
|
|
180
|
-
max-width: 70%;
|
|
181
|
-
word-break: break-word;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.copycontent {
|
|
185
|
-
display: flex;
|
|
186
|
-
justify-content: center;
|
|
187
|
-
cursor: pointer;
|
|
188
|
-
font-size: 18px;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.yes {
|
|
193
|
-
white-space: nowrap;
|
|
194
|
-
overflow: hidden;
|
|
1
|
+
.warning-modal {
|
|
2
|
+
.warning-modal-backdrop {
|
|
3
|
+
position: fixed;
|
|
4
|
+
top: 0;
|
|
5
|
+
right: 0;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
z-index: 106000;
|
|
9
|
+
background-color: #000;
|
|
10
|
+
transition: all .3s;
|
|
11
|
+
opacity: 0.5;
|
|
12
|
+
visibility: initial;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.warning-modal {
|
|
16
|
+
|
|
17
|
+
position: fixed;
|
|
18
|
+
top: 0;
|
|
19
|
+
right: 0;
|
|
20
|
+
bottom: 0;
|
|
21
|
+
left: 0;
|
|
22
|
+
display: block;
|
|
23
|
+
z-index: 106000;
|
|
24
|
+
outline: 0;
|
|
25
|
+
|
|
26
|
+
.warning-modal-dialog {
|
|
27
|
+
position: relative;
|
|
28
|
+
width: 900px;
|
|
29
|
+
margin: 100px auto;
|
|
30
|
+
-webkit-transform: translate(0);
|
|
31
|
+
transform: translate(0);
|
|
32
|
+
|
|
33
|
+
.warning-modal-content {
|
|
34
|
+
.warning-icon {
|
|
35
|
+
i.aid::before {
|
|
36
|
+
color: #3271FE;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.waring-btn {
|
|
41
|
+
|
|
42
|
+
span,
|
|
43
|
+
div {
|
|
44
|
+
&:first-child {
|
|
45
|
+
background-color: #D0D3D6 !important;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.yes:last-child {
|
|
50
|
+
background-color: #3271FE !important;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.warning-tips {
|
|
58
|
+
width: 400px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.warning-modal-content {
|
|
62
|
+
height: auto;
|
|
63
|
+
position: relative;
|
|
64
|
+
display: -webkit-box;
|
|
65
|
+
display: -ms-flexbox;
|
|
66
|
+
display: flex;
|
|
67
|
+
-webkit-box-orient: vertical;
|
|
68
|
+
-webkit-box-direction: normal;
|
|
69
|
+
-ms-flex-direction: column;
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
background-color: #fff;
|
|
72
|
+
background-clip: padding-box;
|
|
73
|
+
border-radius: 4px;
|
|
74
|
+
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .1);
|
|
75
|
+
outline: 0;
|
|
76
|
+
max-width: calc(100vw - 30px*2);
|
|
77
|
+
max-height: calc(100vh - 30px*2);
|
|
78
|
+
|
|
79
|
+
.warning-icon {
|
|
80
|
+
width: 100%;
|
|
81
|
+
height: auto;
|
|
82
|
+
text-align: center;
|
|
83
|
+
padding: 40px 0px 0px 0px;
|
|
84
|
+
|
|
85
|
+
i {
|
|
86
|
+
font-size: 80px;
|
|
87
|
+
color: #3271FE;
|
|
88
|
+
padding-bottom: 10px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
p {
|
|
92
|
+
font-size: 24px;
|
|
93
|
+
color: #3271FE;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.waring-cnt {
|
|
98
|
+
width: 100%;
|
|
99
|
+
height: auto;
|
|
100
|
+
text-align: center;
|
|
101
|
+
border-radius: 0 0 0 4px;
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
|
|
104
|
+
p {
|
|
105
|
+
font-size: 18px;
|
|
106
|
+
margin-bottom: 0rem;
|
|
107
|
+
|
|
108
|
+
span:first-child {
|
|
109
|
+
color: #455155;
|
|
110
|
+
opacity: 0.6;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
span:last-child {
|
|
114
|
+
color: #455155;
|
|
115
|
+
opacity: 0.9;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.waring-btn {
|
|
121
|
+
width: 100%;
|
|
122
|
+
overflow: hidden;
|
|
123
|
+
margin-top: 20px;
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
|
|
126
|
+
span {
|
|
127
|
+
display: inline-block;
|
|
128
|
+
width: 100%;
|
|
129
|
+
float: left;
|
|
130
|
+
height: 50px;
|
|
131
|
+
line-height: 50px;
|
|
132
|
+
text-align: center;
|
|
133
|
+
font-size: 18px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.no {
|
|
137
|
+
background: #E5E8E8;
|
|
138
|
+
border-bottom-left-radius: 4px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.yes {
|
|
142
|
+
background: #3271FE;
|
|
143
|
+
color: #fff;
|
|
144
|
+
border-bottom-right-radius: 4px;
|
|
145
|
+
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.reject-btn {
|
|
150
|
+
margin-top: 0px !important;
|
|
151
|
+
|
|
152
|
+
span {
|
|
153
|
+
width: 50%;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.warning-modal-close {
|
|
160
|
+
padding: 10px 10px 0px 0px;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
._copymodal {
|
|
165
|
+
.waring-cnt {
|
|
166
|
+
word-break: break-word;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.maxheight {
|
|
170
|
+
max-height: 500px;
|
|
171
|
+
overflow-y: auto;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.copycontent-l {
|
|
175
|
+
padding-right: 15px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.copycontent-r {
|
|
179
|
+
color: rgb(255, 128, 0) !important;
|
|
180
|
+
max-width: 70%;
|
|
181
|
+
word-break: break-word;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.copycontent {
|
|
185
|
+
display: flex;
|
|
186
|
+
justify-content: center;
|
|
187
|
+
cursor: pointer;
|
|
188
|
+
font-size: 18px;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.yes {
|
|
193
|
+
white-space: nowrap;
|
|
194
|
+
overflow: hidden;
|
|
195
195
|
}
|