Commit 6506f975 authored by 黄奎's avatar 黄奎

报名清单电子确认函修改

parent 69536f0a
......@@ -1897,8 +1897,8 @@
<td>
<div @click="goOpenUrl('confirmationOrder',childItem.OrderId)" style="cursor:pointer;">电子确认函</div>
<span v-if='childItem.ConfirmFileList.length>0'
@click="downLoadFile(childItem.ConfirmFileList)" style="color:blue;text-decoration:underline;font-size:12px;">已上传</span>
<span v-else style="color:gray;font-size:12px;">未上传</span>
@click="downLoadFile(childItem.ConfirmFileList)" style="color:blue;text-decoration:underline;font-size:12px;cursor:pointer;">确认函下载</span>
</td>
<td class="RL-BTNlist" rowspan="2">
<el-button-group>
......@@ -2207,7 +2207,7 @@
</td>
<td>
<div @click="goOpenUrl('confirmationOrder',item.orderId)" style="cursor:pointer;">电子确认函</div>
<span v-if='item.ConfirmFileList.length>0' @click="downLoadFile(item.ConfirmFileList)">确认函下载</span>
<span v-if='item.ConfirmFileList.length>0' @click="downLoadFile(item.ConfirmFileList)" style="color:blue;text-decoration:underline;font-size:12px;cursor:pointer;">确认函下载</span>
</td>
<td class="RL-BTNlist" rowspan="2">
<el-button-group>
......@@ -2618,7 +2618,7 @@
</el-row>
</el-form>
</div>
<a id='RegistrationList_DownLoad' target="_blank" style="display:none">1不要删除</a>
</div>
</template>
......@@ -3304,8 +3304,9 @@
}, null)
},
downLoadFile(obj) {
let reg = /^http(s)?:\/\/(.*?)\//
this.downloadFileRename(obj[0].FullUrl.replace(reg, ''), obj[0].Name)
let dom = document.querySelector("#RegistrationList_DownLoad");
dom.href = obj[0].FullUrl;
dom.click();
},
goUrlTravelControl(name, path, id, tcmun) {
......
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