|
@@ -594,7 +594,7 @@
|
|
|
</el-drawer>
|
|
|
<el-image-viewer
|
|
|
v-if="visible.add_img"
|
|
|
- style="z-index: 2200 !important;"
|
|
|
+ style="z-index: 9999 !important;"
|
|
|
:on-close="()=>{visible.add_img = false}"
|
|
|
:url-list="visible.add_img_url"
|
|
|
/>
|
|
@@ -1978,16 +1978,21 @@ export default {
|
|
|
ctx.fillStyle = '#000' // 分配颜色
|
|
|
ctx.textAlign = 'left'
|
|
|
const titleH = 100
|
|
|
- ctx.fillText('顾客信息', 360, titleH) // 绘制文本(text, x, y)
|
|
|
+ ctx.fillText('经销商 | 顾客信息', 360, titleH) // 绘制文本(text, x, y)
|
|
|
ctx.font = '20px Arial' // 文本大小, 字体
|
|
|
- ctx.fillStyle = '#000' // 分配颜色
|
|
|
ctx.textAlign = 'left'
|
|
|
this.sum = titleH + 30
|
|
|
data.forEach(v => {
|
|
|
- const name = v.customer_name.length > 18 ? v.customer_name.slice(0, 18) + '...' : v.customer_name
|
|
|
+ const name = v.customer_name.length > 8 ? v.customer_name.slice(0, 8) + '...' : v.customer_name
|
|
|
+ const user_nickname = v.user_nickname.length > 8 ? v.user_nickname.slice(0, 8) + '...' : v.user_nickname
|
|
|
+ // const user_nickname = '一二三四五经销商'
|
|
|
+ // const name = '一二三四五六顾客'
|
|
|
this.sum = this.sum + 50
|
|
|
ctx.drawImage(icon, 360, this.sum - 40, 25, 25)
|
|
|
- ctx.fillText(name, 400, this.sum - 20) // 绘制文本(text, x, y)
|
|
|
+ ctx.fillStyle = '#f30' // 分配颜色
|
|
|
+ ctx.fillText(user_nickname, 400, this.sum - 20) // 绘制文本(text, x, y)
|
|
|
+ ctx.fillStyle = '#000' // 分配颜色
|
|
|
+ ctx.fillText(name, 580, this.sum - 20) // 绘制文本(text, x, y)
|
|
|
ctx.moveTo(360, this.sum) // 起点
|
|
|
ctx.lineTo(750, this.sum) // 终点
|
|
|
ctx.lineWidth = 0.6 // 线宽
|