ce7ba51c by 田浩浩
2 parents 8b89c5e5 6ccef316
1 import request from '@/utils/request'
2 import SERVER from './config'
3 // 初始化内容
4 export function Init(data) {
5 let apiUrl = "";
6 switch (data.get("djlx")) {
7 case "100":
8 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/ygdj/fristInit";
9 break;
10 case "200":
11 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/transferInit";
12 break;
13 case "300":
14 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/changeInit";
15 break;
16 case "400":
17 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/logoutInit";
18 break;
19 case "500":
20 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/riviseInit";
21 break;
22 case "901":
23 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/renewalInit";
24 break;
25 case "902":
26 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/replaceInit";
27 break;
28 }
29 return request({
30 url: apiUrl,
31 method: 'post',
32 data
33 })
34 }
35 // 初始化内容
36 export function saveData (data) {
37 console.log("222222222222222");
38 return request({
39 url: SERVER.SERVERAPI + '/rest/ywbl/ygdj/saveData',
40 method: 'post',
41 data
42 })
43 }
44 // 注销登记提交数据
45 export function saveLogoutData(data) {
46 return request({
47 url: SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/saveLogoutData",
48 method: 'post',
49 data
50 })
51 }
52 // 首次登记提交
53 export function saveBatchData(data) {
54 return request({
55 url: SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/saveBatchData",
56 method: 'post',
57 data
58 })
59 }
60 // 更正/变更登记提交
61 export function saveGZBatchData(data) {
62 return request({
63 url: SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/saveGZBatchData",
64 method: 'post',
65 data
66 })
67 }
68 // 更正/变更登记提交
69 export function saveBHZData(data) {
70 return request({
71 url: SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/saveBHZData",
72 method: 'post',
73 data
74 })
75 }
76
...@@ -96,8 +96,8 @@ export default { ...@@ -96,8 +96,8 @@ export default {
96 color: #fff; 96 color: #fff;
97 overflow: hidden; 97 overflow: hidden;
98 line-height: 28px; 98 line-height: 28px;
99 // background: $light-blue; 99 background: rgba(0, 0, 0, 0.1);
100 width: 500px; 100 width: 100%;
101 101
102 .my-inbox { 102 .my-inbox {
103 white-space: nowrap; 103 white-space: nowrap;
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
109 text-indent: 30px; 109 text-indent: 30px;
110 110
111 .my-uname { 111 .my-uname {
112 color: #fff; 112 color: red;
113 } 113 }
114 } 114 }
115 } 115 }
......
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
107 .ls-mask { 107 .ls-mask {
108 width: 100%; 108 width: 100%;
109 height: 100%; 109 height: 100%;
110 z-index: 2000; 110 z-index: 100;
111 position: fixed; 111 position: fixed;
112 left: 0; 112 left: 0;
113 top: 0; 113 top: 0;
......
...@@ -70,7 +70,6 @@ export default { ...@@ -70,7 +70,6 @@ export default {
70 70
71 .NoticeBar { 71 .NoticeBar {
72 position: absolute; 72 position: absolute;
73 left: 330px;
74 bottom: 0; 73 bottom: 0;
75 } 74 }
76 75
......
...@@ -50,6 +50,12 @@ export function getForm(tabName, djywbm) { ...@@ -50,6 +50,12 @@ export function getForm(tabName, djywbm) {
50 case "zdjbxx": 50 case "zdjbxx":
51 form = require("@/views/registerBook/zdjbxx.vue"); 51 form = require("@/views/registerBook/zdjbxx.vue");
52 break; 52 break;
53 case "ygmm100":
54 form=require("@/views/ywbl/ygdj/slxx.vue");
55 break;
56 case "ygmm300":
57 form=require("@/views/ywbl/fdcq2/slxx.vue");
58 break;
53 case "cfdjxx": 59 case "cfdjxx":
54 form = require("@/views/registerBook/cfdj.vue"); 60 form = require("@/views/registerBook/cfdj.vue");
55 break; 61 break;
......