d9ee3a4a by 任超
2 parents c9daa10c 511f79cf
1 import request from '@/utils/request'
2
3 // 初始化内容
4 export function Init (data) {
5 return request({
6 url: '/ywbl/tdsyqlr/Init',
7 method: 'post',
8 data
9 })
10 }
11
12 // 首次登记保存
13 export function fristReg (data) {
14 return request({
15 url: '/ywbl/tdsyqlr/fristReg',
16 method: 'post',
17 data
18 })
19 }
20
21 // 转移登记保存
22 export function transferReg (data) {
23 return request({
24 url: '/ywbl/tdsyqlr/transferReg',
25 method: 'post',
26 data
27 })
28 }
29
30
31 // 变更登记保存
32 export function changeReg (data) {
33 return request({
34 url: '/ywbl/tdsyqlr/changeReg',
35 method: 'post',
36 data
37 })
38 }
39
40
41 // 注销登记保存
42 export function logoutReg (data) {
43 return request({
44 url: '/ywbl/tdsyqlr/logoutReg',
45 method: 'post',
46 data
47 })
48 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
163 </template> 163 </template>
164 <script> 164 <script>
165 import InformationTable from "./InformationTable"; 165 import InformationTable from "./InformationTable";
166 import { Init } from "@/api/fqsq.js"; 166 import { Init,fristReg } from "@/api/jsydsyqFlow.js";
167 import { mapGetters } from "vuex"; 167 import { mapGetters } from "vuex";
168 export default { 168 export default {
169 components: { InformationTable }, 169 components: { InformationTable },
...@@ -223,7 +223,14 @@ export default { ...@@ -223,7 +223,14 @@ export default {
223 } 223 }
224 }) 224 })
225 }, 225 },
226 onSubmit () { }, 226 onSubmit () {
227 fristReg(this.ruleForm).then((res) => {
228 if (res.code === 200 && res.result) {
229 console.log(res);
230 //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas }
231 }
232 })
233 },
227 }, 234 },
228 }; 235 };
229 </script> 236 </script>
......