Commit 32f454c3 authored by Wallen姚文辉's avatar Wallen姚文辉

jira链接新窗口打开

parent 1fc9b7c6
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<Button shape="circle" style="margin-top: 10px;margin-bottom: 10px;" type="primary">测试计划资源情况</Button> <Button shape="circle" style="margin-top: 10px;margin-bottom: 10px;" type="primary">测试计划资源情况</Button>
<Table :columns="storycolumns" :data="story"> <Table :columns="storycolumns" :data="story">
<template #summary="{ row, index }"> <template #summary="{ row, index }">
<a :href='"http://jira.galaxy-immi.com/browse/" + row.key'> <a target="_blank" :href='"http://jira.galaxy-immi.com/browse/" + row.key'>
<u>{{ row.summary }}</u> <u>{{ row.summary }}</u>
</a> </a>
</template> </template>
...@@ -110,7 +110,8 @@ ...@@ -110,7 +110,8 @@
</Button> </Button>
<Table :columns="casecolumns" :data="item.case.map(ele => { return { key: ele } })"> <Table :columns="casecolumns" :data="item.case.map(ele => { return { key: ele } })">
<template #summary="{ row, index }"> <template #summary="{ row, index }">
<a v-if="searchCaseBykey(row.key)" :href='"http://jira.galaxy-immi.com/browse/" + row.key'> <a target="_blank" v-if="searchCaseBykey(row.key)"
:href='"http://jira.galaxy-immi.com/browse/" + row.key'>
<u>{{ searchCaseBykey(row.key).summary }}</u> <u>{{ searchCaseBykey(row.key).summary }}</u>
</a> </a>
<p v-else style="color: #ed4014;">面板未找到相关用例,请联系jira人员配置</p> <p v-else style="color: #ed4014;">面板未找到相关用例,请联系jira人员配置</p>
...@@ -138,7 +139,7 @@ ...@@ -138,7 +139,7 @@
<Button shape="circle" style="margin-top: 10px;margin-bottom: 10px;" type="primary">bug记录</Button> <Button shape="circle" style="margin-top: 10px;margin-bottom: 10px;" type="primary">bug记录</Button>
<Table :columns="bugcolumns" :data="bug"> <Table :columns="bugcolumns" :data="bug">
<template #summary="{ row, index }"> <template #summary="{ row, index }">
<a :href='"http://jira.galaxy-immi.com/browse/" + row.key'> <a target="_blank" :href='"http://jira.galaxy-immi.com/browse/" + row.key'>
<u>{{ row.summary }}</u> <u>{{ row.summary }}</u>
</a> </a>
</template> </template>
......
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