diff --git a/public/dashboard/index.html b/public/dashboard/index.html
index bc901e9..c8a118b 100644
--- a/public/dashboard/index.html
+++ b/public/dashboard/index.html
@@ -341,8 +341,11 @@
var outs = datas.outOrder
$(".outOrder").empty("")
outs.map(item=>{
+ var contactName = item.contact?
+ item.contact.charAt(0) + item.contact.slice(1).replace(new RegExp(item.contact.charAt(1), "g"), '*')
+ :'**'
$(".outOrder").append("
| "
- +item.contact+" | "+item.project.name+" | "+
+ +contactName+""+item.project.name+" | "+
""+item.status_name+" | "+
"
")
})
@@ -350,9 +353,12 @@
var tips = datas.tip
$(".tip").empty("")
tips.map(item=>{
- $(".tip").append("| "+
- item.contact+"评价:"+item.comment+" | "+
- // ""+item.project.name+" | "+
+ var contactName = item.contact?
+ item.contact.charAt(0) + item.contact.slice(1).replace(new RegExp(item.contact.charAt(1), "g"), '*')
+ :'**'
+ $(".tip").append("
| "+
+ contactName+"评价:"+item.comment+" | "+
+ ""+item.project.name+" | "+
"
")
})
console.log("result", result)