|
|
@@ -513,6 +513,7 @@
|
|
|
:visible.sync="projectDialogVisible"
|
|
|
width="800px"
|
|
|
>
|
|
|
+
|
|
|
<el-form :model="projectForm" label-width="150px">
|
|
|
<el-form-item label="项目:">
|
|
|
<el-select
|
|
|
@@ -810,8 +811,6 @@ export default {
|
|
|
this.projectForm = {
|
|
|
projects: [],
|
|
|
};
|
|
|
-
|
|
|
- this.projectOptions = [];
|
|
|
// 获取初始项目列表
|
|
|
},
|
|
|
|
|
|
@@ -826,9 +825,11 @@ export default {
|
|
|
page_size: 50
|
|
|
}
|
|
|
);
|
|
|
-
|
|
|
- if (response.status === 200) {
|
|
|
+ console.log(response);
|
|
|
+ if (response.data.status === 200) {
|
|
|
+
|
|
|
this.projectOptions = response.data.data.dataList;
|
|
|
+ console.log( this.projectOptions);
|
|
|
}
|
|
|
} catch (error) {
|
|
|
console.error("搜索项目失败:", error);
|