cnhis-design-vue 0.1.72-beta → 0.1.76-beta
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/es/age/index.js +2 -2
- package/es/big-table/index.js +44 -44
- package/es/big-table/style.css +1 -1
- package/es/button/index.js +28 -25
- package/es/button/style.css +1 -1
- package/es/captcha/index.js +3 -3
- package/es/checkbox/index.js +1 -1
- package/es/color-picker/index.js +1 -1
- package/es/drag-layout/index.js +3 -3
- package/es/editor/index.js +1 -1
- package/es/fabric-chart/index.js +9 -9
- package/es/index/index.js +264 -259
- package/es/index/style.css +1 -1
- package/es/input/index.js +1 -1
- package/es/map/index.js +1 -1
- package/es/multi-chat/index.js +24 -24
- package/es/multi-chat-client/index.js +15 -15
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +4 -4
- package/es/multi-chat-setting/index.js +20 -20
- package/es/multi-chat-sip/index.js +1 -1
- package/es/radio/index.js +1 -1
- package/es/scale-view/index.js +99 -97
- package/es/scale-view/style.css +1 -1
- package/es/select/index.js +3 -3
- package/es/select-label/index.js +42 -26
- package/es/select-label/style.css +1 -1
- package/es/select-person/index.js +2 -2
- package/es/table-filter/index.js +45 -42
- package/es/table-filter/style.css +1 -1
- package/es/tag/index.js +1 -1
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +370 -369
- package/lib/cui.umd.js +370 -369
- package/lib/cui.umd.min.js +26 -26
- package/package.json +1 -1
- package/packages/big-table/src/BigTable.vue +1 -1
- package/packages/button/src/ButtonPrint/index.vue +8 -5
- package/packages/scale-view/scaleView.vue +25 -21
- package/packages/select-label/labelFormContent.vue +5 -1
package/package.json
CHANGED
|
@@ -18,11 +18,14 @@
|
|
|
18
18
|
{{ formatEditText }}
|
|
19
19
|
</a-menu-item>
|
|
20
20
|
</a-menu>
|
|
21
|
-
<
|
|
22
|
-
<a-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
<slot name="button" :handleClickPrintBtn="handleClickBtn" :printSpinning="spinning" :printbtnText="btnText" :printVisible="visible">
|
|
22
|
+
<a-button class="dropdown-button" style="margin: 0 8px 8px 0" @click.stop="handleClickBtn">
|
|
23
|
+
<a-icon v-if="spinning" type="loading" style="line-height: 10px;" />
|
|
24
|
+
{{ btnText }}
|
|
25
|
+
<a-icon type="down" />
|
|
26
|
+
</a-button>
|
|
27
|
+
<slot>
|
|
28
|
+
|
|
26
29
|
</a-dropdown>
|
|
27
30
|
|
|
28
31
|
<IdentityVerification
|
|
@@ -392,18 +392,21 @@ export default create({
|
|
|
392
392
|
? item.showTitle
|
|
393
393
|
: `${item.softcode}、${item.showTitle}`;
|
|
394
394
|
if (!this.isEvaluation(type)) return tempTile;
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
}
|
|
406
|
-
|
|
395
|
+
|
|
396
|
+
let score = this.handleEvaluationScore(item);
|
|
397
|
+
return `${tempTile} <span style="color:#2d7aff;">${score}</span>`;
|
|
398
|
+
// if (this.noBtn) {
|
|
399
|
+
// let score = this.handleEvaluationScore(item);
|
|
400
|
+
// return `${tempTile} <span style="color:#2d7aff;">${score}</span>`;
|
|
401
|
+
// }
|
|
402
|
+
// if (!this.isLock) {
|
|
403
|
+
// let score = this.handleEvaluationScore(item);
|
|
404
|
+
// return `${tempTile} <span style="color:#2d7aff;">${score}</span>`;
|
|
405
|
+
// }
|
|
406
|
+
// if (item.questionScore !== undefined) {
|
|
407
|
+
// return `${tempTile} <span style="color:#2d7aff;">(${item.questionScore}分)</span>`;
|
|
408
|
+
// }
|
|
409
|
+
// return tempTile;
|
|
407
410
|
};
|
|
408
411
|
},
|
|
409
412
|
hasScore() {
|
|
@@ -1544,15 +1547,16 @@ export default create({
|
|
|
1544
1547
|
},
|
|
1545
1548
|
handleEvaluationScore(ele) {
|
|
1546
1549
|
let { minScore = 0, maxScore = 0, scoreType } = ele.scoreConfigs || {};
|
|
1547
|
-
|
|
1548
|
-
if (
|
|
1549
|
-
if (
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1550
|
+
return `(${maxScore}分)`;
|
|
1551
|
+
// if (scoreType === "correctAnswerScore") return `(${maxScore}分)`;
|
|
1552
|
+
// if (minScore === maxScore) return `(${maxScore}分)`;
|
|
1553
|
+
// if (ele.type === "EVALUATE_INPUT") {
|
|
1554
|
+
// if (maxScore == 0) {
|
|
1555
|
+
// return `(${maxScore}分)`;
|
|
1556
|
+
// }
|
|
1557
|
+
// return `(0-${maxScore}分)`;
|
|
1558
|
+
// }
|
|
1559
|
+
// return `(${minScore}-${maxScore}分)`;
|
|
1556
1560
|
}
|
|
1557
1561
|
}
|
|
1558
1562
|
});
|
|
@@ -112,6 +112,7 @@
|
|
|
112
112
|
import utils from '@/utils/utils-map';
|
|
113
113
|
import { Tooltip, Icon, Button, Input, Tag, Tabs, Anchor } from 'ant-design-vue';
|
|
114
114
|
import create from '@/core/create';
|
|
115
|
+
import vexutils from '@/utils/vexutils';
|
|
115
116
|
export default create({
|
|
116
117
|
name: 'label-form-content',
|
|
117
118
|
components: {
|
|
@@ -470,7 +471,10 @@ export default create({
|
|
|
470
471
|
handleLabelChange(v, d, labelGroup) {
|
|
471
472
|
const list = labelGroup.itemList;
|
|
472
473
|
const multipleChoice = labelGroup.multipleChoice;
|
|
473
|
-
let selectedList = this.labelSelectedEdit || [];
|
|
474
|
+
// let selectedList = this.labelSelectedEdit || [];
|
|
475
|
+
// 修复 标签多选 点击modal取消按钮 回显也会被选中
|
|
476
|
+
let selectedList =
|
|
477
|
+
(this.labelSelectedEdit?.length && vexutils.clone(this.labelSelectedEdit, true)) || [];
|
|
474
478
|
if (v) {
|
|
475
479
|
if (selectedList.some(n => n.labelId == d.labelId)) {
|
|
476
480
|
return;
|