549a2ef0 by 杨威
2 parents de9cfb68 9377c122
...@@ -65,3 +65,25 @@ export function editDdicNode(data) { ...@@ -65,3 +65,25 @@ export function editDdicNode(data) {
65 data: data, 65 data: data,
66 }) 66 })
67 } 67 }
68
69 /**
70 * 查询号段管理列表
71 */
72 export function getCodeSection(data) {
73 return request({
74 url: '/system/manage/getCodeSection',
75 method: 'post',
76 data: data,
77 })
78 }
79
80 /**
81 * 查询号段管理列表
82 */
83 export function batchUpdateSectionCode(data) {
84 return request({
85 url: '/system/manage/batchUpdateSectionCode',
86 method: 'post',
87 data: data,
88 })
89 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -48,20 +48,20 @@ ...@@ -48,20 +48,20 @@
48 <el-row> 48 <el-row>
49 <el-col :span="6"><div class="grid-left">权利性质</div></el-col> 49 <el-col :span="6"><div class="grid-left">权利性质</div></el-col>
50 <el-col :span="18" 50 <el-col :span="18"
51 ><div class="grid-right">{{ result.qlxzdm }}</div></el-col 51 ><div class="grid-right">{{ result.qlxzmc }}</div></el-col
52 > 52 >
53 </el-row> 53 </el-row>
54 <el-row> 54 <el-row>
55 <el-col :span="6"><div class="grid-left">批准用途</div></el-col> 55 <el-col :span="6"><div class="grid-left">批准用途</div></el-col>
56 <el-col :span="18" 56 <el-col :span="18"
57 ><div class="grid-right">{{ result.pzytdm }}</div></el-col 57 ><div class="grid-right">{{ result.pzytmc }}</div></el-col
58 > 58 >
59 </el-row> 59 </el-row>
60 60
61 <el-row> 61 <el-row>
62 <el-col :span="6"><div class="grid-left">实际用途</div></el-col> 62 <el-col :span="6"><div class="grid-left">实际用途</div></el-col>
63 <el-col :span="18" 63 <el-col :span="18"
64 ><div class="grid-right">{{ result.sjytdm }}</div></el-col 64 ><div class="grid-right">{{ result.sjytmc }}</div></el-col
65 > 65 >
66 </el-row> 66 </el-row>
67 <el-row> 67 <el-row>
...@@ -293,7 +293,7 @@ export default { ...@@ -293,7 +293,7 @@ export default {
293 }, 293 },
294 294
295 fitView: true, 295 fitView: true,
296 fitViewPadding: 160, 296 fitViewPadding: 100,
297 }); 297 });
298 298
299 graph.data(data); 299 graph.data(data);
...@@ -312,6 +312,39 @@ export default { ...@@ -312,6 +312,39 @@ export default {
312 getQjZdjbxxDetailByIdBylshs(e.item._cfg.id).then((res) => { 312 getQjZdjbxxDetailByIdBylshs(e.item._cfg.id).then((res) => {
313 if (res.code === 200) { 313 if (res.code === 200) {
314 self.result = res.result; 314 self.result = res.result;
315 this.$store.state.qlxzList.forEach((item) => {
316 if(item.children!=null&&item.children.length!=0){
317 item.children.forEach((childitem)=>{
318 if (childitem.dm === res.result.qlxzdm) {
319 self.result.qlxzmc=childitem.mc;
320 }
321 })
322 }
323 if (item.dm === res.result.qlxzdm) {
324 self.result.qlxzmc=item.mc;
325 }
326 });
327 this.$store.state.tdytList.forEach((item) => {
328 if(item.children!=null&&item.children.length!=0){
329 item.children.forEach((childitem)=>{
330 if (childitem.dm === res.result.pzytdm) {
331 self.result.pzytmc=childitem.mc;
332 }
333 if (childitem.dm === res.result.sjytdm) {
334 self.result.sjytmc=childitem.mc;
335 }
336 })
337 }
338
339 if (item.dm === res.result.pzytdm) {
340 self.result.pzytmc=item.mc;
341 }
342 if (item.dm === res.result.sjytdm) {
343 self.result.sjytmc=item.mc;
344 }
345 });
346
347
315 } 348 }
316 }); 349 });
317 break; 350 break;
...@@ -384,6 +417,36 @@ export default { ...@@ -384,6 +417,36 @@ export default {
384 getQjZdjbxxDetailByIdBylshs(this.bsm).then((res) => { 417 getQjZdjbxxDetailByIdBylshs(this.bsm).then((res) => {
385 if (res.code === 200) { 418 if (res.code === 200) {
386 this.result = res.result; 419 this.result = res.result;
420 this.$store.state.qlxzList.forEach((item) => {
421 if(item.children!=null&&item.children.length!=0){
422 item.children.forEach((childitem)=>{
423 if (childitem.dm === res.result.qlxzdm) {
424 this.result.qlxzmc=childitem.mc;
425 }
426 })
427 }
428 if (item.dm === res.result.qlxzdm) {
429 this.result.qlxzmc=item.mc;
430 }
431 });
432 this.$store.state.tdytList.forEach((item1) => {
433 if(item1.children!=null&&item1.children.length!=0){
434 item1.children.forEach((childitem1)=>{
435 if (childitem1.dm === res.result.pzytdm) {
436 this.result.pzytmc=childitem1.mc;
437 }
438 if (childitem1.dm === res.result.sjytdm) {
439 this.result.sjytmc=childitem1.mc;
440 }
441 })
442 }
443 if (item1.dm === res.result.pzytdm) {
444 this.result.pzytmc=item1.mc;
445 }
446 if (item1.dm === res.result.sjytdm) {
447 this.result.sjytmc=item1.mc;
448 }
449 });
387 } 450 }
388 }); 451 });
389 break; 452 break;
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
32 </el-select> 32 </el-select>
33 </el-form-item> 33 </el-form-item>
34 <br/> 34 <br/>
35 <el-form-item label="所有权类型" class="w100" prop="syqlxbsm"> 35 <el-form-item label="所有权类型" class="w100" prop="syqlx">
36 <el-select 36 <el-select
37 v-model="ruleForm.syqlxbsm" 37 v-model="ruleForm.syqlx"
38 placeholder="所有权类型" 38 placeholder="所有权类型"
39 > 39 >
40 <el-option 40 <el-option
...@@ -46,16 +46,16 @@ ...@@ -46,16 +46,16 @@
46 </el-option> 46 </el-option>
47 </el-select> 47 </el-select>
48 </el-form-item> 48 </el-form-item>
49 <el-form-item label="特征码" class="w100" prop="zdtzmbsm"> 49 <el-form-item label="特征码" class="w100" prop="zdtzm">
50 <el-select 50 <el-select
51 v-model="ruleForm.tzmbsm" 51 v-model="ruleForm.tzm"
52 placeholder="宗地特征码" 52 placeholder="宗地特征码"
53 > 53 >
54 <el-option 54 <el-option
55 v-for="item in $store.state.zdtzmList" 55 v-for="item in $store.state.zdtzmList"
56 :key="item.bsm" 56 :key="item.bsm"
57 :label="item.mc" 57 :label="item.mc"
58 :value="item.bsm" 58 :value="item.dm"
59 > 59 >
60 </el-option> 60 </el-option>
61 </el-select> 61 </el-select>
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
110 </template> 110 </template>
111 111
112 <script> 112 <script>
113 import {getLogData,getErrorLog} from "@api/manage"; 113 import { getCodeSection,batchUpdateSectionCode } from "@api/manage";
114 import { 114 import {
115 getAllList, 115 getAllList,
116 getListByXzqbsm, 116 getListByXzqbsm,
...@@ -142,8 +142,8 @@ ...@@ -142,8 +142,8 @@
142 xzqbsm: "", 142 xzqbsm: "",
143 djqbsm: "", 143 djqbsm: "",
144 djzqbsm: "", 144 djzqbsm: "",
145 syqlxbsm: "G", 145 syqlx: "G",
146 tzmbsm: "", 146 tzm: "",
147 }, 147 },
148 syqlx: [ 148 syqlx: [
149 { 149 {
...@@ -167,6 +167,11 @@ ...@@ -167,6 +167,11 @@
167 methods:{ 167 methods:{
168 //数据查询 168 //数据查询
169 getData(){ 169 getData(){
170 getCodeSection(this.ruleForm).then((res)=>{
171 if(res.code === 200){
172 this.tableData = res.result;
173 }
174 })
170 }, 175 },
171 //条件重置 176 //条件重置
172 reset(){ 177 reset(){
...@@ -174,8 +179,8 @@ ...@@ -174,8 +179,8 @@
174 xzqbsm: "", 179 xzqbsm: "",
175 djqbsm: "", 180 djqbsm: "",
176 djzqbsm: "", 181 djzqbsm: "",
177 syqlxbsm: "G", 182 syqlx: "G",
178 tzmbsm: "", 183 tzm: "",
179 } 184 }
180 }, 185 },
181 //获取行政区划数据 186 //获取行政区划数据
...@@ -253,7 +258,21 @@ ...@@ -253,7 +258,21 @@
253 }, 258 },
254 //确定修改 259 //确定修改
255 saveInfo(){ 260 saveInfo(){
256 261 let bsms = [];
262 for(let i = 0;i<this.multipleSelection.length;i++){
263 bsms.push(this.multipleSelection[i].bsm);
264 }
265 let data = {
266 bsms:bsms,
267 newJzdm:this.newJzdm
268 };
269 batchUpdateSectionCode(data).then((res)=>{
270 if(res.code === 200){
271 this.$message.success("修改完成")
272 }else {
273 this.$message.warning(res.message);
274 }
275 })
257 }, 276 },
258 //多选 277 //多选
259 handleSelectionChange(val){ 278 handleSelectionChange(val){
...@@ -264,7 +283,7 @@ ...@@ -264,7 +283,7 @@
264 this.getXzqList(); 283 this.getXzqList();
265 this.getData(); 284 this.getData();
266 this.$nextTick(() => { 285 this.$nextTick(() => {
267 this.ruleForm.tzmbsm = this.$store.state.zdtzmList[0].bsm; 286 this.ruleForm.tzm = this.$store.state.zdtzmList[0].dm;
268 this.tableHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 382; 287 this.tableHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 382;
269 }) 288 })
270 } 289 }
......