bee6edb8 by 单帅旗

新增:批量房屋首次登记

1 parent c30c2bea
......@@ -5,6 +5,43 @@
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/**
* 国有建设用地使用权/房屋所有权-批量房屋初始化
* @param data
* @author ssq 2023年5月26日14点29分
*/
export function BatchInit(data){
let apiUrl = "";
switch (data.get("djlx")) {
case "100":
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/fristBatchInit";
break;
case "200":
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/transferInit";
break;
case "300":
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/changeInit";
break;
case "400":
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/logoutBatchSave";
break;
case "500":
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/riviseInit";
break;
case "901":
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/renewalInit";
break;
case "902":
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/replaceInit";
break;
}
return request({
url: apiUrl,
method: 'post',
data
})
}
/**
* @description: 初始化内容
* @param {*} data
......
......@@ -39,10 +39,10 @@
</div>
</template>
<script>
import { mapGetters } from 'vuex'
import { leftMenu } from "@/api/fqsq.js"
import { deleteSlbdcdy } from "@/api/ywbl.js";
export default {
import { mapGetters } from 'vuex'
import { leftMenu } from "@/api/fqsq.js"
import { deleteSlbdcdy } from "@/api/ywbl.js";
export default {
data () {
return {
//受理申请标识码
......@@ -105,6 +105,10 @@
if (this.unitData.length > 1) {
let qllx = this.$route.query?.sqywbm?.substring(0, 3);
switch (qllx) {
case 'A04':
this.showBatch = true;
this.batchButtonName = '批量单元信息';
break;
case 'B39':
this.showBatch = true;
this.batchButtonName = '批量查封清单信息';
......@@ -159,6 +163,7 @@
this.currentSelectProps.batchOperation = true;
this.activeIndex = "-1";
this.$parent.stepForm();
},
//批量操作
handleBatchDel () {
......@@ -178,12 +183,12 @@
this.$store.dispatch('user/refreshPage', false);
}
}
}
}
</script>
<style scoped lang='scss'>
@import "~@/styles/mixin.scss";
@import "../../workFrame.scss";
.leftmenu ul {
@import "~@/styles/mixin.scss";
@import "../../workFrame.scss";
.leftmenu ul {
height: calc(100vh - 120px);
}
}
</style>
......
......@@ -4,7 +4,7 @@
* @LastEditTime: 2023-05-29 14:39:11
*/
//流程环节操作按钮
export function getForm (tabName, djywbm) {
export function getForm(tabName, djywbm) {
let form;
switch (tabName) {
case "jsydsyqslxx100":
......@@ -22,6 +22,9 @@ export function getForm (tabName, djywbm) {
case "nydsyqslxx100":
form = require("@/views/ywbl/slsqxx/nydsyq/slxx.vue");
break;
case "plfdcq2":
form = require("@/views/ywbl/slsqxx/fdcq2/slxxOverview.vue");
break;
case "nydsyqslxx200":
form = require("@/views/ywbl/slsqxx/nydsyq/slxx200.vue");
break;
......