246fbfa7 by 任超

feat:业务办理

1 parent ad7132fb
......@@ -37,11 +37,12 @@ export function getNextNode (bsmSqyw, headers) {
/*
业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权、房屋所有权(首次登记)
*/
export function selectScBdcdy (data) {
export function selectScBdcdy (data, headers) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectScBdcdy',
method: 'post',
data
data,
headers
})
}
......@@ -58,7 +59,7 @@ export function selectScBdcdy (data) {
// }
// 待办箱列表查询接口
export function searchTaskToDo (data, headers) {
export function searchTaskToDo (data, headers = {}) {
return request({
url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskToDo',
method: 'post',
......@@ -67,39 +68,40 @@ export function searchTaskToDo (data, headers) {
})
}
// 待办箱/不动产单元删除接口
export function deleteFlow (data) {
export function deleteFlow (data, headers = {}) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteFlow',
method: 'post',
data
data,
headers
})
}
/*
业务办理-发起业务申请流程
*/
export function startBusinessFlow (data) {
export function startBusinessFlow (data, headers = {}) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/startBusinessFlow',
method: 'post',
data,
showLoading: true
headers
})
}
/*
已办箱列表查询接口
*/
export function searchTaskDone (data) {
export function searchTaskDone (data, headers = {}) {
return request({
url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskDone',
method: 'post',
data,
showLoading: true
headers
})
}
/*
业务办理-选择权利信息-根据条件进行列表查询
*/
export function selectQlxx (data, headers) {
export function selectQlxx (data, headers = {}) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectQlxx',
method: 'post',
......@@ -110,23 +112,23 @@ export function selectQlxx (data, headers) {
/*
业务办理-选择抵押权信息-根据条件进行列表查询
*/
export function selectDiyaq (data) {
export function selectDiyaq (data, headers = {}) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDiyaq',
method: 'post',
data,
showLoading: true
headers
})
}
/*
业务办理-选择查封信息-根据条件进行列表查询
*/
export function selectCfdj (data) {
export function selectCfdj (data, headers = {}) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectCfdj',
method: 'post',
data,
showLoading: true
headers
})
}
/*
......@@ -148,31 +150,31 @@ export function deleteCollectBiz (bsmSqyw) {
})
}
// 国有建设用地使用权/房屋使用权 -选择不动产单元
export function choiceBdcdy (data) {
export function choiceBdcdy (data, headers = {}) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/choiceBdcdy',
method: 'post',
data,
showLoading: true
headers
})
}
// 申请列表删除
export function deleteBdcdy (data) {
export function deleteBdcdy (data, headers = {}) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteBdcdy',
method: 'post',
data,
showLoading: true
headers
})
}
// 获取自然幢下其他户
export function selectOtherH (data) {
export function selectOtherH (data, headers = {}) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectOtherH',
method: 'post',
data,
showLoading: true
headers
})
}
\ No newline at end of file
......
......@@ -60,7 +60,7 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" :heightNum="300" @sort-change="handleSort" border
<lb-table :page-size="pageData.size" id="ybxLoading" :heightNum="300" @sort-change="handleSort" border
:current-page.sync="pageData.current" :total="pageData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
</lb-table>
......@@ -111,7 +111,7 @@ export default {
},
// 列表渲染接口
fetchData () {
searchTaskDone({ ...this.queryForm, ...this.pageData }).then(res => {
searchTaskDone({ ...this.queryForm, ...this.pageData }, { 'target': '#ybxLoading' }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.pageData.total = total;
......
<template>
<dialogBox title="查询权利信息" width="85%" :isButton="false" :isMain="true" @closeDialog="closeDialog" v-model="myValue">
<component :is="editItem" @closeDialog="closeDialog" :isJump="isJump" @updateDialog="updateDialog" :djywbm="djywbm"
:key="key" />
<component :is="editItem" @closeDialog="closeDialog" :isJump="isJump" id="slectBdc" @updateDialog="updateDialog"
:djywbm="djywbm" :key="key" />
</dialogBox>
</template>
<script>
......@@ -24,12 +24,12 @@ export default {
this.myValue = val
this.key++
if (this.$route.query.sqywbm) {
let dd = queueDjywmc(this.$route.query.sqywbm)
let dd = queueDjywmc(this.$route.query.sqywbm, { 'target': '#slectBdc' })
this.editItem = this.loadView(dd)
}
},
'djywbm' (val) {
let dd = queueDjywmc(val)
let dd = queueDjywmc(val, { 'target': '#slectBdc' })
this.editItem = this.loadView(dd)
}
},
......
......@@ -66,7 +66,7 @@
<el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button>
</div>
</div>
<fqsqDialog v-model="isDialog" :djywbm="djywbm" />
<fqsqDialog v-model="isDialog" :djywbm="djywbm" />
</div>
</template>
<script>
......