1
1
<template >
2
- <view >
3
- <u-select v-model =" show" @confirm =" confirm" :list =" list" ></u-select >
4
- <u-button @click =" show = true" >打开</u-button >
2
+ <view class =" " >
3
+ <u-checkbox-group >
4
+ <u-checkbox v-model =" checked" active-color =" red" >光影</u-checkbox >
5
+ </u-checkbox-group >
5
6
</view >
6
7
</template >
7
8
8
9
<script >
9
10
export default {
10
11
data () {
11
12
return {
12
- show: false ,
13
- list: [
14
- {
15
- label: ' 测试' ,
16
- value: ' b0da629fa36e32110ea86dbfc53db96a' ,
17
- extra: {
18
- ductId: ' b0da629fa36e32110ea86dbfc53db96a' ,
19
- name: ' 测试' ,
20
- type: 3 ,
21
- imgUrl: ' 1594173070713.jpg' ,
22
- effectiveDay: 4 ,
23
- dateType: ' day' ,
24
- isInlay: 1 ,
25
- createTime: ' 2020-07-08 09:51:13' ,
26
- printerNum: 3 ,
27
- createBy: ' 1' ,
28
- updateTime: ' 2020-07-08 09:51:13' ,
29
- updateBy: null ,
30
- ductAccessoryInfoList: []
31
- }
32
- },
33
- {
34
- label: ' PICC - 2类' ,
35
- value: ' 1c0c70fafe74e840dc79f1bfe2833b2b' ,
36
- extra: {
37
- ductId: ' 1c0c70fafe74e840dc79f1bfe2833b2b' ,
38
- name: ' PICC - 2类' ,
39
- type: 3 ,
40
- imgUrl: ' 1592987125427.jpeg' ,
41
- effectiveDay: 7 ,
42
- dateType: ' day' ,
43
- isInlay: 1 ,
44
- createTime: ' 2020-06-24 16:25:25' ,
45
- printerNum: 1 ,
46
- createBy: ' 1' ,
47
- updateTime: ' 2020-07-09 12:01:02' ,
48
- updateBy: null ,
49
- ductAccessoryInfoList: [
50
- {
51
- ductAccessoryId: ' aecdc0e314dcb346a5ec1838929c02e6' ,
52
- name: ' 敷贴 - 2类' ,
53
- type: 1 ,
54
- imgUrl: ' ' ,
55
- effectiveDay: 3 ,
56
- createTime: ' 2020-06-24 16:26:01' ,
57
- createBy: ' 1' ,
58
- updateTime: ' 2020-07-09 12:02:25' ,
59
- dateType: ' day' ,
60
- updateBy: null ,
61
- ductId: ' 1c0c70fafe74e840dc79f1bfe2833b2b' ,
62
- printerNum: 2
63
- },
64
- {
65
- ductAccessoryId: ' cea78c669259529a6e66cd0d3b7ea357' ,
66
- name: ' 敷贴 - 1类' ,
67
- type: 1 ,
68
- imgUrl: ' 1592987145754.jpeg' ,
69
- effectiveDay: 7 ,
70
- createTime: ' 2020-06-24 16:25:46' ,
71
- createBy: ' 1' ,
72
- updateTime: ' 2020-07-09 12:04:29' ,
73
- dateType: ' day' ,
74
- updateBy: null ,
75
- ductId: ' 1c0c70fafe74e840dc79f1bfe2833b2b' ,
76
- printerNum: 2
77
- }
78
- ]
79
- }
80
- },
81
- {
82
- label: ' PICC - 1类' ,
83
- value: ' 903a262182003743bb3062fe7393ffbd' ,
84
- extra: {
85
- ductId: ' 903a262182003743bb3062fe7393ffbd' ,
86
- name: ' PICC - 1类' ,
87
- type: 3 ,
88
- imgUrl: ' 1592987111641.jpeg' ,
89
- effectiveDay: 56 ,
90
- dateType: ' hour' ,
91
- isInlay: 1 ,
92
- createTime: ' 2020-06-24 16:25:12' ,
93
- printerNum: 1 ,
94
- createBy: ' 1' ,
95
- updateTime: ' 2020-07-09 14:24:02' ,
96
- updateBy: null ,
97
- ductAccessoryInfoList: []
98
- }
99
- }
100
- ]
13
+ checked: true
101
14
};
102
15
},
103
- methods: {
104
- confirm (e ) {
105
- console .log (e);
106
- }
107
- }
108
16
};
109
- </script >
17
+ </script >
0 commit comments