b9ec90e0 by zhaoqian

Merge remote-tracking branch 'origin/master'

2 parents b4c1f2ef fe8a08e8
...@@ -66,8 +66,18 @@ export function batchScYcChange (data) { ...@@ -66,8 +66,18 @@ export function batchScYcChange (data) {
66 data:data 66 data:data
67 }) 67 })
68 } 68 }
69 69 /**
70 70 * 楼盘表 获取单元状态统计数据
71 * zrzbsm 自然幢标识码 ,
72 * scyclx 实测预测类型 0预测,1实测
73 */
74 export function getLpbTj (data) {
75 return request({
76 url: 'fw/lpb/getLpbTj?zrzbsm='+data.zrzbsm+'&syclx='+data.syclx,
77 method: 'get',
78 data:data
79 })
80 }
71 81
72 /** 82 /**
73 * 楼盘表 批量不动产单元号生成 83 * 楼盘表 批量不动产单元号生成
......
...@@ -150,7 +150,7 @@ export function jzxsbatchModify(data) { ...@@ -150,7 +150,7 @@ export function jzxsbatchModify(data) {
150 */ 150 */
151 export function deleteZdInfoByBsm(data) { 151 export function deleteZdInfoByBsm(data) {
152 return request({ 152 return request({
153 url: '/zd/qjZdjbxx/deleteZdjbxxByBsm', 153 url: '/delete/deleteDyByBsm',
154 method: 'delete', 154 method: 'delete',
155 data: data 155 data: data
156 }) 156 })
...@@ -161,10 +161,32 @@ export function deleteZdInfoByBsm(data) { ...@@ -161,10 +161,32 @@ export function deleteZdInfoByBsm(data) {
161 */ 161 */
162 export function zdfg(data) { 162 export function zdfg(data) {
163 return request({ 163 return request({
164 url: '/fg/zdFg', 164 url: '/bg/zdSplitMerge/zdFg',
165 method: 'post', 165 method: 'post',
166 data: data 166 data: 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 }
......
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
31 .fr{ 31 .fr{
32 float: right; 32 float: right;
33 } 33 }
34 .tac{
35 text-align: center!important;
36 }
34 table{ 37 table{
35 border-width: 0; 38 border-width: 0;
36 } 39 }
......
...@@ -222,23 +222,23 @@ export default { ...@@ -222,23 +222,23 @@ export default {
222 }, 222 },
223 //右键菜单的删除 223 //右键菜单的删除
224 deleteByBsm(){ 224 deleteByBsm(){
225 let zdBsm = this.zdData.zdbsm; 225 //let zdBsm = this.zdData.zdbsm;
226 let type; 226 //let type;
227 console.log(zdBsm); 227 console.log(this.zdData.zdbsm);
228 switch (this.zdData.type){ 228 //switch (this.zdData.type){
229 case "zd": 229 // case "zd":
230 type="0"; 230 // type="0";
231 break; 231 // break;
232 case "zrz": 232 // case "zrz":
233 type="1"; 233 // type="1";
234 break; 234 // break;
235 case "h": 235 // case "h":
236 type="2"; 236 // type="2";
237 break; 237 // break;
238 default: 238 // default:
239 break; 239 // break;
240 } 240 //}
241 let params={"id":zdBsm,"type":type} 241 let params={"bsm":this.zdData.zdbsm,"type":this.zdData.type}
242 deleteZdInfoByBsm(params) 242 deleteZdInfoByBsm(params)
243 .then((res) => { 243 .then((res) => {
244 if(res.code=200){ 244 if(res.code=200){
......
...@@ -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: {
......