1.1.10 • Published 1 year ago
bm-customtable-vxe v1.1.10
bm-customtable-vxe
用于本末项目的自定义表格组件, 该组件依赖vxe-table, 可以实现表格的自定义配置
安装
npm install bm-customtable-vxe -s
import Vue from 'vue'
import bmCustomTableVxe from 'bm-customtable-vxe'
Vue.use(bmCustomTableVxe)
<template>
<div>
<design-table-vxe></design-table-vxe>
<custom-table-vxe :requestConfigUrl="requestConfigUrl"
:requestDataUrl="requestDataUrl">
<div slot="keyName"
slot-scope="scope">
<!-- 自定义元素 -->
</div>
</custom-table-vxe>
</div>
</template>
<script>
export default {
data () {
return {
requestConfigUrl: '',
requestDataUrl: ''
}
}
}
</script>
使用指南
designTable-vxe.vue 文件为表格设计器 customTable-vxe.vue 文件为表格渲染器
requestConfigUrl: 服务端获取当前功能模块表格配置
requestDataUrl: 服务端获取当前功能模块表格数据
slot: 可以自定义表格某个单元格元素, keyName为单元格的键名, scope为行数据
1.1.10
1 year ago
1.1.9
3 years ago
1.1.8
3 years ago
1.1.7
3 years ago
1.1.6
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.2
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago