Commit 946fbbae3f74e059cda61c9802ed368e1bad9ec6

Authored by 2c2c2c
1 parent 9645a3de

装修垃圾-投放点信息管理

trash-common/src/main/java/com/trash/common/utils/RemoteServerUtils.java
... ... @@ -783,7 +783,12 @@ public class RemoteServerUtils {
783 783 okHttpClient = getOkClient();
784 784 }
785 785  
786   - token = "Bearer " + token;
  786 + if(token.contains("durable:")) {
  787 + token = "Bearer " + token.replace("durable:", "");
  788 + }else{
  789 + token = "Bearer " + token;
  790 + }
  791 +
787 792 String params = "";
788 793  
789 794 if (obj != null) {
... ...
trash-ui/src/views/unit/businessUnit/index.vue
... ... @@ -264,7 +264,7 @@ export default {
264 264 }).then(function() {
265 265 return exportEnterprise(queryParams);
266 266 }).then(response => {
267   - this.download(response.msg);
  267 + this.download(response.message);
268 268 })
269 269 }
270 270 }
... ...
trash-ui/src/views/unit/carInfo/index.vue
... ... @@ -281,7 +281,7 @@ export default {
281 281 }).then(function() {
282 282 return exportCarInfo(queryParams);
283 283 }).then(response => {
284   - this.download(response.msg);
  284 + this.download(response.message);
285 285 })
286 286 }
287 287 }
... ...
trash-ui/src/views/unit/carInfo/info.vue
... ... @@ -677,6 +677,12 @@ export default {
677 677 });
678 678 return;
679 679 }
  680 + if(this.drivers.length===0){
  681 + return this.$message({
  682 + message: '请选择驾驶员!',
  683 + type: 'warning'
  684 + });
  685 + }
680 686 this.form.drivers = this.drivers.join(",");
681 687 this.roadTransport.forEach(item => {
682 688 if (item.raw != null) {
... ...
trash-ui/src/views/unit/disposalSite/index.vue
... ... @@ -290,7 +290,7 @@ export default {
290 290 }).then(function() {
291 291 return exportDisposalSite(queryParams);
292 292 }).then(response => {
293   - this.download(response.msg);
  293 + this.download(response.message);
294 294 })
295 295 }
296 296 }
... ...
trash-ui/src/views/unit/driver/index.vue
... ... @@ -258,7 +258,7 @@ export default {
258 258 }).then(function() {
259 259 return exportDriver(queryParams);
260 260 }).then(response => {
261   - this.download(response.msg);
  261 + this.download(response.message);
262 262 })
263 263 }
264 264 }
... ...
trash-ui/src/views/unit/dropPointInfo/index.vue
... ... @@ -639,7 +639,7 @@ export default {
639 639 }).then(function () {
640 640 return exportDropPointInfo(queryParams);
641 641 }).then(response => {
642   - this.download(response.msg);
  642 + this.download(response.message);
643 643 })
644 644 }
645 645 }
... ...
trash-ui/src/views/unit/enterprise/index.vue
... ... @@ -264,7 +264,7 @@ export default {
264 264 }).then(function() {
265 265 return exportEnterprise(queryParams);
266 266 }).then(response => {
267   - this.download(response.msg);
  267 + this.download(response.message);
268 268 })
269 269 }
270 270 }
... ...