提交公共部分
Showing
3 changed files
with
6 additions
and
13 deletions
... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
19 | </head> | 19 | </head> |
20 | <script> | 20 | <script> |
21 | window.baseUrl = location.origin || location.protocol + '//' + location.host | 21 | window.baseUrl = location.origin || location.protocol + '//' + location.host |
22 | const authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6" | 22 | const authorization = "bearer ATT-6-80pnPMkrvVc-i1qIGQrdkjKIPc-cH1mD" |
23 | fetch('<%= BASE_URL %>config.json') | 23 | fetch('<%= BASE_URL %>config.json') |
24 | .then(response => response.json()) | 24 | .then(response => response.json()) |
25 | .then(config => { | 25 | .then(config => { | ... | ... |
... | @@ -193,11 +193,7 @@ | ... | @@ -193,11 +193,7 @@ |
193 | }, | 193 | }, |
194 | methods: { | 194 | methods: { |
195 | loadData () { | 195 | loadData () { |
196 | if(this.propsParam.bsmSldy){ | 196 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { |
197 | console.log("宗地基本信息"); | ||
198 | }else{ | ||
199 | console.log("登记簿里宗地基本信息"); | ||
200 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | ||
201 | if (res.code === 200) { | 197 | if (res.code === 200) { |
202 | this.zdjbxx = res.result.zdjbxx; | 198 | this.zdjbxx = res.result.zdjbxx; |
203 | this.zdbhqks = res.result.zdbhqkList; | 199 | this.zdbhqks = res.result.zdbhqkList; |
... | @@ -205,9 +201,7 @@ | ... | @@ -205,9 +201,7 @@ |
205 | this.showGroup = true; | 201 | this.showGroup = true; |
206 | } | 202 | } |
207 | } | 203 | } |
208 | }) | 204 | }) |
209 | } | ||
210 | |||
211 | } | 205 | } |
212 | } | 206 | } |
213 | } | 207 | } | ... | ... |
... | @@ -253,7 +253,7 @@ | ... | @@ -253,7 +253,7 @@ |
253 | return false; | 253 | return false; |
254 | } | 254 | } |
255 | 255 | ||
256 | if (this.ruleForm.slywxx.gyfs == "0") { | 256 | if (this.ruleForm.sldy.gyfs == "0") { |
257 | if (this.ruleForm.qlrList.length > 1) { | 257 | if (this.ruleForm.qlrList.length > 1) { |
258 | this.$message({ | 258 | this.$message({ |
259 | showClose: true, | 259 | showClose: true, |
... | @@ -264,9 +264,9 @@ | ... | @@ -264,9 +264,9 @@ |
264 | } | 264 | } |
265 | this.ruleForm.qlrList[0].sfczr = "1"; | 265 | this.ruleForm.qlrList[0].sfczr = "1"; |
266 | } | 266 | } |
267 | if (this.ruleForm.slywxx.gyfs == "1") { | 267 | if (this.ruleForm.sldy.gyfs == "1") { |
268 | //是否分别持证 | 268 | //是否分别持证 |
269 | if (this.ruleForm.slywxx.sqfbcz == '1') { //是 | 269 | if (this.ruleForm.sldy.sqfbcz == '1') { //是 |
270 | this.ruleForm.qlrList.forEach((item, index) => { | 270 | this.ruleForm.qlrList.forEach((item, index) => { |
271 | item.sfczr = "1" | 271 | item.sfczr = "1" |
272 | }); | 272 | }); |
... | @@ -280,7 +280,6 @@ | ... | @@ -280,7 +280,6 @@ |
280 | }) | 280 | }) |
281 | } | 281 | } |
282 | } | 282 | } |
283 | |||
284 | saveData(this.ruleForm).then((res) => { | 283 | saveData(this.ruleForm).then((res) => { |
285 | if (res.code === 200) { | 284 | if (res.code === 200) { |
286 | this.$message({ | 285 | this.$message({ | ... | ... |
-
Please register or sign in to post a comment