385c6f83 by 田浩浩

111

1 parent 9e058b07
1 <template>
2 <div class="from-clues">
3 <!-- 表单部分 国有建设用地使用权 -->
4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="120px">
6 <el-row>
7 <el-col :span="10">
8 <el-form-item label="不动产单元号">
9 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width300px">
10 </el-input>
11 </el-form-item>
12 </el-col>
13 <el-col :span="10">
14 <el-form-item label="坐落">
15 <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px">
16 </el-input>
17 </el-form-item>
18 </el-col>
19 <el-col :span="4" class="btnColRight">
20 <el-form-item>
21 <el-button type="primary" @click="fetchData">查询</el-button>
22 </el-form-item>
23 </el-col>
24 </el-row>
25 </el-form>
26 </div>
27 <!-- 表格 -->
28 <div class="from-clues-content">
29 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
30 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
31 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
32 :data="tableData.data">
33 </lb-table>
34 </div>
35 <div class="submit_button">
36 <el-button @click="closeDialog">取消</el-button>
37 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
38 </div>
39 </div>
40 </template>
41 <script>
42 //首次登记
43 import { datas, sendThis } from "../javascript/jsydsyq100.js";
44 import { defaultParameters } from "../javascript/publicDefaultPar.js";
45 import table from "@/utils/mixin/table";
46 import jump from "./mixin/jump";
47 import { startBusinessFlow, selectZdjbxx } from "@/api/ywbl.js";
48 export default {
49 mixins: [table, jump],
50 props: {
51 isJump: { type: Boolean, default: false },
52 djywbm: { type: String, default: '' },
53 djqxObj: {type: Object, default: {}},
54 bsmSqyw: { type: String, default: '' },
55 },
56 data () {
57 return {
58 queryForm: defaultParameters.defaultParameters(),
59
60 qllxs: [],
61 tableData: {
62 total: 0,
63 columns: datas.columns(),
64 data: [],
65 },
66 bdcdysz: []
67 };
68 },
69 mounted () {
70 sendThis(this);
71 },
72 methods: {
73 //点击行选中或取消复选框
74 handleRowClick (row, column, event) {
75 //通过ref绑定后这里使用$refs.table来操作bom元素
76 this.$refs.table.toggleRowSelection(row);
77 },
78 closeDialog () {
79 this.$emit("closeDialog");
80 },
81 queryClick () {
82 this.fetchData()
83 },
84 fetchData () {
85 this.queryForm.sqywbm = this.djywbm;
86 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
87 if (res.code === 200) {
88 let { total, records } = res.result;
89 this.tableData.total = total;
90 this.tableData.data = records;
91 }
92 });
93 },
94 submitForm () {
95 if (this.bdcdysz.length == 0) {
96 this.$message.error("请至少选择一条数据");
97 return;
98 }
99 startBusinessFlow({
100 bsmSqyw: this.bsmSqyw,
101 bdcdysz: this.bdcdysz,
102 djqxbm: this.djqxObj?.djqxbm,
103 djqxmc: this.djqxObj?.djqxmc
104 }).then((res) => {
105 if (res.code == 200) {
106 this.$message({
107 showClose: true,
108 message: '发起申请成功',
109 type: 'success'
110 })
111 if (!this.isJump) {
112 this.jump(res.result, this.djywbm)
113 } else {
114 this.$emit('updateDialog', true)
115 }
116 } else {
117 this.$message.error(res.message);
118 }
119 })
120 },
121 handleSelectionChange (val) {
122 this.bdcdysz = val;
123 }
124 }
125 }
126 </script>
127 <style scoped lang="scss">
128 @import "~@/styles/mixin.scss";
129 @import "~@/styles/public.scss";
130 </style>
131
1 export function queueDjywmc (djywbm) { 1 export function queueDjywmc(djywbm) {
2 let vm = null; 2 let vm = null;
3 switch (djywbm) { 3 switch (djywbm) {
4 case "A03100"://建设用地使用权(首次登记) 4 case "A03100"://建设用地使用权(首次登记)
...@@ -18,14 +18,72 @@ export function queueDjywmc (djywbm) { ...@@ -18,14 +18,72 @@ export function queueDjywmc (djywbm) {
18 case "A09100"://土地经营权(首次登记) 18 case "A09100"://土地经营权(首次登记)
19 vm = "nydsyq100"; 19 vm = "nydsyq100";
20 break; 20 break;
21 case "A23200": 21 case "A23200":
22 case "A23300": 22 case "A23300":
23 case "A23400": 23 case "A23400":
24 case "A09200": 24 case "A09200":
25 case "A09300": 25 case "A09300":
26 case "A09400": 26 case "A09400":
27 vm = "nydsyq200"; 27 vm = "nydsyq200";
28 break; 28 break;
29 case "A05200":
30 case "A05300":
31 case "A05400":
32 case "A07200":
33 case "A07300":
34 case "A07400":
35 vm = "jsydsyq200";
36 break;
37 case "A37200"://抵押权转移
38 case "A37300"://抵押权变更
39 case "A37400"://抵押权注销
40 vm = "diyaq";
41 break;
42 case "B39300"://续封
43 case "B39400"://解封
44 vm = "cfdj";
45 break;
46 default:
47 vm = "selecBdcql";
48 }
49 return vm;
50 }
51
52 //获取查询业务子组件
53 export function getComponent(djywbm) {
54 let vm = null;
55 switch (djywbm) {
56 case "A03100"://建设用地使用权(首次登记)
57 case "A05100"://宅基地使用权(首次登记)
58 case "A07100"://集体建设用地使用权(首次登记)
59 vm = "selectQjzdjbxx";
60 break;
61 case "A03200":
62 case "A03300":
63 case "A03400":
64 case "A05200":
65 case "A05300":
66 case "A05400":
67 case "A07200":
68 case "A07300":
69 case "A07400":
70 vm = "selectJsydsyq";
71 break;
72 case "A04100"://国有建设用地使用权/房屋所有权(首次登记)
73 vm = "fwsyq";
74 break;
75 case "A23100"://农用地使用权(首次登记)
76 case "A09100"://土地经营权(首次登记)
77 vm = "nydsyq100";
78 break;
79 case "A23200":
80 case "A23300":
81 case "A23400":
82 case "A09200":
83 case "A09300":
84 case "A09400":
85 vm = "nydsyq200";
86 break;
29 case "A05200": 87 case "A05200":
30 case "A05300": 88 case "A05300":
31 case "A05400": 89 case "A05400":
...@@ -47,4 +105,5 @@ export function queueDjywmc (djywbm) { ...@@ -47,4 +105,5 @@ export function queueDjywmc (djywbm) {
47 vm = "selecBdcql"; 105 vm = "selecBdcql";
48 } 106 }
49 return vm; 107 return vm;
50 }
...\ No newline at end of file ...\ No newline at end of file
108 }
109
......