|
@@ -144,9 +144,9 @@ const getConfigByProjectId = async ()=>{
|
|
|
// 如果projectType 为 1 则选中 公路工程,为 2,则选中水里水电工程,为3,则两个都选中
|
|
|
// factorType信息为字符串,格式为"1,2,3,4",包含 1,则选中案卷封面,包含2则选中卷内目录,包含3则选中脊背,包含4则选中备考表
|
|
|
config.value = res.data
|
|
|
- dirType.value = res.data['dirType']//目录类型
|
|
|
- indexType.value = res.data['indexType']//流水号类型
|
|
|
- indexNum.value = res.data['indexNum']//虚位树
|
|
|
+ dirType.value = res.data['dirType'] || 0//目录类型
|
|
|
+ indexType.value = res.data['indexType'] || 0//流水号类型
|
|
|
+ indexNum.value = res.data['indexNum'] || 0//虚位树
|
|
|
if (config.value.projectType == 1 || config.value.projectType == 2) {
|
|
|
projectTypeList.value = [config.value.projectType]
|
|
|
} else if (config.value.projectType == 3) {
|