doway-coms 1.1.100 → 1.2.1
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/packages/BaseCheckbox/src/index.vue +15 -3
- package/packages/BaseDate/src/index.vue +16 -2
- package/packages/BaseDateWeek/src/index.vue +14 -2
- package/packages/BaseDatetime/src/index.vue +16 -2
- package/packages/BaseForm/src/index.vue +12 -0
- package/packages/BaseGrid/src/index.vue +21 -3
- package/packages/BaseInput/src/index.vue +15 -2
- package/packages/BaseIntervalInput/src/index.vue +16 -2
- package/packages/BaseNumberInput/src/index.vue +16 -2
- package/packages/BasePulldown/src/index.vue +15 -2
- package/packages/BaseSelect/src/index.vue +15 -2
- package/packages/BaseSelectMulti/src/index.vue +18 -4
- package/packages/BaseTextArea/src/index.vue +16 -2
- package/packages/BaseTime/src/index.vue +16 -2
- package/packages/styles/icon/help.png +0 -0
- package/dist/css/chunk-vendors.7f83d8f9.css +0 -8
- package/dist/css/index.7946d50b.css +0 -1
- package/dist/favicon.ico +0 -0
- package/dist/js/chunk-vendors.28fda91d.js +0 -340
- package/dist/js/index.49bc6add.js +0 -2
- package/lib/doway-coms.common.js +0 -120397
- package/lib/doway-coms.css +0 -1
- package/lib/doway-coms.umd.js +0 -120407
- package/lib/doway-coms.umd.min.js +0 -328
|
@@ -2,9 +2,13 @@
|
|
|
2
2
|
<div class="d-control-container">
|
|
3
3
|
<div class="d-control-label">
|
|
4
4
|
{{ label
|
|
5
|
-
}}
|
|
5
|
+
}}
|
|
6
|
+
<span v-if="rules && rules['required']" class="d-control-label-required"
|
|
6
7
|
>*</span
|
|
7
8
|
>
|
|
9
|
+
<Tooltip :title="tooltip" v-if="tooltip" style="margin: 0 2px">
|
|
10
|
+
<img src="../../styles/icon/help.png" alt="" style="width: 14px">
|
|
11
|
+
</Tooltip>
|
|
8
12
|
</div>
|
|
9
13
|
<div class="d-control">
|
|
10
14
|
<ValidationProvider
|
|
@@ -35,11 +39,15 @@
|
|
|
35
39
|
import moment from 'moment'
|
|
36
40
|
import { TimePicker } from 'ant-design-vue'
|
|
37
41
|
import { ValidationProvider } from 'vee-validate'
|
|
42
|
+
import { Tooltip } from 'ant-design-vue'
|
|
43
|
+
|
|
38
44
|
export default {
|
|
39
45
|
name: 'BaseTime',
|
|
40
46
|
components:{
|
|
41
47
|
TimePicker,
|
|
42
|
-
ValidationProvider
|
|
48
|
+
ValidationProvider,
|
|
49
|
+
Tooltip,
|
|
50
|
+
|
|
43
51
|
},
|
|
44
52
|
data() {
|
|
45
53
|
return {
|
|
@@ -104,6 +112,12 @@
|
|
|
104
112
|
default: function() {
|
|
105
113
|
return ''
|
|
106
114
|
}
|
|
115
|
+
},
|
|
116
|
+
tooltip: {
|
|
117
|
+
type: String,
|
|
118
|
+
default: function() {
|
|
119
|
+
return ''
|
|
120
|
+
}
|
|
107
121
|
}
|
|
108
122
|
},
|
|
109
123
|
created() {},
|
|
Binary file
|