修改不动产登记
Showing
3 changed files
with
24 additions
and
17 deletions
| ... | @@ -66,16 +66,16 @@ export default { | ... | @@ -66,16 +66,16 @@ export default { |
| 66 | label: "姓名/名称" | 66 | label: "姓名/名称" |
| 67 | }, | 67 | }, |
| 68 | { | 68 | { |
| 69 | prop: "dlrzjlx", | 69 | prop: "zjzl", |
| 70 | label: "证件种类" | 70 | label: "证件种类" |
| 71 | }, | 71 | }, |
| 72 | { | 72 | { |
| 73 | prop: "dlrzjh", | 73 | prop: "zjh", |
| 74 | label: "证件号" | 74 | label: "证件号" |
| 75 | }, | 75 | }, |
| 76 | { | 76 | { |
| 77 | prop: "fr", | 77 | prop: "dh", |
| 78 | label: "法人" | 78 | label: "联系电话" |
| 79 | }, | 79 | }, |
| 80 | { | 80 | { |
| 81 | label: '修改', | 81 | label: '修改', | ... | ... |
| ... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ |
| 32 | </el-form-item> | 32 | </el-form-item> |
| 33 | </el-col> | 33 | </el-col> |
| 34 | <el-col :span="8"> | 34 | <el-col :span="8"> |
| 35 | <el-form-item label="联系电话" prop="dh" :rules="$rules.common.phone"> | 35 | <el-form-item label="联系电话" prop="dh"> |
| 36 | <el-input v-model="ruleForm.dh" maxlength="11"></el-input> | 36 | <el-input v-model="ruleForm.dh" maxlength="11"></el-input> |
| 37 | </el-form-item> | 37 | </el-form-item> |
| 38 | </el-col> | 38 | </el-col> | ... | ... |
| ... | @@ -146,6 +146,11 @@ | ... | @@ -146,6 +146,11 @@ |
| 146 | </el-row> | 146 | </el-row> |
| 147 | <InformationTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" | 147 | <InformationTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" |
| 148 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> | 148 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> |
| 149 | <div class="slxx_title title-block"> | ||
| 150 | 义务人信息 | ||
| 151 | <div class="triangle"></div> </div> | ||
| 152 | <InformationTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" | ||
| 153 | :viewtype="$route.query.viewtype" /> | ||
| 149 | <div class="slxx_title title-block"> | 154 | <div class="slxx_title title-block"> |
| 150 | 登记原因 | 155 | 登记原因 |
| 151 | <div class="triangle"></div> | 156 | <div class="triangle"></div> |
| ... | @@ -169,22 +174,17 @@ | ... | @@ -169,22 +174,17 @@ |
| 169 | </template> | 174 | </template> |
| 170 | <script> | 175 | <script> |
| 171 | import InformationTable from "@/views/workflow/components/InformationTable"; | 176 | import InformationTable from "@/views/workflow/components/InformationTable"; |
| 172 | import { Init, fristReg } from "@/api/jsydsyqFlow.js"; | 177 | import { Init, saveData } from "@/api/jsydsyqFlow.js"; |
| 173 | import { mapGetters } from "vuex"; | 178 | import { mapGetters } from "vuex"; |
| 174 | export default { | 179 | export default { |
| 175 | async created () { | 180 | async created() { |
| 176 | this.propsParam = this.$attrs; | 181 | this.propsParam = this.$attrs; |
| 177 | var formdata = new FormData(); | 182 | var formdata = new FormData(); |
| 178 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 183 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
| 179 | formdata.append("djlx", this.propsParam.djlx); | 184 | formdata.append("djlx", this.propsParam.djlx); |
| 180 | Init(formdata).then((res) => { | 185 | Init(formdata).then((res) => { |
| 181 | if (res.code === 200 && res.result) { | 186 | if (res.code === 200 && res.result) { |
| 182 | this.ruleForm = { | 187 | this.ruleForm = res.result; |
| 183 | ...res.result, | ||
| 184 | ...res.result.zdjbxxdatas, | ||
| 185 | ...res.result.qlxxdatas, | ||
| 186 | ...res.result.jsydsyqdatas, | ||
| 187 | }; | ||
| 188 | } | 188 | } |
| 189 | }); | 189 | }); |
| 190 | }, | 190 | }, |
| ... | @@ -192,7 +192,7 @@ export default { | ... | @@ -192,7 +192,7 @@ export default { |
| 192 | computed: { | 192 | computed: { |
| 193 | ...mapGetters(["dictData", "flag"]), | 193 | ...mapGetters(["dictData", "flag"]), |
| 194 | }, | 194 | }, |
| 195 | data () { | 195 | data() { |
| 196 | return { | 196 | return { |
| 197 | disabled: true, | 197 | disabled: true, |
| 198 | czrOptions: [], | 198 | czrOptions: [], |
| ... | @@ -228,7 +228,14 @@ export default { | ... | @@ -228,7 +228,14 @@ export default { |
| 228 | }; | 228 | }; |
| 229 | }, | 229 | }, |
| 230 | methods: { | 230 | methods: { |
| 231 | list (bsmSldy) { | 231 | // 更新权利人信息 |
| 232 | upDateQlrxxList (val) { | ||
| 233 | this.ruleForm.qlrList = _.cloneDeep(val); | ||
| 234 | }, // 更新权利人信息 | ||
| 235 | upDateYwrxxList (val) { | ||
| 236 | this.ruleForm.ywrList = _.cloneDeep(val); | ||
| 237 | }, | ||
| 238 | list(bsmSldy) { | ||
| 232 | var formdata = new FormData(); | 239 | var formdata = new FormData(); |
| 233 | formdata.append("bsmSldy", bsmSldy); | 240 | formdata.append("bsmSldy", bsmSldy); |
| 234 | Init(formdata).then((res) => { | 241 | Init(formdata).then((res) => { |
| ... | @@ -242,8 +249,8 @@ export default { | ... | @@ -242,8 +249,8 @@ export default { |
| 242 | } | 249 | } |
| 243 | }); | 250 | }); |
| 244 | }, | 251 | }, |
| 245 | onSubmit () { | 252 | onSubmit() { |
| 246 | fristReg(this.ruleForm).then((res) => { | 253 | saveData(this.ruleForm).then((res) => { |
| 247 | if (res.code === 200 && res.result) { | 254 | if (res.code === 200 && res.result) { |
| 248 | console.log(res); | 255 | console.log(res); |
| 249 | //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } | 256 | //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } | ... | ... |
-
Please register or sign in to post a comment