修改抵押权对应的问题
Showing
3 changed files
with
15 additions
and
5 deletions
... | @@ -34,9 +34,13 @@ export function Init (data) { | ... | @@ -34,9 +34,13 @@ export function Init (data) { |
34 | }) | 34 | }) |
35 | } | 35 | } |
36 | // 受理信息保存 | 36 | // 受理信息保存 |
37 | export function saveData (data) { | 37 | export function saveData (data,djlx) { |
38 | let apiUrl = "/rest/ywbl/dyaq/saveData"; | ||
39 | if(djlx=="400"){ | ||
40 | apiUrl = "/rest/ywbl/dyaq/saveLogoutData"; | ||
41 | } | ||
38 | return request({ | 42 | return request({ |
39 | url: SERVER.SERVERAPI + '/rest/ywbl/dyaq/saveData', | 43 | url: SERVER.SERVERAPI + apiUrl, |
40 | method: 'post', | 44 | method: 'post', |
41 | data | 45 | data |
42 | }) | 46 | }) | ... | ... |
... | @@ -284,7 +284,7 @@ export default { | ... | @@ -284,7 +284,7 @@ export default { |
284 | }, | 284 | }, |
285 | methods: { | 285 | methods: { |
286 | onSubmitClick () { | 286 | onSubmitClick () { |
287 | saveData(this.ruleForm).then((res) => { | 287 | saveData(this.ruleForm,this.propsParam.djlx).then((res) => { |
288 | if (res.code === 200) { | 288 | if (res.code === 200) { |
289 | this.$message({ | 289 | this.$message({ |
290 | showClose: true, | 290 | showClose: true, | ... | ... |
... | @@ -216,7 +216,13 @@ | ... | @@ -216,7 +216,13 @@ |
216 | </div> | 216 | </div> |
217 | <el-row :gutter="10"> | 217 | <el-row :gutter="10"> |
218 | <el-col> | 218 | <el-col> |
219 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> | 219 | <el-form-item v-if="ruleForm.slywxx.djlx == '400'" :class="flag ? 'marginBot0' : ''" label="注销抵押原因:" |
220 | prop="djyy"> | ||
221 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" | ||
222 | v-model="ruleForm.diyaq.zxdyyy"> | ||
223 | </el-input> | ||
224 | </el-form-item> | ||
225 | <el-form-item v-else :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> | ||
220 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" | 226 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" |
221 | v-model="ruleForm.diyaq.djyy"> | 227 | v-model="ruleForm.diyaq.djyy"> |
222 | </el-input> | 228 | </el-input> |
... | @@ -272,7 +278,7 @@ export default { | ... | @@ -272,7 +278,7 @@ export default { |
272 | }, | 278 | }, |
273 | methods: { | 279 | methods: { |
274 | onSubmitClick () { | 280 | onSubmitClick () { |
275 | saveData(this.ruleForm).then((res) => { | 281 | saveData(this.ruleForm,this.propsParam.djlx).then((res) => { |
276 | if (res.code === 200) { | 282 | if (res.code === 200) { |
277 | this.$message({ | 283 | this.$message({ |
278 | showClose: true, | 284 | showClose: true, | ... | ... |
-
Please register or sign in to post a comment