渲染修改

This commit is contained in:
Sliverber 2024-02-01 22:01:35 +08:00
parent 1ce0365f58
commit 2cd4335c90
2 changed files with 9 additions and 8 deletions

View File

@ -3,5 +3,5 @@ ENV = 'production'
# base api
# VUE_APP_BASE_API = '/prod-api'
VUE_APP_BASE_API = 'http://106.75.49.247:20400'
VUE_APP_BASE_API = 'http://117.50.215.20:20400'

View File

@ -287,7 +287,7 @@
checkPermi(['admin:order:send'])
">发货</el-button>
<el-button size="small"
style="margin-top: 10px;" @click="showht()" v-show="scope.row.statusStr.value!='待审核'&&scope.row.statusStr.value!='待签约'">查看合同</el-button>
style="margin-top: 10px;" @click="showht(scope.row.contractUrl)" v-show="scope.row.statusStr.value!='待审核'&&scope.row.statusStr.value!='待签约'&&scope.row.contractUrl!=null">查看合同</el-button>
<el-button size="small"
style="margin-top: 10px;" @click.native="handleDelete(scope.row, scope.$index)">取消订单</el-button>
<!-- <el-button
@ -613,11 +613,11 @@
<div class="tit">
IP记录
</div>
<div class="info">
<div class="info" v-for="(item,index) in userinfo.detailinfo.ips" :key="index">
<div class="infoli">2022年10月1日 22:11:22</div>
<div class="infoli">192.168.2.36</div>
<div class="infoli">福建省 福鼎市</div>
<div class="infoli">{{ item.loginTime }}</div>
<div class="infoli">{{ item.ipaddr }}</div>
<!-- <div class="infoli">福建省 福鼎市</div> -->
</div>
</div>
<div class="fkbox"
@ -774,7 +774,7 @@ export default {
],
pdfDoc: null, // pdfjs
pdfHTML: 0, // pdfjs
pdfUrl: 'http://api.yruibao.com/222.pdf?e=1706691788&token=MI4PDg9LYWXJyahzx5ec6-Ih0YNwQhew_BQUhttS:L2jIdMZLGukvrXLGP-iXImrHy80=',
pdfUrl: '',
detaillist: [
{ tit: '用户基础信息 ' },
{ tit: ' 订单记录 ' },
@ -918,7 +918,8 @@ export default {
});
});
},
showht(){
showht(url){
this.pdfUrl=url
const CMAP_URL = "https://cdn.jsdelivr.net/npm/pdfjs-dist@2.0.943/cmaps/";
let obj = {};
obj.url = this.pdfUrl; //pdf