提交 acc23a67 编写于 作者: zcdtk's avatar zcdtk

upate

上级 74ec59b7
...@@ -86,11 +86,10 @@ export default class ${srfclassname('${ctrl.codeName}')}Base extends Vue impleme ...@@ -86,11 +86,10 @@ export default class ${srfclassname('${ctrl.codeName}')}Base extends Vue impleme
/** /**
* 全局 ui 服务 * 全局 ui 服务
* *
* @private
* @type {GlobalUiService} * @type {GlobalUiService}
* @memberof ${srfclassname('${ctrl.codeName}')} * @memberof ${srfclassname('${ctrl.codeName}')}
*/ */
private globaluiservice: GlobalUiService = new GlobalUiService(); protected globaluiservice: GlobalUiService = new GlobalUiService();
/** /**
* 建构部件服务对象 * 建构部件服务对象
......
...@@ -7,21 +7,19 @@ ...@@ -7,21 +7,19 @@
/** /**
* 视图引擎 * 视图引擎
* *
* @private
* @type {Engine} * @type {Engine}
* @memberof ${srfclassname('${view.name}')}Base * @memberof ${srfclassname('${view.name}')}Base
*/ */
private ${engine.getName()?lower_case}: ${engine.getEngineType()}Engine = new ${engine.getEngineType()}Engine(); protected ${engine.getName()?lower_case}: ${engine.getEngineType()}Engine = new ${engine.getEngineType()}Engine();
</#list> </#list>
</#if> </#if>
/** /**
* 引擎初始化 * 引擎初始化
* *
* @private
* @memberof ${srfclassname('${view.name}')}Base * @memberof ${srfclassname('${view.name}')}Base
*/ */
private engineInit(): void { protected engineInit(): void {
<#if view.getPSAppViewEngines()??> <#if view.getPSAppViewEngines()??>
<#list view.getPSAppViewEngines() as engine> <#list view.getPSAppViewEngines() as engine>
this.${engine.getName()?lower_case}.init({ this.${engine.getName()?lower_case}.init({
......
...@@ -25,11 +25,10 @@ export default class ${srfclassname('${view.name}')}Base extends Vue { ...@@ -25,11 +25,10 @@ export default class ${srfclassname('${view.name}')}Base extends Vue {
/** /**
* 全局 ui 服务 * 全局 ui 服务
* *
* @private
* @type {GlobalUiService} * @type {GlobalUiService}
* @memberof ${srfclassname('${view.name}')}Base * @memberof ${srfclassname('${view.name}')}Base
*/ */
private globaluiservice: GlobalUiService = new GlobalUiService(); protected globaluiservice: GlobalUiService = new GlobalUiService();
<#if appde??> <#if appde??>
/** /**
...@@ -56,20 +55,18 @@ export default class ${srfclassname('${view.name}')}Base extends Vue { ...@@ -56,20 +55,18 @@ export default class ${srfclassname('${view.name}')}Base extends Vue {
/** /**
* 视图上下文 * 视图上下文
* *
* @private
* @type {string} * @type {string}
* @memberof ${srfclassname('${view.name}')}Base * @memberof ${srfclassname('${view.name}')}Base
*/ */
@Prop() private _context!: string; @Prop() protected _context!: string;
/** /**
* 视图参数 * 视图参数
* *
* @private
* @type {string} * @type {string}
* @memberof ${srfclassname('${view.name}')}Base * @memberof ${srfclassname('${view.name}')}Base
*/ */
@Prop() private _viewparams!: string; @Prop() protected _viewparams!: string;
/** /**
* 视图默认使用 * 视图默认使用
...@@ -179,7 +176,6 @@ export default class ${srfclassname('${view.name}')}Base extends Vue { ...@@ -179,7 +176,6 @@ export default class ${srfclassname('${view.name}')}Base extends Vue {
/** /**
* 视图状态订阅对象 * 视图状态订阅对象
* *
* @private
* @type {Subject<{action: string, data: any}>} * @type {Subject<{action: string, data: any}>}
* @memberof ${srfclassname('${view.name}')}Base * @memberof ${srfclassname('${view.name}')}Base
*/ */
...@@ -196,10 +192,9 @@ ${P.getCtrlCode(ctrl, 'CONTROL.vue').code} ...@@ -196,10 +192,9 @@ ${P.getCtrlCode(ctrl, 'CONTROL.vue').code}
/** /**
* 解析视图参数 * 解析视图参数
* *
* @private
* @memberof ${srfclassname('${view.name}')}Base * @memberof ${srfclassname('${view.name}')}Base
*/ */
private parseViewParam(): void { protected parseViewParam(): void {
if (!this.viewDefaultUsage && this._context && !Object.is(this._context, '')) { if (!this.viewDefaultUsage && this._context && !Object.is(this._context, '')) {
Object.assign(this.context, JSON.parse(this._context)); Object.assign(this.context, JSON.parse(this._context));
<#if self_viewparam??> <#if self_viewparam??>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册