提交 bf0a12d0 编写于 作者: ibizdev's avatar ibizdev

ibiz4j 发布系统代码 [ibz-dst,应用]

上级 33b28f2f
...@@ -143,6 +143,7 @@ export default { ...@@ -143,6 +143,7 @@ export default {
dstindex: { dstindex: {
menuitem3: "模型", menuitem3: "模型",
menuitem2: "数据源", menuitem2: "数据源",
menuitem14: "系统",
menuitem1: "实体", menuitem1: "实体",
menuitem9: "模型", menuitem9: "模型",
menuitem4: "规则", menuitem4: "规则",
......
...@@ -143,6 +143,7 @@ export default { ...@@ -143,6 +143,7 @@ export default {
dstindex: { dstindex: {
menuitem3: "模型", menuitem3: "模型",
menuitem2: "数据源", menuitem2: "数据源",
menuitem14: "系统",
menuitem1: "实体", menuitem1: "实体",
menuitem9: "模型", menuitem9: "模型",
menuitem4: "规则", menuitem4: "规则",
......
...@@ -71,6 +71,7 @@ export default { ...@@ -71,6 +71,7 @@ export default {
formpage1: "常规条件", formpage1: "常规条件",
n_buildname_like: "名称(文本包含(%))", n_buildname_like: "名称(文本包含(%))",
n_modelname_like: "模型名称(文本包含(%))", n_modelname_like: "模型名称(文本包含(%))",
n_systemid_eq: "系统标识(=)",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -70,6 +70,7 @@ export default { ...@@ -70,6 +70,7 @@ export default {
formpage1: "常规条件", formpage1: "常规条件",
n_buildname_like: "名称(文本包含(%))", n_buildname_like: "名称(文本包含(%))",
n_modelname_like: "模型名称(文本包含(%))", n_modelname_like: "模型名称(文本包含(%))",
n_systemid_eq: "系统标识(=)",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -53,6 +53,7 @@ export default { ...@@ -53,6 +53,7 @@ export default {
details: { details: {
formpage1: "常规条件", formpage1: "常规条件",
n_chartname_like: "名称(%)", n_chartname_like: "名称(%)",
n_systemid_eq: "系统标识(=)",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -52,6 +52,7 @@ export default { ...@@ -52,6 +52,7 @@ export default {
details: { details: {
formpage1: "常规条件", formpage1: "常规条件",
n_chartname_like: "名称(%)", n_chartname_like: "名称(%)",
n_systemid_eq: "系统标识(=)",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -53,6 +53,7 @@ export default { ...@@ -53,6 +53,7 @@ export default {
details: { details: {
formpage1: "常规条件", formpage1: "常规条件",
n_reportname_like: "名称(%)", n_reportname_like: "名称(%)",
n_systemid_eq: "系统标识(=)",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -52,6 +52,7 @@ export default { ...@@ -52,6 +52,7 @@ export default {
details: { details: {
formpage1: "常规条件", formpage1: "常规条件",
n_reportname_like: "名称(%)", n_reportname_like: "名称(%)",
n_systemid_eq: "系统标识(=)",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -62,6 +62,64 @@ export default { ...@@ -62,6 +62,64 @@ export default {
uiactions: { uiactions: {
}, },
}, },
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "Export Data Model",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
tbitem18: {
caption: "Help",
tip: "Help",
},
},
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: "Save", caption: "Save",
...@@ -128,62 +186,4 @@ export default { ...@@ -128,62 +186,4 @@ export default {
tip: "Help", tip: "Help",
}, },
}, },
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "Export Data Model",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
tbitem18: {
caption: "Help",
tip: "Help",
},
},
}; };
\ No newline at end of file
...@@ -61,6 +61,64 @@ export default { ...@@ -61,6 +61,64 @@ export default {
uiactions: { uiactions: {
}, },
}, },
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "导出数据模型",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
tbitem18: {
caption: "帮助",
tip: "帮助",
},
},
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: "保存", caption: "保存",
...@@ -127,62 +185,4 @@ export default { ...@@ -127,62 +185,4 @@ export default {
tip: "帮助", tip: "帮助",
}, },
}, },
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "导出数据模型",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
tbitem18: {
caption: "帮助",
tip: "帮助",
},
},
}; };
\ No newline at end of file
...@@ -67,6 +67,7 @@ export default { ...@@ -67,6 +67,7 @@ export default {
details: { details: {
formpage1: "常规条件", formpage1: "常规条件",
n_ru_execlogname_like: "规则执行批次(%)", n_ru_execlogname_like: "规则执行批次(%)",
n_systemid_eq: "系统标识(=)",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -66,6 +66,7 @@ export default { ...@@ -66,6 +66,7 @@ export default {
details: { details: {
formpage1: "常规条件", formpage1: "常规条件",
n_ru_execlogname_like: "规则执行批次(%)", n_ru_execlogname_like: "规则执行批次(%)",
n_systemid_eq: "系统标识(=)",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -85,6 +85,9 @@ export default { ...@@ -85,6 +85,9 @@ export default {
formpage1: "常规条件", formpage1: "常规条件",
n_ru_execresultname_like: "规则执行结果描述(文本包含(%))", n_ru_execresultname_like: "规则执行结果描述(文本包含(%))",
n_rulename_like: "规则标识(文本包含(%))", n_rulename_like: "规则标识(文本包含(%))",
n_rulename_eq: "规则标识(=)",
n_ruleid_eq: "规则标识(=)",
n_systemid_eq: "系统标识(=)",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -84,6 +84,9 @@ export default { ...@@ -84,6 +84,9 @@ export default {
formpage1: "常规条件", formpage1: "常规条件",
n_ru_execresultname_like: "规则执行结果描述(文本包含(%))", n_ru_execresultname_like: "规则执行结果描述(文本包含(%))",
n_rulename_like: "规则标识(文本包含(%))", n_rulename_like: "规则标识(文本包含(%))",
n_rulename_eq: "规则标识(=)",
n_ruleid_eq: "规则标识(=)",
n_systemid_eq: "系统标识(=)",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -59,6 +59,7 @@ export default { ...@@ -59,6 +59,7 @@ export default {
formpage1: "常规条件", formpage1: "常规条件",
n_enginename_like: "名称(文本包含(%))", n_enginename_like: "名称(文本包含(%))",
n_modelname_like: "模型(文本包含(%))", n_modelname_like: "模型(文本包含(%))",
n_systemid_eq: "系统(=)",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -58,6 +58,7 @@ export default { ...@@ -58,6 +58,7 @@ export default {
formpage1: "常规条件", formpage1: "常规条件",
n_enginename_like: "名称(文本包含(%))", n_enginename_like: "名称(文本包含(%))",
n_modelname_like: "模型(文本包含(%))", n_modelname_like: "模型(文本包含(%))",
n_systemid_eq: "系统(=)",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -86,6 +86,7 @@ export default { ...@@ -86,6 +86,7 @@ export default {
formpage1: "常规条件", formpage1: "常规条件",
n_rulename_like: "名称(文本包含(%))", n_rulename_like: "名称(文本包含(%))",
n_modelname_like: "模型(文本包含(%))", n_modelname_like: "模型(文本包含(%))",
n_systemid_eq: "系统标识(=)",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -85,6 +85,7 @@ export default { ...@@ -85,6 +85,7 @@ export default {
formpage1: "常规条件", formpage1: "常规条件",
n_rulename_like: "名称(文本包含(%))", n_rulename_like: "名称(文本包含(%))",
n_modelname_like: "模型(文本包含(%))", n_modelname_like: "模型(文本包含(%))",
n_systemid_eq: "系统标识(=)",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -45,6 +45,24 @@ mock.onGet('v7/dst-indexappmenu').reply((config: any) => { ...@@ -45,6 +45,24 @@ mock.onGet('v7/dst-indexappmenu').reply((config: any) => {
textcls: '', textcls: '',
appfunctag: 'AppFunc2', appfunctag: 'AppFunc2',
resourcetag: '', resourcetag: '',
},
{
id: '36FFC4E0-AE22-4ECE-BA54-279C5AFB3442',
name: 'menuitem14',
text: '系统',
type: 'MENUITEM',
counterid: '',
tooltip: '系统',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc12',
resourcetag: '',
}, },
{ {
id: 'b9f1d604d37a54d51660aee235359816', id: 'b9f1d604d37a54d51660aee235359816',
......
...@@ -10,6 +10,7 @@ export const PageComponents = { ...@@ -10,6 +10,7 @@ export const PageComponents = {
Vue.component('meta-field-pickup-grid-view', () => import('@pages/lite/meta-field-pickup-grid-view/meta-field-pickup-grid-view.vue')); Vue.component('meta-field-pickup-grid-view', () => import('@pages/lite/meta-field-pickup-grid-view/meta-field-pickup-grid-view.vue'));
Vue.component('rule-item-grid-view', () => import('@pages/rule/rule-item-grid-view/rule-item-grid-view.vue')); Vue.component('rule-item-grid-view', () => import('@pages/rule/rule-item-grid-view/rule-item-grid-view.vue'));
Vue.component('dst-data-source-pickup-view', () => import('@pages/lite/dst-data-source-pickup-view/dst-data-source-pickup-view.vue')); Vue.component('dst-data-source-pickup-view', () => import('@pages/lite/dst-data-source-pickup-view/dst-data-source-pickup-view.vue'));
Vue.component('dst-system-edit-view', () => import('@pages/lite/dst-system-edit-view/dst-system-edit-view.vue'));
Vue.component('meta-model-pickup-grid-view', () => import('@pages/lite/meta-model-pickup-grid-view/meta-model-pickup-grid-view.vue')); Vue.component('meta-model-pickup-grid-view', () => import('@pages/lite/meta-model-pickup-grid-view/meta-model-pickup-grid-view.vue'));
Vue.component('meta-relationship-edit-view', () => import('@pages/lite/meta-relationship-edit-view/meta-relationship-edit-view.vue')); Vue.component('meta-relationship-edit-view', () => import('@pages/lite/meta-relationship-edit-view/meta-relationship-edit-view.vue'));
Vue.component('dabuild-grid-view', () => import('@pages/analysis/dabuild-grid-view/dabuild-grid-view.vue')); Vue.component('dabuild-grid-view', () => import('@pages/analysis/dabuild-grid-view/dabuild-grid-view.vue'));
...@@ -23,6 +24,7 @@ export const PageComponents = { ...@@ -23,6 +24,7 @@ export const PageComponents = {
Vue.component('dst-data-source-pickup-grid-view', () => import('@pages/lite/dst-data-source-pickup-grid-view/dst-data-source-pickup-grid-view.vue')); Vue.component('dst-data-source-pickup-grid-view', () => import('@pages/lite/dst-data-source-pickup-grid-view/dst-data-source-pickup-grid-view.vue'));
Vue.component('rule-engine-grid-view', () => import('@pages/rule/rule-engine-grid-view/rule-engine-grid-view.vue')); Vue.component('rule-engine-grid-view', () => import('@pages/rule/rule-engine-grid-view/rule-engine-grid-view.vue'));
Vue.component('exec-log-grid-view', () => import('@pages/rule/exec-log-grid-view/exec-log-grid-view.vue')); Vue.component('exec-log-grid-view', () => import('@pages/rule/exec-log-grid-view/exec-log-grid-view.vue'));
Vue.component('dst-system-grid-view', () => import('@pages/lite/dst-system-grid-view/dst-system-grid-view.vue'));
Vue.component('rule-item-edit-view', () => import('@pages/rule/rule-item-edit-view/rule-item-edit-view.vue')); Vue.component('rule-item-edit-view', () => import('@pages/rule/rule-item-edit-view/rule-item-edit-view.vue'));
Vue.component('dareport-edit-view', () => import('@pages/analysis/dareport-edit-view/dareport-edit-view.vue')); Vue.component('dareport-edit-view', () => import('@pages/analysis/dareport-edit-view/dareport-edit-view.vue'));
Vue.component('meta-model-edit-view', () => import('@pages/lite/meta-model-edit-view/meta-model-edit-view.vue')); Vue.component('meta-model-edit-view', () => import('@pages/lite/meta-model-edit-view/meta-model-edit-view.vue'));
...@@ -30,12 +32,12 @@ export const PageComponents = { ...@@ -30,12 +32,12 @@ export const PageComponents = {
Vue.component('meta-data-set-edit-view', () => import('@pages/lite/meta-data-set-edit-view/meta-data-set-edit-view.vue')); Vue.component('meta-data-set-edit-view', () => import('@pages/lite/meta-data-set-edit-view/meta-data-set-edit-view.vue'));
Vue.component('dabuild-edit-view', () => import('@pages/analysis/dabuild-edit-view/dabuild-edit-view.vue')); Vue.component('dabuild-edit-view', () => import('@pages/analysis/dabuild-edit-view/dabuild-edit-view.vue'));
Vue.component('meta-relationship-pickup-grid-view', () => import('@pages/lite/meta-relationship-pickup-grid-view/meta-relationship-pickup-grid-view.vue')); Vue.component('meta-relationship-pickup-grid-view', () => import('@pages/lite/meta-relationship-pickup-grid-view/meta-relationship-pickup-grid-view.vue'));
Vue.component('dst-data-source-edit-view', () => import('@pages/lite/dst-data-source-edit-view/dst-data-source-edit-view.vue'));
Vue.component('meta-model-grid-view', () => import('@pages/lite/meta-model-grid-view/meta-model-grid-view.vue')); Vue.component('meta-model-grid-view', () => import('@pages/lite/meta-model-grid-view/meta-model-grid-view.vue'));
Vue.component('dst-data-source-edit-view', () => import('@pages/lite/dst-data-source-edit-view/dst-data-source-edit-view.vue'));
Vue.component('meta-entity-pickup-grid-view', () => import('@pages/lite/meta-entity-pickup-grid-view/meta-entity-pickup-grid-view.vue')); Vue.component('meta-entity-pickup-grid-view', () => import('@pages/lite/meta-entity-pickup-grid-view/meta-entity-pickup-grid-view.vue'));
Vue.component('rule-item-pickup-grid-view', () => import('@pages/rule/rule-item-pickup-grid-view/rule-item-pickup-grid-view.vue')); Vue.component('rule-item-pickup-grid-view', () => import('@pages/rule/rule-item-pickup-grid-view/rule-item-pickup-grid-view.vue'));
Vue.component('rule-item-pickup-view', () => import('@pages/rule/rule-item-pickup-view/rule-item-pickup-view.vue'));
Vue.component('meta-entity-edit-view', () => import('@pages/lite/meta-entity-edit-view/meta-entity-edit-view.vue')); Vue.component('meta-entity-edit-view', () => import('@pages/lite/meta-entity-edit-view/meta-entity-edit-view.vue'));
Vue.component('rule-item-pickup-view', () => import('@pages/rule/rule-item-pickup-view/rule-item-pickup-view.vue'));
Vue.component('dst-data-source-grid-view', () => import('@pages/lite/dst-data-source-grid-view/dst-data-source-grid-view.vue')); Vue.component('dst-data-source-grid-view', () => import('@pages/lite/dst-data-source-grid-view/dst-data-source-grid-view.vue'));
Vue.component('meta-field-edit-grid-view', () => import('@pages/lite/meta-field-edit-grid-view/meta-field-edit-grid-view.vue')); Vue.component('meta-field-edit-grid-view', () => import('@pages/lite/meta-field-edit-grid-view/meta-field-edit-grid-view.vue'));
Vue.component('dametric-edit-view', () => import('@pages/analysis/dametric-edit-view/dametric-edit-view.vue')); Vue.component('dametric-edit-view', () => import('@pages/analysis/dametric-edit-view/dametric-edit-view.vue'));
......
...@@ -299,6 +299,20 @@ const router = new Router({ ...@@ -299,6 +299,20 @@ const router = new Router({
}, },
component: () => import('@pages/lite/dst-data-source-pickup-view/dst-data-source-pickup-view.vue'), component: () => import('@pages/lite/dst-data-source-pickup-view/dst-data-source-pickup-view.vue'),
}, },
{
path: 'dstsystems/:dstsystem?/editview/:editview?',
meta: {
caption: 'entities.dstsystem.views.editview.caption',
info:'',
parameters: [
{ pathName: 'dstindex', parameterName: 'dstindex' },
{ pathName: 'dstsystems', parameterName: 'dstsystem' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/lite/dst-system-edit-view/dst-system-edit-view.vue'),
},
{ {
path: 'metamodels/:metamodel?/pickupgridview/:pickupgridview?', path: 'metamodels/:metamodel?/pickupgridview/:pickupgridview?',
meta: { meta: {
...@@ -573,6 +587,20 @@ const router = new Router({ ...@@ -573,6 +587,20 @@ const router = new Router({
}, },
component: () => import('@pages/rule/exec-log-grid-view/exec-log-grid-view.vue'), component: () => import('@pages/rule/exec-log-grid-view/exec-log-grid-view.vue'),
}, },
{
path: 'dstsystems/:dstsystem?/gridview/:gridview?',
meta: {
caption: 'entities.dstsystem.views.gridview.caption',
info:'',
parameters: [
{ pathName: 'dstindex', parameterName: 'dstindex' },
{ pathName: 'dstsystems', parameterName: 'dstsystem' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/lite/dst-system-grid-view/dst-system-grid-view.vue'),
},
{ {
path: 'ruleitems/:ruleitem?/editview/:editview?', path: 'ruleitems/:ruleitem?/editview/:editview?',
meta: { meta: {
...@@ -765,32 +793,32 @@ const router = new Router({ ...@@ -765,32 +793,32 @@ const router = new Router({
component: () => import('@pages/lite/meta-relationship-pickup-grid-view/meta-relationship-pickup-grid-view.vue'), component: () => import('@pages/lite/meta-relationship-pickup-grid-view/meta-relationship-pickup-grid-view.vue'),
}, },
{ {
path: 'dstdatasources/:dstdatasource?/editview/:editview?', path: 'metamodels/:metamodel?/gridview/:gridview?',
meta: { meta: {
caption: 'entities.dstdatasource.views.editview.caption', caption: 'entities.metamodel.views.gridview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'dstindex', parameterName: 'dstindex' }, { pathName: 'dstindex', parameterName: 'dstindex' },
{ pathName: 'dstdatasources', parameterName: 'dstdatasource' }, { pathName: 'metamodels', parameterName: 'metamodel' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/lite/dst-data-source-edit-view/dst-data-source-edit-view.vue'), component: () => import('@pages/lite/meta-model-grid-view/meta-model-grid-view.vue'),
}, },
{ {
path: 'metamodels/:metamodel?/gridview/:gridview?', path: 'dstdatasources/:dstdatasource?/editview/:editview?',
meta: { meta: {
caption: 'entities.metamodel.views.gridview.caption', caption: 'entities.dstdatasource.views.editview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'dstindex', parameterName: 'dstindex' }, { pathName: 'dstindex', parameterName: 'dstindex' },
{ pathName: 'metamodels', parameterName: 'metamodel' }, { pathName: 'dstdatasources', parameterName: 'dstdatasource' },
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/lite/meta-model-grid-view/meta-model-grid-view.vue'), component: () => import('@pages/lite/dst-data-source-edit-view/dst-data-source-edit-view.vue'),
}, },
{ {
path: 'dstsystems/:dstsystem?/metaentities/:metaentity?/pickupgridview/:pickupgridview?', path: 'dstsystems/:dstsystem?/metaentities/:metaentity?/pickupgridview/:pickupgridview?',
...@@ -836,27 +864,27 @@ const router = new Router({ ...@@ -836,27 +864,27 @@ const router = new Router({
component: () => import('@pages/rule/rule-item-pickup-grid-view/rule-item-pickup-grid-view.vue'), component: () => import('@pages/rule/rule-item-pickup-grid-view/rule-item-pickup-grid-view.vue'),
}, },
{ {
path: 'ruleitems/:ruleitem?/pickupview/:pickupview?', path: 'dstsystems/:dstsystem?/metaentities/:metaentity?/editview/:editview?',
meta: { meta: {
caption: 'entities.ruleitem.views.pickupview.caption', caption: 'entities.metaentity.views.editview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'dstindex', parameterName: 'dstindex' }, { pathName: 'dstindex', parameterName: 'dstindex' },
{ pathName: 'ruleitems', parameterName: 'ruleitem' }, { pathName: 'dstsystems', parameterName: 'dstsystem' },
{ pathName: 'pickupview', parameterName: 'pickupview' }, { pathName: 'metaentities', parameterName: 'metaentity' },
{ pathName: 'editview', parameterName: 'editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/rule/rule-item-pickup-view/rule-item-pickup-view.vue'), component: () => import('@pages/lite/meta-entity-edit-view/meta-entity-edit-view.vue'),
}, },
{ {
path: 'dstsystems/:dstsystem?/metaentities/:metaentity?/editview/:editview?', path: 'metaentities/:metaentity?/editview/:editview?',
meta: { meta: {
caption: 'entities.metaentity.views.editview.caption', caption: 'entities.metaentity.views.editview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'dstindex', parameterName: 'dstindex' }, { pathName: 'dstindex', parameterName: 'dstindex' },
{ pathName: 'dstsystems', parameterName: 'dstsystem' },
{ pathName: 'metaentities', parameterName: 'metaentity' }, { pathName: 'metaentities', parameterName: 'metaentity' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'editview', parameterName: 'editview' },
], ],
...@@ -865,18 +893,18 @@ const router = new Router({ ...@@ -865,18 +893,18 @@ const router = new Router({
component: () => import('@pages/lite/meta-entity-edit-view/meta-entity-edit-view.vue'), component: () => import('@pages/lite/meta-entity-edit-view/meta-entity-edit-view.vue'),
}, },
{ {
path: 'metaentities/:metaentity?/editview/:editview?', path: 'ruleitems/:ruleitem?/pickupview/:pickupview?',
meta: { meta: {
caption: 'entities.metaentity.views.editview.caption', caption: 'entities.ruleitem.views.pickupview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'dstindex', parameterName: 'dstindex' }, { pathName: 'dstindex', parameterName: 'dstindex' },
{ pathName: 'metaentities', parameterName: 'metaentity' }, { pathName: 'ruleitems', parameterName: 'ruleitem' },
{ pathName: 'editview', parameterName: 'editview' }, { pathName: 'pickupview', parameterName: 'pickupview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/lite/meta-entity-edit-view/meta-entity-edit-view.vue'), component: () => import('@pages/rule/rule-item-pickup-view/rule-item-pickup-view.vue'),
}, },
{ {
path: 'dstdatasources/:dstdatasource?/gridview/:gridview?', path: 'dstdatasources/:dstdatasource?/gridview/:gridview?',
...@@ -1146,6 +1174,19 @@ const router = new Router({ ...@@ -1146,6 +1174,19 @@ const router = new Router({
}, },
component: () => import('@pages/lite/meta-relationship-pickup-grid-view/meta-relationship-pickup-grid-view.vue'), component: () => import('@pages/lite/meta-relationship-pickup-grid-view/meta-relationship-pickup-grid-view.vue'),
}, },
{
path: '/dstsystems/:dstsystem?/editview/:editview?',
meta: {
caption: 'entities.dstsystem.views.editview.caption',
info:'',
parameters: [
{ pathName: 'dstsystems', parameterName: 'dstsystem' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/lite/dst-system-edit-view/dst-system-edit-view.vue'),
},
{ {
path: '/metamodules/:metamodule?/pickupgridview/:pickupgridview?', path: '/metamodules/:metamodule?/pickupgridview/:pickupgridview?',
meta: { meta: {
...@@ -1643,6 +1684,19 @@ const router = new Router({ ...@@ -1643,6 +1684,19 @@ const router = new Router({
}, },
component: () => import('@pages/analysis/dareport-grid-view/dareport-grid-view.vue'), component: () => import('@pages/analysis/dareport-grid-view/dareport-grid-view.vue'),
}, },
{
path: '/dstsystems/:dstsystem?/gridview/:gridview?',
meta: {
caption: 'entities.dstsystem.views.gridview.caption',
info:'',
parameters: [
{ pathName: 'dstsystems', parameterName: 'dstsystem' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/lite/dst-system-grid-view/dst-system-grid-view.vue'),
},
{ {
path: '/dabuilds/:dabuild?/dametrics/:dametric?/editview/:editview?', path: '/dabuilds/:dabuild?/dametrics/:dametric?/editview/:editview?',
meta: { meta: {
......
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.dst-system-edit-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import DstSystemEditViewBase from './dst-system-edit-view-base.vue';
import view_form from '@widgets/dst-system/main-form/main-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class DstSystemEditView extends DstSystemEditViewBase {
}
</script>
\ No newline at end of file
.dst-system-grid-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import DstSystemGridViewBase from './dst-system-grid-view-base.vue';
import view_grid from '@widgets/dst-system/main-grid/main-grid.vue';
import view_searchform from '@widgets/dst-system/default-searchform/default-searchform.vue';
@Component({
components: {
view_grid,
view_searchform,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class DstSystemGridView extends DstSystemGridViewBase {
}
</script>
\ No newline at end of file
...@@ -14,6 +14,7 @@ export const viewstate: any = { ...@@ -14,6 +14,7 @@ export const viewstate: any = {
'6e86bf4ff68dc883c7cedd90289cf139', '6e86bf4ff68dc883c7cedd90289cf139',
'0b73baede663f44e34922b120c4eb1b5', '0b73baede663f44e34922b120c4eb1b5',
'08ffec9daab32e20d7b560f58c5c5ede', '08ffec9daab32e20d7b560f58c5c5ede',
'aba2be52d4c2de842f461967ce08cf7d',
'b8139b901aee5b9b689750315f24c19f', 'b8139b901aee5b9b689750315f24c19f',
'a4a6b127d490b6e0c0572dcf8ff1e304', 'a4a6b127d490b6e0c0572dcf8ff1e304',
'1b472dc31d7586037311b19f13ecd5b8', '1b472dc31d7586037311b19f13ecd5b8',
...@@ -89,6 +90,15 @@ export const viewstate: any = { ...@@ -89,6 +90,15 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: '14f8bfb549eedacb25bad2af453c5ad3',
viewmodule: 'lite',
viewname: 'DstSystemEditView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '17ce052423b847f488d74d3b2ba6bfdf', viewtag: '17ce052423b847f488d74d3b2ba6bfdf',
viewmodule: 'lite', viewmodule: 'lite',
...@@ -105,6 +115,7 @@ export const viewstate: any = { ...@@ -105,6 +115,7 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'2b6c5cbcb647db5adc94fd966aa80bfd',
'bf38acd2d602a0abb2021403e7da1ea7', 'bf38acd2d602a0abb2021403e7da1ea7',
], ],
}, },
...@@ -339,6 +350,16 @@ export const viewstate: any = { ...@@ -339,6 +350,16 @@ export const viewstate: any = {
'4425be08b70d5319481f443085373932', '4425be08b70d5319481f443085373932',
], ],
}, },
{
viewtag: 'aba2be52d4c2de842f461967ce08cf7d',
viewmodule: 'lite',
viewname: 'DstSystemGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'14f8bfb549eedacb25bad2af453c5ad3',
],
},
{ {
viewtag: 'b0fc4bae7655b93b1e554b05f06029f0', viewtag: 'b0fc4bae7655b93b1e554b05f06029f0',
viewmodule: 'analysis', viewmodule: 'analysis',
......
...@@ -599,6 +599,9 @@ export default class DstIndexBase extends Vue implements ControlInterface { ...@@ -599,6 +599,9 @@ export default class DstIndexBase extends Vue implements ControlInterface {
case 'AppFunc10': case 'AppFunc10':
this.clickAppFunc10(item); this.clickAppFunc10(item);
return; return;
case 'AppFunc12':
this.clickAppFunc12(item);
return;
case 'AppFunc9': case 'AppFunc9':
this.clickAppFunc9(item); this.clickAppFunc9(item);
return; return;
...@@ -676,6 +679,29 @@ export default class DstIndexBase extends Vue implements ControlInterface { ...@@ -676,6 +679,29 @@ export default class DstIndexBase extends Vue implements ControlInterface {
}) })
} }
/**
* 系统
*
* @param {*} [item={}]
* @memberof DstIndex
*/
public clickAppFunc12(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'dstsystems', parameterName: 'dstsystem' },
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/** /**
* 模型 * 模型
* *
......
...@@ -51,6 +51,25 @@ export default class DstIndexModel { ...@@ -51,6 +51,25 @@ export default class DstIndexModel {
appfunctag: 'AppFunc2', appfunctag: 'AppFunc2',
resourcetag: '', resourcetag: '',
authtag:'web-dstIndex-menuitem2', authtag:'web-dstIndex-menuitem2',
},
{
id: '36FFC4E0-AE22-4ECE-BA54-279C5AFB3442',
name: 'menuitem14',
text: '系统',
type: 'MENUITEM',
counterid: '',
tooltip: '系统',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc12',
resourcetag: '',
authtag:'web-dstIndex-menuitem14',
}, },
{ {
id: 'b9f1d604d37a54d51660aee235359816', id: 'b9f1d604d37a54d51660aee235359816',
...@@ -301,6 +320,18 @@ export default class DstIndexModel { ...@@ -301,6 +320,18 @@ export default class DstIndexModel {
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
}, },
{
appfunctag: 'AppFunc12',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'dstsystemgridview',
deResParameters: [],
routepath: '/dstindex/:dstindex?/dstsystems/:dstsystem?/gridview/:gridview?',
parameters: [
{ pathName: 'dstsystems', parameterName: 'dstsystem' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{ {
appfunctag: 'AppFunc9', appfunctag: 'AppFunc9',
appfuncyype: 'APPVIEW', appfuncyype: 'APPVIEW',
......
...@@ -291,6 +291,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -291,6 +291,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
public data: any = { public data: any = {
n_buildname_like: null, n_buildname_like: null,
n_modelname_like: null, n_modelname_like: null,
n_systemid_eq: null,
}; };
/** /**
...@@ -305,6 +306,8 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -305,6 +306,8 @@ export default class DefaultBase extends Vue implements ControlInterface {
n_buildname_like: new FormItemModel({ caption: '名称(文本包含(%))', detailType: 'FORMITEM', name: 'n_buildname_like', visible: true, isShowCaption: true, form: this,required:false, disabled: false, enableCond: 3 }) n_buildname_like: new FormItemModel({ caption: '名称(文本包含(%))', detailType: 'FORMITEM', name: 'n_buildname_like', visible: true, isShowCaption: true, form: this,required:false, disabled: false, enableCond: 3 })
, ,
n_modelname_like: new FormItemModel({ caption: '模型名称(文本包含(%))', detailType: 'FORMITEM', name: 'n_modelname_like', visible: true, isShowCaption: true, form: this,required:false, disabled: false, enableCond: 3 }) n_modelname_like: new FormItemModel({ caption: '模型名称(文本包含(%))', detailType: 'FORMITEM', name: 'n_modelname_like', visible: true, isShowCaption: true, form: this,required:false, disabled: false, enableCond: 3 })
,
n_systemid_eq: new FormItemModel({ caption: '系统标识(=)', detailType: 'FORMITEM', name: 'n_systemid_eq', visible: true, isShowCaption: true, form: this,required:false, disabled: false, enableCond: 3 })
, ,
}; };
...@@ -327,6 +330,12 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -327,6 +330,12 @@ export default class DefaultBase extends Vue implements ControlInterface {
{ required: this.detailsModel.n_modelname_like.required, type: 'string', message: '模型名称(文本包含(%)) 值不能为空', trigger: 'change' }, { required: this.detailsModel.n_modelname_like.required, type: 'string', message: '模型名称(文本包含(%)) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_modelname_like.required, type: 'string', message: '模型名称(文本包含(%)) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.n_modelname_like.required, type: 'string', message: '模型名称(文本包含(%)) 值不能为空', trigger: 'blur' },
], ],
n_systemid_eq: [
{ type: 'string', message: '系统标识(=) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '系统标识(=) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_systemid_eq.required, type: 'string', message: '系统标识(=) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_systemid_eq.required, type: 'string', message: '系统标识(=) 值不能为空', trigger: 'blur' },
],
} }
/** /**
...@@ -353,6 +362,18 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -353,6 +362,18 @@ export default class DefaultBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'n_modelname_like', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'n_modelname_like', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 n_systemid_eq 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof DefaultBase
*/
@Watch('data.n_systemid_eq')
onN_systemid_eqChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'n_systemid_eq', newVal: newVal, oldVal: oldVal });
}
/** /**
* 重置表单项值 * 重置表单项值
...@@ -376,6 +397,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -376,6 +397,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
} }
/** /**
...@@ -453,6 +475,9 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -453,6 +475,9 @@ export default class DefaultBase extends Vue implements ControlInterface {
* @memberof DefaultBase * @memberof DefaultBase
*/ */
public createDefault(){ public createDefault(){
if (this.data.hasOwnProperty('n_systemid_eq')) {
this.data['n_systemid_eq'] = this.context['dstsystemid'];
}
} }
/** /**
......
...@@ -35,6 +35,11 @@ export default class DefaultModel { ...@@ -35,6 +35,11 @@ export default class DefaultModel {
prop: 'model_name', prop: 'model_name',
dataType: 'PICKUPTEXT', dataType: 'PICKUPTEXT',
}, },
{
name: 'n_systemid_eq',
prop: 'system_id',
dataType: 'PICKUPDATA',
},
] ]
} }
......
...@@ -81,6 +81,11 @@ export default class MainModel { ...@@ -81,6 +81,11 @@ export default class MainModel {
prop: 'n_modelname_like', prop: 'n_modelname_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_systemid_eq',
prop: 'n_systemid_eq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -276,6 +276,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -276,6 +276,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public data: any = { public data: any = {
n_chartname_like: null, n_chartname_like: null,
n_systemid_eq: null,
}; };
/** /**
...@@ -288,6 +289,8 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -288,6 +289,8 @@ export default class DefaultBase extends Vue implements ControlInterface {
formpage1: new FormPageModel({ caption: '常规条件', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this }) formpage1: new FormPageModel({ caption: '常规条件', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this })
, ,
n_chartname_like: new FormItemModel({ caption: '名称(%)', detailType: 'FORMITEM', name: 'n_chartname_like', visible: true, isShowCaption: true, form: this,required:false, disabled: false, enableCond: 3 }) n_chartname_like: new FormItemModel({ caption: '名称(%)', detailType: 'FORMITEM', name: 'n_chartname_like', visible: true, isShowCaption: true, form: this,required:false, disabled: false, enableCond: 3 })
,
n_systemid_eq: new FormItemModel({ caption: '系统标识(=)', detailType: 'FORMITEM', name: 'n_systemid_eq', visible: true, isShowCaption: true, form: this,required:false, disabled: false, enableCond: 3 })
, ,
}; };
...@@ -304,6 +307,12 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -304,6 +307,12 @@ export default class DefaultBase extends Vue implements ControlInterface {
{ required: this.detailsModel.n_chartname_like.required, type: 'string', message: '名称(%) 值不能为空', trigger: 'change' }, { required: this.detailsModel.n_chartname_like.required, type: 'string', message: '名称(%) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_chartname_like.required, type: 'string', message: '名称(%) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.n_chartname_like.required, type: 'string', message: '名称(%) 值不能为空', trigger: 'blur' },
], ],
n_systemid_eq: [
{ type: 'string', message: '系统标识(=) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '系统标识(=) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_systemid_eq.required, type: 'string', message: '系统标识(=) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_systemid_eq.required, type: 'string', message: '系统标识(=) 值不能为空', trigger: 'blur' },
],
} }
/** /**
...@@ -318,6 +327,18 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -318,6 +327,18 @@ export default class DefaultBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'n_chartname_like', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'n_chartname_like', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 n_systemid_eq 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof DefaultBase
*/
@Watch('data.n_systemid_eq')
onN_systemid_eqChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'n_systemid_eq', newVal: newVal, oldVal: oldVal });
}
/** /**
* 重置表单项值 * 重置表单项值
...@@ -340,6 +361,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -340,6 +361,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
} }
/** /**
...@@ -417,6 +439,9 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -417,6 +439,9 @@ export default class DefaultBase extends Vue implements ControlInterface {
* @memberof DefaultBase * @memberof DefaultBase
*/ */
public createDefault(){ public createDefault(){
if (this.data.hasOwnProperty('n_systemid_eq')) {
this.data['n_systemid_eq'] = this.context['dstsystemid'];
}
} }
/** /**
......
...@@ -30,6 +30,11 @@ export default class DefaultModel { ...@@ -30,6 +30,11 @@ export default class DefaultModel {
prop: 'chart_name', prop: 'chart_name',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'n_systemid_eq',
prop: 'system_id',
dataType: 'TEXT',
},
] ]
} }
......
...@@ -71,6 +71,11 @@ export default class MainModel { ...@@ -71,6 +71,11 @@ export default class MainModel {
prop: 'n_chartname_like', prop: 'n_chartname_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_systemid_eq',
prop: 'n_systemid_eq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -276,6 +276,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -276,6 +276,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public data: any = { public data: any = {
n_reportname_like: null, n_reportname_like: null,
n_systemid_eq: null,
}; };
/** /**
...@@ -288,6 +289,8 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -288,6 +289,8 @@ export default class DefaultBase extends Vue implements ControlInterface {
formpage1: new FormPageModel({ caption: '常规条件', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this }) formpage1: new FormPageModel({ caption: '常规条件', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this })
, ,
n_reportname_like: new FormItemModel({ caption: '名称(%)', detailType: 'FORMITEM', name: 'n_reportname_like', visible: true, isShowCaption: true, form: this,required:false, disabled: false, enableCond: 3 }) n_reportname_like: new FormItemModel({ caption: '名称(%)', detailType: 'FORMITEM', name: 'n_reportname_like', visible: true, isShowCaption: true, form: this,required:false, disabled: false, enableCond: 3 })
,
n_systemid_eq: new FormItemModel({ caption: '系统标识(=)', detailType: 'FORMITEM', name: 'n_systemid_eq', visible: true, isShowCaption: true, form: this,required:false, disabled: false, enableCond: 3 })
, ,
}; };
...@@ -304,6 +307,12 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -304,6 +307,12 @@ export default class DefaultBase extends Vue implements ControlInterface {
{ required: this.detailsModel.n_reportname_like.required, type: 'string', message: '名称(%) 值不能为空', trigger: 'change' }, { required: this.detailsModel.n_reportname_like.required, type: 'string', message: '名称(%) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_reportname_like.required, type: 'string', message: '名称(%) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.n_reportname_like.required, type: 'string', message: '名称(%) 值不能为空', trigger: 'blur' },
], ],
n_systemid_eq: [
{ type: 'string', message: '系统标识(=) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '系统标识(=) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_systemid_eq.required, type: 'string', message: '系统标识(=) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_systemid_eq.required, type: 'string', message: '系统标识(=) 值不能为空', trigger: 'blur' },
],
} }
/** /**
...@@ -318,6 +327,18 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -318,6 +327,18 @@ export default class DefaultBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'n_reportname_like', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'n_reportname_like', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 n_systemid_eq 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof DefaultBase
*/
@Watch('data.n_systemid_eq')
onN_systemid_eqChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'n_systemid_eq', newVal: newVal, oldVal: oldVal });
}
/** /**
* 重置表单项值 * 重置表单项值
...@@ -340,6 +361,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -340,6 +361,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
} }
/** /**
...@@ -417,6 +439,9 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -417,6 +439,9 @@ export default class DefaultBase extends Vue implements ControlInterface {
* @memberof DefaultBase * @memberof DefaultBase
*/ */
public createDefault(){ public createDefault(){
if (this.data.hasOwnProperty('n_systemid_eq')) {
this.data['n_systemid_eq'] = this.context['dstsystemid'];
}
} }
/** /**
......
...@@ -30,6 +30,11 @@ export default class DefaultModel { ...@@ -30,6 +30,11 @@ export default class DefaultModel {
prop: 'report_name', prop: 'report_name',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'n_systemid_eq',
prop: 'system_id',
dataType: 'TEXT',
},
] ]
} }
......
...@@ -71,6 +71,11 @@ export default class MainModel { ...@@ -71,6 +71,11 @@ export default class MainModel {
prop: 'n_reportname_like', prop: 'n_reportname_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_systemid_eq',
prop: 'n_systemid_eq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
/**
* Default 部件模型
*
* @export
* @class DefaultModel
*/
export default class DefaultModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DefaultModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'n_pssystemname_like',
prop: 'pssystemname',
dataType: 'TEXT',
},
]
}
}
\ No newline at end of file
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-search-form {
padding: 8px 14px 0;
.ivu-form-item{
margin-bottom: 8px;
}
.search_reset {
margin-right: 12px;
margin-bottom: 8px;
}
.search-button{
text-align: right;
}
}
.app-search-form-flex {
height: 100%;
> .ivu-row {
height: 100%;
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import DefaultBase from './default-searchform-base.vue';
@Component({
components: {
}
})
export default class Default extends DefaultBase {
}
</script>
\ No newline at end of file
/**
* Main 部件模型
*
* @export
* @class MainModel
*/
export default class MainModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof MainModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'srforikey',
},
{
name: 'srfkey',
prop: 'pssystemid',
dataType: 'TEXT',
},
{
name: 'srfmajortext',
prop: 'pssystemname',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'pssystemid',
prop: 'pssystemid',
dataType: 'TEXT',
},
{
name: 'pssystemname',
prop: 'pssystemname',
dataType: 'TEXT',
},
{
name: 'showorder',
prop: 'showorder',
dataType: 'INT',
},
{
name: 'dstsystem',
prop: 'pssystemid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-form {
overflow: auto;
padding: 6px;
> .ivu-row {
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
.app-form {
>.ivu-row:nth-child(2) {
>.ivu-col:nth-child(1) {
>.ivu-row.app-form-group.app-group-hiddden-caption:nth-child(1) {
margin-top: 12px;
}
}
}
}
.app-form{
// 表单行间距
.app-form-item{
margin-bottom: 20px;
}
// 表单按钮margin
.app-form-button{
margin:0 6px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import MainBase from './main-form-base.vue';
@Component({
components: {
}
})
export default class Main extends MainBase {
}
</script>
\ No newline at end of file
/**
* Main 部件模型
*
* @export
* @class MainModel
*/
export default class MainModel {
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof MainGridMode
*/
public isDEExport: boolean = false;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof MainGridMode
*/
public getDataItems(): any[] {
if(this.isDEExport){
return [
]
}else{
return [
{
name: 'showorder',
prop: 'showorder',
dataType: 'INT',
},
{
name: 'pssystemid',
prop: 'pssystemid',
dataType: 'TEXT',
},
{
name: 'srfmajortext',
prop: 'pssystemname',
dataType: 'TEXT',
},
{
name: 'srfdataaccaction',
prop: 'pssystemid',
dataType: 'TEXT',
},
{
name: 'srfkey',
prop: 'pssystemid',
dataType: 'TEXT',
isEditable:true
},
{
name: 'pssystemname',
prop: 'pssystemname',
dataType: 'TEXT',
},
{
name: 'dstsystem',
prop: 'pssystemid',
},
{
name: 'n_pssystemname_like',
prop: 'n_pssystemname_like',
dataType: 'QUERYPARAM'
},
{
name:'size',
prop:'size',
dataType: 'QUERYPARAM'
},
{
name:'query',
prop:'query',
dataType: 'QUERYPARAM'
},
{
name:'filter',
prop:'filter',
dataType: 'QUERYPARAM'
},
{
name:'page',
prop:'page',
dataType: 'QUERYPARAM'
},
{
name:'sort',
prop:'sort',
dataType: 'QUERYPARAM'
},
{
name:'srfparentdata',
prop:'srfparentdata',
dataType: 'QUERYPARAM'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
]
}
}
}
\ No newline at end of file
此差异已折叠。
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import MainBase from './main-grid-base.vue';
@Component({
components: {
}
})
export default class Main extends MainBase {
}
</script>
\ No newline at end of file
...@@ -30,6 +30,11 @@ export default class DefaultModel { ...@@ -30,6 +30,11 @@ export default class DefaultModel {
prop: 'name', prop: 'name',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'n_systemid_eq',
prop: 'system_id',
dataType: 'TEXT',
},
] ]
} }
......
...@@ -86,6 +86,11 @@ export default class MainModel { ...@@ -86,6 +86,11 @@ export default class MainModel {
prop: 'n_ru_execlogname_like', prop: 'n_ru_execlogname_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_systemid_eq',
prop: 'n_systemid_eq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -35,6 +35,21 @@ export default class DefaultModel { ...@@ -35,6 +35,21 @@ export default class DefaultModel {
prop: 'rule_name', prop: 'rule_name',
dataType: 'PICKUPTEXT', dataType: 'PICKUPTEXT',
}, },
{
name: 'n_rulename_eq',
prop: 'rule_name',
dataType: 'PICKUPTEXT',
},
{
name: 'n_ruleid_eq',
prop: 'rule_id',
dataType: 'PICKUP',
},
{
name: 'n_systemid_eq',
prop: 'system_id',
dataType: 'PICKUPDATA',
},
] ]
} }
......
...@@ -35,6 +35,11 @@ export default class DefaultModel { ...@@ -35,6 +35,11 @@ export default class DefaultModel {
prop: 'model_name', prop: 'model_name',
dataType: 'PICKUPTEXT', dataType: 'PICKUPTEXT',
}, },
{
name: 'n_systemid_eq',
prop: 'system_id',
dataType: 'PICKUPDATA',
},
] ]
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册