Эх сурвалжийг харах

更新显示面积小数点过长撑破外框问题

sugb 7 сар өмнө
parent
commit
8624c133a0

+ 3 - 1
.env.development

@@ -1,6 +1,8 @@
 NODE_ENV=development
 #本地
-VUE_APP_API_BASE_URL=http://127.0.0.1:8088/jeecg-boot/
+#VUE_APP_API_BASE_URL=http://127.0.0.1:8088/jeecg-boot/
+#外部测试用
+VUE_APP_API_BASE_URL=http://49.235.111.199:13307/jeecg-boot/
 #测试服务器直连
 #VUE_APP_API_BASE_URL=http://10.233.1.64:8080/jeecg-boot/
 

+ 0 - 3
src/store/modules/user.js

@@ -71,7 +71,6 @@ const user = {
           }
         }).catch(error => {
           console.log("222==="+error)
-
           reject(error)
         })
       })
@@ -213,8 +212,6 @@ const user = {
       Vue.ls.set(TENANT_ID, id, 7 * 24 * 60 * 60 * 1000)
       commit('SET_TENANT', id)
     }
-
-
   }
 }
 

+ 1 - 1
src/views/qcsb/QcSsgqzysytdqkList_gly.vue

@@ -420,7 +420,7 @@ export default {
             console.log('#############################> 地块统计#############>')
             console.log(res)
             _this.countDk = res.result.countDk
-            _this.areaDk = res.result.areaDk
+            _this.areaDk = res.result.areaDk.toFixed(4)
             resolve()
           }
         })

+ 1 - 1
src/views/sydwqcsb/QcSsgqzysytdqkList_glyy.vue

@@ -365,7 +365,7 @@ export default {
         getAction(_this.url.listQuery, _this.queryParam).then(res => {
           if (res.success) {
             _this.countDk = res.result.countDk
-            _this.areaDk = res.result.areaDk
+            _this.areaDk = res.result.areaDk.toFixed(4)
             resolve()
           }
         })