添加上传提示
This commit is contained in:
2
.env
2
.env
@@ -1,3 +1,3 @@
|
||||
VUE_APP_VERSION=1.0.0
|
||||
VUE_APP_NAME=生态环境监测数据综合分析平台
|
||||
VUE_APP_API_BASE_URL=http://101.132.173.65:10001/api
|
||||
VUE_APP_API_BASE_URL=http://1.14.132.108:10002/api
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
<script>
|
||||
// import XLSX from "xlsx";
|
||||
// import utils from "./utils";
|
||||
// import {Modal} from "ant-design-vue";
|
||||
import {Modal} from "ant-design-vue";
|
||||
import WaterBill from "./water-bill.vue";
|
||||
import SpecialBill from "./special-bill.vue";
|
||||
// import {saveLakeBill} from "@/api/ecology/lake";
|
||||
@@ -92,6 +92,7 @@ export default {
|
||||
formData.append('file', file);
|
||||
importCityOther(formData).then(res=>{
|
||||
console.log(res)
|
||||
Modal.success({ title:res.data.msg, });
|
||||
hide()
|
||||
}).catch(err=>{
|
||||
console.log(err)
|
||||
@@ -192,6 +193,7 @@ export default {
|
||||
formData.append('file', file);
|
||||
importCppointCity(formData).then(res=>{
|
||||
console.log(res)
|
||||
Modal.success({ title:res.data.msg, });
|
||||
hide()
|
||||
}).catch(err=>{
|
||||
console.log(err)
|
||||
@@ -284,6 +286,7 @@ export default {
|
||||
formData.append('file', file);
|
||||
importSpecial(formData).then(res=>{
|
||||
console.log(res)
|
||||
Modal.success({ title:res.data.msg, });
|
||||
hide()
|
||||
}).catch(err=>{
|
||||
console.log(err)
|
||||
|
||||
Reference in New Issue
Block a user