0db53c02 by 华明祺

no message

1 parent 920f6ab7
......@@ -28,7 +28,7 @@
<div>
<h3 class="name">{{ b.fullName }}</h3>
<p>{{ b.email }}</p>
<!-- <p>{{ b.phone }}</p>-->
<p>{{ b.createTime }}</p>
</div>
</el-col>
<el-col :lg="3" :md="6" :sm="6" :xs="6" class="text-center">
......@@ -36,7 +36,8 @@
</el-col>
<el-col :lg="6" :md="16" :sm="16" :xs="16">
<div class="text-right">
<el-button class="mb10" :disabled="b.emailFlag!='1'" plain round size="small" type="primary" @click="handleDownload(b)">
<el-button class="mb10" :disabled="b.emailFlag!='1'" plain round size="small" type="primary"
@click="handleDownload(b)">
{{ language == 0 ? '下载邀请函' : 'Download Invitation' }}
</el-button>
<el-button class="mb10" plain round size="small" type="primary" @click="goDetail(b)">
......@@ -102,7 +103,7 @@ function goDetail(b) {
}
function handleDownload(b) {
getUplaodFile({ id: b.id }).then(res => {
getUplaodFile({id: b.id}).then(res => {
window.open(fillImgUrl(res.msg), '_blank')
})
}
......
......@@ -118,7 +118,7 @@
paramName="pic" list-type="text" :show-file-list="false"
:button-text="language==0?'上传':'Upload'" @response="getPassportInfo"
/>
</div>
</div>
</el-form-item>
<!--识别信息-->
<div v-if="form.cptVisaInfoBos?.length>0" class="border">
......@@ -256,7 +256,7 @@
</el-table-column>
<el-table-column label="Actions" fixed="right">
<template #default="scope">
<el-button type="danger" size="small" @click="delPassportInfo(scope.row)" icon="delete"/>
<el-button type="danger" size="small" @click="delPassportInfo(scope.$index)" icon="delete"/>
</template>
</el-table-column>
</el-table>
......@@ -270,7 +270,7 @@
<div class="text-center">
<el-button type="primary" size="large" @click="submit" round class="btn-lineG">
<el-button type="primary" size="large" :disabled="!cptId" @click="submit" round class="btn-lineG">
{{ language == 0 ? '提交' : 'SUBMIT' }}
</el-button>
</div>
......@@ -321,6 +321,10 @@ const open = (params) => {
show.value = true
title.value = params.title
cptId.value = params.cptId
if(!cptId.value){
proxy.$modal.msgError('参数有误');
}
form.value.userId = user.userId
form.value.cptId = params.cptId
getCountryList()
......@@ -426,17 +430,8 @@ const getPassportInfo = (res) => {
}
}
function delPassportInfo(row) {
console.log(row, form.value.cptVisaInfoBos)
if (form.value.cptVisaInfoBos.length == 1) {
form.value.cptVisaInfoBos = []
} else {
for (let n of form.value.cptVisaInfoBos) {
if (n.passportNo == row.passportNo) {
form.value.cptVisaInfoBos.splice(form.value.cptVisaInfoBos.indexOf(n), 1)
}
}
}
function delPassportInfo(index) {
form.value.cptVisaInfoBos.splice(index, 1)
}
function sendEmail() {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!