Merge branch 'master-500-dev-ztq1' into 'master-500-dev'
快照管理目录创建 See merge request !737
Showing
5 changed files
with
48 additions
and
0 deletions
@@ -149,6 +149,12 @@ const routes = [{ | @@ -149,6 +149,12 @@ const routes = [{ | ||
149 | name: 'busyConfig', | 149 | name: 'busyConfig', |
150 | component: () => myImport('views/busyConfig/index') | 150 | component: () => myImport('views/busyConfig/index') |
151 | }, | 151 | }, |
152 | + //快照管理 | ||
153 | + { | ||
154 | + path: '/vue3/snapshot', | ||
155 | + name: 'snapshot', | ||
156 | + component: () => myImport('views/snapshot/index') | ||
157 | + }, | ||
152 | ]; | 158 | ]; |
153 | 159 | ||
154 | // hash模式: createWebHashHistory | 160 | // hash模式: createWebHashHistory |
1 | +<div class="container" :style="{'height':height+'px','max-height':height+'px'}"> | ||
2 | + <div class="cm-card" :style="{'min-height':height+'px','max-height':height+'px','height':'100%','padding-top':'3px'}"> | ||
3 | + <div class="search"> | ||
4 | + <div class="condition"> | ||
5 | + <el-form | ||
6 | + ref="ruleFormRef" | ||
7 | + :model="ruleForm" | ||
8 | + :rules="rules" | ||
9 | + label-width="0px" | ||
10 | + class="demo-ruleForm" | ||
11 | + :size="formSize" | ||
12 | + status-icon | ||
13 | + > | ||
14 | + </el-form> | ||
15 | + </div> | ||
16 | + </div> | ||
17 | + </div> | ||
18 | +</div> |
1 | +export default { | ||
2 | + name:"snapshot", | ||
3 | + template:"", | ||
4 | + setup(props, {attrs, slots, emit}){ | ||
5 | + const {proxy} = Vue.getCurrentInstance(); | ||
6 | + let height = Vue.ref(window.innerHeight); | ||
7 | + let formSize = Vue.ref('default'); | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + return{ | ||
12 | + height, | ||
13 | + formSize | ||
14 | + } | ||
15 | + } | ||
16 | +} |
@@ -244,6 +244,12 @@ const routes = [{ | @@ -244,6 +244,12 @@ const routes = [{ | ||
244 | name: 'busyConfig', | 244 | name: 'busyConfig', |
245 | component: () => myImport('views/busyConfig/index') | 245 | component: () => myImport('views/busyConfig/index') |
246 | }, | 246 | }, |
247 | + //快照管理 | ||
248 | + { | ||
249 | + path: '/vue3/snapshot', | ||
250 | + name: 'snapshot', | ||
251 | + component: () => myImport('views/snapshot/index') | ||
252 | + }, | ||
247 | ]; | 253 | ]; |
248 | 254 | ||
249 | // hash模式: createWebHashHistory | 255 | // hash模式: createWebHashHistory |
-
Please register or login to post a comment