diff --git a/.env.development b/.env.development
index c17e50e..54a314d 100644
--- a/.env.development
+++ b/.env.development
@@ -9,13 +9,13 @@ VITE_APP_ENV = 'development'
# 李陈杰 209
# VITE_APP_BASE_API = 'http://192.168.110.209:8899'
# 李陈杰 209
-# VITE_APP_BASE_API = 'http://192.168.110.209:8899'
+ VITE_APP_BASE_API = 'http://192.168.110.209:8899'
# 曾涛
-VITE_APP_BASE_API = 'http://192.168.110.149:8899'
+# VITE_APP_BASE_API = 'http://192.168.110.149:8899'
# 罗成
# VITE_APP_BASE_API = 'http://192.168.110.188:8899'
# 朱银
-VITE_APP_BASE_API = 'http://192.168.110.149:8899'
+# VITE_APP_BASE_API = 'http://192.168.110.149:8899'
#曾涛
# VITE_APP_BASE_API = 'http://192.168.110.171:8899'
# 屈展航
diff --git a/src/api/progress/constructionSchedulePlan/types.ts b/src/api/progress/constructionSchedulePlan/types.ts
index a75768b..864ed67 100644
--- a/src/api/progress/constructionSchedulePlan/types.ts
+++ b/src/api/progress/constructionSchedulePlan/types.ts
@@ -66,6 +66,7 @@ export interface ConstructionSchedulePlanForm extends BaseEntity {
*/
id?: string | number;
parentId?: string | number;
+ projectStructureName?: string;
/**
* 项目ID
*/
diff --git a/src/views/progress/constructionSchedulePlan/index.vue b/src/views/progress/constructionSchedulePlan/index.vue
index d99a8fe..3d4f00a 100644
--- a/src/views/progress/constructionSchedulePlan/index.vue
+++ b/src/views/progress/constructionSchedulePlan/index.vue
@@ -27,6 +27,21 @@
新增
+
+
+ 导入
+
+
+
+ 导出
+
展开/折叠
@@ -126,22 +141,10 @@
-
+
-
+
@@ -221,6 +224,7 @@ const initFormData = {
remark: undefined,
projectStructureName: undefined
};
+const file = ref();
const data = reactive>({
form: { ...initFormData },
@@ -279,6 +283,17 @@ const cancel = () => {
dialog.visible = false;
};
+const handleExport = async () => {
+ const ids = queryParams.value.projectId;
+ proxy?.download('/progress/constructionSchedulePlan/exportTemplate/' + ids, {}, `施工里程碑计划模版.xlsx`, true);
+};
+
+const handleSuccess = () => {
+ console.log(111);
+ proxy.$modal.msgSuccess('操作成功');
+ getList();
+};
+
// 表单重置
const reset = () => {
form.value = { ...initFormData };