sujunling 5 mesi fa
parent
commit
2d20b69737

BIN
.DS_Store


File diff suppressed because it is too large
+ 65 - 0
public/config copy.js


+ 2 - 1
src/views/groupPage/districtPageModules/decisionSupport/constructionProgressSimulation/RightBox.vue

@@ -62,6 +62,7 @@
 
 <script>
 import XLSX from 'xlsx'
+import { getResultList } from 'staticPub/config'
 export default {
   data() {
     return {
@@ -80,7 +81,7 @@ export default {
       const formData = new FormData()
       formData.append('file', f)
       formData.append('name', k ? 'construction_data_2' : 'construction_data_1')
-      fetch('http://127.0.0.1:8000/upload-file', {
+      fetch(getResultList.fileUrl, {
         method: 'POST',
         body: formData
       })