0e360e4d by 任超
2 parents a61f8570 89966f39
import request from "@/utils/request";
import SERVER from "./config";
class qlfFwFdcqQfsyq {
// 建筑物区分所有权业主共有部分信息
async getQlfFwFdcqQfsyqList(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/getDataPage",
method: "post",
data,
});
}
//建筑物区分所有权业主共有部分信息
async getQlfFwFdcqQfsyqById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改建筑物区分所有权业主共有部分信息
async updateQlfFwFdcqQfsyq(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/edit",
method: "post",
data,
});
}
}
export default new qlfFwFdcqQfsyq();
......@@ -10,5 +10,23 @@ class qlfQlJsydsyq {
data,
});
}
//建设用地、宅基地使用权
async getQlfQlJsydsyqById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlJsydsyq/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改建设用地、宅基地使用权
async updateQlfQlJsydsyq(data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlJsydsyq/edit',
method: 'post',
data
})
}
}
export default new qlfQlJsydsyq();
......
......@@ -10,5 +10,23 @@ class qlfQlTdsyq {
data,
});
}
//土地所有权
async getQlfQlTdsyqById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改土地所有权
async updateQlfQlTdsyq(data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/edit',
method: 'post',
data
})
}
}
export default new qlfQlTdsyq();
......
import request from "@/utils/request";
import SERVER from "./config";
class qltFwFdcqDz {
// 房地产权_项目内多幢房屋信息
async getQltFwFdcqDzList(data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltFwFdcqDz/getDataPage",
method: "post",
data,
});
}
//房地产权_项目内多幢房屋信息
async getQltFwFdcqDzById(bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqDz/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改房地产权_项目内多幢房屋信息
async updateQltFwFdcqDz(data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqDz/edit',
method: 'post',
data
})
}
}
export default new qltFwFdcqDz();
......
......@@ -182,7 +182,7 @@
</template>
<script>
// 建筑物区分所有权业主共有部分信息
import business from '@/api/business'
import qlfFwFdcqQfsyq from '@/api/qlfFwFdcqQfsyq'
import ruleMixin from '@/mixins/ruleMixin.js'
export default {
mixins: [ruleMixin],
......@@ -220,7 +220,7 @@ export default {
methods: {
async featchData () {
try {
let { result: res } = await business.getQlfFwFdcqQfsyqById(this.bsmSjsb)
let { result: res } = await qlfFwFdcqQfsyq.getQlfFwFdcqQfsyqById(this.bsmSjsb)
this.ruleForm = res
//this.featchRule()
} catch (error) {
......@@ -230,7 +230,7 @@ export default {
handleUpdateForm () {
return new Promise(async (resolve, reject) => {
try {
let res = await business.updateQlfFwFdcqQfsyq(this.ruleForm)
let res = await qlfFwFdcqQfsyq.updateQlfFwFdcqQfsyq(this.ruleForm)
// this.$refs['formList'].resetFields();
resolve(res.code)
} catch (error) {
......
......@@ -214,7 +214,7 @@
</template>
<script>
// 建设用地、宅基地使用权信息
import business from '@/api/business'
import qlfQlJsydsyq from '@/api/qlfQlJsydsyq'
import ruleMixin from '@/mixins/ruleMixin.js'
export default {
mixins: [ruleMixin],
......@@ -275,7 +275,7 @@ export default {
methods: {
async featchData () {
try {
let { result: res } = await business.getQlfQlJsydsyqById(this.bsmSjsb)
let { result: res } = await qlfQlJsydsyq.getQlfQlJsydsyqById(this.bsmSjsb)
this.ruleForm = res
//this.featchRule()
} catch (error) {
......@@ -285,7 +285,7 @@ export default {
handleUpdateForm () {
return new Promise(async (resolve, reject) => {
try {
let res = await business.updateQlfQlJsydsyq(this.ruleForm)
let res = await qlfQlJsydsyq.updateQlfQlJsydsyq(this.ruleForm)
// this.$refs['formList'].resetFields();
resolve(res.code)
} catch (error) {
......
......@@ -262,7 +262,7 @@
</template>
<script>
// 土地所有权信息
import business from '@/api/business'
import qlfQlTdsyq from '@/api/qlfQlTdsyq'
import ruleMixin from '@/mixins/ruleMixin.js'
export default {
mixins: [ruleMixin],
......@@ -307,7 +307,7 @@ export default {
methods: {
async featchData () {
try {
let { result: res } = await business.getQlfQlTdsyqById(this.bsmSjsb)
let { result: res } = await qlfQlTdsyq.getQlfQlTdsyqById(this.bsmSjsb)
this.ruleForm = res
//this.featchRule()
} catch (error) {
......@@ -317,7 +317,7 @@ export default {
handleUpdateForm () {
return new Promise(async (resolve, reject) => {
try {
let res = await business.updateQlfQlTdsyq(this.ruleForm)
let res = await qlfQlTdsyq.updateQlfQlTdsyq(this.ruleForm)
// this.$refs['formList'].resetFields();
resolve(res.code)
} catch (error) {
......
......@@ -248,7 +248,7 @@
</template>
<script>
// 房地产权_项目内多幢房屋信息
import business from '@/api/business'
import qltFwFdcqDz from '@/api/qltFwFdcqDz'
import ruleMixin from '@/mixins/ruleMixin.js'
export default {
mixins: [ruleMixin],
......@@ -312,7 +312,7 @@ export default {
methods: {
async featchData () {
try {
let { result: res } = await business.getQltFwFdcqDzById(this.bsmSjsb)
let { result: res } = await qltFwFdcqDz.getQltFwFdcqDzById(this.bsmSjsb)
this.ruleForm = res
// this.featchRule()
} catch (error) {
......@@ -322,7 +322,7 @@ export default {
handleUpdateForm () {
return new Promise(async (resolve, reject) => {
try {
let res = await business.updateQltFwFdcqDz(this.ruleForm)
let res = await qltFwFdcqDz.updateQltFwFdcqDz(this.ruleForm)
// this.$refs['formList'].resetFields();
resolve(res.code)
} catch (error) {
......
......@@ -70,7 +70,7 @@
<script>
// 房地产权(项目内多幢房屋)
import data from "./data"
import business from '@/api/business'
import qltFwFdcqDz from '@/api/qltFwFdcqDz'
import sjsbFunctionOper from '@/api/sjsbFunctionOper'
import tableMixin from '@/mixins/tableMixin.js'
import treeSelect from '@/components/treeSelect/index.vue'
......@@ -140,7 +140,7 @@ export default {
try {
this.form = Object.assign(this.form, this.formData)
let { result: { list, total, pages: pageSize, pageNum: current }
} = await business.getQltFwFdcqDzList(this.form)
} = await qltFwFdcqDz.getQltFwFdcqDzList(this.form)
this.tableData.data = list
this.pageData = {
pageSize,
......@@ -157,7 +157,7 @@ export default {
if (res != null) {
this.diaData = res
this.bsmSjsb = row.BSM_SJSB
this.$store.dispatch('business/setEdit'); this.$refs.editLog.isShow()
this.$store.dispatch('qltFwFdcqDz/setEdit'); this.$refs.editLog.isShow()
} else {
this.$message(message);
}
......
......@@ -42,7 +42,7 @@
<script>
// 建筑物区分所有权业主共有部分
import data from "./data"
import business from '@/api/business'
import qlfFwFdcqQfsyq from '@/api/qlfFwFdcqQfsyq'
import sjsbFunctionOper from '@/api/sjsbFunctionOper'
import tableMixin from '@/mixins/tableMixin.js'
import treeSelect from '@/components/treeSelect/index.vue'
......@@ -107,7 +107,7 @@ export default {
try {
this.form = Object.assign(this.form, this.formData)
let { result: { list, total, pages: pageSize, pageNum: current }
} = await business.getQlfFwFdcqQfsyqList(this.form)
} = await qlfFwFdcqQfsyq.getQlfFwFdcqQfsyqList(this.form)
this.tableData.data = list
this.pageData = {
pageSize,
......