|
@@ -4,7 +4,11 @@
|
|
|
<div class="row">
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
<div class="col-md-12">
|
|
|
<h1 class="page-header" style="margin-top: 10px; margin-bottom: 0px">
|
|
<h1 class="page-header" style="margin-top: 10px; margin-bottom: 0px">
|
|
|
- <AuthImage
|
|
|
|
|
|
|
+ <a-image
|
|
|
|
|
+ style="width: 78px; height: 78px"
|
|
|
|
|
+ :src="Common.getThumbnailImageSrc(assetClassName,showAssetInstance.imageName)"
|
|
|
|
|
+ />
|
|
|
|
|
+ <!-- <AuthImage
|
|
|
:auth-src="
|
|
:auth-src="
|
|
|
Common.getThumbnailImageSrc(
|
|
Common.getThumbnailImageSrc(
|
|
|
assetClassName,
|
|
assetClassName,
|
|
@@ -19,7 +23,7 @@
|
|
|
showAssetInstance.imageName
|
|
showAssetInstance.imageName
|
|
|
)
|
|
)
|
|
|
"
|
|
"
|
|
|
- />
|
|
|
|
|
|
|
+ /> -->
|
|
|
|
|
|
|
|
{{ $t("lang.AssetInstanceSearchDetail.assetCardDetails") }}
|
|
{{ $t("lang.AssetInstanceSearchDetail.assetCardDetails") }}
|
|
|
</h1>
|
|
</h1>
|
|
@@ -775,8 +779,8 @@
|
|
|
<td>{{ item.type }}</td>
|
|
<td>{{ item.type }}</td>
|
|
|
<td>
|
|
<td>
|
|
|
<a-image
|
|
<a-image
|
|
|
- :width="200"
|
|
|
|
|
- :src="getImageSrc(item.className,item.image)"
|
|
|
|
|
|
|
+ style="width: 80px; height: 50px"
|
|
|
|
|
+ :src="Common.getThumbnailImageSrc(item.className,item.image)"
|
|
|
/>
|
|
/>
|
|
|
<!-- <img
|
|
<!-- <img
|
|
|
:authSrc="
|
|
:authSrc="
|
|
@@ -925,23 +929,6 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
|
-
|
|
|
|
|
- // 获取图片路径
|
|
|
|
|
- getImageSrc : function(className, imageName) {
|
|
|
|
|
- var protocol = window.location.protocol;
|
|
|
|
|
- var host = window.location.host;
|
|
|
|
|
- var localhostPath = protocol + '//' + host ;
|
|
|
|
|
-
|
|
|
|
|
- var accountId = localStorage.getItem('#accountId');
|
|
|
|
|
- if (imageName == null) {
|
|
|
|
|
- return null;
|
|
|
|
|
- }
|
|
|
|
|
- if (imageName != null && imageName[0] == '/') {
|
|
|
|
|
- return localhostPath + '/Files/' + accountId + '/Images/' + className + imageName;
|
|
|
|
|
- } else {
|
|
|
|
|
- return localhostPath + '/Files/' + accountId + '/Images/' + className + '/' + imageName;
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
getEventOriginalEndDate: function () {
|
|
getEventOriginalEndDate: function () {
|
|
|
const _self = this;
|
|
const _self = this;
|
|
|
// 前一个月的时间
|
|
// 前一个月的时间
|