cnhis-design-vue 0.2.65-beta → 0.2.66-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/affix/index.js +8 -8
- package/es/age/index.js +10 -10
- package/es/alert/index.js +8 -8
- package/es/anchor/index.js +8 -8
- package/es/auto-complete/index.js +8 -8
- package/es/avatar/index.js +8 -8
- package/es/back-top/index.js +8 -8
- package/es/badge/index.js +8 -8
- package/es/base/index.js +8 -8
- package/es/big-table/index.js +120 -118
- package/es/big-table/style.css +1 -1
- package/es/breadcrumb/index.js +8 -8
- package/es/button/index.js +28 -28
- package/es/calendar/index.js +8 -8
- package/es/captcha/index.js +3 -3
- package/es/card/index.js +8 -8
- package/es/carousel/index.js +8 -8
- package/es/cascader/index.js +8 -8
- package/es/checkbox/index.js +9 -9
- package/es/col/index.js +8 -8
- package/es/collapse/index.js +8 -8
- package/es/color-picker/index.js +1 -1
- package/es/comment/index.js +8 -8
- package/es/config-provider/index.js +8 -8
- package/es/date-picker/index.js +8 -8
- package/es/descriptions/index.js +8 -8
- package/es/divider/index.js +8 -8
- package/es/drag-layout/index.js +3 -3
- package/es/drawer/index.js +8 -8
- package/es/dropdown/index.js +8 -8
- package/es/editor/index.js +1 -1
- package/es/empty/index.js +8 -8
- package/es/fabric-chart/index.js +9 -9
- package/es/form/index.js +8 -8
- package/es/form-model/index.js +8 -8
- package/es/form-table/index.js +62 -62
- package/es/index/index.js +1523 -816
- package/es/index/style.css +1 -1
- package/es/input/index.js +9 -9
- package/es/input-number/index.js +8 -8
- package/es/layout/index.js +8 -8
- package/es/list/index.js +8 -8
- package/es/locale-provider/index.js +8 -8
- package/es/map/index.js +9 -9
- package/es/mentions/index.js +8 -8
- package/es/menu/index.js +8 -8
- package/es/message/index.js +8 -8
- package/es/multi-chat/index.js +75 -75
- package/es/multi-chat-client/index.js +69 -69
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +14 -14
- package/es/multi-chat-setting/index.js +22 -22
- package/es/multi-chat-sip/index.js +1 -1
- package/es/notification/index.js +8 -8
- package/es/page-header/index.js +8 -8
- package/es/pagination/index.js +8 -8
- package/es/popconfirm/index.js +8 -8
- package/es/popover/index.js +8 -8
- package/es/progress/index.js +8 -8
- package/es/radio/index.js +9 -9
- package/es/rate/index.js +8 -8
- package/es/result/index.js +8 -8
- package/es/row/index.js +8 -8
- package/es/scale-view/index.js +1127 -408
- package/es/scale-view/style.css +1 -1
- package/es/select/index.js +11 -11
- package/es/select-label/index.js +11 -11
- package/es/select-person/index.js +2 -2
- package/es/skeleton/index.js +8 -8
- package/es/slider/index.js +8 -8
- package/es/space/index.js +8 -8
- package/es/spin/index.js +8 -8
- package/es/statistic/index.js +8 -8
- package/es/steps/index.js +8 -8
- package/es/switch/index.js +8 -8
- package/es/table-filter/index.js +53 -53
- package/es/tabs/index.js +8 -8
- package/es/tag/index.js +9 -9
- package/es/time-picker/index.js +8 -8
- package/es/timeline/index.js +8 -8
- package/es/tooltip/index.js +8 -8
- package/es/transfer/index.js +8 -8
- package/es/tree/index.js +8 -8
- package/es/tree-select/index.js +8 -8
- package/es/upload/index.js +8 -8
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +2020 -1577
- package/lib/cui.umd.js +2020 -1577
- package/lib/cui.umd.min.js +58 -58
- package/package.json +1 -1
- package/packages/big-table/src/BigTable.vue +1 -1
- package/packages/big-table/src/components/TextOverTooltip.vue +1 -1
- package/packages/scale-view/NoData.vue +81 -0
- package/packages/scale-view/answerParse.vue +10 -1
- package/packages/scale-view/assets/img/failure.png +0 -0
- package/packages/scale-view/assets/img/no-permission.png +0 -0
- package/packages/scale-view/assets/img/nodata.png +0 -0
- package/packages/scale-view/assets/img/notfound.png +0 -0
- package/packages/scale-view/formitem/r-choice.vue +319 -99
- package/packages/scale-view/formitem/r-input.vue +10 -14
- package/packages/scale-view/mixin/NoData.js +16 -2
- package/packages/scale-view/mixin/evaluate.js +1 -1
- package/packages/scale-view/scaleView.vue +334 -139
- package/packages/big-table/src/components/edit-form/edit-component/global-props.js +0 -33
- package/packages/big-table/src/components/edit-form/edit-component/index.js +0 -8
package/package.json
CHANGED
|
@@ -1034,7 +1034,7 @@ export default create({
|
|
|
1034
1034
|
if (this.isNestTable) return false;
|
|
1035
1035
|
let id = this.inlineEditCurrentOperateBtnId;
|
|
1036
1036
|
let find = this.btnList?.find(item => {
|
|
1037
|
-
return item
|
|
1037
|
+
return item?.settingObj?.[0]?.obj_id === id;
|
|
1038
1038
|
});
|
|
1039
1039
|
return !!find;
|
|
1040
1040
|
},
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="no-data-tip NoData-page">
|
|
3
|
+
<img v-if="showImg" :src="require(`./assets/img/${noDataImg}.png`)" alt="" />
|
|
4
|
+
<p>{{ $t(noDataTip) }}</p>
|
|
5
|
+
<span v-if="handleDesc"> {{ handleDesc }}</span>
|
|
6
|
+
</div>
|
|
7
|
+
</template>
|
|
8
|
+
<script>
|
|
9
|
+
export default {
|
|
10
|
+
name: 'NoData',
|
|
11
|
+
components: {},
|
|
12
|
+
props: {
|
|
13
|
+
noDataTip: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: '1.1.6.11'
|
|
16
|
+
},
|
|
17
|
+
noDataImg: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: 'nodata'
|
|
20
|
+
},
|
|
21
|
+
showImg: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: true
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
data() {
|
|
27
|
+
return {};
|
|
28
|
+
},
|
|
29
|
+
|
|
30
|
+
computed: {
|
|
31
|
+
handleDesc() {
|
|
32
|
+
let res = '';
|
|
33
|
+
switch (this.noDataImg) {
|
|
34
|
+
case 'no-permission':
|
|
35
|
+
res = '请联系管理员';
|
|
36
|
+
break;
|
|
37
|
+
case 'failure':
|
|
38
|
+
res = '请稍后再试';
|
|
39
|
+
break;
|
|
40
|
+
default:
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
return res;
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
watch: {},
|
|
47
|
+
// 生命周期
|
|
48
|
+
created() {},
|
|
49
|
+
mounted() {},
|
|
50
|
+
|
|
51
|
+
// 方法
|
|
52
|
+
methods: {}
|
|
53
|
+
};
|
|
54
|
+
</script>
|
|
55
|
+
<style lang="less" scoped>
|
|
56
|
+
.no-data-tip {
|
|
57
|
+
display: flex;
|
|
58
|
+
flex-direction: column;
|
|
59
|
+
justify-content: center;
|
|
60
|
+
align-items: center;
|
|
61
|
+
width: 100%;
|
|
62
|
+
height: 100%;
|
|
63
|
+
color: #333333;
|
|
64
|
+
font-size: 22px;
|
|
65
|
+
> img {
|
|
66
|
+
max-width: 70%;
|
|
67
|
+
width: 260px;
|
|
68
|
+
}
|
|
69
|
+
> p {
|
|
70
|
+
margin-top: 12px;
|
|
71
|
+
margin-bottom: 0;
|
|
72
|
+
font-size: 16px;
|
|
73
|
+
color: rgba(0, 0, 0, 0.8);
|
|
74
|
+
}
|
|
75
|
+
> span {
|
|
76
|
+
font-size: 14px;
|
|
77
|
+
color: rgba(0, 0, 0, 0.4);
|
|
78
|
+
margin-top: 6px;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
</style>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<svg-icon :iconClass="answerIcon"></svg-icon>
|
|
6
6
|
{{ answerResText }}
|
|
7
7
|
</div>
|
|
8
|
-
<div v-if="answerSuccess">
|
|
8
|
+
<div v-if="answerSuccess"> {{ scoreText }}得分:{{ questionScore }}分 </div>
|
|
9
9
|
</div>
|
|
10
10
|
<div class="correct-answer" v-if="correctAnswer">
|
|
11
11
|
<p>正确答案:</p>
|
|
@@ -37,8 +37,17 @@ export default {
|
|
|
37
37
|
return this.answerSuccess ? "xitongtubiaodui" : "xitongtubiaocuo";
|
|
38
38
|
},
|
|
39
39
|
answerResText() {
|
|
40
|
+
if ("questionPartScore" in this.item) {
|
|
41
|
+
return "部分正确";
|
|
42
|
+
}
|
|
40
43
|
return this.answerSuccess ? "回答正确" : "回答错误";
|
|
41
44
|
},
|
|
45
|
+
scoreText() {
|
|
46
|
+
if ("questionPartScore" in this.item) {
|
|
47
|
+
return "部分";
|
|
48
|
+
}
|
|
49
|
+
return "本题";
|
|
50
|
+
},
|
|
42
51
|
correctAnswer() {
|
|
43
52
|
let { correctAnswer } = this.item?.scoreConfigs || {};
|
|
44
53
|
return correctAnswer;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|