فهرست منبع

首件两检新增江南环境的判断

695593266@qq.com 2 ماه پیش
والد
کامیت
7170f72b9b

+ 3 - 2
src/views/produce/components/qualityInspection/components/selfInspectionReporting.vue

@@ -212,7 +212,7 @@
           <el-button
             type="primary"
             @click="addInspection"
-            v-if="form.items.length == 0"
+            v-if="form.items.length == 0 || clientEnvironmentId == 9"
             >选择质检方案</el-button
           >
         </template>
@@ -444,7 +444,8 @@
         type: '',
         selection: [],
         title: '',
-        mode: ''
+        mode: '',
+        clientEnvironmentId: this.$store.state.user.info.clientEnvironmentId
       };
     },
 

+ 1 - 1
src/views/produce/components/qualityInspection/components/selfInspectionRequest.vue

@@ -116,7 +116,7 @@
           <el-button
             type="primary"
             @click="addInspection"
-            v-if="list.length == 0"
+            v-if="list.length == 0 || clientEnvironmentId == 9"
             >选择质检方案</el-button
           >
         </template>

+ 2 - 2
vue.config.js

@@ -32,9 +32,9 @@ module.exports = {
       // 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
       '/api': {
         // target: 'http://124.71.68.31:50001',
-        // target: 'http://192.168.1.125:18086',
+        target: 'http://192.168.1.125:18086',
         // target: 'http://192.168.1.251:18086',
-        target: 'http://192.168.1.251:18186',
+        // target: 'http://192.168.1.251:18186',
         // target: 'http://192.168.1.251:18086', // 开发环境
         // target: 'http://192.168.1.103:18086',192.168.1.116
         // target: 'http://192.168.1.144:18086',