提交 52cd6ac3 编写于 作者: KK's avatar KK

zk——视图Base注释修改

上级 7776f92c
...@@ -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;
......
...@@ -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;
......
...@@ -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: {} };
......
...@@ -8,7 +8,7 @@ import UIService from '@/uiservice/ui-service'; ...@@ -8,7 +8,7 @@ import UIService from '@/uiservice/ui-service';
/** /**
* 初始化视图 * 初始化视图
* *
* @memberof WFCIDWFDataRedirectViewBase * @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;
......
...@@ -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>;
......
...@@ -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())}';
......
...@@ -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;
......
...@@ -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);
......
...@@ -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);
......
...@@ -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>
......
...@@ -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 = "";
......
...@@ -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);
......
...@@ -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())}';
......
...@@ -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);
......
...@@ -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);
......
...@@ -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())}';
......
...@@ -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) {
......
...@@ -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>
......
...@@ -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 = {};
......
...@@ -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())}';
......
...@@ -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;
......
...@@ -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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册