|
@@ -670,13 +670,29 @@ namespace Hotline.Api.Controllers
|
|
|
new KeyValuePair<int, string>(3, "已上架"),
|
|
|
new KeyValuePair<int, string>(4, "已下架"),
|
|
|
new KeyValuePair<int, string>(1, "审核中"),
|
|
|
- new KeyValuePair<int, string>(5, "审核不通过")
|
|
|
+ new KeyValuePair<int, string>(8, "草稿")
|
|
|
};
|
|
|
|
|
|
- return _baseDataApplication
|
|
|
+ var tabNewDraftsNames = new List<KeyValuePair<int, string>>
|
|
|
+ {
|
|
|
+ new KeyValuePair<int, string>(0, "待提交"),
|
|
|
+ new KeyValuePair<int, string>(5, "审核不通过"),
|
|
|
+ };
|
|
|
+
|
|
|
+ var tabAuditingNames = new List<KeyValuePair<string, string>>
|
|
|
+ {
|
|
|
+ new KeyValuePair<string, string>("知识新增", "新增审核"),
|
|
|
+ new KeyValuePair<string, string>("知识更新", "修改审核"),
|
|
|
+ new KeyValuePair<string, string>("知识删除", "删除审核"),
|
|
|
+ new KeyValuePair<string, string>("知识下架", "下架审核"),
|
|
|
+ };
|
|
|
+
|
|
|
+ return _baseDataApplication
|
|
|
.FileType(EFileType.excel | EFileType.pdf)
|
|
|
.Add("tabNames", tabNames)
|
|
|
- .Build();
|
|
|
+ .Add("tabNewDraftsNames", tabNewDraftsNames)
|
|
|
+ .Add("tabAuditingNames", tabAuditingNames)
|
|
|
+ .Build();
|
|
|
}
|
|
|
|
|
|
/// <summary>
|