leisure-core 0.4.49 → 0.4.51
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/le-common-page/src/main.vue +14 -0
- package/package.json +1 -1
|
@@ -35,6 +35,9 @@
|
|
|
35
35
|
scope.row[column.prop]
|
|
36
36
|
}}</a>
|
|
37
37
|
</span>
|
|
38
|
+
<span v-else-if="column.type && column.type === 'bool'">
|
|
39
|
+
{{ scope.row[column.prop] == 1 ? "是" : "否" }}
|
|
40
|
+
</span>
|
|
38
41
|
<span v-else>
|
|
39
42
|
{{ scope.row[column.prop] }}
|
|
40
43
|
</span>
|
|
@@ -106,6 +109,17 @@
|
|
|
106
109
|
:max="item.max || 9999999999"
|
|
107
110
|
label="item.label||''"
|
|
108
111
|
/>
|
|
112
|
+
<el-radio-group
|
|
113
|
+
v-else-if="item.type === 'radio'"
|
|
114
|
+
v-model="formPop[item.prop]"
|
|
115
|
+
>
|
|
116
|
+
<el-radio
|
|
117
|
+
v-for="(option, index) in item.options"
|
|
118
|
+
:label="option.id"
|
|
119
|
+
:key="index + '_radio'"
|
|
120
|
+
>{{ option.label }}</el-radio
|
|
121
|
+
>
|
|
122
|
+
</el-radio-group>
|
|
109
123
|
<el-select
|
|
110
124
|
v-else-if="item.type === 'select'"
|
|
111
125
|
v-model="formPop[item.prop]"
|