|
|
@@ -361,8 +361,8 @@ export default {
|
|
|
const param = { campId: campId };
|
|
|
getPeriodList(param).then((response) => {
|
|
|
console.log('接口返回数据:', response);
|
|
|
- console.log('营期列表数据:', response.data.list);
|
|
|
- this.deptOptions = response.data.list || [];
|
|
|
+ console.log('营期列表数据:', response.data);
|
|
|
+ this.deptOptions = response.data || [];
|
|
|
console.log('deptOptions 已赋值:', this.deptOptions);
|
|
|
}).catch(error => {
|
|
|
console.error('获取营期数据失败:', error);
|