Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
22
议题
22
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7
提交
52cd6ac3
提交
52cd6ac3
编写于
6月 19, 2020
作者:
KK
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zk——视图Base注释修改
上级
7776f92c
变更
22
隐藏空白字符变更
内嵌
并排
正在显示
22 个修改的文件
包含
68 行增加
和
68 行删除
+68
-68
DATAVIEW_VIEW.vue.ftl
@VIEW/@MACRO/DATAVIEW_VIEW.vue.ftl
+5
-5
PICKUPGRID_VIEW-BASE.vue.ftl
@VIEW/@MACRO/PICKUPGRID_VIEW-BASE.vue.ftl
+6
-6
WF_VIEW_CONTENT.vue.ftl
@VIEW/@MACRO/WF_VIEW_CONTENT.vue.ftl
+5
-5
VIEW-BASE.vue.ftl
@VIEW/实体全局流程数据重定向视图/VIEW-BASE.vue.ftl
+1
-1
VIEW-BASE.vue.ftl
@VIEW/实体分页搜索视图/VIEW-BASE.vue.ftl
+1
-1
VIEW-BASE.vue.ftl
@VIEW/实体列表导航视图/VIEW-BASE.vue.ftl
+1
-1
VIEW-BASE.vue.ftl
@VIEW/实体图表视图/VIEW-BASE.vue.ftl
+3
-3
VIEW-BASE.vue.ftl
@VIEW/实体多表单编辑视图(部件视图)/VIEW-BASE.vue.ftl
+4
-4
VIEW-BASE.vue.ftl
@VIEW/实体数据多项选择视图/VIEW-BASE.vue.ftl
+13
-13
VIEW-BASE.vue.ftl
@VIEW/实体数据视图(部件视图)/VIEW-BASE.vue.ftl
+1
-1
VIEW-BASE.vue.ftl
@VIEW/实体数据选择视图/VIEW-BASE.vue.ftl
+1
-1
VIEW-BASE.vue.ftl
@VIEW/实体数据选择视图(分页关系)/VIEW-BASE.vue.ftl
+5
-5
VIEW-BASE.vue.ftl
@VIEW/实体日历导航视图/VIEW-BASE.vue.ftl
+1
-1
VIEW-BASE.vue.ftl
@VIEW/实体日历视图/VIEW-BASE.vue.ftl
+6
-6
VIEW-BASE.vue.ftl
@VIEW/实体日历视图(部件视图)/VIEW-BASE.vue.ftl
+6
-6
VIEW-BASE.vue.ftl
@VIEW/实体树导航视图/VIEW-BASE.vue.ftl
+1
-1
VIEW-BASE.vue.ftl
@VIEW/实体树视图/VIEW-BASE.vue.ftl
+2
-2
VIEW-BASE.vue.ftl
@VIEW/实体索引关系选择数据视图(部件视图)/VIEW-BASE.vue.ftl
+1
-1
VIEW-BASE.vue.ftl
@VIEW/实体编辑视图(左右关系)/VIEW-BASE.vue.ftl
+1
-1
VIEW-BASE.vue.ftl
@VIEW/实体表格导航视图/VIEW-BASE.vue.ftl
+1
-1
VIEW-BASE.vue.ftl
@VIEW/实体选择树视图(部件视图)/VIEW-BASE.vue.ftl
+2
-2
VIEW-BASE.vue.ftl
@VIEW/应用看板视图/VIEW-BASE.vue.ftl
+1
-1
未找到文件。
@VIEW/@MACRO/DATAVIEW_VIEW.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -29,7 +29,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -29,7 +29,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 是否单选
* 是否单选
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public isSingleSelect: boolean = ${dataview.isSingleSelect()?c};
public isSingleSelect: boolean = ${dataview.isSingleSelect()?c};
</#if>
</#if>
...
@@ -38,7 +38,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -38,7 +38,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 视图唯一标识
* 视图唯一标识
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
...
@@ -46,7 +46,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -46,7 +46,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 搜索值
* 搜索值
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public query: string = '';
public query: string = '';
...
@@ -54,7 +54,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -54,7 +54,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 是否展开搜索表单
* 是否展开搜索表单
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
...
@@ -62,7 +62,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -62,7 +62,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 快速搜索
* 快速搜索
*
*
* @param {*} $event
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onSearch($event: any): void {
public onSearch($event: any): void {
const refs: any = this.$refs;
const refs: any = this.$refs;
...
...
@VIEW/@MACRO/PICKUPGRID_VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
* 选中数据字符串
* 选中数据字符串
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
@Prop() public selectedData?: string;
@Prop() public selectedData?: string;
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
* 是否单选
* 是否单选
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
@Prop() public isSingleSelect?: boolean;
@Prop() public isSingleSelect?: boolean;
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
* 搜索值
* 搜索值
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public query: string = '';
public query: string = '';
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
* 是否展开搜索表单
* 是否展开搜索表单
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
* 2 双击激活
* 2 双击激活
*
*
* @type {(number | 0 | 1 | 2)}
* @type {(number | 0 | 1 | 2)}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public gridRowActiveMode: number | 0 | 1 | 2 = ${view.getGridRowActiveMode()?c};
public gridRowActiveMode: number | 0 | 1 | 2 = ${view.getGridRowActiveMode()?c};
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
* 快速搜索
* 快速搜索
*
*
* @param {*} $event
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onSearch($event: any): void {
public onSearch($event: any): void {
const refs: any = this.$refs;
const refs: any = this.$refs;
...
...
@VIEW/@MACRO/WF_VIEW_CONTENT.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
/**
/**
* 加载权限按钮
* 加载权限按钮
*
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public loadWFLinks(): void {
public loadWFLinks(): void {
const url = '${app.getPKGCodeName()?lower_case}/${de.getPSSystemModule().codeName?lower_case}/${de.codeName?lower_case}/wflinks';
const url = '${app.getPKGCodeName()?lower_case}/${de.getPSSystemModule().codeName?lower_case}/${de.codeName?lower_case}/wflinks';
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
*
*
* @param {*} item
* @param {*} item
* @param {*} $event
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public wflink_click(item: any, $event: any): void {
public wflink_click(item: any, $event: any): void {
if (Object.is(item.type, 'FRONT')) {
if (Object.is(item.type, 'FRONT')) {
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
*
*
* @param {*} item
* @param {*} item
* @param {*} $event
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public wflink_front(item: any, $event: any): void {
public wflink_front(item: any, $event: any): void {
if (!item.page || Object.is(item.page, '')) {
if (!item.page || Object.is(item.page, '')) {
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
* @param {*} item
* @param {*} item
* @param {*} $event
* @param {*} $event
* @param {*} [data]
* @param {*} [data]
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public wflink_backend(item: any, $event: any, data?: any): void {
public wflink_backend(item: any, $event: any, data?: any): void {
const _this: any = this;
const _this: any = this;
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
* @param {*} $event
* @param {*} $event
* @param {*} [data]
* @param {*} [data]
* @returns {Promise<any>}
* @returns {Promise<any>}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public async wf_Step(item: any, $event: any, data?: any): Promise<any> {
public async wf_Step(item: any, $event: any, data?: any): Promise<any> {
const arg: any = { args: {} };
const arg: any = { args: {} };
...
...
@VIEW/实体全局流程数据重定向视图/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -8,7 +8,7 @@ import UIService from '@/uiservice/ui-service';
...
@@ -8,7 +8,7 @@ import UIService from '@/uiservice/ui-service';
/**
/**
* 初始化视图
* 初始化视图
*
*
* @memberof
WFCIDWFDataRedirectView
Base
* @memberof
${srfclassname('${view.name}')}
Base
*/
*/
public async viewInit(){
public async viewInit(){
const {srfkey:srfkey,srfappde:srfappde,srfworklist:srfworklist} = this.viewparams;
const {srfkey:srfkey,srfappde:srfappde,srfworklist:srfworklist} = this.viewparams;
...
...
@VIEW/实体分页搜索视图/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
* 当前分页panel值
* 当前分页panel值
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public tabValue: string = <#if tabValue??>'${tabValue}'<#else>''</#if>;
public tabValue: string = <#if tabValue??>'${tabValue}'<#else>''</#if>;
...
...
@VIEW/实体列表导航视图/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
* 视图唯一标识
* 视图唯一标识
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
...
...
@VIEW/实体图表视图/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* 搜索值
* 搜索值
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public query: string = '';
public query: string = '';
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
* 是否展开搜索表单
* 是否展开搜索表单
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
* 快速搜索
* 快速搜索
*
*
* @param {*} $event
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onSearch($event: any): void {
public onSearch($event: any): void {
const refs: any = this.$refs;
const refs: any = this.$refs;
...
...
@VIEW/实体多表单编辑视图(部件视图)/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
* 界面关系通讯对象
* 界面关系通讯对象
*
*
* @type {Subject<ViewState>}
* @type {Subject<ViewState>}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
@Prop() public formDruipart!: Subject<ViewState>;
@Prop() public formDruipart!: Subject<ViewState>;
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
* 刷新数据参数
* 刷新数据参数
*
*
* @type {number}
* @type {number}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
@Prop() public saveRefView?: number;
@Prop() public saveRefView?: number;
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
* 关系数据变化
* 关系数据变化
*
*
* @param {*} $event
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onViewDataDirty($event: any) {
public onViewDataDirty($event: any) {
this.$emit('drdatachange', $event);
this.$emit('drdatachange', $event);
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
* 关系数据保存执行完成
* 关系数据保存执行完成
*
*
* @param {*} $event
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onDRDataSaved($event: any) {
public onDRDataSaved($event: any) {
this.$emit('drdatasaved', $event);
this.$emit('drdatasaved', $event);
...
...
@VIEW/实体数据多项选择视图/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -26,7 +26,7 @@ if(this.viewparams.selectedData){
...
@@ -26,7 +26,7 @@ if(this.viewparams.selectedData){
* 是否显示按钮
* 是否显示按钮
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
@Prop({default: true}) public isShowButton!: boolean;
@Prop({default: true}) public isShowButton!: boolean;
...
@@ -34,7 +34,7 @@ if(this.viewparams.selectedData){
...
@@ -34,7 +34,7 @@ if(this.viewparams.selectedData){
* 选中数据的字符串
* 选中数据的字符串
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public selectedData: string = "";
public selectedData: string = "";
...
@@ -42,7 +42,7 @@ if(this.viewparams.selectedData){
...
@@ -42,7 +42,7 @@ if(this.viewparams.selectedData){
* 是否初始化已选中项
* 是否初始化已选中项
*
*
* @type {any[]}
* @type {any[]}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public isInitSelected:boolean = false;
public isInitSelected:boolean = false;
...
@@ -50,7 +50,7 @@ if(this.viewparams.selectedData){
...
@@ -50,7 +50,7 @@ if(this.viewparams.selectedData){
* 视图选中数据
* 视图选中数据
*
*
* @type {any[]}
* @type {any[]}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public viewSelections:any[] = [];
public viewSelections:any[] = [];
...
@@ -58,7 +58,7 @@ if(this.viewparams.selectedData){
...
@@ -58,7 +58,7 @@ if(this.viewparams.selectedData){
* 是否单选
* 是否单选
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public isSingleSelect: boolean = false;
public isSingleSelect: boolean = false;
...
@@ -66,7 +66,7 @@ if(this.viewparams.selectedData){
...
@@ -66,7 +66,7 @@ if(this.viewparams.selectedData){
* 选中数据单击
* 选中数据单击
*
*
* @param {*} item
* @param {*} item
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public selectionsClick(item:any):void {
public selectionsClick(item:any):void {
item._select = !item._select;
item._select = !item._select;
...
@@ -78,7 +78,7 @@ if(this.viewparams.selectedData){
...
@@ -78,7 +78,7 @@ if(this.viewparams.selectedData){
* 选中树双击
* 选中树双击
*
*
* @param {*} item
* @param {*} item
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public selectionsDBLClick(item:any):void {
public selectionsDBLClick(item:any):void {
const index: number = this.viewSelections.findIndex((selection: any) => Object.is(selection.srfkey, item.srfkey));
const index: number = this.viewSelections.findIndex((selection: any) => Object.is(selection.srfkey, item.srfkey));
...
@@ -93,7 +93,7 @@ if(this.viewparams.selectedData){
...
@@ -93,7 +93,7 @@ if(this.viewparams.selectedData){
/**
/**
* 删除右侧全部选中数据
* 删除右侧全部选中数据
*
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onCLickLeft():void {
public onCLickLeft():void {
const _selectiions = [...JSON.parse(JSON.stringify(this.viewSelections))];
const _selectiions = [...JSON.parse(JSON.stringify(this.viewSelections))];
...
@@ -114,7 +114,7 @@ if(this.viewparams.selectedData){
...
@@ -114,7 +114,7 @@ if(this.viewparams.selectedData){
/**
/**
* 添加左侧选中数据
* 添加左侧选中数据
*
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onCLickRight():void {
public onCLickRight():void {
Object.values(this.containerModel).forEach((model: any) => {
Object.values(this.containerModel).forEach((model: any) => {
...
@@ -140,7 +140,7 @@ if(this.viewparams.selectedData){
...
@@ -140,7 +140,7 @@ if(this.viewparams.selectedData){
/**
/**
* 选中数据全部删除
* 选中数据全部删除
*
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onCLickAllLeft():void {
public onCLickAllLeft():void {
this.viewSelections = [];
this.viewSelections = [];
...
@@ -152,7 +152,7 @@ if(this.viewparams.selectedData){
...
@@ -152,7 +152,7 @@ if(this.viewparams.selectedData){
/**
/**
* 添加左侧面板所有数据到右侧
* 添加左侧面板所有数据到右侧
*
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onCLickAllRight():void {
public onCLickAllRight():void {
Object.values(this.containerModel).forEach((model: any) => {
Object.values(this.containerModel).forEach((model: any) => {
...
@@ -179,7 +179,7 @@ if(this.viewparams.selectedData){
...
@@ -179,7 +179,7 @@ if(this.viewparams.selectedData){
/**
/**
* 确定
* 确定
*
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onClickOk(): void {
public onClickOk(): void {
this.$emit('viewdataschange', this.viewSelections);
this.$emit('viewdataschange', this.viewSelections);
...
@@ -189,7 +189,7 @@ if(this.viewparams.selectedData){
...
@@ -189,7 +189,7 @@ if(this.viewparams.selectedData){
/**
/**
* 取消
* 取消
*
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onClickCancel(): void {
public onClickCancel(): void {
this.$emit('close', null);
this.$emit('close', null);
...
...
@VIEW/实体数据视图(部件视图)/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
* 是否单选
* 是否单选
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public isSingleSelect: boolean = ${dataview.isSingleSelect()?c};
public isSingleSelect: boolean = ${dataview.isSingleSelect()?c};
</#if>
</#if>
...
...
@VIEW/实体数据选择视图/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -25,7 +25,7 @@ if(this.viewparams.selectedData){
...
@@ -25,7 +25,7 @@ if(this.viewparams.selectedData){
* 选中数据的字符串
* 选中数据的字符串
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public selectedData: string = "";
public selectedData: string = "";
...
...
@VIEW/实体数据选择视图(分页关系)/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* 视图选中数据
* 视图选中数据
*
*
* @type {any[]}
* @type {any[]}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public viewSelections:any[] = [];
public viewSelections:any[] = [];
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
* 是否显示按钮
* 是否显示按钮
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
@Prop({default: true}) public isShowButton!: boolean;
@Prop({default: true}) public isShowButton!: boolean;
...
@@ -30,14 +30,14 @@
...
@@ -30,14 +30,14 @@
* 是否单选
* 是否单选
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public isSingleSelect: boolean = true;
public isSingleSelect: boolean = true;
/**
/**
* 确定
* 确定
*
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onClickOk(): void {
public onClickOk(): void {
this.$emit('viewdataschange', this.viewSelections);
this.$emit('viewdataschange', this.viewSelections);
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
/**
/**
* 取消
* 取消
*
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onClickCancel(): void {
public onClickCancel(): void {
this.$emit('close', null);
this.$emit('close', null);
...
...
@VIEW/实体日历导航视图/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
* 视图唯一标识
* 视图唯一标识
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
...
...
@VIEW/实体日历视图/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -26,7 +26,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -26,7 +26,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 搜索值
* 搜索值
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public query: string = '';
public query: string = '';
...
@@ -34,7 +34,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -34,7 +34,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 是否展开搜索表单
* 是否展开搜索表单
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
...
@@ -42,7 +42,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -42,7 +42,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 快速搜索
* 快速搜索
*
*
* @param {*} $event
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onSearch($event: any): void {
public onSearch($event: any): void {
const refs: any = this.$refs;
const refs: any = this.$refs;
...
@@ -55,7 +55,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -55,7 +55,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* calendar 的 beforeload 事件
* calendar 的 beforeload 事件
*
*
* @param {*} arg
* @param {*} arg
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onBeforeLoad(arg: any){
public onBeforeLoad(arg: any){
let _this:any = this;
let _this:any = this;
...
@@ -83,7 +83,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -83,7 +83,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* searchform 部件 search 事件
* searchform 部件 search 事件
*
*
* @param {*} $event
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public searchform_search($event: any) {
public searchform_search($event: any) {
this.onSearch($event);
this.onSearch($event);
...
@@ -93,7 +93,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -93,7 +93,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* searchform 部件 load 事件
* searchform 部件 load 事件
*
*
* @param {*} $event
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public searchform_load($event: any) {
public searchform_load($event: any) {
this.onSearch($event);
this.onSearch($event);
...
...
@VIEW/实体日历视图(部件视图)/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -56,7 +56,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -56,7 +56,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 搜索值
* 搜索值
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public query: string = '';
public query: string = '';
...
@@ -64,7 +64,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -64,7 +64,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 是否展开搜索表单
* 是否展开搜索表单
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
...
@@ -72,7 +72,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -72,7 +72,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 快速搜索
* 快速搜索
*
*
* @param {*} $event
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onSearch($event: any): void {
public onSearch($event: any): void {
const refs: any = this.$refs;
const refs: any = this.$refs;
...
@@ -85,7 +85,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -85,7 +85,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* calendar 的 beforeload 事件
* calendar 的 beforeload 事件
*
*
* @param {*} arg
* @param {*} arg
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onBeforeLoad(arg: any){
public onBeforeLoad(arg: any){
let _this:any = this;
let _this:any = this;
...
@@ -113,7 +113,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -113,7 +113,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* searchform 部件 search 事件
* searchform 部件 search 事件
*
*
* @param {*} $event
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public searchform_search($event: any) {
public searchform_search($event: any) {
this.onSearch($event);
this.onSearch($event);
...
@@ -123,7 +123,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
...
@@ -123,7 +123,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* searchform 部件 load 事件
* searchform 部件 load 事件
*
*
* @param {*} $event
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public searchform_load($event: any) {
public searchform_load($event: any) {
this.onSearch($event);
this.onSearch($event);
...
...
@VIEW/实体树导航视图/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* 视图唯一标识
* 视图唯一标识
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
...
...
@VIEW/实体树视图/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* 节点过滤值
* 节点过滤值
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public srfnodefilter: string = '';
public srfnodefilter: string = '';
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
* 快速搜索
* 快速搜索
*
*
* @returns {void}
* @returns {void}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public onSearch(): void {
public onSearch(): void {
if (!this.viewState) {
if (!this.viewState) {
...
...
@VIEW/实体索引关系选择数据视图(部件视图)/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
* 是否单选
* 是否单选
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public isSingleSelect: boolean = ${dataview.isSingleSelect()?c};
public isSingleSelect: boolean = ${dataview.isSingleSelect()?c};
</#if>
</#if>
...
...
@VIEW/实体编辑视图(左右关系)/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* 选中数据
* 选中数据
*
*
* @type {*}
* @type {*}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public selection: any = {};
public selection: any = {};
...
...
@VIEW/实体表格导航视图/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* 视图唯一标识
* 视图唯一标识
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
...
...
@VIEW/实体选择树视图(部件视图)/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
* 选中数据字符串
* 选中数据字符串
*
*
* @type {string}
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
@Prop() public selectedData?: string;
@Prop() public selectedData?: string;
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
* 是否单选
* 是否单选
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
@Prop() public isSingleSelect?: boolean;
@Prop() public isSingleSelect?: boolean;
...
...
@VIEW/应用看板视图/VIEW-BASE.vue.ftl
浏览文件 @
52cd6ac3
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
* 应用起始页面
* 应用起始页面
*
*
* @type {boolean}
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}
Base
*/
*/
public isDefaultPage: boolean = ${view.isDefaultPage()?c};
public isDefaultPage: boolean = ${view.isDefaultPage()?c};
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录