Browse Source

【接口看板+store+job】CreationTime等前端添加字段转义默认处理

faster_AG_grid
安虹睿 1 year ago
parent
commit
7262c9290d
  1. 7
      PC/InterFace.Dash/src/lang/en.js
  2. 7
      PC/InterFace.Dash/src/lang/zh.js
  3. 11
      PC/InterFace.Dash/src/mixins/TableMixins.js
  4. 7
      PC/UI.WinIn.FasterZ.Job/src/lang/en.js
  5. 7
      PC/UI.WinIn.FasterZ.Job/src/lang/zh.js
  6. 11
      PC/UI.WinIn.FasterZ.Job/src/mixins/TableMixins.js
  7. 7
      PC/UI.WinIn.FasterZ.Store/src/lang/en.js
  8. 7
      PC/UI.WinIn.FasterZ.Store/src/lang/zh.js
  9. 11
      PC/UI.WinIn.FasterZ.Store/src/mixins/TableMixins.js

7
PC/InterFace.Dash/src/lang/en.js

@ -29,5 +29,12 @@ export default {
edit:'编辑', edit:'编辑',
delete:'删除', delete:'删除',
DetailedQuery:'明细查询' DetailedQuery:'明细查询'
},
columNames:{
CreationTime:'CreationTime',
CreatorId:'CreatorId',
LastModificationTime:'LastModificationTime',
LastModifierId:'LastModifierId',
TenantId:'TenantId',
} }
} }

7
PC/InterFace.Dash/src/lang/zh.js

@ -13,5 +13,12 @@ export default {
edit:'编辑', edit:'编辑',
delete:'删除', delete:'删除',
DetailedQuery:'明细查询' DetailedQuery:'明细查询'
},
columNames:{
CreationTime:'创建时间',
CreatorId:'创建者',
LastModificationTime:'最后修改时间',
LastModifierId:'最后修改者',
TenantId:'事务编号',
} }
} }

11
PC/InterFace.Dash/src/mixins/TableMixins.js

@ -1,3 +1,4 @@
import i18n from "@/lang"
import { import {
getPageList, getPageList,
getDetailed, getDetailed,
@ -191,7 +192,7 @@ export const tableMixins = {
"name": "CreationTime", "name": "CreationTime",
"apiBaseType": "datetime", "apiBaseType": "datetime",
"baseApiName": _apiName + 'CreationTime', "baseApiName": _apiName + 'CreationTime',
"label": zhApiColumnsLable(_apiName + 'CreationTime') || 'CreationTime', "label": zhApiColumnsLable(_apiName + 'CreationTime') || i18n.t('columNames.CreationTime'),
"prop": "creationTime", "prop": "creationTime",
} }
) )
@ -203,7 +204,7 @@ export const tableMixins = {
"name": "CreatorId", "name": "CreatorId",
"apiBaseType": "string", "apiBaseType": "string",
"baseApiName": _apiName + 'CreatorId', "baseApiName": _apiName + 'CreatorId',
"label": zhApiColumnsLable(_apiName + 'CreatorId') || 'CreatorId', "label": zhApiColumnsLable(_apiName + 'CreatorId') || i18n.t('columNames.CreatorId'),
"prop": "creatorId", "prop": "creatorId",
} }
) )
@ -215,7 +216,7 @@ export const tableMixins = {
"name": "LastModificationTime", "name": "LastModificationTime",
"apiBaseType": "datetime", "apiBaseType": "datetime",
"baseApiName": _apiName + 'LastModificationTime', "baseApiName": _apiName + 'LastModificationTime',
"label": zhApiColumnsLable(_apiName + 'LastModificationTime') || 'LastModificationTime', "label": zhApiColumnsLable(_apiName + 'LastModificationTime') || i18n.t('columNames.LastModificationTime'),
"prop": "lastModificationTime", "prop": "lastModificationTime",
} }
) )
@ -227,7 +228,7 @@ export const tableMixins = {
"name": "LastModifierId", "name": "LastModifierId",
"apiBaseType": "string", "apiBaseType": "string",
"baseApiName": _apiName + 'LastModifierId', "baseApiName": _apiName + 'LastModifierId',
"label": zhApiColumnsLable(_apiName + 'LastModifierId') || 'LastModifierId', "label": zhApiColumnsLable(_apiName + 'LastModifierId') || i18n.t('columNames.LastModifierId'),
"prop": "lastModifierId", "prop": "lastModifierId",
} }
) )
@ -239,7 +240,7 @@ export const tableMixins = {
"name": "TenantId", "name": "TenantId",
"apiBaseType": "string", "apiBaseType": "string",
"baseApiName": _apiName + 'TenantId', "baseApiName": _apiName + 'TenantId',
"label": zhApiColumnsLable(_apiName + 'TenantId') || 'TenantId', "label": zhApiColumnsLable(_apiName + 'TenantId') || i18n.t('columNames.TenantId'),
"prop": "tenantId", "prop": "tenantId",
} }
) )

