[update 标准解读流程] 完善
This commit is contained in:
+13
-1
@@ -380,7 +380,7 @@ export default {
|
||||
// 分解单来源
|
||||
decompositionSource: compData.standardData[0] && compData.standardData[0].decompositionSource,
|
||||
// 标准id
|
||||
standardId: compData.standardData[0] && compData.standardData[0].id,
|
||||
standardId: compData.standardData[0] && compData.standardData[0].standardId,
|
||||
projectId: this.projectId
|
||||
})
|
||||
params.data.processStandardInterpretClauseList = compData.clauseData
|
||||
@@ -415,6 +415,18 @@ export default {
|
||||
params.data.processStandardInterpretClauseList = []
|
||||
params.data.processStandardInterpretClauseSublistList = compData.clauseInterpretData
|
||||
}
|
||||
// 后端取值不能为空,设置成空字符串
|
||||
const notIsNullField = [
|
||||
'approvePersonId', // 批准人员
|
||||
'countersignPersonIds', // 会签人员
|
||||
'masterInterpretId', // 主解读人
|
||||
'uploader' // 审核人员
|
||||
]
|
||||
notIsNullField.forEach(field => {
|
||||
if (!params.data.processStandardInterpret[field]) {
|
||||
params.data.processStandardInterpret[field] = ''
|
||||
}
|
||||
})
|
||||
|
||||
// 保存草稿信息
|
||||
params.infoJsonStr = JSON.stringify({
|
||||
|
||||
Reference in New Issue
Block a user