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

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

上级 7c3eafa0
...@@ -638,7 +638,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -638,7 +638,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -674,7 +674,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -674,7 +674,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -711,7 +711,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -711,7 +711,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -747,7 +747,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -747,7 +747,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -898,7 +898,7 @@ export default class MajorStateDataBase extends Vue implements ControlInterface ...@@ -898,7 +898,7 @@ export default class MajorStateDataBase extends Vue implements ControlInterface
dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string); dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string);
} }
const removeData = () => { const removeData = async () => {
let keys: any[] = []; let keys: any[] = [];
_datas.forEach((data: any) => { _datas.forEach((data: any) => {
keys.push(data.srfkey); keys.push(data.srfkey);
......
...@@ -1139,7 +1139,7 @@ export default class UsrBase extends Vue implements ControlInterface { ...@@ -1139,7 +1139,7 @@ export default class UsrBase extends Vue implements ControlInterface {
dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string); dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string);
} }
const removeData = () => { const removeData = async () => {
let keys: any[] = []; let keys: any[] = [];
_datas.forEach((data: any) => { _datas.forEach((data: any) => {
keys.push(data.srfkey); keys.push(data.srfkey);
......
...@@ -1176,7 +1176,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1176,7 +1176,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string); dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string);
} }
const removeData = () => { const removeData = async () => {
let keys: any[] = []; let keys: any[] = [];
_datas.forEach((data: any) => { _datas.forEach((data: any) => {
keys.push(data.srfkey); keys.push(data.srfkey);
......
...@@ -962,7 +962,7 @@ export default class Usr3Base extends Vue implements ControlInterface { ...@@ -962,7 +962,7 @@ export default class Usr3Base extends Vue implements ControlInterface {
dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string); dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string);
} }
const removeData = () => { const removeData = async () => {
let keys: any[] = []; let keys: any[] = [];
_datas.forEach((data: any) => { _datas.forEach((data: any) => {
keys.push(data.srfkey); keys.push(data.srfkey);
......
...@@ -838,7 +838,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -838,7 +838,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string); dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string);
} }
const removeData = () => { const removeData = async () => {
let keys: any[] = []; let keys: any[] = [];
_datas.forEach((data: any) => { _datas.forEach((data: any) => {
keys.push(data.srfkey); keys.push(data.srfkey);
......
...@@ -937,7 +937,7 @@ export default class Usr5Base extends Vue implements ControlInterface { ...@@ -937,7 +937,7 @@ export default class Usr5Base extends Vue implements ControlInterface {
dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string); dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string);
} }
const removeData = () => { const removeData = async () => {
let keys: any[] = []; let keys: any[] = [];
_datas.forEach((data: any) => { _datas.forEach((data: any) => {
keys.push(data.srfkey); keys.push(data.srfkey);
......
...@@ -822,7 +822,7 @@ export default class IndexTypeBase extends Vue implements ControlInterface { ...@@ -822,7 +822,7 @@ export default class IndexTypeBase extends Vue implements ControlInterface {
dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string); dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string);
} }
const removeData = () => { const removeData = async () => {
let keys: any[] = []; let keys: any[] = [];
_datas.forEach((data: any) => { _datas.forEach((data: any) => {
keys.push(data.srfkey); keys.push(data.srfkey);
......
...@@ -876,7 +876,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -876,7 +876,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string); dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string);
} }
const removeData = () => { const removeData = async () => {
let keys: any[] = []; let keys: any[] = [];
_datas.forEach((data: any) => { _datas.forEach((data: any) => {
keys.push(data.srfkey); keys.push(data.srfkey);
......
...@@ -822,7 +822,7 @@ export default class IndexTypeBase extends Vue implements ControlInterface { ...@@ -822,7 +822,7 @@ export default class IndexTypeBase extends Vue implements ControlInterface {
dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string); dataInfo = dataInfo + '...' + ' ' + (this.$t('app.dataView.sum') as string) + _datas.length + (this.$t('app.dataView.data') as string);
} }
const removeData = () => { const removeData = async () => {
let keys: any[] = []; let keys: any[] = [];
_datas.forEach((data: any) => { _datas.forEach((data: any) => {
keys.push(data.srfkey); keys.push(data.srfkey);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册