提交 16a69dc0 编写于 作者: Mosher's avatar Mosher

update:更新

上级 93bb3c71
......@@ -951,12 +951,12 @@ import CodeListService from "@/codelist/codelist-service";
let _removeAction = keys.length > 1 ? 'removeBatch' : this.removeAction ;
const context:any = JSON.parse(JSON.stringify(this.context));
try {
if (!(await this.handleCtrlEvents('onbeforeremove', { data: _keys }))) {
if (!(await this.handleCtrlEvents('onbeforeremove', { data: keys }))) {
return;
}
const response: any = this.service.delete(_removeAction,Object.assign(context,{ ${ctrl.getPSAppDataEntity().codeName?lower_case}: keys.join(';') }),Object.assign({ ${ctrl.getPSAppDataEntity().codeName?lower_case}: keys.join(';') },{viewparams:this.viewparams}), this.showBusyIndicator);
if (!response || response.status !== 200) {
if (!(await this.handleCtrlEvents('onremoveerror', { data: _keys }))) {
if (!(await this.handleCtrlEvents('onremoveerror', { data: keys }))) {
return;
}
this.$Notice.error({ title: '', desc: (this.$t('app.commonWords.delDataFail') as string) + ',' + response.info });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册