index.vue 1.95 KB
Newer Older
李苏's avatar
李苏 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
<!--
 * @Description: 生成基础basePage组件,屏蔽不必要细节
 * @Author: lisu lisu@gavelinfo.com
 * @Date: 2024-09-19 10:55:27
 * @LastEditors: lisu lisu@gavelinfo.com
 * @LastEditTime: 2024-10-14 16:16:40
 * @FilePath: /zghywpc-vue/src/views/fmegl/fmeglxs/index.vue
-->
<template>
	<BasePage class="min_full" :config="config">
		<template #dialog="ctx">
			<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
		</template>
		<template #toolbar="ctx">
			<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
			<!-- <el-button @click="demo(ctx.basePage)" size='mini'  type="primary">示例按钮</el-button> -->
		</template>

	</BasePage>
</template>

<script>
	import Edit from './edit.vue'
	export default {
		name: 'fmeglxs',
		data() {
			return {
				config: {
					/* 基本配置*/
					url: 'jcsj/gysfl',
					tableTitle: [{
							title: "编码",
							field: "code",
							fieldType: "upper",
							width: 140
						},
						{
							title: "名称",
							field: "name",
							width: 140
						},
						{
							title: "停用",
							field: "tybz",
							fieldType: "tybz"
						},
						{
							title: "停用日期",
							field: "tyrq",
							fieldType: "ftDate"
						},
						{
							title: "维护人",
							field: "whr"
						},
						{
							title: "维护时间",
							field: "whsj",
							fieldType: "ftDateTime"
						},
					],
					queryParams: [
						[{
								label: '编码',
								prop: 'code',
								span: 6,
								type: 'input',
								value: ''
							},
							{
								label: '名称',
								prop: 'name',
								span: 6,
								type: 'input',
								value: ''
							}

						]
					],
					/* 默认启停用  */

				}
			}

		},
		methods: {
			/**
			 * @description:示例按钮
			 * @param {*} ctx操作basePage实例内容
			 * @return {*}
			 * @author: lisu
			 */
			 // demo(ctx){}
		},
		components: {
			Edit
		}

	}
</script>

<style>
</style>