lucw пре 7 месеци
родитељ
комит
a7fdb34c2d
2 измењених фајлова са 12 додато и 9 уклоњено
  1. 10 7
      src/views/batchRecord/components/editModal.vue
  2. 2 2
      vue.config.js

+ 10 - 7
src/views/batchRecord/components/editModal.vue

@@ -9,7 +9,7 @@
     width="80%"
   >
     <div>
-      <div
+      <!-- <div
         class="switch"
         v-if="details && details.processInstanceId"
         :maxable="true"
@@ -27,7 +27,7 @@
             </li>
           </ul>
         </div>
-      </div>
+      </div> -->
 
       <el-form
         v-if="activeComp == 'main'"
@@ -182,7 +182,7 @@
                   v-for="item in produceTaskList"
                   :key="item.taskId"
                   :label="item.taskTypeName"
-                  :value="item.taskId"
+                  :value="item.sourceTaskId"
                 >
                 </el-option>
               </el-select>
@@ -379,7 +379,7 @@
         </div>
 
         <!-- 底部审批 -->
-        <el-row
+        <!-- <el-row
           v-if="details && details.processInstanceId"
           style="margin-top: 40px"
         >
@@ -389,14 +389,14 @@
             :businessId="details.id"
             :gutter="20"
           ></bpmTask>
-        </el-row>
+        </el-row> -->
       </el-form>
 
-      <bpmDetail
+      <!-- <bpmDetail
         v-if="activeComp == 'bpm' && details && details.processInstanceId"
         :id="details.processInstanceId"
       >
-      </bpmDetail>
+      </bpmDetail> -->
     </div>
 
     <template v-if="type == 'detail'" v-slot:footer>
@@ -564,6 +564,7 @@
     data() {
       const formBaseData = {
         id: null,
+        code: '',
         // 设备id
         deviceId: null,
         //设备名称
@@ -806,6 +807,7 @@
       },
       // 去选择设备
       selectDeviceId() {
+        if (this.type == 'detail') return;
         this.$refs.deviceSelectDialog.open([]);
       },
       // 设备选
@@ -816,6 +818,7 @@
       },
       // 去选择记录规则
       selectReleaseId() {
+        if (this.type == 'detail') return;
         this.$refs.selectReleaseRulesRef.open();
       },
       // 选择记录规则

+ 2 - 2
vue.config.js

@@ -37,8 +37,8 @@ module.exports = {
         // target: 'http://192.168.1.251:18086',
         // target: 'http://192.168.1.251:18086',
         // target: 'http://192.168.1.125:18086',
-        target: 'http://192.168.1.116:18086', // 赵沙金
-        // target: 'http://192.168.1.251:18086', // 开发环境
+        // target: 'http://192.168.1.116:18086', // 赵沙金
+        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',
         // target: 'http://192.168.1.30:18086',