633385d8 by 夏齐

首次登记和注销登记代码优化

1 parent 6920a538
...@@ -32,22 +32,6 @@ export function Init(data) { ...@@ -32,22 +32,6 @@ export function Init(data) {
32 data 32 data
33 }) 33 })
34 } 34 }
35 // 初始化内容
36 export function saveData (data) {
37 return request({
38 url: SERVER.SERVERAPI + '/rest/ywbl/fdcq2lr/saveData',
39 method: 'post',
40 data
41 })
42 }
43 // 注销登记提交数据
44 export function saveLogoutData(data) {
45 return request({
46 url: SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/saveLogoutData",
47 method: 'post',
48 data
49 })
50 }
51 // 首次登记提交 35 // 首次登记提交
52 export function saveBatchData(data) { 36 export function saveBatchData(data) {
53 return request({ 37 return request({
...@@ -56,20 +40,5 @@ export function saveBatchData(data) { ...@@ -56,20 +40,5 @@ export function saveBatchData(data) {
56 data 40 data
57 }) 41 })
58 } 42 }
59 // 更正/变更登记提交 43
60 export function saveGZBatchData(data) {
61 return request({
62 url: SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/saveGZBatchData",
63 method: 'post',
64 data
65 })
66 }
67 // 更正/变更登记提交
68 export function saveBHZData(data) {
69 return request({
70 url: SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/saveBHZData",
71 method: 'post',
72 data
73 })
74 }
75 44
......
...@@ -41,36 +41,5 @@ export function saveData (data) { ...@@ -41,36 +41,5 @@ export function saveData (data) {
41 data 41 data
42 }) 42 })
43 } 43 }
44 // 注销登记提交数据 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 45
......
...@@ -12,18 +12,9 @@ export function getForm(tabName, djywbm) { ...@@ -12,18 +12,9 @@ export function getForm(tabName, djywbm) {
12 case "fwsyqslxx100": 12 case "fwsyqslxx100":
13 form = require("@/views/ywbl/fdcq2/slxx.vue"); 13 form = require("@/views/ywbl/fdcq2/slxx.vue");
14 break; 14 break;
15 case "fwsyqslxx200":
16 form = require("@/views/ywbl/fdcq2/slxx200.vue");
17 break;
18 case "fwsyqslxx300": 15 case "fwsyqslxx300":
19 form = require("@/views/ywbl/fdcq2/slxx300.vue"); 16 form = require("@/views/ywbl/fdcq2/slxx300.vue");
20 break; 17 break;
21 case "fwsyqslxx400":
22 form = require("@/views/ywbl/fdcq2/slxx400.vue");
23 break;
24 case "fwsyqslxx900":
25 form = require("@/views/ywbl/fdcq2/slxx900.vue");
26 break;
27 case "nydsyqslxx100": 18 case "nydsyqslxx100":
28 form = require("@/views/ywbl/nydsyq/slxx.vue"); 19 form = require("@/views/ywbl/nydsyq/slxx.vue");
29 break; 20 break;
......
...@@ -134,9 +134,10 @@ ...@@ -134,9 +134,10 @@
134 <el-col :span="14" v-if="ruleForm.qlxx"> 134 <el-col :span="14" v-if="ruleForm.qlxx">
135 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> 135 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
136 <el-radio-group :disabled="$route.query.viewtype==1" @change="showCZInfo" v-model="ruleForm.slywxx.gyfs"> 136 <el-radio-group :disabled="$route.query.viewtype==1" @change="showCZInfo" v-model="ruleForm.slywxx.gyfs">
137 <el-radio label="1">单独所有</el-radio> 137 <el-radio label="0">单独所有</el-radio>
138 <el-radio label="2">共同共有</el-radio> 138 <el-radio label="1">共同共有</el-radio>
139 <el-radio label="3">按份所有</el-radio> 139 <el-radio label="2">按份所有</el-radio>
140 <el-radio label="3">其它共有</el-radio>
140 </el-radio-group> 141 </el-radio-group>
141 </el-form-item> 142 </el-form-item>
142 </el-col> 143 </el-col>
...@@ -168,6 +169,15 @@ ...@@ -168,6 +169,15 @@
168 </el-row> 169 </el-row>
169 <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" 170 <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList"
170 :gyfs="ruleForm.qlxx.gyfs" /> 171 :gyfs="ruleForm.qlxx.gyfs" />
172
173 <div v-if="ruleForm.ywrList.length>0">
174 <div class="slxx_title title-block">
175 义务人信息
176 <div class="triangle"></div>
177 </div>
178 <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList"
179 :gyfs="ruleForm.qlxx.gyfs" />
180 </div>
171 <div class="slxx_title title-block"> 181 <div class="slxx_title title-block">
172 登记原因 182 登记原因
173 <div class="triangle"></div> 183 <div class="triangle"></div>
......