7
PC/UI.WinIn.FasterZ.Job/src/lang/en.js

@ -29,5 +29,12 @@ export default {
edit:'编辑', edit:'编辑',
delete:'删除', delete:'删除',
DetailedQuery:'明细查询' DetailedQuery:'明细查询'
},
columNames:{
CreationTime:'CreationTime',
CreatorId:'CreatorId',
LastModificationTime:'LastModificationTime',
LastModifierId:'LastModifierId',
TenantId:'TenantId',
} }
} }

7
PC/UI.WinIn.FasterZ.Job/src/lang/zh.js

@ -13,5 +13,12 @@ export default {
edit:'编辑', edit:'编辑',
delete:'删除', delete:'删除',
DetailedQuery:'明细查询' DetailedQuery:'明细查询'
},
columNames:{
CreationTime:'创建时间',
CreatorId:'创建者',
LastModificationTime:'最后修改时间',
LastModifierId:'最后修改者',
TenantId:'事务编号',
} }
} }

11
PC/UI.WinIn.FasterZ.Job/src/mixins/TableMixins.js

@ -1,3 +1,4 @@
import i18n from "@/lang"
import { import {
getPageList, getPageList,
getDetailed, getDetailed,
@ -191,7 +192,7 @@ export const tableMixins = {
"name": "CreationTime", "name": "CreationTime",
"apiBaseType": "datetime", "apiBaseType": "datetime",
"baseApiName": _apiName + 'CreationTime', "baseApiName": _apiName + 'CreationTime',
"label": zhApiColumnsLable(_apiName + 'CreationTime') || 'CreationTime', "label": zhApiColumnsLable(_apiName + 'CreationTime') || i18n.t('columNames.CreationTime'),
"prop": "creationTime", "prop": "creationTime",
} }
) )
@ -203,7 +204,7 @@ export const tableMixins = {
"name": "CreatorId", "name": "CreatorId",
"apiBaseType": "string", "apiBaseType": "string",
"baseApiName": _apiName + 'CreatorId', "baseApiName": _apiName + 'CreatorId',
"label": zhApiColumnsLable(_apiName + 'CreatorId') || 'CreatorId', "label": zhApiColumnsLable(_apiName + 'CreatorId') || i18n.t('columNames.CreatorId'),
"prop": "creatorId", "prop": "creatorId",
} }
) )
@ -215,7 +216,7 @@ export const tableMixins = {
"name": "LastModificationTime", "name": "LastModificationTime",
"apiBaseType": "datetime", "apiBaseType": "datetime",
"baseApiName": _apiName + 'LastModificationTime', "baseApiName": _apiName + 'LastModificationTime',
"label": zhApiColumnsLable(_apiName + 'LastModificationTime') || 'LastModificationTime', "label": zhApiColumnsLable(_apiName + 'LastModificationTime') || i18n.t('columNames.LastModificationTime'),
"prop": "lastModificationTime", "prop": "lastModificationTime",
} }
) )
@ -227,7 +228,7 @@ export const tableMixins = {
"name": "LastModifierId", "name": "LastModifierId",
"apiBaseType": "string", "apiBaseType": "string",
"baseApiName": _apiName + 'LastModifierId', "baseApiName": _apiName + 'LastModifierId',
"label": zhApiColumnsLable(_apiName + 'LastModifierId') || 'LastModifierId', "label": zhApiColumnsLable(_apiName + 'LastModifierId') || i18n.t('columNames.LastModifierId'),
"prop": "lastModifierId", "prop": "lastModifierId",
} }
) )
@ -239,7 +240,7 @@ export const tableMixins = {
"name": "TenantId", "name": "TenantId",
"apiBaseType": "string", "apiBaseType": "string",
"baseApiName": _apiName + 'TenantId', "baseApiName": _apiName + 'TenantId',
"label": zhApiColumnsLable(_apiName + 'TenantId') || 'TenantId', "label": zhApiColumnsLable(_apiName + 'TenantId') || i18n.t('columNames.TenantId'),
"prop": "tenantId", "prop": "tenantId",
} }
) )

