浏览代码

fix:打印地址

SJ 1 年之前
父节点
当前提交
fff069e30b

+ 1 - 1
src/views/oa/AssetInDetailList.vue

@@ -458,7 +458,7 @@
         })
       },
       print(record){
-        var printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834580385717637120'+'?id='+record.cdAssetInId
+        var printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/834580385717637120'+'?id='+record.cdAssetInId
         window.open(printMouldUrl)
       }
     }

+ 1 - 1
src/views/oa/BudgetCostList.vue

@@ -330,7 +330,7 @@
         }
       },
       print(row){
-        var printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834329134622920704'+'?id='+row.id
+        var printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/834329134622920704'+'?id='+row.id
         window.open(printMouldUrl)
        },
       // 得到年份选择器的值

+ 1 - 1
src/views/oa/BudgetReplyList.vue

@@ -234,7 +234,7 @@
         this.queryParam.budgetYear = value;
       },
       print(record){
-        this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834332600510533632'+'?id='+record.id
+        this.printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/834332600510533632'+'?id='+record.id
       },
       loadData(arg) {
         if(!this.url.list){

+ 1 - 1
src/views/oa/CarList.vue

@@ -251,7 +251,7 @@
       initDictConfig(){
       },
       print(record){
-        this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834586790692474880'+'?id='+record.id
+        this.printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/834586790692474880'+'?id='+record.id
       }
     }
   }

+ 1 - 1
src/views/oa/CarfareDetailList.vue

@@ -292,7 +292,7 @@
       initDictConfig(){
       },
       print(record){
-        var printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834582982537072640'+'?id='+record.cdCarfareId
+        var printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/834582982537072640'+'?id='+record.cdCarfareId
         window.open(printMouldUrl)
       },
       handleMultiAdd: function () {

+ 1 - 1
src/views/oa/ConferenceApplyList.vue

@@ -277,7 +277,7 @@
         this.$refs.modalForm.disableSubmit = false;
       },
       print(record){
-        this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834590233121345536'+'?id='+record.id
+        this.printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/834590233121345536'+'?id='+record.id
       }
     }
   }

+ 1 - 1
src/views/oa/ConferenceMinutesList.vue

@@ -216,7 +216,7 @@
       initDictConfig(){
       },
       print(record){
-        this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834602447416938496'+'?id='+record.id
+        this.printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/834602447416938496'+'?id='+record.id
       }
     }
   }

+ 1 - 1
src/views/oa/DepartList.vue

@@ -516,7 +516,7 @@
       print(){
         // var formData1 = this.form.getFieldsValue()
         // debugger
-        this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/835862164483166208'+'?id='+this.id
+        this.printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/835862164483166208'+'?id='+this.id
       },
       getAllKeys(node) {
         // console.log('node',node);

+ 1 - 1
src/views/oa/MaterialInDetailList.vue

@@ -294,7 +294,7 @@
         this.$refs.multiAddModalForm.disableSubmit = false;
       },
       print(row){
-        var printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834588108278550528'+'?id='+row.cdMaterialInId
+        var printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/834588108278550528'+'?id='+row.cdMaterialInId
         window.open(printMouldUrl)
        },
       loadData(arg) {

+ 1 - 1
src/views/oa/MuseumDutyList.vue

@@ -233,7 +233,7 @@
         this.queryParam.dutyMonth = value;
       },
       print(record){
-        this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834337917675851776'+'?id='+record.id
+        this.printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/834337917675851776'+'?id='+record.id
       },
       loadData(arg) {
         if(!this.url.list){

+ 1 - 1
src/views/oa/ReceivedMainList.vue

@@ -227,7 +227,7 @@
       initDictConfig(){
       },
       print(record){
-        this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834346213321297920'+'?id='+record.id
+        this.printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/834346213321297920'+'?id='+record.id
       }
 
     }

+ 1 - 1
src/views/oa/SealDestroyList.vue

@@ -226,7 +226,7 @@
         this.$refs.modalForm.disableSubmit = false;
       },
       print(record){
-        this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834347959238086656'+'?id='+record.id
+        this.printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/834347959238086656'+'?id='+record.id
       }
     }
   }

+ 1 - 1
src/views/oa/SealTurnList.vue

@@ -263,7 +263,7 @@
         this.$refs.modalForm.disableSubmit = false;
       },
       print(record){
-        this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834346918941642752'+'?id='+record.id
+        this.printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/834346918941642752'+'?id='+record.id
       }
     }
   }

+ 1 - 1
src/views/oa/modules/EnrollmentModal.vue

@@ -549,7 +549,7 @@
         }
       },
       print(){
-        this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/835754802514579456'+'?id='+this.id
+        this.printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/835754802514579456'+'?id='+this.id
       },
       validateError(msg){
         this.$message.error(msg)

+ 1 - 1
src/views/system/NewUserList.vue

@@ -272,7 +272,7 @@
       initDictConfig(){
       },
       print(record){
-        this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/836112226480115712'+'?id='+record.id
+        this.printMouldUrl = window._CONFIG['domianURL']+'/jmreport/shareView/836112226480115712'+'?id='+record.id
       }
        
     }