commit
This commit is contained in:
+1
-1
@@ -556,7 +556,7 @@ public class ProposalCommonServiceImpl extends BaseServiceImpl<ProposalInfo> imp
|
|||||||
if (ObjectUtil.isNotEmpty(nextSession)) {
|
if (ObjectUtil.isNotEmpty(nextSession)) {
|
||||||
docData.put("newSessionYear", nextSession.getStartDate().getYear());
|
docData.put("newSessionYear", nextSession.getStartDate().getYear());
|
||||||
docData.put("newSessionMonth", nextSession.getStartDate().getMonth());
|
docData.put("newSessionMonth", nextSession.getStartDate().getMonth());
|
||||||
docData.put("newSessionDay", nextSession.getStartDate().getMonth());
|
docData.put("newSessionDay", nextSession.getStartDate().getDay());
|
||||||
docData.put("newSessionName", nextSession.getFullName());
|
docData.put("newSessionName", nextSession.getFullName());
|
||||||
docData.put("currentMonth", DateUtil.thisMonth());
|
docData.put("currentMonth", DateUtil.thisMonth());
|
||||||
|
|
||||||
|
|||||||
@@ -74,11 +74,11 @@ const commonUtil = {
|
|||||||
const content = reader.result
|
const content = reader.result
|
||||||
// 将字符串解析为 JSON 对象
|
// 将字符串解析为 JSON 对象
|
||||||
const jsonObject = JSON.parse(content)
|
const jsonObject = JSON.parse(content)
|
||||||
this.$message.error(jsonObject.msg)
|
ELEMENT.Message.error(jsonObject.msg)
|
||||||
}
|
}
|
||||||
reader.readAsText(response.data)
|
reader.readAsText(response.data)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.$message.error("下载文件出错")
|
ELEMENT.Message.error("下载文件出错")
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user