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