Sfoglia il codice sorgente

平台手续添加模板下载

lihongxiao 2 anni fa
parent
commit
55a5b5dcfd

+ 2 - 2
config/dev.env.js

@@ -11,9 +11,9 @@ module.exports = merge(prodEnv, {
   // BASE_URL: '"http://192.168.0.115:8080/"' //凯森
   // BASE_URL: '"http:///192.168.0.106:8080/"',//屈晨
   // BASE_URL: '"http:///192.168.0.253:8080/"',//田智
-  // BASE_URL: '"http:///192.168.0.42:8080/"',//武鸿鹏
+  BASE_URL: '"http:///192.168.0.42:8080/"',//武鸿鹏
   // BASE_URL: '"http://192.168.1.101:8080/"',
-  BASE_URL: '"http:///192.168.0.22:8080/"',//郝宇
+  // BASE_URL: '"http:///192.168.0.22:8080/"',//郝宇
   // BASE_URL: '"http:///192.168.0.103:8080/"',//
 })
 

+ 9 - 0
src/views/FinancialManagement/CarInsurance/PlatformSettlement/NonVehicleBalance.vue

@@ -244,6 +244,10 @@ export default {
         name:'批量结算',
         click:(row, index) => {return this.balanceFunPro()},
       },
+      {
+        name:'模板下载',
+        click:(row, index) => {return this.templateDownload()},
+      },
       {
         name:'导入',
         slot:true,
@@ -565,6 +569,11 @@ export default {
           }
         });
     },
+    templateDownload(){
+      let a = document.createElement('a')
+      a.href = `${process.env.BASE_URL}/template/SettlementTemplate.xlsx`;
+      a.click();
+    },
     // 查询
     handleSearchList(data) {
       // if( this.formData.year ||  this.formData.month ||  this.formData.date){