|
@@ -891,8 +891,8 @@ func GetXlsxs(mMap []map[string]interface{}, fn, email, id string, isfile bool)
|
|
|
}
|
|
|
row.AddCell().SetValue(v["href"])
|
|
|
row.AddCell().SetValue(v["jybxhref"])
|
|
|
- row.AddCell().SetValue(v["projectcode"])
|
|
|
row.AddCell().SetValue(v["projectname"])
|
|
|
+ row.AddCell().SetValue(v["projectcode"])
|
|
|
row.AddCell().SetValue(v["projectscope"])
|
|
|
if v["budget"] != nil {
|
|
|
row.AddCell().SetFloat(qu.Float64All(v["budget"]))
|
|
@@ -919,6 +919,8 @@ func GetXlsxs(mMap []map[string]interface{}, fn, email, id string, isfile bool)
|
|
|
row.AddCell().SetValue(v["legal_person"])
|
|
|
row.AddCell().SetValue(v["company_phone"])
|
|
|
row.AddCell().SetValue(v["company_email"])
|
|
|
+ ids := SE.EncodeString(qu.ObjToString(v["id"]))
|
|
|
+ row.AddCell().SetValue(ids)
|
|
|
if isfile {
|
|
|
row.AddCell().SetValue(v["filetext"])
|
|
|
}
|
|
@@ -993,8 +995,8 @@ func GetXlsxs(mMap []map[string]interface{}, fn, email, id string, isfile bool)
|
|
|
}
|
|
|
row.AddCell().SetValue(v["href"])
|
|
|
row.AddCell().SetValue(v["jybxhref"])
|
|
|
- row.AddCell().SetValue(v["projectcode"])
|
|
|
row.AddCell().SetValue(v["projectname"])
|
|
|
+ row.AddCell().SetValue(v["projectcode"])
|
|
|
row.AddCell().SetValue(v["projectscope"])
|
|
|
if v["budget"] != nil {
|
|
|
row.AddCell().SetFloat(qu.Float64All(v["budget"]))
|
|
@@ -1021,9 +1023,12 @@ func GetXlsxs(mMap []map[string]interface{}, fn, email, id string, isfile bool)
|
|
|
row.AddCell().SetValue(v["legal_person"])
|
|
|
row.AddCell().SetValue(v["company_phone"])
|
|
|
row.AddCell().SetValue(v["company_email"])
|
|
|
+ ids := SE.EncodeString(qu.ObjToString(v["id"]))
|
|
|
+ row.AddCell().SetValue(ids)
|
|
|
}
|
|
|
xf.Sheets = xf.Sheets[3:4]
|
|
|
}
|
|
|
+ xf.Sheets[0].Name = "详细数据"
|
|
|
//生文件
|
|
|
t := strconv.FormatInt(time.Now().Unix(), 10)
|
|
|
dir := "./web/res/xlsx/" + t + "/"
|