zhaozp преди 3 години
родител
ревизия
2012387526
променени са 2 файла, в които са добавени 9 реда и са изтрити 4 реда
  1. 2 2
      src/common/request.js
  2. 7 2
      src/pages/index/index.vue

+ 2 - 2
src/common/request.js

@@ -8,9 +8,9 @@
  */
 // 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.0.24:40046'
 // const baseUrl =  'http://172.18.1.227:40046'
-const baseUrl =  'https://s2t.jihengcc.cn/'
+// const baseUrl =  'https://s2t.jihengcc.cn/'
 // const baseUrl = ''
 
 // import { showLoading,hideLoading } from './loading.js'

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

@@ -1386,8 +1386,13 @@ export default {
     lookCheckResult() {
       otherClazz({versionid:this.sjRecordId}).then(res=> {
         if(res.status === '20000') {
-         this.otherShowData = res.data
-        this.otherShow = true
+          if(res.data.length){
+            this.otherShowData = res.data
+            this.otherShow = true
+          }
+          else {
+            this.hintCase('无相关信息')
+          }
         } else {
           this.hintCase('无相关信息')
         }