|
@@ -21,7 +21,7 @@ const assessment = {
|
|
techol_stable: { type: String, required: false }, // 技术稳定性
|
|
techol_stable: { type: String, required: false }, // 技术稳定性
|
|
techol_advanced: { type: String, required: false }, // 技术先进性
|
|
techol_advanced: { type: String, required: false }, // 技术先进性
|
|
is_money: { type: String, required: false }, // 是否缴费
|
|
is_money: { type: String, required: false }, // 是否缴费
|
|
- status: { type: String, required: false }, // 状态,0:待审中,1:审核通过,待发报告文件,-1:审核未通过,2:文件已发,请及时下载
|
|
|
|
|
|
+ status: { type: String, required: false, default: '0' }, // 状态,0:待审中,1:审核通过,待发报告文件,-1:审核未通过,2:文件已发,请及时下载
|
|
file: { type: Array, required: false }, // 报告文件
|
|
file: { type: Array, required: false }, // 报告文件
|
|
};
|
|
};
|
|
const schema = new Schema(assessment, { toJSON: { virtuals: true } });
|
|
const schema = new Schema(assessment, { toJSON: { virtuals: true } });
|