41e3b99e by 田浩浩

111

1 parent bb0503b1
......@@ -6,29 +6,29 @@ export function Init (data) {
let apiUrl = "";
switch (data.get("djlx")) {
case "100":
apiUrl = "/ywbl/jsydsyqlr/fristInit";
apiUrl = "/rest/ywbl/jsydsyqlr/fristInit";
break;
case "200":
apiUrl = "/ywbl/jsydsyqlr/transferInit";
apiUrl = "/rest/ywbl/jsydsyqlr/transferInit";
break;
case "300":
apiUrl = "/ywbl/jsydsyqlr/changeInit";
apiUrl = "/rest/ywbl/jsydsyqlr/changeInit";
break;
case "400":
apiUrl = "/ywbl/jsydsyqlr/logoutInit";
apiUrl = "/rest/ywbl/jsydsyqlr/logoutInit";
break;
case "500":
apiUrl = "/ywbl/jsydsyqlr/riviseInit";
apiUrl = "/rest/ywbl/jsydsyqlr/riviseInit";
break;
case "901":
apiUrl = "/ywbl/jsydsyqlr/renewalInit";
apiUrl = "/rest/ywbl/jsydsyqlr/renewalInit";
break;
case "902":
apiUrl = "/ywbl/jsydsyqlr/replaceInit";
apiUrl = "/rest/ywbl/jsydsyqlr/replaceInit";
break;
}
return request({
url: apiUrl,
url: SERVER.SERVERAPI + apiUrl,
method: 'post',
data
})
......
<template>
<div>
<!--布局容器-->
<el-container class="home_container">
<!--顶部栏-->
<el-header class="home_header">
<span class="home_title">
</span>
</el-header>
<el-container >
<!--左侧侧边栏-->
<el-aside class="home_aside" width="180px">
</el-aside>
<!--主要区域容器-->
<el-main class="home_main">
主要区域容器
</el-main>
</el-container>
</el-container>
</div>
</template>
<script>
</script>
<style>
.home_container {
height: 100%;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
}
</style>
\ No newline at end of file