cloud-web-corejs 1.0.54-dev.658 → 1.0.54-dev.659
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/package.json +1 -1
- package/src/views/bd/setting/formVersion/compareBasicSection.vue +50 -0
- package/src/views/bd/setting/formVersion/compareCodeSection.vue +13 -0
- package/src/views/bd/setting/formVersion/compareContMixin.scss +55 -0
- package/src/views/bd/setting/formVersion/compareDialog.vue +0 -115
- package/src/views/bd/setting/formVersion/preformDialog.vue +5 -4
- package/src/views/bd/setting/formVersion/tableModelCompareView.vue +14 -0
package/package.json
CHANGED
|
@@ -68,3 +68,53 @@ export default {
|
|
|
68
68
|
},
|
|
69
69
|
};
|
|
70
70
|
</script>
|
|
71
|
+
|
|
72
|
+
<style scoped lang="scss">
|
|
73
|
+
@import "./compareContMixin.scss";
|
|
74
|
+
|
|
75
|
+
.compare-cont {
|
|
76
|
+
@include compare-cont-shell;
|
|
77
|
+
@include compare-cont-title;
|
|
78
|
+
@include compare-version-label;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.table-border_1 {
|
|
82
|
+
width: 100%;
|
|
83
|
+
border-collapse: collapse;
|
|
84
|
+
table-layout: fixed;
|
|
85
|
+
|
|
86
|
+
th,
|
|
87
|
+
td {
|
|
88
|
+
padding: 10px 12px;
|
|
89
|
+
border: 1px solid #ebeef5;
|
|
90
|
+
font-size: 13px;
|
|
91
|
+
line-height: 20px;
|
|
92
|
+
vertical-align: middle;
|
|
93
|
+
word-break: break-all;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
th {
|
|
97
|
+
width: 160px;
|
|
98
|
+
background: #f5f7fa;
|
|
99
|
+
color: #606266;
|
|
100
|
+
font-weight: 500;
|
|
101
|
+
text-align: left;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
td {
|
|
105
|
+
width: calc((100% - 160px) / 2);
|
|
106
|
+
color: #303133;
|
|
107
|
+
|
|
108
|
+
.compare-revert-btn {
|
|
109
|
+
float: right;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
tr.id-difference {
|
|
114
|
+
td {
|
|
115
|
+
background: #fef0f0;
|
|
116
|
+
color: #f56c6c;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
</style>
|
|
@@ -343,7 +343,20 @@ export default {
|
|
|
343
343
|
</script>
|
|
344
344
|
|
|
345
345
|
<style scoped lang="scss">
|
|
346
|
+
@import "./compareContMixin.scss";
|
|
347
|
+
|
|
346
348
|
.compare-code-section {
|
|
349
|
+
@include compare-cont-shell;
|
|
350
|
+
@include compare-cont-full-link;
|
|
351
|
+
@include compare-version-label;
|
|
352
|
+
@include compare-flex-row;
|
|
353
|
+
|
|
354
|
+
.compare-code-flex {
|
|
355
|
+
::v-deep .ace-container {
|
|
356
|
+
border: 1px solid #ebeef5;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
347
360
|
.compare-code-header {
|
|
348
361
|
position: relative;
|
|
349
362
|
min-height: 28px;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@mixin compare-cont-shell {
|
|
2
|
+
position: relative;
|
|
3
|
+
margin: 12px 16px;
|
|
4
|
+
padding: 12px 16px 16px;
|
|
5
|
+
background: #fff;
|
|
6
|
+
border-radius: 4px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin compare-cont-title {
|
|
10
|
+
.title {
|
|
11
|
+
margin-bottom: 12px;
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
color: #303133;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin compare-cont-full-link {
|
|
18
|
+
.is-full {
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: 12px;
|
|
21
|
+
right: 16px;
|
|
22
|
+
font-size: 16px;
|
|
23
|
+
color: #409eff;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@mixin compare-version-label {
|
|
28
|
+
.version-blue,
|
|
29
|
+
.version-green {
|
|
30
|
+
display: inline-block;
|
|
31
|
+
margin-bottom: 8px;
|
|
32
|
+
font-size: 13px;
|
|
33
|
+
font-weight: 600;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.version-blue {
|
|
37
|
+
color: #409eff;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.version-green {
|
|
41
|
+
color: #67c23a;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@mixin compare-flex-row {
|
|
46
|
+
.flex {
|
|
47
|
+
display: flex;
|
|
48
|
+
gap: 12px;
|
|
49
|
+
|
|
50
|
+
.flex-1 {
|
|
51
|
+
flex: 1;
|
|
52
|
+
min-width: 0;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -86,118 +86,3 @@ export default {
|
|
|
86
86
|
},
|
|
87
87
|
};
|
|
88
88
|
</script>
|
|
89
|
-
|
|
90
|
-
<style lang="scss">
|
|
91
|
-
.form-version-compare-dialog {
|
|
92
|
-
.compare-cont {
|
|
93
|
-
position: relative;
|
|
94
|
-
margin: 12px 16px;
|
|
95
|
-
padding: 12px 16px 16px;
|
|
96
|
-
background: #fff;
|
|
97
|
-
border-radius: 4px;
|
|
98
|
-
|
|
99
|
-
.title {
|
|
100
|
-
margin-bottom: 12px;
|
|
101
|
-
font-size: 14px;
|
|
102
|
-
color: #303133;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.is-full {
|
|
106
|
-
position: absolute;
|
|
107
|
-
top: 12px;
|
|
108
|
-
right: 16px;
|
|
109
|
-
font-size: 16px;
|
|
110
|
-
color: #409eff;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.version-blue,
|
|
114
|
-
.version-green {
|
|
115
|
-
display: inline-block;
|
|
116
|
-
margin-bottom: 8px;
|
|
117
|
-
font-size: 13px;
|
|
118
|
-
font-weight: 600;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.version-blue {
|
|
122
|
-
color: #409eff;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.version-green {
|
|
126
|
-
color: #67c23a;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.flex {
|
|
130
|
-
display: flex;
|
|
131
|
-
gap: 12px;
|
|
132
|
-
|
|
133
|
-
.flex-1 {
|
|
134
|
-
flex: 1;
|
|
135
|
-
min-width: 0;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&.is-section-fullscreen:not(.compare-code-section):not(.compare-detail-section) {
|
|
140
|
-
position: fixed;
|
|
141
|
-
top: 0;
|
|
142
|
-
right: 0;
|
|
143
|
-
bottom: 0;
|
|
144
|
-
left: 0;
|
|
145
|
-
z-index: 9999;
|
|
146
|
-
margin: 0;
|
|
147
|
-
overflow: auto;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.table-border_1 {
|
|
152
|
-
width: 100%;
|
|
153
|
-
border-collapse: collapse;
|
|
154
|
-
table-layout: fixed;
|
|
155
|
-
|
|
156
|
-
th,
|
|
157
|
-
td {
|
|
158
|
-
padding: 10px 12px;
|
|
159
|
-
border: 1px solid #ebeef5;
|
|
160
|
-
font-size: 13px;
|
|
161
|
-
line-height: 20px;
|
|
162
|
-
vertical-align: middle;
|
|
163
|
-
word-break: break-all;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
th {
|
|
167
|
-
width: 160px;
|
|
168
|
-
background: #f5f7fa;
|
|
169
|
-
color: #606266;
|
|
170
|
-
font-weight: 500;
|
|
171
|
-
text-align: left;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
td {
|
|
175
|
-
width: calc((100% - 160px) / 2);
|
|
176
|
-
color: #303133;
|
|
177
|
-
|
|
178
|
-
.compare-revert-btn {
|
|
179
|
-
float: right;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
tr.id-difference {
|
|
184
|
-
td {
|
|
185
|
-
background: #fef0f0;
|
|
186
|
-
color: #f56c6c;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.compare-code-flex .ace-container {
|
|
192
|
-
border: 1px solid #ebeef5;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.compare-detail-grid {
|
|
196
|
-
margin-top: 8px;
|
|
197
|
-
|
|
198
|
-
.grid-height {
|
|
199
|
-
height: 320px !important;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
</style>
|
|
@@ -78,9 +78,10 @@ export default {
|
|
|
78
78
|
},
|
|
79
79
|
};
|
|
80
80
|
</script>
|
|
81
|
-
<style scoped
|
|
82
|
-
|
|
83
|
-
.
|
|
84
|
-
|
|
81
|
+
<style scoped lang="scss">
|
|
82
|
+
::v-deep .formVersion-preform-dialog {
|
|
83
|
+
.el-dialog__header {
|
|
84
|
+
text-align: left;
|
|
85
|
+
}
|
|
85
86
|
}
|
|
86
87
|
</style>
|
|
@@ -329,7 +329,21 @@ export default {
|
|
|
329
329
|
</script>
|
|
330
330
|
|
|
331
331
|
<style scoped lang="scss">
|
|
332
|
+
@import "./compareContMixin.scss";
|
|
333
|
+
|
|
332
334
|
.compare-detail-section {
|
|
335
|
+
@include compare-cont-shell;
|
|
336
|
+
@include compare-cont-full-link;
|
|
337
|
+
@include compare-version-label;
|
|
338
|
+
|
|
339
|
+
.compare-detail-grid {
|
|
340
|
+
margin-top: 8px;
|
|
341
|
+
|
|
342
|
+
.grid-height {
|
|
343
|
+
height: 320px !important;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
|
|
333
347
|
.compare-detail-header {
|
|
334
348
|
position: relative;
|
|
335
349
|
min-height: 28px;
|