n20-common-lib 3.2.36 → 3.2.38
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/assets/css/secondary-tab.scss +1 -0
- package/src/assets/css/v3/footer.scss +10 -4
- package/src/assets/css/v3/secondary-tab.scss +5 -3
- package/src/components/ApprovalRecord/approvalImgPro/child.vue +15 -0
- package/src/components/ApprovalRecord/approvalImgPro/index.vue +17 -1
- package/src/components/v3/Footer/index.vue +3 -3
- package/style/index.css +1 -1
- package/theme/blue.css +1 -1
- package/theme/cctcRed.css +1 -1
- package/theme/green.css +1 -1
- package/theme/lightBlue.css +1 -1
- package/theme/orange.css +1 -1
- package/theme/purple.css +1 -1
- package/theme/red.css +1 -1
- package/theme/yellow.css +1 -1
package/package.json
CHANGED
|
@@ -6,17 +6,23 @@
|
|
|
6
6
|
background: $--color-white;
|
|
7
7
|
justify-content: space-between;
|
|
8
8
|
|
|
9
|
+
.n20-page-footer-left,
|
|
10
|
+
.n20-page-footer-center,
|
|
11
|
+
.n20-page-footer-right {
|
|
12
|
+
flex: 1 1 auto;
|
|
13
|
+
min-width: 0;
|
|
14
|
+
display: flex;
|
|
15
|
+
}
|
|
16
|
+
|
|
9
17
|
.n20-page-footer-left {
|
|
10
|
-
|
|
18
|
+
justify-content: flex-start;
|
|
11
19
|
}
|
|
12
20
|
|
|
13
21
|
.n20-page-footer-center {
|
|
22
|
+
justify-content: center;
|
|
14
23
|
}
|
|
15
24
|
|
|
16
25
|
.n20-page-footer-right {
|
|
17
|
-
flex: 1;
|
|
18
|
-
width: 0;
|
|
19
|
-
display: flex;
|
|
20
26
|
justify-content: flex-end;
|
|
21
27
|
}
|
|
22
28
|
}
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
}
|
|
21
21
|
.el-tabs__item {
|
|
22
22
|
font-weight: 400;
|
|
23
|
+
color: $--color-text-regular;
|
|
23
24
|
// height: 27px;
|
|
24
25
|
font-family: 'PingFang SC';
|
|
25
26
|
font-size: 14px;
|
|
26
27
|
font-style: normal;
|
|
27
|
-
font-weight: 500;
|
|
28
28
|
line-height: 26px;
|
|
29
29
|
padding: 9px 16px;
|
|
30
30
|
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
height: 2px;
|
|
36
36
|
background-color: $--color-primary;
|
|
37
37
|
display: block;
|
|
38
|
-
margin-top:
|
|
38
|
+
margin-top: 2px;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
&.is-disabled {
|
|
@@ -104,7 +104,9 @@
|
|
|
104
104
|
line-height: 22px !important;
|
|
105
105
|
padding: 8px 12px !important;
|
|
106
106
|
border-radius: 4px !important;
|
|
107
|
-
box-shadow:
|
|
107
|
+
box-shadow:
|
|
108
|
+
0 6px 16px -8px rgba(0, 0, 0, 0.08),
|
|
109
|
+
0 9px 28px 0 rgba(0, 0, 0, 0.05),
|
|
108
110
|
0 12px 48px 16px rgba(0, 0, 0, 0.03) !important;
|
|
109
111
|
border: none !important;
|
|
110
112
|
|
|
@@ -133,6 +133,7 @@
|
|
|
133
133
|
<script>
|
|
134
134
|
import { $lc } from '../../../utils/i18n/index'
|
|
135
135
|
import importG from '../../../utils/importGlobal.js'
|
|
136
|
+
|
|
136
137
|
export default {
|
|
137
138
|
filters: {
|
|
138
139
|
zoomFormat(val) {
|
|
@@ -218,6 +219,20 @@ export default {
|
|
|
218
219
|
}
|
|
219
220
|
}
|
|
220
221
|
})
|
|
222
|
+
for (let k in currAssMap) {
|
|
223
|
+
let submitter = currAssMap[k]
|
|
224
|
+
if (
|
|
225
|
+
!currentActivityIdList.includes(k) &&
|
|
226
|
+
!k.includes('@addTaskType') &&
|
|
227
|
+
typeof submitter === 'string' &&
|
|
228
|
+
submitter.trim()
|
|
229
|
+
) {
|
|
230
|
+
let taskK = this.svgW.querySelector(`[data-element-id="${k}"]`)
|
|
231
|
+
if (taskK) {
|
|
232
|
+
this.addEvent(taskK, { assignee: `${$lc('发起人')}:${submitter.trim()}` }, 'pending')
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
221
236
|
for (let k in taskDefIdMap) {
|
|
222
237
|
if (!currentActivityIdList.includes(k)) {
|
|
223
238
|
let taskK = this.svgW.querySelector(`[data-element-id="${k}"]`)
|
|
@@ -161,10 +161,12 @@
|
|
|
161
161
|
</template>
|
|
162
162
|
|
|
163
163
|
<script>
|
|
164
|
+
import child from './child.vue'
|
|
165
|
+
|
|
164
166
|
import axios from '../../../utils/axios.js'
|
|
165
167
|
import { $lc } from '../../../utils/i18n/index'
|
|
166
168
|
import importG from '../../../utils/importGlobal.js'
|
|
167
|
-
|
|
169
|
+
|
|
168
170
|
export default {
|
|
169
171
|
components: {
|
|
170
172
|
child
|
|
@@ -256,6 +258,20 @@ export default {
|
|
|
256
258
|
}
|
|
257
259
|
}
|
|
258
260
|
})
|
|
261
|
+
for (let k in currAssMap) {
|
|
262
|
+
let submitter = currAssMap[k]
|
|
263
|
+
if (
|
|
264
|
+
!currentActivityIdList.includes(k) &&
|
|
265
|
+
!k.includes('@addTaskType') &&
|
|
266
|
+
typeof submitter === 'string' &&
|
|
267
|
+
submitter.trim()
|
|
268
|
+
) {
|
|
269
|
+
let taskK = this.svgW.querySelector(`[data-element-id="${k}"]`)
|
|
270
|
+
if (taskK) {
|
|
271
|
+
this.addEvent(taskK, { assignee: `${$lc('发起人')}:${submitter.trim()}` }, 'pending')
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
259
275
|
for (let k in taskDefIdMap) {
|
|
260
276
|
if (!currentActivityIdList.includes(k)) {
|
|
261
277
|
let taskK = this.svgW.querySelector(`[data-element-id="${k}"]`)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="n20-page-footer-v3" :style="showTopDivider ? 'border-top: 1px solid #E5E6EB;' : undefined">
|
|
3
|
-
<div :class="`n20-page-footer-left ${leftExtraClass}`">
|
|
3
|
+
<div v-if="$slots.leftExtra || $scopedSlots.leftExtra" :class="`n20-page-footer-left ${leftExtraClass}`">
|
|
4
4
|
<slot name="leftExtra"></slot>
|
|
5
5
|
</div>
|
|
6
|
-
<div :class="`n20-page-footer-center ${centerClass}`">
|
|
6
|
+
<div v-if="$slots.default || $scopedSlots.default" :class="`n20-page-footer-center ${centerClass}`">
|
|
7
7
|
<slot></slot>
|
|
8
8
|
</div>
|
|
9
|
-
<div :class="`n20-page-footer-right ${rightExtraClass}`">
|
|
9
|
+
<div v-if="$slots.rightExtra || $scopedSlots.rightExtra" :class="`n20-page-footer-right ${rightExtraClass}`">
|
|
10
10
|
<slot name="rightExtra"></slot>
|
|
11
11
|
</div>
|
|
12
12
|
</div>
|