|
@@ -76,7 +76,7 @@ export default {
|
|
|
this.search();
|
|
|
},
|
|
|
methods: {
|
|
|
- ...patentinfo(['query', 'updateUser', 'delete', 'deleteMany']),
|
|
|
+ ...patentinfo(['query', 'updateUser', 'delete', 'delMany']),
|
|
|
async search({ skip = 0, limit = this.limit, ...info } = {}) {
|
|
|
let res = await this.query({ skip, limit, ...this.searchForm, ...info });
|
|
|
if (this.$checkRes(res)) {
|
|
@@ -121,7 +121,7 @@ export default {
|
|
|
async onekeyDel() {
|
|
|
Dialog.confirm({ title: '信息提示', message: '删除操作不可恢复,如无查询条件,删除自动认定为全部信息,您确认要继续么?' })
|
|
|
.then(async () => {
|
|
|
- let res = await this.deleteMany({ ...this.searchForm });
|
|
|
+ let res = await this.delMany({ ...this.searchForm });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$toast({ type: `success`, message: `删除成功` });
|
|
|
this.search();
|