统一bug修改
This commit is contained in:
parent
cf0fd156b1
commit
abbae8a922
|
|
@ -330,9 +330,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -246,9 +246,11 @@ export default {
|
|||
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
this.detailsDataInit();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -226,9 +226,11 @@ export default {
|
|||
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
this.detailsDataInit();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -300,9 +300,11 @@ export default {
|
|||
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
this.detailsDataInit();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -287,9 +287,11 @@ export default {
|
|||
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
this.detailsDataInit();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -190,9 +190,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -142,9 +142,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -209,9 +209,11 @@ export default {
|
|||
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
this.detailsDataInit();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -286,9 +286,11 @@ export default {
|
|||
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
this.detailsDataInit();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -198,9 +198,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -197,9 +197,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -149,9 +149,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -196,9 +196,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -197,9 +197,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -149,9 +149,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -187,9 +187,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -197,9 +197,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -149,9 +149,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -183,9 +183,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -197,9 +197,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -149,9 +149,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -180,9 +180,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -197,9 +197,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -149,9 +149,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -189,9 +189,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -197,9 +197,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -149,9 +149,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -184,9 +184,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -197,9 +197,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -149,9 +149,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -187,9 +187,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -197,9 +197,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -149,9 +149,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -186,9 +186,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -197,9 +197,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -149,9 +149,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -298,9 +298,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -278,9 +278,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -197,9 +197,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -288,9 +288,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -278,9 +278,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -283,9 +283,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -303,9 +303,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -278,9 +278,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -149,9 +149,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -831,9 +831,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
});
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
};
|
||||
this.detailDataInit();
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -265,9 +265,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -197,9 +197,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -273,9 +273,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -268,9 +268,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -268,9 +268,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -268,9 +268,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -273,9 +273,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -268,9 +268,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -149,9 +149,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -243,9 +243,12 @@ export default {
|
|||
this.$forceUpdate()
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -245,9 +245,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -197,9 +197,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -202,9 +202,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -180,9 +180,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -276,9 +276,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -241,9 +241,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -239,9 +239,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -195,9 +195,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -255,9 +255,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -611,9 +611,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -251,9 +251,11 @@ export default {
|
|||
this.isEdit = true;
|
||||
} else {
|
||||
// 如果没有id参数,说明是新增模式
|
||||
if(this.addModeItems){
|
||||
this.addModeItems.forEach(item => {
|
||||
this.formOptions.items.push(item);
|
||||
this.pageOptions.formOptions.items.push(item);
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue