zhaozp 3 yıl önce
ebeveyn
işleme
4e2edc2345

BIN
dist.zip


+ 2 - 2
src/utils/request.js

@@ -13,9 +13,9 @@ import { clearStore } from '@/utils/store'
 const request = axios.create({
   // baseURL: process.env.BASE_API,
   // baseURL: 'http://172.18.1.227:40048',
-  baseURL: 'http://172.18.0.24:40048/',
+  // baseURL: 'http://172.18.0.24:40048/',
   // baseURL: 'http://39.100.230.190/',
-  // baseURL: 'https://s2t.jihengcc.cn',
+  baseURL: 'https://s2t.jihengcc.cn',
   // baseURL: '',
   timeout: process.env.TIME_OUT,
   method: "post",

+ 9 - 8
src/views/goods/addFailSafePlan.vue

@@ -217,13 +217,6 @@
           </el-col>
         </el-row>
         <div class="jg-line"></div>
-        <div
-          class="xx-line"
-          v-if="index === procedures.length - 1"
-          @click="addFlow"
-        >
-          新增流程
-        </div>
         <div
           class="xx-line"
           v-if="procedures.length !== 1"
@@ -231,6 +224,13 @@
         >
           删除流程
         </div>
+         <div
+          class="xx-line"
+          v-if="index === procedures.length - 1"
+          @click="addFlow"
+        >
+          新增流程
+        </div>
       </el-card>
       <el-row style="margin: 50px 0 50px 50px">
         <el-button
@@ -362,6 +362,7 @@ export default {
           this.spotData.nos = data.nos;
           this.spotData.beginDate = data.beginDate;
           this.procedures = data.procedures;
+          this.spotData.operator = data.operator;
           this.loading = false;
         } else {
           this.loading = false;
@@ -585,7 +586,7 @@ export default {
 .xx-line {
   width: 100%;
   height: 50px;
-  margin-top: 30px;
+  margin-top: 20px;
   border: 2px dashed#eee;
   display: flex;
   align-items: center;

+ 3 - 3
src/views/goods/planList.vue

@@ -136,7 +136,7 @@
           align="center"
           prop="deviceType"
           label="型号"
-          min-width="40px"
+          min-width="20px"
         >
         </el-table-column>
         <el-table-column align="center" label="责任人" min-width="50px">
@@ -153,14 +153,14 @@
           align="center"
           prop="tourName"
           label="巡检人"
-          min-width="30px"
+          min-width="20px"
         >
         </el-table-column>
         <el-table-column
           align="center"
           prop="nos"
           label="编号"
-          min-width="20px"
+          min-width="40px"
         >
         </el-table-column>
         <el-table-column