4c2cd994 by 任超
2 parents a5a38153 0b2d4b25
......@@ -2,233 +2,6 @@ import request from '@/utils/request'
import SERVER from './config'
class business {
// 申请人属性信息-业务表单
async getDjfDjSqrById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjfDjSqr/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 申请人属性信息-业务-修改
async updateDjfDjSqr (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjfDjSqr/edit',
method: 'post',
data
})
}
// 登记归档信息-业务表单
async getDjfDjGdById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjfDjGd/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 登记归档信息-业务-修改
async updateDjfDjGd (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjfDjGd/edit',
method: 'put',
data
})
}
// 户信息- 业务表单
async getKttFwHById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttFwH/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 户信息-业务-修改
async updateKttFwH (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttFwH/edit',
method: 'post',
data
})
}
//登记发证信息
async getDjfDjFzDetailById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjfDjFz/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改登记发证信息
async updateDjfDjFz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjfDjFz/edit',
method: 'post',
data
})
}
// 层信息- 业务表单
async getKttFwCById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttFwC/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//登记缮证信息
async getDjfDjSzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjfDjSz/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 层信息-业务-修改
async updateKttFwC (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttFwC/edit',
method: 'post',
data
})
}
//修改登记缮证信息
async updateDjfDjSz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjfDjSz/edit',
method: 'post',
data
})
}
//登记审核信息
async getDjfDjShById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjfDjSh/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改登记审核信息
async updateDjfDjSh (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjfDjSh/edit',
method: 'post',
data
})
}
//登记审核信息
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
})
}
//登记收件信息
async getDjfDjSjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjfDjSj/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改登记收件信息
async updateDjfDjSj (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjfDjSj/edit',
method: 'post',
data
})
}
// 登记受理申请信息 -- 业务表单
async getDjtDjSlsqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjtDjSlsq/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 登记受理申请信息 -- 业务修改
async updateDjtDjSlsq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjtDjSlsq/edit',
method: 'post',
data
})
}
// 逻辑幢信息 -- 业务表单
async getKttFwLjzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttFwLjz/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 逻辑幢信息 -- 业务修改
async updateKttFwLjz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttFwLjz/edit',
method: 'post',
data
})
}
//修改登记受理申请信息
async updateDjtDjSlsq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjtDjSlsq/updateDjtDjSlsq',
method: 'put',
data
})
}
// 权利人 -- 业务表单
async getZttGyQlrById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/ZttGyQlr/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 权利人 -- 业务表单修改
async updateZttGyQlr (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/ZttGyQlr/edit',
method: 'post',
data
})
}
// 宗海空间属性
async getZhK105ById (bsmSjsb) {
return request({
......
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();
import request from "@/utils/request";
import SERVER from "./config";
class djfDjFz {
//登记发证信息
async getDjfDjFzDetailById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjFz/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改登记发证信息
async updateDjfDjFz(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjFz/edit",
method: "post",
data,
});
}
}
export default new djfDjFz();
import request from "@/utils/request";
import SERVER from "./config";
class djfDjGd {
// 登记归档信息-业务表单
async getDjfDjGdById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjGd/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 登记归档信息-业务-修改
async updateDjfDjGd(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjGd/edit",
method: "put",
data,
});
}
}
export default new djfDjGd();
import request from "@/utils/request";
import SERVER from "./config";
class djfDjSh {
//登记审核信息
async getDjfDjShById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSh/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改登记审核信息
async updateDjfDjSh(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSh/edit",
method: "post",
data,
});
}
}
export default new djfDjSh();
import request from "@/utils/request";
import SERVER from "./config";
class djfDjSj {
//登记收件信息
async getDjfDjSjById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSj/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改登记收件信息
async updateDjfDjSj(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSj/edit",
method: "post",
data,
});
}
}
export default new djfDjSj();
import request from "@/utils/request";
import SERVER from "./config";
class djfDjSqr {
// 申请人属性信息-业务表单
async getDjfDjSqrById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSqr/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 申请人属性信息-业务-修改
async updateDjfDjSqr(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSqr/edit",
method: "post",
data,
});
}
}
export default new djfDjSqr();
import request from "@/utils/request";
import SERVER from "./config";
class djfDjSz {
//登记缮证信息
async getDjfDjSzById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSz/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改登记缮证信息
async updateDjfDjSz(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSz/edit",
method: "post",
data,
});
}
}
export default new djfDjSz();
import request from "@/utils/request";
import SERVER from "./config";
class djtDjSlsq {
// 登记受理申请信息 -- 业务表单
async getDjtDjSlsqById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 登记受理申请信息 -- 业务修改
async updateDjtDjSlsq(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/edit",
method: "post",
data,
});
}
//修改登记受理申请信息
async updateDjtDjSlsq(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/updateDjtDjSlsq",
method: "put",
data,
});
}
}
export default new djtDjSlsq();
import request from "@/utils/request";
import SERVER from "./config";
class kttFwC {
// 层信息- 业务表单
async getKttFwCById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwC/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 层信息-业务-修改
async updateKttFwC(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwC/edit",
method: "post",
data,
});
}
}
export default new kttFwC();
import request from "@/utils/request";
import SERVER from "./config";
class kttFwH {
// 户信息- 业务表单
async getKttFwHById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwH/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 户信息-业务-修改
async updateKttFwH(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwH/edit",
method: "post",
data,
});
}
}
export default new kttFwH();
import request from "@/utils/request";
import SERVER from "./config";
class kttFwLjz {
// 逻辑幢信息 -- 业务表单
async getKttFwLjzById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwLjz/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 逻辑幢信息 -- 业务修改
async updateKttFwLjz(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwLjz/edit",
method: "post",
data,
});
}
}
export default new kttFwLjz();
import request from "@/utils/request";
import SERVER from "./config";
class zttGyQlr {
// 权利人 -- 业务表单
async getZttGyQlrById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/ZttGyQlr/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 权利人 -- 业务表单修改
async updateZttGyQlr(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/ZttGyQlr/edit",
method: "post",
data,
});
}
}
export default new zttGyQlr();
......@@ -87,7 +87,8 @@
</template>
<script>
// 申请人属性信息
import business from "@/api/business";
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) {
......@@ -151,7 +152,7 @@ export default {
return new Promise(async (resolve, reject) => {
try {
let data = _.cloneDeep(this.ruleForm);
let res = await business.updateDjfDjSqr(data);
let res = await djfDjSqr.updateDjfDjSqr(data);
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow();
......
......@@ -184,7 +184,7 @@
</template>
<script>
// 发证信息
import business from '@/api/business'
import djfDjFz from '@/api/djfDjFz'
import ruleMixin from '@/mixins/ruleMixin.js'
import treeSelect from '@/components/treeSelect/index.vue'
export default {
......@@ -226,7 +226,7 @@ export default {
methods: {
async featchData () {
try {
let { result: res } = await business.getDjfDjFzDetailById(this.bsmSjsb)
let { result: res } = await djfDjFz.getDjfDjFzDetailById(this.bsmSjsb)
this.ruleForm = res
//this.featchRule()
} catch (error) {
......@@ -236,7 +236,7 @@ export default {
handleUpdateForm () {
return new Promise(async (resolve, reject) => {
try {
let res = await business.updateDjfDjFz(this.ruleForm)
let res = await djfDjFz.updateDjfDjFz(this.ruleForm)
// this.$refs['formList'].resetFields();
resolve(res.code)
} catch (error) {
......
......@@ -144,7 +144,7 @@
</div>
</template>
<script>
import business from '@/api/business'
import djfDjGd from '@/api/djfDjGd'
import ruleMixin from '@/mixins/ruleMixin.js'
// 登记归档信息
export default {
......@@ -180,7 +180,7 @@ export default {
methods: {
async featchData () {
try {
let { result: res } = await business.getDjfDjGdById(this.bsmSjsb)
let { result: res } = await djfDjGd.getDjfDjGdById(this.bsmSjsb)
this.ruleForm = res
//this.featchRule()
} catch (error) {
......@@ -190,7 +190,7 @@ export default {
handleUpdateForm () {
return new Promise(async (resolve) => {
try {
let res = await business.updateDjfDjGd(this.ruleForm)
let res = await djfDjGd.updateDjfDjGd(this.ruleForm)
// this.$refs['formList'].resetFields();
resolve(res.code)
} catch (error) {
......
......@@ -145,7 +145,7 @@
</div>
</template>
<script>
import business from '@/api/business'
import djfDjSh from '@/api/djfDjSh'
import ruleMixin from '@/mixins/ruleMixin.js'
// 审核信息
export default {
......@@ -209,7 +209,7 @@ export default {
},
async featchData () {
try {
let { result: res } = await business.getDjfDjShById(this.bsmSjsb)
let { result: res } = await djfDjSh.getDjfDjShById(this.bsmSjsb)
this.form.auditInfo = res
//this.featchRule()
} catch (error) {
......@@ -219,7 +219,7 @@ export default {
handleUpdateForm () {
return new Promise(async (resolve) => {
try {
let res = await business.updateDjfDjSh(this.form.auditInfo)
let res = await djfDjSh.updateDjfDjSh(this.form.auditInfo)
// this.$refs['formList'].resetFields();
resolve(res.code)
} catch (error) {
......
......@@ -165,7 +165,7 @@
</div>
</template>
<script>
import business from '@/api/business'
import djfDjSj from '@/api/djfDjSj'
import ruleMixin from '@/mixins/ruleMixin.js'
// 登记收件信息
export default {
......@@ -205,7 +205,7 @@ export default {
methods: {
async featchData () {
try {
let { result: res } = await business.getDjfDjSjById(this.bsmSjsb)
let { result: res } = await djfDjSj.getDjfDjSjById(this.bsmSjsb)
this.form.receivingInfo = res
//this.featchRule()
} catch (error) {
......@@ -215,7 +215,7 @@ export default {
handleUpdateForm () {
return new Promise(async (resolve) => {
try {
let res = await business.updateDjfDjSj(this.form.receivingInfo)
let res = await djfDjSj.updateDjfDjSj(this.form.receivingInfo)
// this.$refs['formList'].resetFields();
resolve(res.code)
} catch (error) {
......
......@@ -309,7 +309,7 @@
</template>
<script>
// 申请人属性信息
import business from "@/api/business";
import djfDjSqr from "@/api/djfDjSqr";
import ruleMixin from "@/mixins/ruleMixin.js";
import treeSelect from "@/components/treeSelect/index.vue";
export default {
......@@ -362,7 +362,7 @@ export default {
methods: {
async featchData() {
try {
let { result: res } = await business.getDjfDjSqrById(this.bsmSjsb);
let { result: res } = await djfDjSqr.getDjfDjSqrById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
......@@ -373,7 +373,7 @@ export default {
return new Promise(async (resolve, reject) => {
try {
let data = _.cloneDeep(this.ruleForm);
let res = await business.updateDjfDjSqr(data);
let res = await djfDjSqr.updateDjfDjSqr(data);
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow();
......
......@@ -116,7 +116,7 @@
</div>
</template>
<script>
import business from '@/api/business'
import djfDjSz from '@/api/djfDjSz'
import ruleMixin from '@/mixins/ruleMixin.js'
// 缮证信息
export default {
......@@ -151,7 +151,7 @@ export default {
methods: {
async featchData () {
try {
let { result: res } = await business.getDjfDjSzById(this.bsmSjsb)
let { result: res } = await djfDjSz.getDjfDjSzById(this.bsmSjsb)
this.certificateInfo.ruleForm = res;
//this.featchRule()
} catch (error) {
......@@ -161,7 +161,7 @@ export default {
handleUpdateForm () {
return new Promise(async (resolve) => {
try {
let res = await business.updateDjfDjSz(this.certificateInfo.ruleForm)
let res = await djfDjSz.updateDjfDjSz(this.certificateInfo.ruleForm)
// this.$refs['formList'].resetFields();
resolve(res.code)
} catch (error) {
......
......@@ -231,7 +231,7 @@
</template>
<script>
// 登记受理申请信息
import business from "@/api/business";
import djtDjSlsq from "@/api/djtDjSlsq";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
......@@ -273,7 +273,7 @@ export default {
methods: {
async featchData () {
try {
let { result: res } = await business.getDjtDjSlsqById(this.bsmSjsb);
let { result: res } = await djtDjSlsq.getDjtDjSlsqById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
......@@ -283,7 +283,7 @@ export default {
handleUpdateForm () {
return new Promise(async (resolve) => {
try {
let res = await business.updateDjtDjSlsq(this.ruleForm);
let res = await djtDjSlsq.updateDjtDjSlsq(this.ruleForm);
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow();
......
......@@ -84,7 +84,7 @@
层阳台面积: <br />
<p class="label-detail">(CYTMJ)</p>
</span>
<el-input-number controls-position="right":disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层阳台面积" type="number" v-model.number="ruleForm.cytmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -95,7 +95,7 @@
层共有建筑面积: <br />
<p class="label-detail">(CGYJZMJ)</p>
</span>
<el-input-number controls-position="right":disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层共有建筑面积" type="number" v-model.number="ruleForm.cgyjzmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -108,7 +108,7 @@
层分摊建筑面积: <br />
<p class="label-detail">(CFTJZMJ)</p>
</span>
<el-input-number controls-position="right":disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层分摊建筑面积" type="number" v-model.number="ruleForm.cftjzmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -143,7 +143,7 @@
水平投影面积: <br />
<p class="label-detail">(SPTYMJ)</p>
</span>
<el-input-number controls-position="right":disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="水平投影面积" type="number" v-model.number="ruleForm.sptymj"></el-input-number>
</el-form-item>
</el-col>
......@@ -164,7 +164,7 @@
</template>
<script>
// 层信息
import business from '@/api/business'
import kttFwC from '@/api/kttFwC'
import ruleMixin from '@/mixins/ruleMixin.js'
export default {
mixins: [ruleMixin],
......@@ -201,7 +201,7 @@ export default {
methods: {
async featchData () {
try {
let { result: res } = await business.getKttFwCById(this.bsmSjsb)
let { result: res } = await kttFwC.getKttFwCById(this.bsmSjsb)
this.ruleForm = res
//this.featchRule()
} catch (error) {
......@@ -211,7 +211,7 @@ export default {
handleUpdateForm () {
return new Promise(async (resolve, reject) => {
try {
let res = await business.updateKttFwC(this.ruleForm)
let res = await kttFwC.updateKttFwC(this.ruleForm)
// this.$refs['formList'].resetFields();
resolve(res.code)
} catch (error) {
......
......@@ -451,7 +451,7 @@
</template>
<script>
// 户信息
import business from "@/api/business";
import kttFwH from "@/api/kttFwH";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
......@@ -510,7 +510,7 @@ export default {
methods: {
async featchData() {
try {
let { result: res } = await business.getKttFwHById(this.bsmSjsb);
let { result: res } = await kttFwH.getKttFwHById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
......@@ -520,7 +520,7 @@ export default {
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let res = await business.updateKttFwH(this.ruleForm);
let res = await kttFwH.updateKttFwH(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code);
} catch (error) {
......
......@@ -263,7 +263,7 @@
</template>
<script>
// 逻辑幢信息
import business from '@/api/business'
import kttFwLjz from '@/api/kttFwLjz'
import ruleMixin from '@/mixins/ruleMixin.js'
export default {
mixins: [ruleMixin],
......@@ -309,7 +309,7 @@ export default {
methods: {
async featchData () {
try {
let { result: res } = await business.getKttFwLjzById(this.bsmSjsb)
let { result: res } = await kttFwLjz.getKttFwLjzById(this.bsmSjsb)
this.ruleForm = res
//this.featchRule()
} catch (error) {
......@@ -319,7 +319,7 @@ export default {
handleUpdateForm () {
return new Promise(async (resolve, reject) => {
try {
let res = await business.updateKttFwLjz(this.ruleForm)
let res = await kttFwLjz.updateKttFwLjz(this.ruleForm)
// this.$refs['formList'].resetFields();
resolve(res.code)
} catch (error) {
......
......@@ -319,7 +319,7 @@
</div>
</template>
<script>
import business from '@/api/business'
import zttGyQlr from '@/api/zttGyQlr'
import ruleMixin from '@/mixins/ruleMixin.js'
import treeSelect from '../treeSelect/index.vue'
// 权利人
......@@ -376,7 +376,7 @@ export default {
methods: {
async featchData () {
try {
let { result: res } = await business.getZttGyQlrById(this.bsmSjsb)
let { result: res } = await zttGyQlr.getZttGyQlrById(this.bsmSjsb)
this.obligeeForm.obligeeList = res
//this.featchRule()
} catch (error) {
......@@ -386,7 +386,7 @@ export default {
handleUpdateForm () {
return new Promise(async (resolve) => {
try {
let res = await business.updateZttGyQlr(this.obligeeForm.obligeeList)
let res = await zttGyQlr.updateZttGyQlr(this.obligeeForm.obligeeList)
// this.$refs['formList'].resetFields();
resolve(res.code)
} catch (error) {
......