guhongwei 3 年之前
父節點
當前提交
929f5ce914
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 2 2
      src/views/patent/admin/patent/distribute.vue
  2. 3 3
      vue.config.js

+ 2 - 2
src/views/patent/admin/patent/distribute.vue

@@ -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();

+ 3 - 3
vue.config.js

@@ -30,17 +30,17 @@ module.exports = {
         ws: false,
       },
       '/api/question': {
-        target: 'http://broadcast.kqyjy.com', //http://192.168.1.19:9101
+        target: 'http://127.0.0.1:9101', //http://192.168.1.19:9101
         changeOrigin: true,
         ws: false,
       },
       '/api/achieve': {
-        target: 'http://broadcast.kqyjy.com', //http://192.168.1.19:9101
+        target: 'http://127.0.0.1:9101', //http://192.168.1.19:9101
         changeOrigin: true,
         ws: false,
       },
       '/api/live': {
-        target: 'http://broadcast.kqyjy.com', //http://127.0.0.1:9101
+        target: 'http://127.0.0.1:9101', //http://127.0.0.1:9101
         changeOrigin: true,
         ws: false,
       },