|
|
@@ -17,7 +17,26 @@
|
|
|
<dict-tag :options="dict.type.letter_status" :value="formData.status"/>
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item label="介绍信编号">{{formData.letterNo}}</el-descriptions-item>
|
|
|
- <el-descriptions-item label="接待机构">{{formData.receptionOrgNames}}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="接待机构">
|
|
|
+ {{formData.receptionOrgNames}}
|
|
|
+ </el-descriptions-item>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <el-descriptions-item label="接待机构">
|
|
|
+ <el-tooltip class="item" effect="dark" :content='formData.receptionOrgNames' placement="top">
|
|
|
+ <div class="ellipsis-tooltip">
|
|
|
+ {{ formData.receptionOrgNames}}
|
|
|
+ </div>
|
|
|
+ </el-tooltip>
|
|
|
+ <div class="count">
|
|
|
+ ({{formData.receptionOrgIds.length }})
|
|
|
+ </div>
|
|
|
+ </el-descriptions-item>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
<el-descriptions-item label="来访事由">{{formData.reasons}}</el-descriptions-item>
|
|
|
<el-descriptions-item label="开具日期">{{formData.startTimeStr}}</el-descriptions-item>
|
|
|
<el-descriptions-item label="有效天数">{{formData.effectiveDays}}</el-descriptions-item>
|
|
|
@@ -231,6 +250,25 @@ export default {
|
|
|
mounted() {},
|
|
|
};
|
|
|
</script>
|
|
|
+<style scoped>
|
|
|
+.ellipsis-tooltip {
|
|
|
+ display: inline-block;
|
|
|
+ max-width: 900px;
|
|
|
+ white-space: nowrap;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ vertical-align: bottom;
|
|
|
+ float: left;
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+.count {
|
|
|
+ white-space: nowrap;
|
|
|
+ margin-left: 5px;
|
|
|
+ float: left;
|
|
|
+}
|
|
|
+</style>
|
|
|
+
|
|
|
|
|
|
|
|
|
|