feat(hcxlz):户重新落宗功能实现
Showing
3 changed files
with
45 additions
and
3 deletions
... | @@ -167,4 +167,26 @@ export function zdfg(data) { | ... | @@ -167,4 +167,26 @@ export function zdfg(data) { |
167 | }) | 167 | }) |
168 | } | 168 | } |
169 | 169 | ||
170 | /** | ||
171 | * 获取宗地下的自然幢、逻辑幢、幢单元 | ||
172 | */ | ||
173 | export function zdXlcd(bsm) { | ||
174 | return request({ | ||
175 | url:'/zd/qjZdjbxx/parcels', | ||
176 | method:'get', | ||
177 | params:{ | ||
178 | bsm | ||
179 | } | ||
180 | }) | ||
181 | } | ||
170 | 182 | ||
183 | /** | ||
184 | * 户落宗 | ||
185 | */ | ||
186 | export function hzl(data) { | ||
187 | return request({ | ||
188 | url:'/system/qjH/hcxlz', | ||
189 | method:'put', | ||
190 | data:data | ||
191 | }) | ||
192 | } | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -79,6 +79,16 @@ | ... | @@ -79,6 +79,16 @@ |
79 | </div> | 79 | </div> |
80 | <span slot="footer" class="dialog-footer"> | 80 | <span slot="footer" class="dialog-footer"> |
81 | </span> | 81 | </span> |
82 | <div class="page"> | ||
83 | <el-pagination | ||
84 | background | ||
85 | layout="prev, pager, next,total" | ||
86 | :page-size="queryData.pageSize" | ||
87 | :total="total" | ||
88 | @current-change="currentChange" | ||
89 | > | ||
90 | </el-pagination> | ||
91 | </div> | ||
82 | </el-dialog> | 92 | </el-dialog> |
83 | 93 | ||
84 | </div> | 94 | </div> |
... | @@ -91,6 +101,7 @@ | ... | @@ -91,6 +101,7 @@ |
91 | name: "queryData", | 101 | name: "queryData", |
92 | data() { | 102 | data() { |
93 | return { | 103 | return { |
104 | total:1, | ||
94 | queryData: { | 105 | queryData: { |
95 | bdcdyh: "", | 106 | bdcdyh: "", |
96 | bdcqzh: "", | 107 | bdcqzh: "", |
... | @@ -99,7 +110,9 @@ | ... | @@ -99,7 +110,9 @@ |
99 | qszt: "2", | 110 | qszt: "2", |
100 | xmmc: "", | 111 | xmmc: "", |
101 | zddm: "", | 112 | zddm: "", |
102 | zl: "" | 113 | zl: "", |
114 | pageNo: 1, | ||
115 | pageSize: 10, | ||
103 | }, | 116 | }, |
104 | Data: [], | 117 | Data: [], |
105 | isVisible: false | 118 | isVisible: false |
... | @@ -125,6 +138,10 @@ | ... | @@ -125,6 +138,10 @@ |
125 | created() { | 138 | created() { |
126 | }, | 139 | }, |
127 | methods: { | 140 | methods: { |
141 | currentChange: function (val) { | ||
142 | this.queryData.pageNo = val; | ||
143 | this.getData(this.queryData); | ||
144 | }, | ||
128 | result: function () { | 145 | result: function () { |
129 | this.queryData = { | 146 | this.queryData = { |
130 | bdcdyh: "", | 147 | bdcdyh: "", |
... | @@ -133,7 +150,9 @@ | ... | @@ -133,7 +150,9 @@ |
133 | qszt: "2", | 150 | qszt: "2", |
134 | xmmc: "", | 151 | xmmc: "", |
135 | zddm: "", | 152 | zddm: "", |
136 | zl: "" | 153 | zl: "", |
154 | pageNo: 1, | ||
155 | pageSize: 10 | ||
137 | }; | 156 | }; |
138 | this.getData(this.queryData) | 157 | this.getData(this.queryData) |
139 | }, | 158 | }, |
... | @@ -141,6 +160,7 @@ | ... | @@ -141,6 +160,7 @@ |
141 | data['dylxs'] = this.dylxs; | 160 | data['dylxs'] = this.dylxs; |
142 | getSearchList(data).then(res => { | 161 | getSearchList(data).then(res => { |
143 | this.Data = res.result.records | 162 | this.Data = res.result.records |
163 | this.total = res.result.total; | ||
144 | }) | 164 | }) |
145 | }, | 165 | }, |
146 | search: function () { | 166 | search: function () { |
... | @@ -151,7 +171,7 @@ | ... | @@ -151,7 +171,7 @@ |
151 | }, | 171 | }, |
152 | close: function () { | 172 | close: function () { |
153 | this.$emit('close') | 173 | this.$emit('close') |
154 | this.isVisible = false | 174 | this.result(); |
155 | } | 175 | } |
156 | }, | 176 | }, |
157 | watch: { | 177 | watch: { | ... | ... |
-
Please register or sign in to post a comment