diff --git a/components/oa/oa-project-select/index.vue b/components/oa/oa-project-select/index.vue
new file mode 100644
index 0000000..213a951
--- /dev/null
+++ b/components/oa/oa-project-select/index.vue
@@ -0,0 +1,67 @@
+
+
+
+
+
diff --git a/components/oa/oa-user-select/index.vue b/components/oa/oa-user-select/index.vue
new file mode 100644
index 0000000..e69de29
diff --git a/pages.json b/pages.json
index 05c1a70..704ae69 100644
--- a/pages.json
+++ b/pages.json
@@ -350,5 +350,11 @@
"app-plus": {
"bounce": "none"
}
- }
+ },
+ "easycom": {
+ "autoscan": true,
+ "custom": {
+ "^oa-(.*)": "components/oa/oa-$1/index.vue"
+ }
+ }
}
diff --git a/pages/workbench/reportSchedule/reportSchedule.vue b/pages/workbench/reportSchedule/reportSchedule.vue
index d6c20ce..bfc0c11 100644
--- a/pages/workbench/reportSchedule/reportSchedule.vue
+++ b/pages/workbench/reportSchedule/reportSchedule.vue
@@ -1,68 +1,66 @@
-
-
- 表格视图
- 甘特图视图
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 筛选
+
+
+ 项目
+
+
+
+ 执行人
+
+
+
+ 日期
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 筛选
-
-
- 项目
-
-
-
- 执行人
-
-
-
- 日期
-
-
-
-
-
-
-
-
-
-
-
@@ -546,6 +544,12 @@ export default {
}
]
}
+ },
+ toggleGanttView() {
+ this.showGanttView = !this.showGanttView;
+ if (this.showGanttView) {
+ this.ganttChartData = this.getGanttChartData(this.reportScheduleList);
+ }
}
}
}
@@ -573,7 +577,18 @@ export default {
}
.task-type-button-container {
- position: relative;
+ display: flex;
+ gap: 12rpx;
+}
+
+.task-type-button {
+ width: 60rpx;
+ height: 60rpx;
+ background-color: transparent;
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
}
.search-input {
@@ -609,17 +624,6 @@ export default {
align-items: center;
}
-.task-type-button,
-.add-button {
- width: 60rpx;
- height: 60rpx;
- background-color: transparent;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
.drawer-content {
padding: 32rpx 24rpx 24rpx 24rpx;
}