Commit f588f49f authored by caimeng's avatar caimeng

协议签署的H5地址,根据环境配置变化

parent 0ea13a74
NODE_ENV=development NODE_ENV=development
VUE_APP_ENV=development VUE_APP_ENV=development
VUE_APP_SIGN_URL=http://m.jqtianxia.cn/sign_agreement/index.html
VUE_APP_API=http://47.99.245.36:8202 VUE_APP_API=http://47.99.245.36:8202
NODE_ENV=production NODE_ENV=production
VUE_APP_ENV=production VUE_APP_ENV=production
VUE_APP_SIGN_URL=https://sign.taimedias.com/index.html
VUE_APP_API=https://drwater.dingrongxd.com VUE_APP_API=https://drwater.dingrongxd.com
NODE_ENV=production NODE_ENV=production
VUE_APP_ENV=production VUE_APP_ENV=production
VUE_APP_SIGN_URL=https://sign.taimedias.com/index.html
VUE_APP_API=https://water.jqtianxia.com VUE_APP_API=https://water.jqtianxia.com
NODE_ENV=production NODE_ENV=production
VUE_APP_ENV=test VUE_APP_ENV=test
VUE_APP_SIGN_URL=http://m.jqtianxia.cn/sign_agreement/index.html
VUE_APP_API=http://47.99.245.36:8202 VUE_APP_API=http://47.99.245.36:8202
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
>代扣结清 >代扣结清
</el-button </el-button
> >
<el-button type="primary" size="mini" v-if="params.capitalCodeStr === '自营'" @click="handleDevicePayment"> <el-button type="primary" size="mini" v-if="params.capitalCode === 'OWNBUSINESS'" @click="handleDevicePayment">
分笔代扣 分笔代扣
</el-button> </el-button>
<template v-if="$permissionUtils.rolePermission('protocolSign')"> <template v-if="$permissionUtils.rolePermission('protocolSign')">
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
<el-table-column align="center" prop="capitalCodeStr" label="放款资方" <el-table-column align="center" prop="capitalCodeStr" label="放款资方"
></el-table-column> ></el-table-column>
<el-table-column align="center" prop="serviceThemeName" label="服务费主体"
></el-table-column>
<el-table-column align="center" prop="status" label="借款单状态"> <el-table-column align="center" prop="status" label="借款单状态">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag type="success" v-if="scope.row.status==='AUDITED'" size="small">{{ loanStatusFormat(scope.row) }} <el-tag type="success" v-if="scope.row.status==='AUDITED'" size="small">{{ loanStatusFormat(scope.row) }}
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<template v-if="EnumList.length"> <template v-if="EnumList.length">
<el-form-item prop="protocolType" label="协议类型"> <el-form-item prop="protocolType" label="协议类型">
<el-select clearable v-model="form.protocolType" clearable placeholder="请选择产品"> <el-select clearable v-model="form.protocolType" clearable placeholder="请选择产品">
<el-option <el-option
v-for="item in EnumList" v-for="item in EnumList"
:key="item.protocolType" :key="item.protocolType"
...@@ -67,8 +67,7 @@ ...@@ -67,8 +67,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" width="80" label="签署地址"> <el-table-column align="center" width="80" label="签署地址">
<template slot-scope="scope"> <template slot-scope="scope">
<a target="_blank" <a target="_blank" :href="H5+'#/login?loanNo='+scope.row.loanNo">点击预览</a>
:href="'https://sign.taimedias.com/index.html#/login?loanNo='+scope.row.loanNo">点击预览</a>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="附件"> <el-table-column align="center" label="附件">
...@@ -84,7 +83,8 @@ ...@@ -84,7 +83,8 @@
:src="item" :src="item"
fit="contain"></el-image> fit="contain"></el-image>
<div v-else> <div v-else>
<video :key="item" @click="handlePreviewVideo(item)" style="width:50px;height:50px;object-fit:fill;" :src="item" /> <video :key="item" @click="handlePreviewVideo(item)" style="width:50px;height:50px;object-fit:fill;"
:src="item"/>
</div> </div>
</template> </template>
...@@ -176,8 +176,9 @@ export default { ...@@ -176,8 +176,9 @@ export default {
}, },
data() { data() {
return { return {
showvideoplay:false, showvideoplay: false,
videourl:'', videourl: '',
H5: process.env.VUE_APP_SIGN_URL,
delayVisible: false, delayVisible: false,
...@@ -239,11 +240,11 @@ export default { ...@@ -239,11 +240,11 @@ export default {
if (res.status === 200 && res.data.success) { if (res.status === 200 && res.data.success) {
const {data, total} = res.data.result const {data, total} = res.data.result
data.forEach(item=>{ data.forEach(item => {
const imgs = [] const imgs = []
if(item.annexUrl!==null){ if (item.annexUrl !== null) {
item.annexUrl.forEach(img=>{ item.annexUrl.forEach(img => {
if(img.indexOf('mp4')===-1){ if (img.indexOf('mp4') === -1) {
imgs.push(img) imgs.push(img)
} }
}) })
...@@ -344,19 +345,19 @@ export default { ...@@ -344,19 +345,19 @@ export default {
}, },
/** 预览大图 */ /** 预览大图 */
handlePreview(item,list){ handlePreview(item, list) {
const cache = [] const cache = []
list.forEach(item=>{ list.forEach(item => {
console.log(item,'==') console.log(item, '==')
if(item.indexOf('mp4')===-1){ if (item.indexOf('mp4') === -1) {
cache.push(item) cache.push(item)
} }
}) })
}, },
/** 视频预览 */ /** 视频预览 */
handlePreviewVideo(item){ handlePreviewVideo(item) {
console.log(item,'nasha') console.log(item, 'nasha')
this.showvideoplay = true; this.showvideoplay = true;
this.videourl = item; this.videourl = item;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment