mooho-base-admin-plus 2.0.6 → 2.0.7
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/mooho-base-admin-plus.min.esm.js +16 -24
- package/package/mooho-base-admin-plus.min.js +51 -51
- package/package/style.css +1 -1
- package/package.json +1 -1
- package/src/components/view/table-filter.vue +3 -1
- package/src/components/view/view-form.vue +1 -3
- package/src/components/view/view-table.vue +0 -2
- package/src/mixins/page.js +1 -1
- package/src/styles/css/default.css +5 -0
package/package.json
CHANGED
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
<slot name="column" :filter="data" :column="column" :code="column.code"></slot>
|
|
15
15
|
</template>
|
|
16
16
|
<template v-else-if="column.controlType === 'Label'">
|
|
17
|
-
<div
|
|
17
|
+
<div class="label">
|
|
18
|
+
<div>{{ showData(data, column) }}</div>
|
|
19
|
+
</div>
|
|
18
20
|
</template>
|
|
19
21
|
<template v-else-if="column.controlType === 'TextInput'">
|
|
20
22
|
<Input
|
|
@@ -439,9 +439,7 @@
|
|
|
439
439
|
:placeholder="column.description"
|
|
440
440
|
/>
|
|
441
441
|
</template>
|
|
442
|
-
<
|
|
443
|
-
<Button type="primary" style="margin-left: 4px" size="small" shape="circle" icon="md-help"></Button>
|
|
444
|
-
</Tooltip>
|
|
442
|
+
<Button type="primary" v-if="!!(column.tooltip || '').trim()" style="margin-left: 4px" size="small" :title="column.tooltip" shape="circle" icon="md-help"></Button>
|
|
445
443
|
</FormItem>
|
|
446
444
|
</Col>
|
|
447
445
|
</template>
|
package/src/mixins/page.js
CHANGED
|
@@ -235,7 +235,7 @@ export default {
|
|
|
235
235
|
|
|
236
236
|
if (dataType.indexOf('Enum:') === 0) {
|
|
237
237
|
return this.getEnum(dataType.replace('Enum:', ''), this.parseData(model, expression));
|
|
238
|
-
} else if (dataType === 'BigInteger') {
|
|
238
|
+
} else if (dataType === 'BigInteger' && format == 'User') {
|
|
239
239
|
return this.getUserName(this.parseData(model, expression));
|
|
240
240
|
}
|
|
241
241
|
|