lrf402788946 4 年之前
父节点
当前提交
3a234bb74e

+ 1 - 1
src/views/car/transport-out.vue

@@ -162,7 +162,7 @@ export default {
       if (this.$checkRes(cres)) this.$set(this, `carList`, cres.data);
       const ures = await this.getUserList();
       if (this.$checkRes(ures)) this.$set(this, `userList`, ures.data);
-      const d1 = await this.tree('zc');
+      const d1 = await this.tree({ categroy: 'zc', status: '使用' });
       if (this.$checkRes(d1)) this.$set(this, `costList`, d1);
     },
   },

+ 1 - 1
src/views/client/project.vue

@@ -97,7 +97,7 @@ export default {
         this.$set(this, `total`, total);
       }
       //查其他收费项的税率
-      const res3 = await this.tree('sl');
+      const res3 = await this.tree({ categroy: 'sl', status: '使用' });
       if (res3) {
         this.$set(this, `rateList`, res3);
       }

+ 2 - 2
src/views/order/inDetail.vue

@@ -304,12 +304,12 @@ export default {
     },
     async searchTree() {
       //查询其他收费项
-      const res = await this.tree('sr');
+      const res = await this.tree({ categroy: 'sr', status: '使用' });
       if (res) {
         this.$set(this, `options`, res);
       }
       //查其他收费项的税率
-      const res1 = await this.tree('sl');
+      const res1 = await this.tree({ categroy: 'sl', status: '使用' });
       if (res1) {
         this.$set(this, `rateList`, res1);
       }

+ 2 - 2
src/views/order/out.vue

@@ -318,12 +318,12 @@ export default {
         this.$set(this, `clientList`, data);
       }
       //查询其他收费项
-      const res2 = await this.tree('zc');
+      const res2 = await this.tree({ categroy: 'zc', status: '使用' });
       if (res2) {
         this.$set(this, `costList`, res2);
       }
       //查其他收费项的税率
-      const res3 = await this.tree('sl');
+      const res3 = await this.tree({ categroy: 'sl', status: '使用' });
       if (res3) {
         this.$set(this, `rateList`, res3);
       }

+ 1 - 1
src/views/order/transport/index.vue

@@ -326,7 +326,7 @@ export default {
         // console.log(this.routeList);
       }
       // 查询税率
-      res = await this.tree('sl');
+      res = await this.tree({ categroy: 'sl', status: '使用' });
       if (this.$checkRes(res)) {
         this.$set(this, `taxesList`, res);
       }

+ 4 - 9
vue.config.js

@@ -26,23 +26,18 @@ module.exports = {
     //api地址前缀
     proxy: {
       '/api/servicezhwl': {
-        target: 'http://free.liaoningdoupo.com',
+        target: 'http://127.0.0.1:7002',
       },
       '/api/role/auth': {
-        target: 'http://free.liaoningdoupo.com', //http://free.liaoningdoupo.com
+        target: 'http://broadcast.waityou24.cn/', //http://broadcast.waityou24.cn/
         changeOrigin: true,
         ws: true,
       },
       '/files': {
-        target: 'http://free.liaoningdoupo.com',
-      },
-      '/api': {
-        target: 'http://free.liaoningdoupo.com',
-        changeOrigin: true,
-        ws: true,
+        target: 'http://broadcast.waityou24.cn/',
       },
       '/ws': {
-        target: 'http://free.liaoningdoupo.com',
+        target: 'http://broadcast.waityou24.cn/',
         ws: true,
       },
     },