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

zk——视图Base注释修改

上级 7776f92c
......@@ -29,7 +29,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 是否单选
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public isSingleSelect: boolean = ${dataview.isSingleSelect()?c};
</#if>
......@@ -38,7 +38,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 视图唯一标识
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
......@@ -46,7 +46,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 搜索值
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public query: string = '';
......@@ -54,7 +54,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 是否展开搜索表单
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
......@@ -62,7 +62,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 快速搜索
*
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onSearch($event: any): void {
const refs: any = this.$refs;
......
......@@ -13,7 +13,7 @@
* 选中数据字符串
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
@Prop() public selectedData?: string;
......@@ -21,7 +21,7 @@
* 是否单选
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
@Prop() public isSingleSelect?: boolean;
......@@ -29,7 +29,7 @@
* 搜索值
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public query: string = '';
......@@ -37,7 +37,7 @@
* 是否展开搜索表单
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
......@@ -48,7 +48,7 @@
* 2 双击激活
*
* @type {(number | 0 | 1 | 2)}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public gridRowActiveMode: number | 0 | 1 | 2 = ${view.getGridRowActiveMode()?c};
......@@ -56,7 +56,7 @@
* 快速搜索
*
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onSearch($event: any): void {
const refs: any = this.$refs;
......
......@@ -5,7 +5,7 @@
/**
* 加载权限按钮
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public loadWFLinks(): void {
const url = '${app.getPKGCodeName()?lower_case}/${de.getPSSystemModule().codeName?lower_case}/${de.codeName?lower_case}/wflinks';
......@@ -33,7 +33,7 @@
*
* @param {*} item
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public wflink_click(item: any, $event: any): void {
if (Object.is(item.type, 'FRONT')) {
......@@ -48,7 +48,7 @@
*
* @param {*} item
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public wflink_front(item: any, $event: any): void {
if (!item.page || Object.is(item.page, '')) {
......@@ -98,7 +98,7 @@
* @param {*} item
* @param {*} $event
* @param {*} [data]
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public wflink_backend(item: any, $event: any, data?: any): void {
const _this: any = this;
......@@ -134,7 +134,7 @@
* @param {*} $event
* @param {*} [data]
* @returns {Promise<any>}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public async wf_Step(item: any, $event: any, data?: any): Promise<any> {
const arg: any = { args: {} };
......
......@@ -8,7 +8,7 @@ import UIService from '@/uiservice/ui-service';
/**
* 初始化视图
*
* @memberof WFCIDWFDataRedirectViewBase
* @memberof ${srfclassname('${view.name}')}Base
*/
public async viewInit(){
const {srfkey:srfkey,srfappde:srfappde,srfworklist:srfworklist} = this.viewparams;
......
......@@ -26,7 +26,7 @@
* 当前分页panel值
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public tabValue: string = <#if tabValue??>'${tabValue}'<#else>''</#if>;
......
......@@ -15,7 +15,7 @@
* 视图唯一标识
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
......
......@@ -14,7 +14,7 @@
* 搜索值
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public query: string = '';
......@@ -22,7 +22,7 @@
* 是否展开搜索表单
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
......@@ -30,7 +30,7 @@
* 快速搜索
*
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onSearch($event: any): void {
const refs: any = this.$refs;
......
......@@ -52,7 +52,7 @@
* 界面关系通讯对象
*
* @type {Subject<ViewState>}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
@Prop() public formDruipart!: Subject<ViewState>;
......@@ -60,7 +60,7 @@
* 刷新数据参数
*
* @type {number}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
@Prop() public saveRefView?: number;
......@@ -68,7 +68,7 @@
* 关系数据变化
*
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onViewDataDirty($event: any) {
this.$emit('drdatachange', $event);
......@@ -78,7 +78,7 @@
* 关系数据保存执行完成
*
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onDRDataSaved($event: any) {
this.$emit('drdatasaved', $event);
......
......@@ -26,7 +26,7 @@ if(this.viewparams.selectedData){
* 是否显示按钮
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
@Prop({default: true}) public isShowButton!: boolean;
......@@ -34,7 +34,7 @@ if(this.viewparams.selectedData){
* 选中数据的字符串
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public selectedData: string = "";
......@@ -42,7 +42,7 @@ if(this.viewparams.selectedData){
* 是否初始化已选中项
*
* @type {any[]}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public isInitSelected:boolean = false;
......@@ -50,7 +50,7 @@ if(this.viewparams.selectedData){
* 视图选中数据
*
* @type {any[]}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public viewSelections:any[] = [];
......@@ -58,7 +58,7 @@ if(this.viewparams.selectedData){
* 是否单选
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public isSingleSelect: boolean = false;
......@@ -66,7 +66,7 @@ if(this.viewparams.selectedData){
* 选中数据单击
*
* @param {*} item
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public selectionsClick(item:any):void {
item._select = !item._select;
......@@ -78,7 +78,7 @@ if(this.viewparams.selectedData){
* 选中树双击
*
* @param {*} item
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public selectionsDBLClick(item:any):void {
const index: number = this.viewSelections.findIndex((selection: any) => Object.is(selection.srfkey, item.srfkey));
......@@ -93,7 +93,7 @@ if(this.viewparams.selectedData){
/**
* 删除右侧全部选中数据
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onCLickLeft():void {
const _selectiions = [...JSON.parse(JSON.stringify(this.viewSelections))];
......@@ -114,7 +114,7 @@ if(this.viewparams.selectedData){
/**
* 添加左侧选中数据
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onCLickRight():void {
Object.values(this.containerModel).forEach((model: any) => {
......@@ -140,7 +140,7 @@ if(this.viewparams.selectedData){
/**
* 选中数据全部删除
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onCLickAllLeft():void {
this.viewSelections = [];
......@@ -152,7 +152,7 @@ if(this.viewparams.selectedData){
/**
* 添加左侧面板所有数据到右侧
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onCLickAllRight():void {
Object.values(this.containerModel).forEach((model: any) => {
......@@ -179,7 +179,7 @@ if(this.viewparams.selectedData){
/**
* 确定
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onClickOk(): void {
this.$emit('viewdataschange', this.viewSelections);
......@@ -189,7 +189,7 @@ if(this.viewparams.selectedData){
/**
* 取消
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onClickCancel(): void {
this.$emit('close', null);
......
......@@ -26,7 +26,7 @@
* 是否单选
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public isSingleSelect: boolean = ${dataview.isSingleSelect()?c};
</#if>
......
......@@ -25,7 +25,7 @@ if(this.viewparams.selectedData){
* 选中数据的字符串
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public selectedData: string = "";
......
......@@ -14,7 +14,7 @@
* 视图选中数据
*
* @type {any[]}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public viewSelections:any[] = [];
......@@ -22,7 +22,7 @@
* 是否显示按钮
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
@Prop({default: true}) public isShowButton!: boolean;
......@@ -30,14 +30,14 @@
* 是否单选
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public isSingleSelect: boolean = true;
/**
* 确定
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onClickOk(): void {
this.$emit('viewdataschange', this.viewSelections);
......@@ -47,7 +47,7 @@
/**
* 取消
*
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onClickCancel(): void {
this.$emit('close', null);
......
......@@ -15,7 +15,7 @@
* 视图唯一标识
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
......
......@@ -26,7 +26,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 搜索值
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public query: string = '';
......@@ -34,7 +34,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 是否展开搜索表单
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
......@@ -42,7 +42,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 快速搜索
*
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onSearch($event: any): void {
const refs: any = this.$refs;
......@@ -55,7 +55,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* calendar 的 beforeload 事件
*
* @param {*} arg
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onBeforeLoad(arg: any){
let _this:any = this;
......@@ -83,7 +83,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* searchform 部件 search 事件
*
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public searchform_search($event: any) {
this.onSearch($event);
......@@ -93,7 +93,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* searchform 部件 load 事件
*
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public searchform_load($event: any) {
this.onSearch($event);
......
......@@ -56,7 +56,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 搜索值
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public query: string = '';
......@@ -64,7 +64,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 是否展开搜索表单
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};
......@@ -72,7 +72,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* 快速搜索
*
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onSearch($event: any): void {
const refs: any = this.$refs;
......@@ -85,7 +85,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* calendar 的 beforeload 事件
*
* @param {*} arg
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onBeforeLoad(arg: any){
let _this:any = this;
......@@ -113,7 +113,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* searchform 部件 search 事件
*
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public searchform_search($event: any) {
this.onSearch($event);
......@@ -123,7 +123,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
* searchform 部件 load 事件
*
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public searchform_load($event: any) {
this.onSearch($event);
......
......@@ -14,7 +14,7 @@
* 视图唯一标识
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
......
......@@ -14,7 +14,7 @@
* 节点过滤值
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public srfnodefilter: string = '';
......@@ -22,7 +22,7 @@
* 快速搜索
*
* @returns {void}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public onSearch(): void {
if (!this.viewState) {
......
......@@ -18,7 +18,7 @@
* 是否单选
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public isSingleSelect: boolean = ${dataview.isSingleSelect()?c};
</#if>
......
......@@ -14,7 +14,7 @@
* 选中数据
*
* @type {*}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public selection: any = {};
......
......@@ -14,7 +14,7 @@
* 视图唯一标识
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public viewUID: string = '${srffilepath2(view.getPSAppModule().getCodeName())}-${srffilepath2(view.getCodeName())}';
......
......@@ -13,7 +13,7 @@
* 选中数据字符串
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
@Prop() public selectedData?: string;
......@@ -21,7 +21,7 @@
* 是否单选
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
@Prop() public isSingleSelect?: boolean;
......
......@@ -18,7 +18,7 @@
* 应用起始页面
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
* @memberof ${srfclassname('${view.name}')}Base
*/
public isDefaultPage: boolean = ${view.isDefaultPage()?c};
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册