feat(cxlz):自然幢重新落宗
Showing
4 changed files
with
544 additions
and
12 deletions
... | @@ -20,7 +20,7 @@ export function updateQjH(data) { | ... | @@ -20,7 +20,7 @@ export function updateQjH(data) { |
20 | return request({ | 20 | return request({ |
21 | url: '/system/qjH/updateQjH', | 21 | url: '/system/qjH/updateQjH', |
22 | method: 'put', | 22 | method: 'put', |
23 | data:data | 23 | data: data |
24 | }) | 24 | }) |
25 | } | 25 | } |
26 | 26 | ||
... | @@ -31,6 +31,17 @@ export function batchUpdateQjH(data) { | ... | @@ -31,6 +31,17 @@ export function batchUpdateQjH(data) { |
31 | return request({ | 31 | return request({ |
32 | url: '/system/qjH/batchH', | 32 | url: '/system/qjH/batchH', |
33 | method: 'post', | 33 | method: 'post', |
34 | data:data | 34 | data: data |
35 | }) | ||
36 | } | ||
37 | |||
38 | /** | ||
39 | * 自然幢重新落宗 | ||
40 | */ | ||
41 | export function zrzcxlz(data) { | ||
42 | return request({ | ||
43 | url: '/fw/qjZrz/zrzcxlz', | ||
44 | method: 'put', | ||
45 | data: data | ||
35 | }) | 46 | }) |
36 | } | 47 | } | ... | ... |
1 | <template> | ||
2 | <div> | ||
3 | <el-dialog | ||
4 | title="选择宗地" | ||
5 | :visible.sync="isVisible" | ||
6 | width="50%" | ||
7 | @close="close" | ||
8 | :modal-append-to-body="false" | ||
9 | > | ||
10 | <div class="search"> | ||
11 | <el-button type="primary" @click="search">查询</el-button> | ||
12 | <el-button type="primary" @click="result">重置</el-button> | ||
13 | <el-row :gutter="10" class="shop"> | ||
14 | <el-col :span="4" class="inputtitle"> | ||
15 | 宗地编码: | ||
16 | </el-col> | ||
17 | <el-col :span="8" class=""> | ||
18 | <el-input v-model="queryData.zddm"></el-input> | ||
19 | </el-col> | ||
20 | <el-col :span="4" class="inputtitle"> | ||
21 | 不动产权证号: | ||
22 | </el-col> | ||
23 | <el-col :span="8" class=""> | ||
24 | <el-input v-model="queryData.bdcqzh"></el-input> | ||
25 | </el-col> | ||
26 | </el-row> | ||
27 | <el-row :gutter="10"> | ||
28 | <el-col :span="4" class="inputtitle"> | ||
29 | 不动产权单元号: | ||
30 | </el-col> | ||
31 | <el-col :span="8"> | ||
32 | <el-input v-model="queryData.bdcdyh"></el-input> | ||
33 | </el-col> | ||
34 | <el-col :span="4" class="inputtitle"> | ||
35 | 权利人: | ||
36 | </el-col> | ||
37 | <el-col :span="8"> | ||
38 | <el-input v-model="queryData.qlrmc"></el-input> | ||
39 | </el-col> | ||
40 | </el-row> | ||
41 | <el-row :gutter="10"> | ||
42 | <el-col :span="4" class="inputtitle"> | ||
43 | 坐落: | ||
44 | </el-col> | ||
45 | <el-col :span="8"> | ||
46 | <el-input v-model="queryData.zl"></el-input> | ||
47 | </el-col> | ||
48 | </el-row> | ||
49 | <table border="1"> | ||
50 | <tr> | ||
51 | <td>序号</td> | ||
52 | <td>操作</td> | ||
53 | <td>宗地代码</td> | ||
54 | <td>不动产单元号</td> | ||
55 | <td>项目名称</td> | ||
56 | <td>不动产权证号</td> | ||
57 | <td>权利人</td> | ||
58 | <td>坐落</td> | ||
59 | </tr> | ||
60 | <tr v-if="Data.length==0"> | ||
61 | <td colspan="8"> | ||
62 | <span class="noData">暂无数据</span> | ||
63 | </td> | ||
64 | </tr> | ||
65 | <tr v-else v-for="(item,index) in Data" :key="index"> | ||
66 | <td>{{index+1}}</td> | ||
67 | <td @click="select(item)" class="xz"> | ||
68 | <span>选择</span> | ||
69 | </td> | ||
70 | <td>{{item.zddm}}</td> | ||
71 | <td>{{item.bdcdyh}}</td> | ||
72 | <td>{{item.xmmc}}</td> | ||
73 | <td>{{item.bdcqzh}}</td> | ||
74 | <td>{{item.qlr}}</td> | ||
75 | <td>{{item.zl}}</td> | ||
76 | </tr> | ||
77 | |||
78 | </table> | ||
79 | </div> | ||
80 | <div class="footer-button"> | ||
81 | <el-button type="primary" @click="save">确认</el-button> | ||
82 | <el-button type="primary" @click="close">取消</el-button> | ||
83 | </div> | ||
84 | </el-dialog> | ||
85 | </div> | ||
86 | </template> | ||
87 | |||
88 | <script> | ||
89 | import {getSearchList} from './../../api/search' | ||
90 | import {zrzcxlz} from './../../api/h' | ||
91 | import {Message} from 'element-ui' | ||
92 | |||
93 | export default { | ||
94 | name: "cxlzQueryData", | ||
95 | data() { | ||
96 | return { | ||
97 | queryData: { | ||
98 | bdcdyh: "", | ||
99 | bdcqzh: "", | ||
100 | dylxs: ['zd'], | ||
101 | qlrmc: "", | ||
102 | qszt: "2", | ||
103 | xmmc: "", | ||
104 | zddm: "", | ||
105 | zl: "" | ||
106 | }, | ||
107 | Data: [], | ||
108 | isVisible: false, | ||
109 | zdbsm:'' | ||
110 | } | ||
111 | }, | ||
112 | props: { | ||
113 | centerDialogVisible: { | ||
114 | type: Boolean, | ||
115 | default: function () { | ||
116 | return false | ||
117 | } | ||
118 | }, | ||
119 | dylxs: { | ||
120 | type: Array, | ||
121 | default: function () { | ||
122 | return ['zd'] | ||
123 | } | ||
124 | }, | ||
125 | zrzbsm: { | ||
126 | type: String | ||
127 | } | ||
128 | }, | ||
129 | mounted() { | ||
130 | this.getData(this.queryData) | ||
131 | }, | ||
132 | created() { | ||
133 | }, | ||
134 | methods: { | ||
135 | select: function (val) { | ||
136 | this.zdbsm = val.glbsm | ||
137 | }, | ||
138 | save: function () { | ||
139 | |||
140 | |||
141 | zrzcxlz({ | ||
142 | zdBsm: this.zdbsm, | ||
143 | zrzBsm: this.zrzbsm | ||
144 | }).then(res => { | ||
145 | if (res.success) { | ||
146 | this.close() | ||
147 | } else { | ||
148 | Message.error(res.message) | ||
149 | } | ||
150 | }) | ||
151 | }, | ||
152 | result: function () { | ||
153 | this.queryData = { | ||
154 | bdcdyh: "", | ||
155 | bdcqzh: "", | ||
156 | qlrmc: "", | ||
157 | qszt: "2", | ||
158 | xmmc: "", | ||
159 | zddm: "", | ||
160 | zl: "" | ||
161 | }; | ||
162 | this.getData(this.queryData) | ||
163 | }, | ||
164 | getData: function (data) { | ||
165 | data['dylxs'] = this.dylxs; | ||
166 | getSearchList(data).then(res => { | ||
167 | this.Data = res.result.records | ||
168 | }) | ||
169 | }, | ||
170 | search: function () { | ||
171 | this.getData(this.queryData) | ||
172 | }, | ||
173 | close: function () { | ||
174 | this.$emit('close') | ||
175 | this.result(); | ||
176 | this.isVisible = false | ||
177 | } | ||
178 | }, | ||
179 | watch: { | ||
180 | centerDialogVisible(val) { | ||
181 | this.isVisible = val | ||
182 | } | ||
183 | } | ||
184 | } | ||
185 | </script> | ||
186 | |||
187 | <style scoped lang="less"> | ||
188 | |||
189 | .main { | ||
190 | box-sizing: border-box; | ||
191 | padding: 18px; | ||
192 | height: auto; | ||
193 | width: 80%; | ||
194 | } | ||
195 | |||
196 | table { | ||
197 | margin-top: 10px; | ||
198 | background-color: #fff; | ||
199 | font-size: 14px; | ||
200 | width: 100%; | ||
201 | } | ||
202 | |||
203 | td { | ||
204 | text-align: center; | ||
205 | height: 36px; | ||
206 | min-width: 50px; | ||
207 | } | ||
208 | |||
209 | table:hover { | ||
210 | cursor: pointer; | ||
211 | } | ||
212 | |||
213 | .inputtitle { | ||
214 | line-height: 40px; | ||
215 | } | ||
216 | |||
217 | .shop { | ||
218 | margin-top: 20px; | ||
219 | } | ||
220 | |||
221 | .xz { | ||
222 | color: blue; | ||
223 | } | ||
224 | |||
225 | .noData { | ||
226 | color: #b2b2b2; | ||
227 | } | ||
228 | |||
229 | .footer-button { | ||
230 | text-align: center; | ||
231 | margin-top: 20px; | ||
232 | } | ||
233 | |||
234 | </style> |
src/components/query/query.vue
0 → 100644
1 | <template> | ||
2 | <div class="main"> | ||
3 | <div class="search"> | ||
4 | <el-button type="primary" @click="search">查询</el-button> | ||
5 | <el-button type="primary" @click="result">重置</el-button> | ||
6 | <el-row :gutter="10" class="shop"> | ||
7 | <el-col :span="4" class="inputtitle"> | ||
8 | 宗地编码: | ||
9 | </el-col> | ||
10 | <el-col :span="8" class=""> | ||
11 | <el-input v-model="queryData.zddm"></el-input> | ||
12 | </el-col> | ||
13 | <el-col :span="4" class="inputtitle"> | ||
14 | 不动产权证号: | ||
15 | </el-col> | ||
16 | <el-col :span="8" class=""> | ||
17 | <el-input v-model="queryData.bdcqzh"></el-input> | ||
18 | </el-col> | ||
19 | </el-row> | ||
20 | <el-row :gutter="10"> | ||
21 | <el-col :span="4" class="inputtitle"> | ||
22 | 不动产权单元号: | ||
23 | </el-col> | ||
24 | <el-col :span="8"> | ||
25 | <el-input v-model="queryData.bdcdyh"></el-input> | ||
26 | </el-col> | ||
27 | <el-col :span="4" class="inputtitle"> | ||
28 | 权利人: | ||
29 | </el-col> | ||
30 | <el-col :span="8"> | ||
31 | <el-input v-model="queryData.qlrmc"></el-input> | ||
32 | </el-col> | ||
33 | </el-row> | ||
34 | <el-row :gutter="10"> | ||
35 | <el-col :span="4" class="inputtitle"> | ||
36 | 坐落: | ||
37 | </el-col> | ||
38 | <el-col :span="8"> | ||
39 | <el-input v-model="queryData.zl"></el-input> | ||
40 | </el-col> | ||
41 | </el-row> | ||
42 | <table border="1"> | ||
43 | <tr> | ||
44 | <td>序号</td> | ||
45 | <td>操作</td> | ||
46 | <td>宗地代码</td> | ||
47 | <td>不动产单元号</td> | ||
48 | <td>项目名称</td> | ||
49 | <td>不动产权证号</td> | ||
50 | <td>权利人</td> | ||
51 | <td>坐落</td> | ||
52 | </tr> | ||
53 | <tr v-if="Data.length==0"> | ||
54 | <td colspan="8"> | ||
55 | <span class="noData">暂无数据</span> | ||
56 | </td> | ||
57 | </tr> | ||
58 | <tr v-else v-for="(item,index) in Data" :key="index"> | ||
59 | <td>{{index+1}}</td> | ||
60 | <td @click="addData(item)" class="xz"> | ||
61 | <span>选择</span> | ||
62 | </td> | ||
63 | <td>{{item.zddm}}</td> | ||
64 | <td>{{item.bdcdyh}}</td> | ||
65 | <td>{{item.xmmc}}</td> | ||
66 | <td>{{item.bdcqzh}}</td> | ||
67 | <td>{{item.qlr}}</td> | ||
68 | <td>{{item.zl}}</td> | ||
69 | </tr> | ||
70 | |||
71 | </table> | ||
72 | </div> | ||
73 | <span slot="footer" class="dialog-footer"> | ||
74 | </span> | ||
75 | </div> | ||
76 | </template> | ||
77 | |||
78 | <script> | ||
79 | export default { | ||
80 | name: "query" | ||
81 | } | ||
82 | </script> | ||
83 | |||
84 | <style scoped lang="less"> | ||
85 | .main { | ||
86 | box-sizing: border-box; | ||
87 | padding: 18px; | ||
88 | height: auto; | ||
89 | width: 80%; | ||
90 | } | ||
91 | |||
92 | table { | ||
93 | margin-top: 10px; | ||
94 | background-color: #fff; | ||
95 | font-size: 14px; | ||
96 | width: 100%; | ||
97 | } | ||
98 | |||
99 | td { | ||
100 | text-align: center; | ||
101 | height: 36px; | ||
102 | min-width: 50px; | ||
103 | } | ||
104 | |||
105 | table:hover { | ||
106 | cursor: pointer; | ||
107 | } | ||
108 | |||
109 | .inputtitle { | ||
110 | line-height: 40px; | ||
111 | } | ||
112 | |||
113 | .shop { | ||
114 | margin-top: 20px; | ||
115 | } | ||
116 | |||
117 | .xz { | ||
118 | color: blue; | ||
119 | } | ||
120 | |||
121 | .noData { | ||
122 | color: #b2b2b2; | ||
123 | } | ||
124 | </style> |
1 | <template> | 1 | <template> |
2 | <div class="">重新落宗</div> | 2 | <div class="main"> |
3 | <div class="search"> | ||
4 | <el-button type="primary" @click="search">查询</el-button> | ||
5 | <el-button type="primary" @click="result">重置</el-button> | ||
6 | <el-row :gutter="10" class="shop"> | ||
7 | <el-col :span="4" class="inputtitle"> | ||
8 | 宗地编码: | ||
9 | </el-col> | ||
10 | <el-col :span="8" class=""> | ||
11 | <el-input v-model="queryData.zddm"></el-input> | ||
12 | </el-col> | ||
13 | <el-col :span="4" class="inputtitle"> | ||
14 | 不动产权证号: | ||
15 | </el-col> | ||
16 | <el-col :span="8" class=""> | ||
17 | <el-input v-model="queryData.bdcqzh"></el-input> | ||
18 | </el-col> | ||
19 | </el-row> | ||
20 | <el-row :gutter="10"> | ||
21 | <el-col :span="4" class="inputtitle"> | ||
22 | 不动产权单元号: | ||
23 | </el-col> | ||
24 | <el-col :span="8"> | ||
25 | <el-input v-model="queryData.bdcdyh"></el-input> | ||
26 | </el-col> | ||
27 | <el-col :span="4" class="inputtitle"> | ||
28 | 权利人: | ||
29 | </el-col> | ||
30 | <el-col :span="8"> | ||
31 | <el-input v-model="queryData.qlrmc"></el-input> | ||
32 | </el-col> | ||
33 | </el-row> | ||
34 | <el-row :gutter="10"> | ||
35 | <el-col :span="4" class="inputtitle"> | ||
36 | 坐落: | ||
37 | </el-col> | ||
38 | <el-col :span="8"> | ||
39 | <el-input v-model="queryData.zl"></el-input> | ||
40 | </el-col> | ||
41 | </el-row> | ||
42 | <table border="1"> | ||
43 | <tr> | ||
44 | <td>序号</td> | ||
45 | <td>操作</td> | ||
46 | <td>宗地代码</td> | ||
47 | <td>不动产单元号</td> | ||
48 | <td>项目名称</td> | ||
49 | <td>不动产权证号</td> | ||
50 | <td>权利人</td> | ||
51 | <td>坐落</td> | ||
52 | </tr> | ||
53 | <tr v-if="Data.length==0"> | ||
54 | <td colspan="8"> | ||
55 | <span class="noData">暂无数据</span> | ||
56 | </td> | ||
57 | </tr> | ||
58 | <tr v-else v-for="(item,index) in Data" :key="index"> | ||
59 | <td>{{index+1}}</td> | ||
60 | <td @click="xzzrz(item)" class="xz"> | ||
61 | <span>选择</span> | ||
62 | </td> | ||
63 | <td>{{item.zddm}}</td> | ||
64 | <td>{{item.bdcdyh}}</td> | ||
65 | <td>{{item.xmmc}}</td> | ||
66 | <td>{{item.bdcqzh}}</td> | ||
67 | <td>{{item.qlr}}</td> | ||
68 | <td>{{item.zl}}</td> | ||
69 | </tr> | ||
70 | |||
71 | </table> | ||
72 | </div> | ||
73 | <span slot="footer" class="dialog-footer"> | ||
74 | </span> | ||
75 | <cxlz-query-data :centerDialogVisible="centerDialogVisible" :dylxs="dylxs" @close="close" | ||
76 | :zrzbsm="zrzbsm"></cxlz-query-data> | ||
77 | </div> | ||
3 | </template> | 78 | </template> |
4 | 79 | ||
5 | <script> | 80 | <script> |
6 | export default { | 81 | import {getSearchList} from './../../../../api/search' |
7 | name:"", | 82 | import cxlzQueryData from "../../../../components/cxlxQueryData/cxlzQueryData"; |
8 | components:{}, | 83 | |
9 | props:{}, | 84 | export default { |
10 | data(){ | 85 | name: "", |
86 | components: {cxlzQueryData}, | ||
87 | props: {}, | ||
88 | data() { | ||
11 | return { | 89 | return { |
90 | centerDialogVisible: false, | ||
91 | zrzbsm: "", | ||
92 | queryData: { | ||
93 | bdcdyh: "", | ||
94 | bdcqzh: "", | ||
95 | dylxs: ['zrz'], | ||
96 | qlrmc: "", | ||
97 | qszt: "", | ||
98 | xmmc: "", | ||
99 | zddm: "", | ||
100 | zl: "", | ||
101 | }, | ||
102 | Data: [], | ||
103 | dylxs: ['zd'] | ||
12 | } | 104 | } |
13 | }, | 105 | }, |
14 | created(){}, | 106 | created() { |
15 | mounted(){}, | 107 | }, |
16 | methods:{}, | 108 | mounted() { |
109 | this.getData(this.queryData) | ||
110 | }, | ||
111 | methods: { | ||
112 | xzzrz: function (item) { | ||
113 | this.centerDialogVisible = true; | ||
114 | this.zrzbsm = item.glbsm; | ||
115 | }, | ||
116 | close: function () { | ||
117 | this.centerDialogVisible = false; | ||
118 | }, | ||
119 | result: function () { | ||
120 | this.queryData = { | ||
121 | bdcdyh: "", | ||
122 | bdcqzh: "", | ||
123 | qlrmc: "", | ||
124 | qszt: "", | ||
125 | xmmc: "", | ||
126 | zddm: "", | ||
127 | zl: "", | ||
128 | dylxs: ['zrz'] | ||
129 | }; | ||
130 | this.getData(this.queryData) | ||
131 | }, | ||
132 | getData: function (data) { | ||
133 | getSearchList(data).then(res => { | ||
134 | this.Data = res.result.records | ||
135 | }) | ||
136 | }, | ||
137 | search: function () { | ||
138 | this.getData(this.queryData) | ||
139 | }, | ||
140 | }, | ||
17 | computed: {}, | 141 | computed: {}, |
18 | watch: {}, | 142 | watch: {}, |
19 | } | 143 | } |
20 | </script> | 144 | </script> |
21 | <style scoped lang="less"> | 145 | <style scoped lang="less"> |
146 | .main { | ||
147 | box-sizing: border-box; | ||
148 | padding: 18px; | ||
149 | height: auto; | ||
150 | width: 80%; | ||
151 | } | ||
152 | |||
153 | table { | ||
154 | margin-top: 10px; | ||
155 | background-color: #fff; | ||
156 | font-size: 14px; | ||
157 | width: 100%; | ||
158 | } | ||
159 | |||
160 | td { | ||
161 | text-align: center; | ||
162 | height: 36px; | ||
163 | min-width: 50px; | ||
164 | } | ||
165 | |||
166 | table:hover { | ||
167 | cursor: pointer; | ||
168 | } | ||
169 | |||
170 | .inputtitle { | ||
171 | line-height: 40px; | ||
172 | } | ||
173 | |||
174 | .shop { | ||
175 | margin-top: 20px; | ||
176 | } | ||
177 | |||
178 | .xz { | ||
179 | color: blue; | ||
180 | } | ||
181 | |||
182 | .noData { | ||
183 | color: #b2b2b2; | ||
184 | } | ||
22 | </style> | 185 | </style> | ... | ... |
-
Please register or sign in to post a comment