修改搜索中心的跳转
This commit is contained in:
@@ -95,10 +95,10 @@
|
||||
<a @click="handleCompare(record)" class="text-operation"> {{$t('Push')}}</a>
|
||||
</span>
|
||||
<span slot="serial_number" slot-scope="text,record">
|
||||
<span v-html="record.serial_number"></span>
|
||||
<span style="cursor: pointer;color:#21c9cc" v-html="record.serial_number" @click="titleClick(record)"></span>
|
||||
</span>
|
||||
<span slot="titleName" slot-scope="text,record">
|
||||
<span v-html="record.title"></span>
|
||||
<span style="cursor: pointer;color:#21c9cc" v-html="record.title" @click="titleClick(record)"></span>
|
||||
</span>
|
||||
<span slot="file_name" slot-scope="text,record">
|
||||
<a style="color:#21c9cc" @click="fileNameClick(record)">
|
||||
@@ -478,6 +478,13 @@
|
||||
} else {
|
||||
downloadFile('/sys/common/download', fileQuery.fileName, { id: fileQuery.id })
|
||||
}
|
||||
},
|
||||
titleClick(item) {
|
||||
let newUrl = this.$router.resolve({
|
||||
path: '/docManage/library/detail',
|
||||
query: item
|
||||
})
|
||||
window.open(newUrl.href, '_blank')
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -541,7 +548,7 @@
|
||||
}
|
||||
|
||||
.text-right {
|
||||
width: 100%;
|
||||
width: calc(100% - 358px);
|
||||
position: relative;
|
||||
padding: 26px 0 22px 24px;
|
||||
box-sizing: border-box;
|
||||
|
||||
Reference in New Issue
Block a user