Browse Source

plm BMM

master
ruanqi 1 year ago
parent
commit
966e22cf3b
  1. 27
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue

27
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue

@ -230,25 +230,26 @@
},
openNewPage(url){
// window.open(this.$store.state.user.bmPicUrl +url);
let urlIn=url.replaceAll('\\','/')
if(url==null||url===''){
this.$alert("链接没有数据!", '错误', {
confirmButtonText: '确定'
})
return false;
}
window.open(url);
// let data={
// url:url
// }
// checkUrl(data).then(({data}) => {
// if (data && data.code === 0) {
// window.open(data.url);
// } else {
// this.$alert(data.msg, '', {
// confirmButtonText: ''
// })
// }
// });
// window.open(url);
let data={
url:urlIn
}
checkUrl(data).then(({data}) => {
if (data && data.code === 0) {
window.open(data.url);
} else {
this.$alert(data.msg, '错误', {
confirmButtonText: '确定'
})
}
});
},
//

Loading…
Cancel
Save