a970cb82 by yangwei

房地产权(独幢、层、套、间、房屋)

1 parent 7e8e7632
......@@ -350,7 +350,7 @@
</div>
</template>
<script>
import business from '@/api/business'
import qltFwFdcqYz from '@/api/qltFwFdcqYz'
import ruleMixin from '@/mixins/ruleMixin.js'
// 房地产权_独幢
export default {
......@@ -403,7 +403,7 @@ export default {
methods: {
async featchData () {
try {
let { result: res } = await business.getQltFwFdcqYzById(this.bsmSjsb)
let { result: res } = await qltFwFdcqYz.getQltFwFdcqYzById(this.bsmSjsb)
this.ruleForm = res
//this.featchRule()
} catch (error) {
......@@ -413,7 +413,7 @@ export default {
handleUpdateForm () {
return new Promise(async (resolve) => {
try {
let res = await business.updateQltFwFdcqYz(this.ruleForm)
let res = await qltFwFdcqYz.updateQltFwFdcqYz(this.ruleForm)
// this.$refs['formList'].resetFields();
resolve(res.code)
} catch (error) {
......