7
PC/UI.WinIn.FasterZ.Store/src/lang/en.js

@ -29,5 +29,12 @@ export default {
edit:'编辑', edit:'编辑',
delete:'删除', delete:'删除',
DetailedQuery:'明细查询' DetailedQuery:'明细查询'
},
columNames:{
CreationTime:'CreationTime',
CreatorId:'CreatorId',
LastModificationTime:'LastModificationTime',
LastModifierId:'LastModifierId',
TenantId:'TenantId',
} }
} }

7
PC/UI.WinIn.FasterZ.Store/src/lang/zh.js

@ -13,5 +13,12 @@ export default {
edit:'编辑', edit:'编辑',
delete:'删除', delete:'删除',
DetailedQuery:'明细查询' DetailedQuery:'明细查询'
},
columNames:{
CreationTime:'创建时间',
CreatorId:'创建者',
LastModificationTime:'最后修改时间',
LastModifierId:'最后修改者',
TenantId:'事务编号',
} }
} }

11
PC/UI.WinIn.FasterZ.Store/src/mixins/TableMixins.js

@ -1,3 +1,4 @@
import i18n from "@/lang"
import { import {
getPageList, getPageList,
getDetailed, getDetailed,
@ -191,7 +192,7 @@ export const tableMixins = {
"name": "CreationTime", "name": "CreationTime",
"apiBaseType": "datetime", "apiBaseType": "datetime",
"baseApiName": _apiName + 'CreationTime', "baseApiName": _apiName + 'CreationTime',
"label": zhApiColumnsLable(_apiName + 'CreationTime') || 'CreationTime', "label": zhApiColumnsLable(_apiName + 'CreationTime') || i18n.t('columNames.CreationTime'),
"prop": "creationTime", "prop": "creationTime",
} }
) )
@ -203,7 +204,7 @@ export const tableMixins = {
"name": "CreatorId", "name": "CreatorId",
"apiBaseType": "string", "apiBaseType": "string",
"baseApiName": _apiName + 'CreatorId', "baseApiName": _apiName + 'CreatorId',
"label": zhApiColumnsLable(_apiName + 'CreatorId') || 'CreatorId', "label": zhApiColumnsLable(_apiName + 'CreatorId') || i18n.t('columNames.CreatorId'),
"prop": "creatorId", "prop": "creatorId",
} }
) )
@ -215,7 +216,7 @@ export const tableMixins = {
"name": "LastModificationTime", "name": "LastModificationTime",
"apiBaseType": "datetime", "apiBaseType": "datetime",
"baseApiName": _apiName + 'LastModificationTime', "baseApiName": _apiName + 'LastModificationTime',
"label": zhApiColumnsLable(_apiName + 'LastModificationTime') || 'LastModificationTime', "label": zhApiColumnsLable(_apiName + 'LastModificationTime') || i18n.t('columNames.LastModificationTime'),
"prop": "lastModificationTime", "prop": "lastModificationTime",
} }
) )
@ -227,7 +228,7 @@ export const tableMixins = {
"name": "LastModifierId", "name": "LastModifierId",
"apiBaseType": "string", "apiBaseType": "string",
"baseApiName": _apiName + 'LastModifierId', "baseApiName": _apiName + 'LastModifierId',
"label": zhApiColumnsLable(_apiName + 'LastModifierId') || 'LastModifierId', "label": zhApiColumnsLable(_apiName + 'LastModifierId') || i18n.t('columNames.LastModifierId'),
"prop": "lastModifierId", "prop": "lastModifierId",
} }
) )
@ -239,7 +240,7 @@ export const tableMixins = {
"name": "TenantId", "name": "TenantId",
"apiBaseType": "string", "apiBaseType": "string",
"baseApiName": _apiName + 'TenantId', "baseApiName": _apiName + 'TenantId',
"label": zhApiColumnsLable(_apiName + 'TenantId') || 'TenantId', "label": zhApiColumnsLable(_apiName + 'TenantId') || i18n.t('columNames.TenantId'),
"prop": "tenantId", "prop": "tenantId",
} }
) )

Loading…
Cancel
Save