|
@@ -100,7 +100,7 @@
|
|
联系人
|
|
联系人
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="16" class="otherInfo textOver">
|
|
<el-col :span="16" class="otherInfo textOver">
|
|
- {{ detailInfo.contacts || '暂无' }}
|
|
|
|
|
|
+ {{ getphone(detailInfo.contacts) || '暂无' }}
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
@@ -110,8 +110,8 @@
|
|
<el-col :span="16" class="otherInfo textOver">
|
|
<el-col :span="16" class="otherInfo textOver">
|
|
<!-- {{ detailInfo.qqwx || '暂无' }} -->
|
|
<!-- {{ detailInfo.qqwx || '暂无' }} -->
|
|
<el-tooltip class="item" effect="dark" placement="top">
|
|
<el-tooltip class="item" effect="dark" placement="top">
|
|
- <div slot="content">{{ detailInfo.qqwx || '暂无' }}</div>
|
|
|
|
- <p class="textOver">{{ detailInfo.qqwx || '暂无' }}</p>
|
|
|
|
|
|
+ <div slot="content">{{ getphone(detailInfo.qqwx) || '暂无' }}</div>
|
|
|
|
+ <p class="textOver">{{ getphone(detailInfo.qqwx) || '暂无' }}</p>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -235,6 +235,20 @@ export default {
|
|
else if (data.degreeurgency == '特急') this.$set(this, `value`, 1);
|
|
else if (data.degreeurgency == '特急') this.$set(this, `value`, 1);
|
|
else this.$set(this, `value`, 0);
|
|
else this.$set(this, `value`, 0);
|
|
},
|
|
},
|
|
|
|
+ // 隐藏手机号
|
|
|
|
+ getphone(value) {
|
|
|
|
+ if (value == undefined) {
|
|
|
|
+ return '暂无';
|
|
|
|
+ } else {
|
|
|
|
+ if (value.length === 11) {
|
|
|
|
+ let start = value.slice(0, 4);
|
|
|
|
+ let end = value.slice(-3);
|
|
|
|
+ return `${start}****${end}`;
|
|
|
|
+ } else {
|
|
|
|
+ return value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
detailInfo: {
|
|
detailInfo: {
|