Commit 49a2a6d4 by lixinming

no message

parent 6d2da78e
...@@ -135,7 +135,7 @@ export async function xueHuiGaiKuang() { ...@@ -135,7 +135,7 @@ export async function xueHuiGaiKuang() {
xueHuiLingDaoData.forEach(info => { xueHuiLingDaoData.forEach(info => {
let item:any = extractData(info, ["name", "position", "imgUrl", "miniImgUrl", "desc"]); let item:any = extractData(info, ["name", "position", "imgUrl", "miniImgUrl", "desc"]);
item.position = changeEnumValue(XUEHUILINGDAOZHIWEI, item.position); item.position = changeEnumValue(XUEHUILINGDAOZHIWEI, item.position);
result.xueHuiLingDao.push(); result.xueHuiLingDao.push();
}); });
/**组织架构 */ /**组织架构 */
...@@ -241,6 +241,9 @@ export async function dongTaiZiXun({type, pageNumber}) { ...@@ -241,6 +241,9 @@ export async function dongTaiZiXun({type, pageNumber}) {
*/ */
export async function wenZhangXiangQing({id}) { export async function wenZhangXiangQing({id}) {
let dataBaseInfo = await findOnce(TABLEENUM.文章管理, {id, display:STATE.}); let dataBaseInfo = await findOnce(TABLEENUM.文章管理, {id, display:STATE.});
if (!dataBaseInfo || !dataBaseInfo.id) {
throw new BizError(ERRORENUM.目标数据不存在);
}
let dataInfo:any = extractData(dataBaseInfo, [ "articleTime", "imgUrl", "title", "desc"]); let dataInfo:any = extractData(dataBaseInfo, [ "articleTime", "imgUrl", "title", "desc"]);
dataInfo.articleTime = moment(dataInfo.articleTime).format("YYYY-MM-DD"); dataInfo.articleTime = moment(dataInfo.articleTime).format("YYYY-MM-DD");
dataInfo.source = "中国艺术职业教育学会"; dataInfo.source = "中国艺术职业教育学会";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment