11111
Showing
4 changed files
with
8 additions
and
188 deletions
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 "../components/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: { | ||
54 | type: Object, | ||
55 | default: {} | ||
56 | }, | ||
57 | bsmSqyw: { type: String, default: '' }, | ||
58 | }, | ||
59 | data () { | ||
60 | return { | ||
61 | queryForm: defaultParameters.defaultParameters(), | ||
62 | |||
63 | qllxs: [], | ||
64 | tableData: { | ||
65 | total: 0, | ||
66 | columns: datas.columns(), | ||
67 | data: [], | ||
68 | }, | ||
69 | bdcdysz: [] | ||
70 | }; | ||
71 | }, | ||
72 | mounted () { | ||
73 | sendThis(this); | ||
74 | }, | ||
75 | methods: { | ||
76 | //点击行选中或取消复选框 | ||
77 | handleRowClick (row, column, event) { | ||
78 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
79 | this.$refs.table.toggleRowSelection(row); | ||
80 | }, | ||
81 | closeDialog () { | ||
82 | this.$emit("closeDialog"); | ||
83 | }, | ||
84 | queryClick () { | ||
85 | this.fetchData() | ||
86 | }, | ||
87 | fetchData () { | ||
88 | this.queryForm.sqywbm = this.djywbm; | ||
89 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
90 | if (res.code === 200) { | ||
91 | let { total, records } = res.result; | ||
92 | this.tableData.total = total; | ||
93 | this.tableData.data = records; | ||
94 | } | ||
95 | }); | ||
96 | }, | ||
97 | submitForm () { | ||
98 | if (this.bdcdysz.length == 0) { | ||
99 | this.$message.error("请至少选择一条数据"); | ||
100 | return; | ||
101 | } | ||
102 | startBusinessFlow({ | ||
103 | bsmSqyw: this.bsmSqyw, | ||
104 | bdcdysz: this.bdcdysz, | ||
105 | djqxbm: this.djqxObj?.djqxbm, | ||
106 | djqxmc: this.djqxObj?.djqxmc | ||
107 | }).then((res) => { | ||
108 | if (res.code == 200) { | ||
109 | this.$message({ | ||
110 | showClose: true, | ||
111 | message: '发起申请成功', | ||
112 | type: 'success' | ||
113 | }) | ||
114 | if (!this.isJump) { | ||
115 | this.jump(res.result, this.djywbm) | ||
116 | } else { | ||
117 | this.$emit('updateDialog', true) | ||
118 | } | ||
119 | } else { | ||
120 | this.$message.error(res.message); | ||
121 | } | ||
122 | }) | ||
123 | }, | ||
124 | handleSelectionChange (val) { | ||
125 | this.bdcdysz = val; | ||
126 | } | ||
127 | } | ||
128 | } | ||
129 | </script> | ||
130 | <style scoped lang="scss"> | ||
131 | @import "~@/styles/mixin.scss"; | ||
132 | @import "~@/styles/public.scss"; | ||
133 | </style> | ||
134 |
... | @@ -129,7 +129,12 @@ export default { | ... | @@ -129,7 +129,12 @@ export default { |
129 | this.$emit("closeDialog"); | 129 | this.$emit("closeDialog"); |
130 | }, | 130 | }, |
131 | fetchData() { | 131 | fetchData() { |
132 | if(this.djqxObj.nodetype==="djlx"){ | ||
133 | this.queryForm.bsmSqyw = this.djqxObj.bsmSqyw; | ||
134 | }else{ | ||
132 | this.queryForm.bsmSqyw = this.djqxObj.parentid; | 135 | this.queryForm.bsmSqyw = this.djqxObj.parentid; |
136 | } | ||
137 | console.log(this.queryForm); | ||
133 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 138 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
134 | if (res.code === 200) { | 139 | if (res.code === 200) { |
135 | let { total, records } = res.result; | 140 | let { total, records } = res.result; | ... | ... |
... | @@ -57,7 +57,7 @@ | ... | @@ -57,7 +57,7 @@ |
57 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; | 57 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; |
58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
59 | import table from "@/utils/mixin/table"; | 59 | import table from "@/utils/mixin/table"; |
60 | import jump from "../components/mixin/jump"; | 60 | import jump from "./mixin/jump"; |
61 | import { startBusinessFlow, selectJsydQlxx } from "@/api/ywbl.js"; | 61 | import { startBusinessFlow, selectJsydQlxx } from "@/api/ywbl.js"; |
62 | export default { | 62 | export default { |
63 | mixins: [table, jump], | 63 | mixins: [table, jump], | ... | ... |
... | @@ -4,58 +4,6 @@ export function queueDjywmc(djywbm) { | ... | @@ -4,58 +4,6 @@ export function queueDjywmc(djywbm) { |
4 | case "A03100"://建设用地使用权(首次登记) | 4 | case "A03100"://建设用地使用权(首次登记) |
5 | case "A05100"://宅基地使用权(首次登记) | 5 | case "A05100"://宅基地使用权(首次登记) |
6 | case "A07100"://集体建设用地使用权(首次登记) | 6 | case "A07100"://集体建设用地使用权(首次登记) |
7 | vm = "jsydsyq100"; | ||
8 | break; | ||
9 | case "A03200": | ||
10 | case "A03300": | ||
11 | case "A03400": | ||
12 | vm = "jsydsyq200"; | ||
13 | break; | ||
14 | case "A04100"://国有建设用地使用权/房屋所有权(首次登记) | ||
15 | vm = "fwsyq"; | ||
16 | break; | ||
17 | case "A23100"://农用地使用权(首次登记) | ||
18 | case "A09100"://土地经营权(首次登记) | ||
19 | vm = "nydsyq100"; | ||
20 | break; | ||
21 | case "A23200": | ||
22 | case "A23300": | ||
23 | case "A23400": | ||
24 | case "A09200": | ||
25 | case "A09300": | ||
26 | case "A09400": | ||
27 | vm = "nydsyq200"; | ||
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"; | 7 | vm = "selectQjzdjbxx"; |
60 | break; | 8 | break; |
61 | case "A03200": | 9 | case "A03200": |
... | @@ -70,6 +18,8 @@ export function getComponent(djywbm) { | ... | @@ -70,6 +18,8 @@ export function getComponent(djywbm) { |
70 | vm = "selectJsydsyq"; | 18 | vm = "selectJsydsyq"; |
71 | break; | 19 | break; |
72 | case "A04100"://国有建设用地使用权/房屋所有权(首次登记) | 20 | case "A04100"://国有建设用地使用权/房屋所有权(首次登记) |
21 | case "A06100": | ||
22 | case "A08100": | ||
73 | vm = "fwsyq"; | 23 | vm = "fwsyq"; |
74 | break; | 24 | break; |
75 | case "A23100"://农用地使用权(首次登记) | 25 | case "A23100"://农用地使用权(首次登记) |
... | @@ -106,4 +56,3 @@ export function getComponent(djywbm) { | ... | @@ -106,4 +56,3 @@ export function getComponent(djywbm) { |
106 | } | 56 | } |
107 | return vm; | 57 | return vm; |
108 | } | 58 | } |
... | \ No newline at end of file | ... | \ No newline at end of file |
109 | ... | ... |
-
Please register or sign in to post a comment