f8ac8b4c by 杨威
2 parents 2fdf4543 984bb562
...@@ -53,4 +53,16 @@ export function getLpb (data) { ...@@ -53,4 +53,16 @@ export function getLpb (data) {
53 syclx:0, 53 syclx:0,
54 }, 54 },
55 }) 55 })
56 }
57 /**
58 * 楼盘表 批量实预测转换
59 * zrzbsm 自然幢标识码 ,
60 * scyclx 实测预测类型 0预测,1实测
61 */
62 export function batchScYcChange (data) {
63 return request({
64 url: 'fw/lpbbatch/batchScYcChange',
65 method: 'post',
66 data:data
67 })
56 } 68 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
20 <el-col :span="16"> 20 <el-col :span="16">
21 <div class="fr"> 21 <div class="fr">
22 <el-button class="radioBtn" label="1" border @click="create">创建楼盘</el-button> 22 <el-button class="radioBtn" label="1" border @click="create">创建楼盘</el-button>
23 <el-button class="radioBtn" label="2" border>实预测转换</el-button> 23 <el-button class="radioBtn" label="2" border @click="plScYcChange">实预测转换</el-button>
24 <el-button class="radioBtn" label="3" border @click="plhVisible=true">批量户</el-button> 24 <el-button class="radioBtn" label="3" border @click="plhVisible=true">批量户</el-button>
25 <el-button class="radioBtn" label="4" border @click="plcVisible=true">批量层</el-button> 25 <el-button class="radioBtn" label="4" border @click="plcVisible=true">批量层</el-button>
26 <el-button class="radioBtn" label="5" border @click="plShVisible=true">批量室号</el-button> 26 <el-button class="radioBtn" label="5" border @click="plShVisible=true">批量室号</el-button>
...@@ -137,7 +137,8 @@ import addZdy from "./zdy/index"; ...@@ -137,7 +137,8 @@ import addZdy from "./zdy/index";
137 import addCh from "./ch/index"; 137 import addCh from "./ch/index";
138 import hbj from "./hbj/index" 138 import hbj from "./hbj/index"
139 import lpbContent from "./lpbContent/index"; 139 import lpbContent from "./lpbContent/index";
140 import { getLpbMenuTree } from "../../../../api/lpb"; 140 import {getLpbMenuTree,batchScYcChange} from "../../../../api/lpb";
141
141 142
142 export default { 143 export default {
143 name: "", 144 name: "",
...@@ -357,7 +358,19 @@ export default { ...@@ -357,7 +358,19 @@ export default {
357 //调用楼盘表信息查询接口 358 //调用楼盘表信息查询接口
358 getlpbData(){ 359 getlpbData(){
359 this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm) 360 this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm)
360 } 361 },
362 plScYcChange(){
363 let data={
364 zrzbsm:this.$store.state.zrzbsm,
365 scyclx:"0"
366 }
367 batchScYcChange(data).then((res)=>{
368 if(res.code===200){
369 this.$message.success("实预测转换成功")
370 }
371 })
372 },
373
361 }, 374 },
362 computed: { 375 computed: {
363 }, 376 },
......