1
This commit is contained in:
40
iMES.WebApi/Template/Page/app/page.html
Normal file
40
iMES.WebApi/Template/Page/app/page.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<template>
|
||||
<view>
|
||||
<view-grid ref="grid" :index="true" :options="options">
|
||||
<!-- 自定义slot -->
|
||||
<view @click="viewClick" slot="gridHeader" class="grid-header">
|
||||
{{gridHeaderText}}
|
||||
</view>
|
||||
</view-grid>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
//************************************************
|
||||
// *Author:COCO
|
||||
// *自定义业务逻辑扩展
|
||||
//************************************************
|
||||
import extend from './#TableNameExtend.js'
|
||||
import options from './#TableNameOptions.js';
|
||||
let _options = options();
|
||||
_options.extend = extend;
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
gridHeaderText: "",//随便输入字符后可以显示出来
|
||||
options: _options
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
},
|
||||
methods: {
|
||||
viewClick() {
|
||||
//获取生成页面grid的对象
|
||||
console.log(this.$refs.grid.searchFormFields)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
Reference in New Issue
Block a user