zhaozp 3 years ago
parent
commit
db97653792
2 changed files with 4 additions and 3 deletions
  1. 2 2
      src/common/request.js
  2. 2 1
      src/pages/index/index.vue

+ 2 - 2
src/common/request.js

@@ -9,8 +9,8 @@
 // const baseUrl = 'http://39.100.230.190'
 // const baseUrl = 'http://8.140.188.124'
 // const baseUrl = 'http://172.18.0.24:40046'
-// const baseUrl =  'http://172.18.1.227:40046'
-const baseUrl =  'https://s2t.jihengcc.cn/'
+const baseUrl =  'http://172.18.1.227:40046'
+// const baseUrl =  'https://s2t.jihengcc.cn/'
 // const baseUrl = ''
 
 // import { showLoading,hideLoading } from './loading.js'

+ 2 - 1
src/pages/index/index.vue

@@ -1132,10 +1132,11 @@ export default {
         if (index === 0) {
           data = {
             everyId: this.everyId,
-            subInsertReqs: this.datafc,
+            subInsertReqs: this.datafc.filter(item => item.state === 1 ),
             type: 1,
             versionId: this.sjRecordId,
           };
+          console.log(data)
         } else {
           let flag = false;
           for (let i of this.procedureRes) {