41e3b99e by 田浩浩

111

1 parent bb0503b1
...@@ -6,29 +6,29 @@ export function Init (data) { ...@@ -6,29 +6,29 @@ export function Init (data) {
6 let apiUrl = ""; 6 let apiUrl = "";
7 switch (data.get("djlx")) { 7 switch (data.get("djlx")) {
8 case "100": 8 case "100":
9 apiUrl = "/ywbl/jsydsyqlr/fristInit"; 9 apiUrl = "/rest/ywbl/jsydsyqlr/fristInit";
10 break; 10 break;
11 case "200": 11 case "200":
12 apiUrl = "/ywbl/jsydsyqlr/transferInit"; 12 apiUrl = "/rest/ywbl/jsydsyqlr/transferInit";
13 break; 13 break;
14 case "300": 14 case "300":
15 apiUrl = "/ywbl/jsydsyqlr/changeInit"; 15 apiUrl = "/rest/ywbl/jsydsyqlr/changeInit";
16 break; 16 break;
17 case "400": 17 case "400":
18 apiUrl = "/ywbl/jsydsyqlr/logoutInit"; 18 apiUrl = "/rest/ywbl/jsydsyqlr/logoutInit";
19 break; 19 break;
20 case "500": 20 case "500":
21 apiUrl = "/ywbl/jsydsyqlr/riviseInit"; 21 apiUrl = "/rest/ywbl/jsydsyqlr/riviseInit";
22 break; 22 break;
23 case "901": 23 case "901":
24 apiUrl = "/ywbl/jsydsyqlr/renewalInit"; 24 apiUrl = "/rest/ywbl/jsydsyqlr/renewalInit";
25 break; 25 break;
26 case "902": 26 case "902":
27 apiUrl = "/ywbl/jsydsyqlr/replaceInit"; 27 apiUrl = "/rest/ywbl/jsydsyqlr/replaceInit";
28 break; 28 break;
29 } 29 }
30 return request({ 30 return request({
31 url: apiUrl, 31 url: SERVER.SERVERAPI + apiUrl,
32 method: 'post', 32 method: 'post',
33 data 33 data
34 }) 34 })
......
1 <template>
2 <div>
3 <!--布局容器-->
4 <el-container class="home_container">
5 <!--顶部栏-->
6 <el-header class="home_header">
7 <span class="home_title">
8
9 </span>
10 </el-header>
11 <el-container >
12 <!--左侧侧边栏-->
13 <el-aside class="home_aside" width="180px">
14
15 </el-aside>
16 <!--主要区域容器-->
17 <el-main class="home_main">
18 主要区域容器
19 </el-main>
20 </el-container>
21 </el-container>
22 </div>
23
24 </template>
25 <script>
26
27 </script>
28 <style>
29 .home_container {
30 height: 100%;
31 position: absolute;
32 top: 0px;
33 left: 0px;
34 width: 100%;
35 }
36 </style>
...\ No newline at end of file ...\ No newline at end of file