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

xignzi006 发布系统代码

上级 44cc6d0b
...@@ -765,29 +765,7 @@ export default { ...@@ -765,29 +765,7 @@ export default {
tip: "关闭", tip: "关闭",
}, },
}, },
treegridexviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
deuiaction1: {
caption: "New",
tip: "New",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
},
usablegridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -824,20 +802,34 @@ export default { ...@@ -824,20 +802,34 @@ export default {
caption: "-", caption: "-",
tip: "", tip: "",
}, },
tbitem14_inactive: { tbitem19: {
caption: "停用", caption: "Filter",
tip: "停用", tip: "Filter",
}, },
tbitem15: { },
treegridexviewtoolbar_toolbar: {
deuiaction1: {
caption: "New",
tip: "New",
},
tbitem2: {
caption: "-", caption: "-",
tip: "", tip: "",
}, },
tbitem19: { tbitem4: {
caption: "Filter", caption: "Edit",
tip: "Filter", tip: "Edit {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
}, },
}, },
stopgridviewtoolbar_toolbar: { usablegridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -874,9 +866,9 @@ export default { ...@@ -874,9 +866,9 @@ export default {
caption: "-", caption: "-",
tip: "", tip: "",
}, },
tbitem14_active: { tbitem14_inactive: {
caption: "激活", caption: "停用",
tip: "激活", tip: "停用",
}, },
tbitem15: { tbitem15: {
caption: "-", caption: "-",
...@@ -887,7 +879,7 @@ export default { ...@@ -887,7 +879,7 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
gridviewtoolbar_toolbar: { stopgridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -924,6 +916,14 @@ export default { ...@@ -924,6 +916,14 @@ export default {
caption: "-", caption: "-",
tip: "", tip: "",
}, },
tbitem14_active: {
caption: "激活",
tip: "激活",
},
tbitem15: {
caption: "-",
tip: "",
},
tbitem19: { tbitem19: {
caption: "Filter", caption: "Filter",
tip: "Filter", tip: "Filter",
......
...@@ -764,29 +764,7 @@ export default { ...@@ -764,29 +764,7 @@ export default {
tip: "关闭", tip: "关闭",
}, },
}, },
treegridexviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
deuiaction1: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
},
usablegridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -823,20 +801,34 @@ export default { ...@@ -823,20 +801,34 @@ export default {
caption: "-", caption: "-",
tip: "", tip: "",
}, },
tbitem14_inactive: { tbitem19: {
caption: "停用", caption: "过滤",
tip: "停用", tip: "过滤",
}, },
tbitem15: { },
treegridexviewtoolbar_toolbar: {
deuiaction1: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-", caption: "-",
tip: "", tip: "",
}, },
tbitem19: { tbitem4: {
caption: "过滤", caption: "编辑",
tip: "过滤", tip: "编辑",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
}, },
}, },
stopgridviewtoolbar_toolbar: { usablegridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -873,9 +865,9 @@ export default { ...@@ -873,9 +865,9 @@ export default {
caption: "-", caption: "-",
tip: "", tip: "",
}, },
tbitem14_active: { tbitem14_inactive: {
caption: "激活", caption: "停用",
tip: "激活", tip: "停用",
}, },
tbitem15: { tbitem15: {
caption: "-", caption: "-",
...@@ -886,7 +878,7 @@ export default { ...@@ -886,7 +878,7 @@ export default {
tip: "过滤", tip: "过滤",
}, },
}, },
gridviewtoolbar_toolbar: { stopgridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -923,6 +915,14 @@ export default { ...@@ -923,6 +915,14 @@ export default {
caption: "-", caption: "-",
tip: "", tip: "",
}, },
tbitem14_active: {
caption: "激活",
tip: "激活",
},
tbitem15: {
caption: "-",
tip: "",
},
tbitem19: { tbitem19: {
caption: "过滤", caption: "过滤",
tip: "过滤", tip: "过滤",
...@@ -937,4 +937,11 @@ export default { ...@@ -937,4 +937,11 @@ export default {
account_remove: "删除", account_remove: "删除",
}, },
}, },
gradation_treegridex: {
uiactions: {
account_openmaineditview: "编辑",
account_inactive: "停用",
account_remove: "删除",
},
},
}; };
\ No newline at end of file
...@@ -73,44 +73,6 @@ export default { ...@@ -73,44 +73,6 @@ 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: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: "Save", caption: "Save",
...@@ -149,4 +111,42 @@ export default { ...@@ -149,4 +111,42 @@ export default {
tip: "Copy {0}", tip: "Copy {0}",
}, },
}, },
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: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
}; };
\ No newline at end of file
...@@ -72,44 +72,6 @@ export default { ...@@ -72,44 +72,6 @@ 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: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: "保存", caption: "保存",
...@@ -148,4 +110,42 @@ export default { ...@@ -148,4 +110,42 @@ 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: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
}; };
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core'; import { VueLifeCycleProcessing } from '@/studio-core';
import { AccountTreeGridExViewBase } from './account-tree-grid-ex-view-base'; import { AccountTreeGridExViewBase } from './account-tree-grid-ex-view-base';
import view_treegridex from '@widgets/app/channel-content-treegridex/channel-content-treegridex.vue'; import view_treegridex from '@widgets/account/gradation-treegridex/gradation-treegridex.vue';
/** /**
* 客户树表格视图视图 * 客户树表格视图视图
......
/**
* Gradation 部件模型
*
* @export
* @class GradationModel
*/
export default class GradationModel {
/**
* 日历项类型
*
* @returns {any[]}
* @memberof GradationTreegridexMode
*/
public itemType: string = "";
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof GradationTreegridexMode
*/
public getDataItems(): any[] {
let dataItems: any = [
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'style',
},
{
name: 'textColor',
},
{
name: 'itemType',
},
{
name: 'parentId'
},
{
name: 'query',
prop: 'query',
},
];
switch(this.itemType){
case "RootAccount":
dataItems = [...dataItems,
{
name: 'id',
prop: 'accountid'
},
{
name: 'telephone1',
prop: 'telephone1'
},
{
name: 'accountname',
prop: 'accountname'
},
];
break;
case "ChildAccount":
dataItems = [...dataItems,
{
name: 'id',
prop: 'accountid'
},
{
name: 'accountname',
prop: 'accountname'
},
{
name: 'telephone1',
prop: 'telephone1'
},
];
break;
}
return dataItems;
}
}
\ No newline at end of file
!!!!模版产生代码错误:----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${srfclassname(ctrl.getRootPSDETreeNo... [in template "TEMPLCODE_zh_CN" at line 198, column 28]
----
\ No newline at end of file
<el-table ref="treegridex"
:data="items"
row-key="id"
border
lazy
height="100%"
:row-class-name="setRowClass"
:load="loadTreeNode.bind(_self)"
:tree-props="{ children: 'children', hasChildren: 'leaf' }"
:select-on-indeterminate="isSingleSelect"
@current-change="select.apply(_self, arguments)"
>
<el-table-column show-overflow-tooltip prop="accountname" label="客户名称" :width="50" :align="''">
<template v-slot="{ row }">
<span>{{ getColumnValue(row, 'accountname') }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="telephone1" label="主要电话" :width="100" :align="''">
<template v-slot="{ row }">
<span>{{ getColumnValue(row, 'telephone1') }}</span>
</template>
</el-table-column>
</el-table>
\ No newline at end of file
<template src="./gradation-treegridex.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { GradationTreegridexBase } from './gradation-treegridex-base';
/**
* treegridex部件
*
* @export
* @class GradationTreegridex
* @extends {GradationTreegridexBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class GradationTreegridex extends GradationTreegridexBase { }
</script>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册