11a68a05 by yangwei

登记登簿信息

1 parent 446aae45
import request from "@/utils/request";
import SERVER from "./config";
class djfDjDb {
//登记登簿信息
async getDjfDjDbById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjDb/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改登记登簿信息
async updateDjfDjDb(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjDb/edit",
method: "post",
data,
});
}
}
export default new djfDjDb();
......@@ -88,6 +88,7 @@
<script>
// 申请人属性信息
import djfDjSqr from "@/api/djfDjSqr";
import djfDjDb from "@/api/djfDjDb"
import ruleMixin from "@/mixins/ruleMixin.js";
import treeSelect from "@/components/treeSelect/index.vue";
export default {
......@@ -140,7 +141,7 @@ export default {
methods: {
async featchData() {
try {
let { result: res } = await business.getDjfDjDbById(this.bsmSjsb);
let { result: res } = await djfDjDb.getDjfDjDbById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
......