diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 0000000000000000000000000000000000000000..21b55398391144ce9f800739e8f481eeb14c9ece
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1,10 @@
+node_modules
+dist
+pnpm-lock.yaml
+auto-imports.d.ts
+components.d.ts
+env.d.ts
+*.md
+iconfont.js
+.DS_Store
+.history
diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 0000000000000000000000000000000000000000..0abebd5b07754a21e0ea6affe0043fa36df4d60d
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,7 @@
+{
+ "$schema": "http://json.schemastore.org/prettierrc",
+ "semi": true,
+ "singleQuote": false,
+ "bracketSameLine": true
+ }
+
\ No newline at end of file
diff --git a/.vscode/settings.json b/.vscode/settings.json
index e7678a340de87f1f24a8f0db2f240b35f00c68bf..29a7e571a7b00dece05b6991a16bf42c5100aba6 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,4 +1,17 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
- "GitCommitPlugin.ShowEmoji": false
+ "GitCommitPlugin.ShowEmoji": false,
+ "editor.formatOnSave": false,
+ "editor.codeActionsOnSave": {
+ "source.fixAll.eslint": true
+ },
+ "volar.inlayHints.eventArgumentInInlineHandlers": false,
+ // "path-intellisense.mappings": {
+ // "@": "${workspaceFolder}/src"
+ // },
+ // 文件保存自动格式化
+ "editor.formatOnSave": true,
+ "[vue]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ }
}
diff --git a/jsconfig.json b/jsconfig.json
new file mode 100644
index 0000000000000000000000000000000000000000..c7d669278eda9e49238342b07e2e7608cc687402
--- /dev/null
+++ b/jsconfig.json
@@ -0,0 +1,13 @@
+// https://code.visualstudio.com/docs/languages/jsconfig
+{
+ "compilerOptions": {
+ "baseUrl": ".",
+ "module": "commonjs",
+ "target": "es6",
+ "paths": {
+ "@/*": ["./src/*"]
+ }
+ },
+ "exclude": [".git", "node_modules", "dist"]
+ }
+
\ No newline at end of file
diff --git a/src/assets/css/common.scss b/src/assets/css/common.scss
new file mode 100644
index 0000000000000000000000000000000000000000..d045c05f9435dcfd12775554f9bc5d521a749882
--- /dev/null
+++ b/src/assets/css/common.scss
@@ -0,0 +1,45 @@
+.detail_container {
+ width: 100%;
+ padding: 0 24px;
+ min-height: 100%;
+ display: flex;
+ flex-direction: column;
+ justify-content: flex-start;
+ align-items: stretch;
+
+ .main_container {
+ flex-grow: 1;
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ justify-content: flex-start;
+ align-items: stretch;
+ background-color: #fff;
+ box-shadow: 0 1px 4px 0 rgba(0, 7, 101, 0.15);
+ border-radius: 6px;
+ padding: 0 0 16px 0;
+ margin-bottom: 16px;
+ position: relative;
+
+ .table_container {
+ padding: 0 16px;
+
+ .el-table {
+ flex: 1;
+
+ .mock_tip {
+ display: inline-block;
+ font-size: 12px;
+ color: #2b4695;
+ width: 43px;
+ height: 20px;
+ text-align: center;
+ background-color: #eff2fa;
+ border-radius: 3px;
+ border: solid 1px #b0bee8;
+ margin-left: 4px;
+ }
+ }
+ }
+ }
+ }
\ No newline at end of file
diff --git a/src/main.js b/src/main.js
index 8fb3d7de833dbafe532e0322a83394e92b51c284..e3c44263a6b327cca7832ef61de2d0e26755ef09 100644
--- a/src/main.js
+++ b/src/main.js
@@ -12,6 +12,8 @@ import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import bgui from "@/bg-ui";
import "@/bg-ui/index.scss";
+import "./assets/css/common.scss"
+
import msgSdk from "./msg-sdk/index.js";
import App from "./App.vue";
diff --git a/src/page/main/auto-maintenance/task-manage/index.vue b/src/page/main/auto-maintenance/task-manage/index.vue
index 81696be56c789df202e18ac56a4150a41bb3b85a..287eacdc86e8a9158577f532986ef367373bb780 100644
--- a/src/page/main/auto-maintenance/task-manage/index.vue
+++ b/src/page/main/auto-maintenance/task-manage/index.vue
@@ -1,7 +1,621 @@
- 任务管理
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
-
+
+
+