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

ShineKOT 发布系统代码 [后台服务,演示应用]

上级 f2a10805
...@@ -445,20 +445,19 @@ export default class AppPanelViewBase extends Vue implements ControlInterface { ...@@ -445,20 +445,19 @@ export default class AppPanelViewBase extends Vue implements ControlInterface {
this.layoutData[name] = value; this.layoutData[name] = value;
this.layoutModelDetails[name].setData(value); this.layoutModelDetails[name].setData(value);
this.panelLogic(name, index); this.panelLogic(name, index);
this.panelEditItemChange(this.data, name, value); this.panelEditItemChange(name, value);
} }
/** /**
* 面板编辑项值变化后续操作 * 面板编辑项值变化后续操作
* *
* @public * @public
* @param data 面板数据
* @param property 编辑项名 * @param property 编辑项名
* @param value 编辑项值 * @param value 编辑项值
* @returns {void} * @returns {void}
* @memberof AppPanelViewBase * @memberof AppPanelViewBase
*/ */
public panelEditItemChange(data: any, property: string, value: any){ public panelEditItemChange(property: string, value: any){
// 面板数据变化事件 // 面板数据变化事件
if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){ if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){
let modelitem =this.dataModel.getDataItems().find((item:any) =>{ let modelitem =this.dataModel.getDataItems().find((item:any) =>{
......
...@@ -483,20 +483,19 @@ export default class Auto1Base extends Vue implements ControlInterface { ...@@ -483,20 +483,19 @@ export default class Auto1Base extends Vue implements ControlInterface {
this.layoutData[name] = value; this.layoutData[name] = value;
this.layoutModelDetails[name].setData(value); this.layoutModelDetails[name].setData(value);
this.panelLogic(name, index); this.panelLogic(name, index);
this.panelEditItemChange(this.data, name, value); this.panelEditItemChange(name, value);
} }
/** /**
* 面板编辑项值变化后续操作 * 面板编辑项值变化后续操作
* *
* @public * @public
* @param data 面板数据
* @param property 编辑项名 * @param property 编辑项名
* @param value 编辑项值 * @param value 编辑项值
* @returns {void} * @returns {void}
* @memberof Auto1Base * @memberof Auto1Base
*/ */
public panelEditItemChange(data: any, property: string, value: any){ public panelEditItemChange(property: string, value: any){
// 面板数据变化事件 // 面板数据变化事件
if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){ if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){
let modelitem =this.dataModel.getDataItems().find((item:any) =>{ let modelitem =this.dataModel.getDataItems().find((item:any) =>{
......
...@@ -483,20 +483,19 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface ...@@ -483,20 +483,19 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
this.layoutData[name] = value; this.layoutData[name] = value;
this.layoutModelDetails[name].setData(value); this.layoutModelDetails[name].setData(value);
this.panelLogic(name, index); this.panelLogic(name, index);
this.panelEditItemChange(this.data, name, value); this.panelEditItemChange(name, value);
} }
/** /**
* 面板编辑项值变化后续操作 * 面板编辑项值变化后续操作
* *
* @public * @public
* @param data 面板数据
* @param property 编辑项名 * @param property 编辑项名
* @param value 编辑项值 * @param value 编辑项值
* @returns {void} * @returns {void}
* @memberof HasPanelKanBanBase * @memberof HasPanelKanBanBase
*/ */
public panelEditItemChange(data: any, property: string, value: any){ public panelEditItemChange(property: string, value: any){
// 面板数据变化事件 // 面板数据变化事件
if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){ if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){
let modelitem =this.dataModel.getDataItems().find((item:any) =>{ let modelitem =this.dataModel.getDataItems().find((item:any) =>{
......
...@@ -483,20 +483,19 @@ export default class HasPanelListBase extends Vue implements ControlInterface { ...@@ -483,20 +483,19 @@ export default class HasPanelListBase extends Vue implements ControlInterface {
this.layoutData[name] = value; this.layoutData[name] = value;
this.layoutModelDetails[name].setData(value); this.layoutModelDetails[name].setData(value);
this.panelLogic(name, index); this.panelLogic(name, index);
this.panelEditItemChange(this.data, name, value); this.panelEditItemChange(name, value);
} }
/** /**
* 面板编辑项值变化后续操作 * 面板编辑项值变化后续操作
* *
* @public * @public
* @param data 面板数据
* @param property 编辑项名 * @param property 编辑项名
* @param value 编辑项值 * @param value 编辑项值
* @returns {void} * @returns {void}
* @memberof HasPanelListBase * @memberof HasPanelListBase
*/ */
public panelEditItemChange(data: any, property: string, value: any){ public panelEditItemChange(property: string, value: any){
// 面板数据变化事件 // 面板数据变化事件
if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){ if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){
let modelitem =this.dataModel.getDataItems().find((item:any) =>{ let modelitem =this.dataModel.getDataItems().find((item:any) =>{
......
...@@ -495,20 +495,19 @@ export default class ListpanelBase extends Vue implements ControlInterface { ...@@ -495,20 +495,19 @@ export default class ListpanelBase extends Vue implements ControlInterface {
this.layoutData[name] = value; this.layoutData[name] = value;
this.layoutModelDetails[name].setData(value); this.layoutModelDetails[name].setData(value);
this.panelLogic(name, index); this.panelLogic(name, index);
this.panelEditItemChange(this.data, name, value); this.panelEditItemChange(name, value);
} }
/** /**
* 面板编辑项值变化后续操作 * 面板编辑项值变化后续操作
* *
* @public * @public
* @param data 面板数据
* @param property 编辑项名 * @param property 编辑项名
* @param value 编辑项值 * @param value 编辑项值
* @returns {void} * @returns {void}
* @memberof ListpanelBase * @memberof ListpanelBase
*/ */
public panelEditItemChange(data: any, property: string, value: any){ public panelEditItemChange(property: string, value: any){
// 面板数据变化事件 // 面板数据变化事件
if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){ if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){
let modelitem =this.dataModel.getDataItems().find((item:any) =>{ let modelitem =this.dataModel.getDataItems().find((item:any) =>{
......
...@@ -46,11 +46,11 @@ ...@@ -46,11 +46,11 @@
<span class="quick-toolbar"> <span class="quick-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="usr4listview_layoutlist_quicktoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_quicktoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="listviewlist_quicktoolbarModels.deuiaction1.visabled" :disabled="listviewlist_quicktoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i> <i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</span> </span>
...@@ -61,18 +61,18 @@ ...@@ -61,18 +61,18 @@
<span class="batch-toolbar"> <span class="batch-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="listviewlist_batchtoolbarModels.deuiaction1.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i> <i class='fa fa-edit'></i>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"> <i-button v-show="listviewlist_batchtoolbarModels.deuiaction2.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i> <i class='fa fa-remove'></i>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</span> </span>
...@@ -362,7 +362,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -362,7 +362,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase * @memberof IBIZBOOKListViewBase
*/ */
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -382,7 +382,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -382,7 +382,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase * @memberof IBIZBOOKListViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -408,7 +408,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -408,7 +408,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase * @memberof IBIZBOOKListViewBase
*/ */
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -613,9 +613,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -613,9 +613,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @type {*}
* @memberof IBIZBOOKUsr4ListView_layout * @memberof IBIZBOOKListView
*/ */
public usr4listview_layoutlist_quicktoolbarModels: any = { public listviewlist_quicktoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } }, deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
}; };
...@@ -625,9 +625,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -625,9 +625,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @type {*}
* @memberof IBIZBOOKUsr4ListView_layout * @memberof IBIZBOOKListView
*/ */
public usr4listview_layoutlist_batchtoolbarModels: any = { public listviewlist_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } }, deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -850,7 +850,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -850,7 +850,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -966,7 +966,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -966,7 +966,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.removeAction') as string) });
return; return;
} }
if (datas.length === 0) { if (datas.length === 0) {
...@@ -1061,7 +1061,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -1061,7 +1061,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -1069,7 +1069,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -1069,7 +1069,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
......
...@@ -471,20 +471,19 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI ...@@ -471,20 +471,19 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
this.layoutData[name] = value; this.layoutData[name] = value;
this.layoutModelDetails[name].setData(value); this.layoutModelDetails[name].setData(value);
this.panelLogic(name, index); this.panelLogic(name, index);
this.panelEditItemChange(this.data, name, value); this.panelEditItemChange(name, value);
} }
/** /**
* 面板编辑项值变化后续操作 * 面板编辑项值变化后续操作
* *
* @public * @public
* @param data 面板数据
* @param property 编辑项名 * @param property 编辑项名
* @param value 编辑项值 * @param value 编辑项值
* @returns {void} * @returns {void}
* @memberof TIMELINEITEMLAYOUTPANELBase * @memberof TIMELINEITEMLAYOUTPANELBase
*/ */
public panelEditItemChange(data: any, property: string, value: any){ public panelEditItemChange(property: string, value: any){
// 面板数据变化事件 // 面板数据变化事件
if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){ if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){
let modelitem =this.dataModel.getDataItems().find((item:any) =>{ let modelitem =this.dataModel.getDataItems().find((item:any) =>{
......
...@@ -471,20 +471,19 @@ export default class UsrBase extends Vue implements ControlInterface { ...@@ -471,20 +471,19 @@ export default class UsrBase extends Vue implements ControlInterface {
this.layoutData[name] = value; this.layoutData[name] = value;
this.layoutModelDetails[name].setData(value); this.layoutModelDetails[name].setData(value);
this.panelLogic(name, index); this.panelLogic(name, index);
this.panelEditItemChange(this.data, name, value); this.panelEditItemChange(name, value);
} }
/** /**
* 面板编辑项值变化后续操作 * 面板编辑项值变化后续操作
* *
* @public * @public
* @param data 面板数据
* @param property 编辑项名 * @param property 编辑项名
* @param value 编辑项值 * @param value 编辑项值
* @returns {void} * @returns {void}
* @memberof UsrBase * @memberof UsrBase
*/ */
public panelEditItemChange(data: any, property: string, value: any){ public panelEditItemChange(property: string, value: any){
// 面板数据变化事件 // 面板数据变化事件
if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){ if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){
let modelitem =this.dataModel.getDataItems().find((item:any) =>{ let modelitem =this.dataModel.getDataItems().find((item:any) =>{
......
...@@ -483,20 +483,19 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -483,20 +483,19 @@ export default class Usr4Base extends Vue implements ControlInterface {
this.layoutData[name] = value; this.layoutData[name] = value;
this.layoutModelDetails[name].setData(value); this.layoutModelDetails[name].setData(value);
this.panelLogic(name, index); this.panelLogic(name, index);
this.panelEditItemChange(this.data, name, value); this.panelEditItemChange(name, value);
} }
/** /**
* 面板编辑项值变化后续操作 * 面板编辑项值变化后续操作
* *
* @public * @public
* @param data 面板数据
* @param property 编辑项名 * @param property 编辑项名
* @param value 编辑项值 * @param value 编辑项值
* @returns {void} * @returns {void}
* @memberof Usr4Base * @memberof Usr4Base
*/ */
public panelEditItemChange(data: any, property: string, value: any){ public panelEditItemChange(property: string, value: any){
// 面板数据变化事件 // 面板数据变化事件
if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){ if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){
let modelitem =this.dataModel.getDataItems().find((item:any) =>{ let modelitem =this.dataModel.getDataItems().find((item:any) =>{
......
...@@ -471,20 +471,19 @@ export default class Usr5Base extends Vue implements ControlInterface { ...@@ -471,20 +471,19 @@ export default class Usr5Base extends Vue implements ControlInterface {
this.layoutData[name] = value; this.layoutData[name] = value;
this.layoutModelDetails[name].setData(value); this.layoutModelDetails[name].setData(value);
this.panelLogic(name, index); this.panelLogic(name, index);
this.panelEditItemChange(this.data, name, value); this.panelEditItemChange(name, value);
} }
/** /**
* 面板编辑项值变化后续操作 * 面板编辑项值变化后续操作
* *
* @public * @public
* @param data 面板数据
* @param property 编辑项名 * @param property 编辑项名
* @param value 编辑项值 * @param value 编辑项值
* @returns {void} * @returns {void}
* @memberof Usr5Base * @memberof Usr5Base
*/ */
public panelEditItemChange(data: any, property: string, value: any){ public panelEditItemChange(property: string, value: any){
// 面板数据变化事件 // 面板数据变化事件
if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){ if((this.dataModel.getDataItems instanceof Function) && this.dataModel.getDataItems().length >0){
let modelitem =this.dataModel.getDataItems().find((item:any) =>{ let modelitem =this.dataModel.getDataItems().find((item:any) =>{
......
...@@ -11,16 +11,6 @@ ...@@ -11,16 +11,6 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社", "caption" : "出版社",
"codeName" : "press", "codeName" : "press",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -60,6 +50,16 @@ ...@@ -60,6 +50,16 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -29,21 +29,21 @@ ...@@ -29,21 +29,21 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "图书描述",
"codeName" : "ibizbookname", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "subtext",
"name" : "ibizbookname", "name" : "subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书描述", "caption" : "图书名称",
"codeName" : "subtext", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "ibizbookname",
"name" : "subtext", "name" : "ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -34,16 +34,6 @@ ...@@ -34,16 +34,6 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社", "caption" : "出版社",
"codeName" : "press", "codeName" : "press",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -83,6 +73,16 @@ ...@@ -83,6 +73,16 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -85,21 +85,21 @@ ...@@ -85,21 +85,21 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "图书描述",
"codeName" : "ibizbookname", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "subtext",
"name" : "ibizbookname", "name" : "subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书描述", "caption" : "图书名称",
"codeName" : "subtext", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "ibizbookname",
"name" : "subtext", "name" : "ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册