695593266@qq.com 8 месяцев назад
Родитель
Сommit
8bf6b8d9c9
2 измененных файлов с 3 добавлено и 4 удалено
  1. 1 2
      src/views/produce/components/outsourcing/index.vue
  2. 2 2
      vue.config.js

+ 1 - 2
src/views/produce/components/outsourcing/index.vue

@@ -496,9 +496,8 @@
     mounted() {
       this.getContactList();
       this.getFactoryList();
-      console.log(this.chooseType, '委托');
       if (this.chooseType == '1') {
-        this.attributeData.name = this.taskName + '委';
+        this.attributeData.name = this.taskName + '委';
         // this.$set(this.outsourceFormVal, 'name', this.taskName + '委托');
       } else if (this.chooseType == '2') {
         this.attributeData.name = this.taskName + '请托';

+ 2 - 2
vue.config.js

@@ -37,7 +37,7 @@ module.exports = {
 
         // target: 'http://192.168.1.116:18086',
         // target: 'http://192.168.1.251:18086',
-        target: 'http://192.168.1.125:18086',
+        // target: 'http://192.168.1.125:18086',
 
         // target: 'http://192.168.1.116:18086', // 赵沙金
 
@@ -46,7 +46,7 @@ module.exports = {
         // target: 'http://192.168.1.30:18086',
         // target: 'http://192.168.1.211:18086',
         // target: 'http://192.168.1.33:18086',
-        // target: 'http://192.168.1.251:18186',
+        target: 'http://192.168.1.251:18186',
         // target: 'http://192.168.1.251:18087',
         changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
         pathRewrite: {