|
|
|
@ -0,0 +1,72 @@
|
|
|
|
|
<!--
|
|
|
|
|
*Author:jxx
|
|
|
|
|
*Contact:283591387@qq.com
|
|
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
|
|
*业务请在@/extension/system/Sys_Param_Set.js此处编写
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<view-grid
|
|
|
|
|
ref="grid"
|
|
|
|
|
:columns="columns"
|
|
|
|
|
:detail="detail"
|
|
|
|
|
:editFormFields="editFormFields"
|
|
|
|
|
:editFormOptions="editFormOptions"
|
|
|
|
|
:searchFormFields="searchFormFields"
|
|
|
|
|
:searchFormOptions="searchFormOptions"
|
|
|
|
|
:table="table"
|
|
|
|
|
:extend="extend">
|
|
|
|
|
</view-grid>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import extend from "@/extension/system/Sys_Param_Set.js";
|
|
|
|
|
//ViewGrid.vue使用elementui的table控件voltable.vue
|
|
|
|
|
//ViewGrid_Vxe.vue内引用vxetable.vue
|
|
|
|
|
//import ViewGrid from "@/components/basic/ViewGrid.vue";//ViewGrid_Vxe//ViewGrid
|
|
|
|
|
import ViewGrid from "@/components/basic/ViewGrid.vue";
|
|
|
|
|
var vueParam = {
|
|
|
|
|
components: {
|
|
|
|
|
ViewGrid
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
table: {
|
|
|
|
|
key: 'GID',
|
|
|
|
|
footer: "Foots",
|
|
|
|
|
cnName: '系统参数设置',
|
|
|
|
|
name: 'Sys_Param_Set',
|
|
|
|
|
url: "/Sys_Param_Set/",
|
|
|
|
|
sortName: "PARAMDESCRIPTION"
|
|
|
|
|
},
|
|
|
|
|
extend: extend,
|
|
|
|
|
editFormFields: {"PARAMNAME":"","PARAMDESCRIPTION":"","PARAMVALUE":"","MODIFIEDUSER":"","MODIFIEDTIME":"","PARAMTYPE":"","FIELDTYPE":""},
|
|
|
|
|
editFormOptions: [[{"title":"参数代码","required":true,"field":"PARAMNAME","type":"text"},
|
|
|
|
|
{"title":"参数描述","required":true,"field":"PARAMDESCRIPTION","type":"text"}],
|
|
|
|
|
[{"title":"值","field":"PARAMVALUE","type":"text"}],
|
|
|
|
|
[{"title":"","field":"MODIFIEDUSER","type":"text"},
|
|
|
|
|
{"title":"","field":"MODIFIEDTIME","type":"datetime"}],
|
|
|
|
|
[{"title":"","field":"PARAMTYPE","type":"text"},
|
|
|
|
|
{"title":"","field":"FIELDTYPE","type":"text"}]],
|
|
|
|
|
searchFormFields: {"PARAMNAME":"","PARAMDESCRIPTION":""},
|
|
|
|
|
searchFormOptions: [[{"title":"参数描述","field":"PARAMDESCRIPTION","type":"like"},{"title":"参数代码","field":"PARAMNAME","type":"like"}]],
|
|
|
|
|
columns: [{field:'GID',title:'GID',type:'string',width:90,hidden:true,readonly:true,require:true,align:'left'},
|
|
|
|
|
{field:'PARAMNAME',title:'参数代码',type:'string',width:90,require:true,align:'left',sortable:true},
|
|
|
|
|
{field:'PARAMDESCRIPTION',title:'参数描述',type:'string',link:true,width:90,require:true,align:'left'},
|
|
|
|
|
{field:'PARAMVALUE',title:'值',type:'string',width:220,align:'left'},
|
|
|
|
|
{field:'MODIFIEDUSER',title:'MODIFIEDUSER',type:'string',width:90,align:'left'},
|
|
|
|
|
{field:'MODIFIEDTIME',title:'MODIFIEDTIME',type:'datetime',width:90,align:'left',sortable:true},
|
|
|
|
|
{field:'PARAMTYPE',title:'PARAMTYPE',type:'string',width:90,align:'left'},
|
|
|
|
|
{field:'FIELDTYPE',title:'FIELDTYPE',type:'string',width:90,align:'left'}],
|
|
|
|
|
detail: {
|
|
|
|
|
cnName:"#detailCnName",
|
|
|
|
|
columns: [],
|
|
|
|
|
sortName: "",
|
|
|
|
|
key:""
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
export default vueParam;
|
|
|
|
|
</script>
|