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

报名清单电子确认函修改

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