You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

52 lines
1.8 KiB

<template>
<w-grid
:title="$t('io.sc.engine.mv.config.chiSquare.grid.title')"
:config-button="true"
selection="multiple"
:checkbox-selection="true"
:query-form-cols-num="4"
:query-form-fields="[
{ name: 'AppName', label: $t('AppName'), type: 'text' },
{ name: '名称', label: $t('名称'), type: 'text' },
]"
:data-url="Environment.apiContextPath('/api/mv/configure/chiSquare')"
:pageable="false"
:toolbar-configure="{ noIcon: false }"
:toolbar-actions="['refresh', 'separator', 'add', 'edit', 'remove', 'separator', 'separator', 'view', 'separator', 'export']"
:columns="[
{ width: 100, name: 'AppName', label: $t('AppName') },
{ width: 100, name: '名称', label: $t('名称') },
{ width: 120, name: '注册方式', label: $t('注册方式') },
{ width: 100, name: 'OnLine 机器地址', label: $t('OnLine 机器地址') },
]"
:editor="{
dialog: {
width: '600px',
height: '300px',
},
form: {
colsNum: 1,
fields: [
{ name: 'AppName', label: $t('AppName'), type: 'text' },
{ name: '名称', label: $t('名称'), type: 'text' },
{ name: '注册方式', label: $t('注册方式'), type: 'text' },
{ name: 'OnLine 机器地址', label: $t('OnLine 机器地址'), type: 'text' },
],
},
}"
:viewer="{
panel: {
columnNum: 1,
fields: [
{ name: 'AppName', label: $t('AppName') },
{ name: '名称', label: $t('名称') },
{ name: '注册方式', label: $t('注册方式') },
{ name: 'OnLine 机器地址', label: $t('OnLine 机器地址') },
],
},
}"
></w-grid>
</template>
<script setup lang="ts">
import { Environment, Formater } from 'platform-core';
</script>