|
@@ -6,17 +6,12 @@ import { getWeekMonthQuarterYear } from '/@/utils';
|
|
|
//列表数据
|
|
|
export const columns: BasicColumn[] = [
|
|
|
{
|
|
|
- title: '状态(1-启用,0-停用)',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'status_dictText'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '唯一编号',
|
|
|
+ title: '唯一编号(IMO)',
|
|
|
align:"center",
|
|
|
dataIndex: 'imo'
|
|
|
},
|
|
|
{
|
|
|
- title: '船名称',
|
|
|
+ title: '船名称(ship name)',
|
|
|
align:"center",
|
|
|
dataIndex: 'shipName'
|
|
|
},
|
|
@@ -26,98 +21,97 @@ export const columns: BasicColumn[] = [
|
|
|
dataIndex: 'hullNumber'
|
|
|
},
|
|
|
{
|
|
|
- title: '船类型',
|
|
|
+ title: '船类型(ship type)',
|
|
|
align:"center",
|
|
|
dataIndex: 'shipType_dictText'
|
|
|
},
|
|
|
{
|
|
|
- title: '船厂',
|
|
|
+ title: '船厂(ship factory)',
|
|
|
align:"center",
|
|
|
dataIndex: 'shipFactory_dictText'
|
|
|
},
|
|
|
{
|
|
|
- title: '造船日期',
|
|
|
+ title: '造船日期(ship date)',
|
|
|
align:"center",
|
|
|
dataIndex: 'shipDate'
|
|
|
},
|
|
|
{
|
|
|
- title: '备注',
|
|
|
+ title: '关联客户(relate customer)',
|
|
|
align:"center",
|
|
|
- dataIndex: 'notes'
|
|
|
+ dataIndex: 'relateCustomer'
|
|
|
},
|
|
|
];
|
|
|
//查询数据
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
|
{
|
|
|
- label: "状态(1-启用,0-停用)",
|
|
|
- field: 'status',
|
|
|
- component: 'JSelectMultiple',
|
|
|
- componentProps:{
|
|
|
- },
|
|
|
- //colProps: {span: 6},
|
|
|
- },
|
|
|
- {
|
|
|
- label: "唯一编号",
|
|
|
+ label: "唯一编号(IMO)",
|
|
|
field: 'imo',
|
|
|
component: 'Input',
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
|
{
|
|
|
- label: "船名称",
|
|
|
+ label: "船名称(ship name)",
|
|
|
field: 'shipName',
|
|
|
component: 'Input',
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
|
+ {
|
|
|
+ label: '关联客户(relate customer)',
|
|
|
+ field: 'relateCustomer',
|
|
|
+ component: 'Input',
|
|
|
+ },
|
|
|
{
|
|
|
label: "hull number",
|
|
|
field: 'hullNumber',
|
|
|
component: 'Input',
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
|
- {
|
|
|
- label: "船类型",
|
|
|
- field: 'shipType',
|
|
|
- component: 'JSelectMultiple',
|
|
|
- componentProps:{
|
|
|
- },
|
|
|
- //colProps: {span: 6},
|
|
|
- },
|
|
|
- {
|
|
|
- label: "船厂",
|
|
|
- field: 'shipFactory',
|
|
|
- component: 'JSelectMultiple',
|
|
|
- componentProps:{
|
|
|
- },
|
|
|
- //colProps: {span: 6},
|
|
|
- },
|
|
|
- {
|
|
|
- label: "造船日期",
|
|
|
- field: "shipDate",
|
|
|
- component: 'RangePicker',
|
|
|
- componentProps: {
|
|
|
- valueType: 'Date',
|
|
|
- showTime:true
|
|
|
- },
|
|
|
+ {
|
|
|
+ label: "船厂(ship factory)",
|
|
|
+ field: 'shipFactory',
|
|
|
+ component: 'JSelectMultiple',
|
|
|
+ componentProps:{
|
|
|
+ },
|
|
|
+ //colProps: {span: 6},
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "造船日期(ship date)",
|
|
|
+ field: "shipDate",
|
|
|
+ component: 'RangePicker',
|
|
|
+ componentProps: {
|
|
|
+ valueType: 'Date',
|
|
|
+ showTime:true
|
|
|
+ },
|
|
|
+ //colProps: {span: 6},
|
|
|
+},
|
|
|
+{
|
|
|
+ label: "船类型(ship type)",
|
|
|
+ field: 'shipType',
|
|
|
+ component: 'JSelectMultiple',
|
|
|
+ componentProps:{
|
|
|
+ },
|
|
|
//colProps: {span: 6},
|
|
|
- },
|
|
|
+},
|
|
|
+
|
|
|
+{
|
|
|
+ label: "状态(status)",
|
|
|
+ field: 'status',
|
|
|
+ component: 'JSelectMultiple',
|
|
|
+ componentProps:{
|
|
|
+ },
|
|
|
+ //colProps: {span: 6},
|
|
|
+},
|
|
|
];
|
|
|
//表单数据
|
|
|
export const formSchema: FormSchema[] = [
|
|
|
+
|
|
|
{
|
|
|
- label: '状态(1-启用,0-停用)',
|
|
|
- field: 'status',
|
|
|
- component: 'JDictSelectTag',
|
|
|
- componentProps:{
|
|
|
- dictCode:""
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- label: '唯一编号',
|
|
|
+ label: '唯一编号(IMO)',
|
|
|
field: 'imo',
|
|
|
component: 'Input',
|
|
|
},
|
|
|
{
|
|
|
- label: '船名称',
|
|
|
+ label: '船名称(ship name)',
|
|
|
field: 'shipName',
|
|
|
component: 'Input',
|
|
|
},
|
|
@@ -127,7 +121,7 @@ export const formSchema: FormSchema[] = [
|
|
|
component: 'Input',
|
|
|
},
|
|
|
{
|
|
|
- label: '船类型',
|
|
|
+ label: '船类型(ship type)',
|
|
|
field: 'shipType',
|
|
|
component: 'JDictSelectTag',
|
|
|
componentProps:{
|
|
@@ -135,7 +129,7 @@ export const formSchema: FormSchema[] = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- label: '船厂',
|
|
|
+ label: '船厂(ship factory)',
|
|
|
field: 'shipFactory',
|
|
|
component: 'JDictSelectTag',
|
|
|
componentProps:{
|
|
@@ -143,7 +137,7 @@ export const formSchema: FormSchema[] = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- label: '造船日期',
|
|
|
+ label: '造船日期(ship date)',
|
|
|
field: 'shipDate',
|
|
|
component: 'DatePicker',
|
|
|
componentProps: {
|
|
@@ -152,9 +146,12 @@ export const formSchema: FormSchema[] = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- label: '备注',
|
|
|
- field: 'notes',
|
|
|
- component: 'Input',
|
|
|
+ label: '状态(1-启用,0-停用)',
|
|
|
+ field: 'status',
|
|
|
+ component: 'JDictSelectTag',
|
|
|
+ componentProps:{
|
|
|
+ dictCode:""
|
|
|
+ },
|
|
|
},
|
|
|
// TODO 主键隐藏字段,目前写死为ID
|
|
|
{
|