|
@@ -7,7 +7,6 @@
|
|
|
'w22':exhibitionBaseInformation.style == 4}"
|
|
|
style="display: inline-block;margin-left: 20px">
|
|
|
<span> {{value.InfoPointName}}:</span>
|
|
|
-
|
|
|
<el-popover
|
|
|
v-if="value.Value && value.Value.length && value.Value.length>12 && value.Path=='EquipQRCode'"
|
|
|
placement="top"
|
|
@@ -16,21 +15,33 @@
|
|
|
<p style="border-bottom: 1px solid #eee;padding:2px 0 4px 0;'">{{value.InfoPointName}}</p>
|
|
|
<div style="overflow:hidden;">
|
|
|
<div style="float:left;width: 60%">
|
|
|
- <img
|
|
|
- style="width:200px;height:200px;"
|
|
|
- :src="'/image-service/common/file_get/'+ value.Value +'?systemId=dataPlatform'"
|
|
|
- alt="二维码"
|
|
|
- >
|
|
|
+ <img
|
|
|
+ style="width:200px;height:200px;"
|
|
|
+ :src="'/image-service/common/file_get/'+ value.Value +'?systemId=dataPlatform'"
|
|
|
+ alt="二维码"
|
|
|
+ >
|
|
|
</div>
|
|
|
<div style="float:right;width: 40%;margin-top: 30px">
|
|
|
- <span>{{value.Value}}</span>
|
|
|
+ <span>{{value.Value}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
<div style="text-align: center; margin: 0">
|
|
|
<el-button type="text" size="mini" @click="handleCopy(value.Value)">复制</el-button>
|
|
|
</div>
|
|
|
- <el-button slot="reference" type="text">{{handleName(value.Value)}}</el-button>
|
|
|
+ <el-button slot="reference" type="text">{{value.Value ? '有' :'-'}}</el-button>
|
|
|
+ </el-popover>
|
|
|
+ <el-popover
|
|
|
+ v-else-if="Array.isArray(value.Value) && value.InputMode== 'F2'"
|
|
|
+ placement="top"
|
|
|
+ width="250"
|
|
|
+ trigger="hover">
|
|
|
+ <p style="border-bottom: 1px solid #eee;padding:2px 0 4px 0;'">{{value.InfoPointName}}</p>
|
|
|
+ <div v-for="(pic,index) in value.Value">
|
|
|
+ <div>图纸名称:{{pic.Name}}
|
|
|
+ <el-button style="" type="text" size="mini" @click="downloadFile(pic.Key)">下载</el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <el-button slot="reference" type="text">{{value.Value? '有':'-'}}</el-button>
|
|
|
</el-popover>
|
|
|
<el-popover
|
|
|
v-else-if="value.Value && value.Value.length && value.Value.length>12"
|
|
@@ -44,10 +55,20 @@
|
|
|
</div>
|
|
|
<el-button slot="reference" type="text">{{handleName(value.Value)}}</el-button>
|
|
|
</el-popover>
|
|
|
+ <el-popover
|
|
|
+ v-else-if="Array.isArray(value.Value) || value.InputMode=='N2'"
|
|
|
+ placement="top"
|
|
|
+ width="300"
|
|
|
+ trigger="hover">
|
|
|
+ <p style="border-bottom: 1px solid #eee;padding:2px 0 4px 0;'">{{value.InfoPointName}}</p>
|
|
|
+ <p>{{value.Value}}</p>
|
|
|
+ <div style="text-align: center; margin: 0">
|
|
|
+ <el-button type="text" size="mini" @click="handleCopy(value.Value)">复制</el-button>
|
|
|
+ </div>
|
|
|
+ <el-button slot="reference" type="text">{{value.Value ? '有' :'-'}}</el-button>
|
|
|
+ </el-popover>
|
|
|
<span v-else>{{value.Value}}</span>
|
|
|
</div>
|
|
|
-
|
|
|
-
|
|
|
</section>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -60,6 +81,10 @@
|
|
|
return {}
|
|
|
},
|
|
|
methods: {
|
|
|
+ downloadFile(key) {
|
|
|
+ window.open("/image-service/common/file_get/" + key + "?systemId=dataPlatform")
|
|
|
+
|
|
|
+ },
|
|
|
handleCopy(data) {
|
|
|
let oInput = document.createElement('input')
|
|
|
oInput.value = data
|