Commit f04b31df by Tang

feat: bug修复

parent 45a6fd0b
...@@ -372,8 +372,12 @@ export default { ...@@ -372,8 +372,12 @@ export default {
const {data} = searchGlnRes; const {data} = searchGlnRes;
if (searchGlnRes.success) { if (searchGlnRes.success) {
console.log(data) console.log(data)
this.changeDetail = data if(data){
this.changeDialogVisible = true this.changeDetail = data
this.changeDialogVisible = true
}else{
alert('无变更记录!')
}
} else { } else {
alert(searchGlnRes.returnMsg || '网络错误,请稍后再试') alert(searchGlnRes.returnMsg || '网络错误,请稍后再试')
} }
...@@ -404,7 +408,7 @@ export default { ...@@ -404,7 +408,7 @@ export default {
async handleSearchProduct() { async handleSearchProduct() {
const a = document.createElement('a') const a = document.createElement('a')
a.setAttribute('href', '/internal_code_search/searchResult2.aspx?keyword=${this.productSearch.code}') a.setAttribute('href', `/internal_code_search/searchResult2.aspx?keyword=${this.productSearch.code}`)
a.setAttribute('target', '_blank') a.setAttribute('target', '_blank')
a.setAttribute('id', 'cow-link-temp') a.setAttribute('id', 'cow-link-temp')
document.body.appendChild(a) document.body.appendChild(a)
......
...@@ -4,16 +4,16 @@ ...@@ -4,16 +4,16 @@
<ul class="main-list"> <ul class="main-list">
<!-- 注意!这里请后台开发的同学替换成循环输出 top 20 --> <!-- 注意!这里请后台开发的同学替换成循环输出 top 20 -->
<li><a target="_blank" href="/Service/Partners/Case?id=5"> <li><a target="_blank" href="/Service/Partners/caseMsg?id=5">
宁波天益医疗GS1-UDI项目案例介绍-上海路歌信息技术有限公司</a></li> 宁波天益医疗GS1-UDI项目案例介绍-上海路歌信息技术有限公司</a></li>
<li><a target="_blank" href="/Service/Partners/Case?id=3"> <li><a target="_blank" href="/Service/Partners/caseMsg?id=3">
利用GS1编码规则实施UDI满足中国法规要求,实现内部追溯</a></li> 利用GS1编码规则实施UDI满足中国法规要求,实现内部追溯</a></li>
<li><a target="_blank" href="/Service/Partners/Case?id=2"> <li><a target="_blank" href="/Service/Partners/caseMsg?id=2">
多米诺集团在医疗领域的GS1标准应用案例</a></li> 多米诺集团在医疗领域的GS1标准应用案例</a></li>
<li><a target="_blank" href="/Service/Partners/Case?id=1"> <li><a target="_blank" href="/Service/Partners/caseMsg?id=1">
北京爱创科技股份有限公司进口药品GS1应用案例</a></li> 北京爱创科技股份有限公司进口药品GS1应用案例</a></li>
</ul> </ul>
......
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
activeName: 'second', activeName: 'second',
appList: [ appList: [
{ {
name: '中国物品编码中心', name: '中国编码',
icon: require('./img/bmcode-icon.png'), icon: require('./img/bmcode-icon.png'),
desc: '手机客户端下载', desc: '手机客户端下载',
android: '', android: '',
......
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