zhouhao
2022-01-10 38bf5b0367e159dff3a5e1105dcc8cdbcbc9b8c8
合同预览
2 files modified
11 ■■■■ changed files
src/api/index.js 4 ●●●● patch | view | raw | blame | history
src/views/main/addBankcard.vue 7 ●●●● patch | view | raw | blame | history
src/api/index.js
@@ -58,6 +58,10 @@
         signContInfo(data) {  
          return $http.post('/inside/signContInfo', data);
    },
         //合同预览
         getContInfo(data) {
          return $http.post('/inside/getContInfo', data);
    },
    // ========================================
    
}
src/views/main/addBankcard.vue
@@ -261,10 +261,13 @@
          objUrl = `${window.location.origin}`
    }
     this.contractUrl=[]
       this.contractUrl =this.dataForm.contractUrl.map(element => {
       this.$api.getContInfo({bizId: this.bizId, bizType: this.bizType}).then(res=>{
         this.contractUrl =res.body.contractUrl.map(element => {
         return element  = objUrl+element
      })
      ImagePreview(this.dataForm.contractUrl);
            ImagePreview(this.contractUrl);
       })
    },
    //图片click
    imgClick: function () {