修改禅道已知bug
This commit is contained in:
@@ -13,7 +13,10 @@
|
||||
@click="urlClick(queryForm[item.value])"
|
||||
v-if="item.type == 1"
|
||||
>{{queryForm[item.value]}}</span>
|
||||
|
||||
<span class="text-field-right text-field-right-url"
|
||||
@click="standardClick(queryForm)"
|
||||
v-else-if="item.type == '4'" :title="queryForm[item.value]"
|
||||
>{{queryForm[item.value]}}</span>
|
||||
<span class="text-field-right" v-else :title="queryForm[item.value]"
|
||||
>{{queryForm[item.value]}}</span>
|
||||
</div>
|
||||
@@ -25,6 +28,7 @@
|
||||
1打开新页面
|
||||
2显示文件
|
||||
3点击事件处理\需要传点击事件
|
||||
4标注号的跳转
|
||||
-->
|
||||
<script>
|
||||
import { getAction, postAction, downloadFile, putAction } from '@/api/manage'
|
||||
@@ -80,6 +84,15 @@
|
||||
if (val) {
|
||||
window.open(val)
|
||||
}
|
||||
},
|
||||
standardClick(row) {
|
||||
let newUrl = this.$router.resolve({
|
||||
path: '/docManage/library/detail',
|
||||
query: {
|
||||
id: row.standId
|
||||
}
|
||||
})
|
||||
window.open(newUrl.href, '_blank')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,7 +102,8 @@
|
||||
{},
|
||||
{
|
||||
title: this.$t('standard'),
|
||||
value: 'serialNumber'
|
||||
value: 'serialNumber',
|
||||
type:'4',
|
||||
},
|
||||
{
|
||||
title: this.$t('title'),
|
||||
|
||||
Reference in New Issue
Block a user