...
|
...
|
@@ -127,7 +127,9 @@ func GetAuditListForExcel(param protocol.RequestAuditList, companyid int64, user |
|
|
frontHost = "https://mmm-web-open-test.fjmaimaimai.com/#/ability/opportunity/export-detail"
|
|
|
}
|
|
|
soureData[i]["media"] = fmt.Sprintf("%s?chance_id=%v&check_sum=%s", frontHost, soureData[i]["id"], signString)
|
|
|
|
|
|
if soureData[i]["review_status"] == "0" || soureData[i]["review_status"] == "1" {
|
|
|
soureData[i]["approve_time"] = ""
|
|
|
}
|
|
|
}
|
|
|
excelhead := []exceltool.ExcelHead{
|
|
|
exceltool.ExcelHead{Key: "type", Name: "类型"},
|
...
|
...
|
@@ -138,12 +140,13 @@ func GetAuditListForExcel(param protocol.RequestAuditList, companyid int64, user |
|
|
exceltool.ExcelHead{Key: "nick_name", Name: "提交人"},
|
|
|
exceltool.ExcelHead{Key: "department", Name: "提交部门"},
|
|
|
exceltool.ExcelHead{Key: "create_at", Name: "提交时间"},
|
|
|
exceltool.ExcelHead{Key: "approve_time", Name: "审批通过时间"}, //
|
|
|
exceltool.ExcelHead{Key: "publish_status", Name: "公开状态"},
|
|
|
exceltool.ExcelHead{Key: "review_status", Name: "审核状态"},
|
|
|
exceltool.ExcelHead{Key: "status", Name: "关闭状态"},
|
|
|
exceltool.ExcelHead{Key: "source_content", Name: "内容"},
|
|
|
exceltool.ExcelHead{Key: "media", Name: "视频/图片/语音"},
|
|
|
exceltool.ExcelHead{Key: "discovery_score", Name: "得分"},
|
|
|
exceltool.ExcelHead{Key: "discovery_score", Name: "发现得分"},
|
|
|
}
|
|
|
return soureData, excelhead
|
|
|
} |
...
|
...
|
|