feat(hcxlz):户重新落宗,45%
Showing
6 changed files
with
350 additions
and
154 deletions
| 1 | <template> | ||
| 2 | <div class="main"> | ||
| 3 | <div class='input' contenteditable placeholder='请输入文字'> | ||
| 4 | <div @mouseover="mouseover($event)" @mouseleave="mouseLeave($event)" v-for="(item,index) in datas" | ||
| 5 | :key="index" style="float: left;" | ||
| 6 | class="item"> | ||
| 7 | {{item}}; | ||
| 8 | <div style="float: right;display: none" @click="itemClick(index)">X</div> | ||
| 9 | </div> | ||
| 10 | |||
| 11 | </div> | ||
| 12 | </div> | ||
| 13 | </template> | ||
| 14 | |||
| 15 | <script> | ||
| 16 | export default { | ||
| 17 | name: "emailInput", | ||
| 18 | data() { | ||
| 19 | return { | ||
| 20 | datas: ['111', '222', '333', '444', '555', '666', '777', '888', '999'], | ||
| 21 | } | ||
| 22 | }, | ||
| 23 | props: {}, | ||
| 24 | methods: { | ||
| 25 | mouseover(e) { | ||
| 26 | // e.target 是你当前点击的元素 | ||
| 27 | // 是你绑定事件的元素 | ||
| 28 | let dom = e.currentTarget.firstElementChild | ||
| 29 | dom.style = "float: right;display: block"; | ||
| 30 | // 获得点击元素的前一个元素 | ||
| 31 | /* e.currentTarget.previousElementSibling.innerHTML | ||
| 32 | // 获得点击元素的第一个子元素 | ||
| 33 | e.currentTarget.firstElementChild | ||
| 34 | // 获得点击元素的下一个元素 | ||
| 35 | e.currentTarget.nextElementSibling | ||
| 36 | // 获得点击元素中id为string的元素 | ||
| 37 | e.currentTarget.getElementById("string") | ||
| 38 | // 获得点击元素的string属性 | ||
| 39 | e.currentTarget.getAttributeNode('string') | ||
| 40 | //获得点击元素的父级元素 | ||
| 41 | e.currentTarget.parentElement | ||
| 42 | // 获得点击元素的前一个元素的第一个子元素的HTML值 | ||
| 43 | e.currentTarget.previousElementSibling.firstElementChild.innerHTML*/ | ||
| 44 | |||
| 45 | }, | ||
| 46 | mouseLeave(e) { | ||
| 47 | let dom = e.currentTarget.firstElementChild | ||
| 48 | dom.style = "float: right;display: none" | ||
| 49 | }, | ||
| 50 | itemClick(index){ | ||
| 51 | this.datas.splice(index,1) | ||
| 52 | } | ||
| 53 | }, | ||
| 54 | computed: { | ||
| 55 | text: function () { | ||
| 56 | let text = ""; | ||
| 57 | for (let item of this.datas) { | ||
| 58 | text += item + ";"; | ||
| 59 | } | ||
| 60 | |||
| 61 | return text; | ||
| 62 | } | ||
| 63 | } | ||
| 64 | } | ||
| 65 | </script> | ||
| 66 | |||
| 67 | <style scoped lang="less"> | ||
| 68 | .main { | ||
| 69 | .input { | ||
| 70 | width: auto; | ||
| 71 | height: 24px; | ||
| 72 | line-height: 24px; | ||
| 73 | font-size: 14px; | ||
| 74 | padding: 5px 8px; | ||
| 75 | border: 1px solid #ddd; | ||
| 76 | } | ||
| 77 | .input:empty::before { | ||
| 78 | content: attr(placeholder); | ||
| 79 | } | ||
| 80 | .item{ | ||
| 81 | cursor: pointer; | ||
| 82 | } | ||
| 83 | .item:hover { | ||
| 84 | border: 1px solid #BBF; | ||
| 85 | } | ||
| 86 | } | ||
| 87 | </style> |
src/components/hCxlz/hCxlz.vue
0 → 100644
| 1 | <template> | ||
| 2 | <div class="main"> | ||
| 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="content"> | ||
| 11 | <div class="input-suffix"> | ||
| 12 | 宗 地: | ||
| 13 | <input | ||
| 14 | placeholder="请选择宗地" v-model="hcxlzData.zdbsm" readonly="readonly" | ||
| 15 | /> | ||
| 16 | <el-button type="primary" @click="drawer = true">选择宗地</el-button> | ||
| 17 | </div> | ||
| 18 | <div class="input-suffix"> | ||
| 19 | 自然幢: | ||
| 20 | <el-select v-model="hcxlzData.zrzbsm" filterable placeholder="请选择"> | ||
| 21 | <el-option | ||
| 22 | v-for="item in zrzList" | ||
| 23 | :key="item.value" | ||
| 24 | :label="item.label" | ||
| 25 | :value="item.value"> | ||
| 26 | </el-option> | ||
| 27 | </el-select> | ||
| 28 | </div> | ||
| 29 | <div class="input-suffix"> | ||
| 30 | 逻辑幢: | ||
| 31 | <el-select v-model="hcxlzData.ljzbsm" filterable placeholder="请选择"> | ||
| 32 | <el-option | ||
| 33 | v-for="item in ljzList" | ||
| 34 | :key="item.value" | ||
| 35 | :label="item.label" | ||
| 36 | :value="item.value"> | ||
| 37 | </el-option> | ||
| 38 | </el-select> | ||
| 39 | </div> | ||
| 40 | <div class="input-suffix"> | ||
| 41 | 幢单元: | ||
| 42 | <el-select v-model="hcxlzData.zdybsm" filterable placeholder="请选择"> | ||
| 43 | <el-option | ||
| 44 | v-for="item in zdyList" | ||
| 45 | :key="item.value" | ||
| 46 | :label="item.label" | ||
| 47 | :value="item.value"> | ||
| 48 | </el-option> | ||
| 49 | </el-select> | ||
| 50 | </div> | ||
| 51 | </div> | ||
| 52 | <div class="footer"> | ||
| 53 | <el-button type="primary" @click="save">保存</el-button> | ||
| 54 | <el-button type="primary" @click="cancel">取消</el-button> | ||
| 55 | </div> | ||
| 56 | <el-drawer | ||
| 57 | title="选择宗地" | ||
| 58 | :visible.sync="drawer" | ||
| 59 | direction="rtl" | ||
| 60 | size="25%" | ||
| 61 | :before-close="drawerClose"> | ||
| 62 | <div> | ||
| 63 | <div class="search"> | ||
| 64 | <el-button type="primary" @click="search">查询</el-button> | ||
| 65 | <el-button type="primary" @click="result">重置</el-button> | ||
| 66 | <el-row :gutter="10" class="shop"> | ||
| 67 | <el-col :span="4" class="inputtitle"> | ||
| 68 | 宗地编码: | ||
| 69 | </el-col> | ||
| 70 | <el-col :span="8" class=""> | ||
| 71 | <el-input v-model="queryData.zddm"></el-input> | ||
| 72 | </el-col> | ||
| 73 | <el-col :span="4" class="inputtitle"> | ||
| 74 | 不动产权证号: | ||
| 75 | </el-col> | ||
| 76 | <el-col :span="8" class=""> | ||
| 77 | <el-input v-model="queryData.bdcqzh"></el-input> | ||
| 78 | </el-col> | ||
| 79 | </el-row> | ||
| 80 | <el-row :gutter="10"> | ||
| 81 | <el-col :span="4" class="inputtitle"> | ||
| 82 | 不动产权单元号: | ||
| 83 | </el-col> | ||
| 84 | <el-col :span="8"> | ||
| 85 | <el-input v-model="queryData.bdcdyh"></el-input> | ||
| 86 | </el-col> | ||
| 87 | <el-col :span="4" class="inputtitle"> | ||
| 88 | 权利人: | ||
| 89 | </el-col> | ||
| 90 | <el-col :span="8"> | ||
| 91 | <el-input v-model="queryData.qlrmc"></el-input> | ||
| 92 | </el-col> | ||
| 93 | </el-row> | ||
| 94 | <el-row :gutter="10"> | ||
| 95 | <el-col :span="4" class="inputtitle"> | ||
| 96 | 坐落: | ||
| 97 | </el-col> | ||
| 98 | <el-col :span="8"> | ||
| 99 | <el-input v-model="queryData.zl"></el-input> | ||
| 100 | </el-col> | ||
| 101 | </el-row> | ||
| 102 | <table border="1"> | ||
| 103 | <tr> | ||
| 104 | <td class="xh">序号</td> | ||
| 105 | <td class="zddm">宗地代码</td> | ||
| 106 | <td class="bdcdyh">不动产单元号</td> | ||
| 107 | <td class="xmmc">项目名称</td> | ||
| 108 | <td class="bdcqzh">不动产权证号</td> | ||
| 109 | <td class="qlr">权利人</td> | ||
| 110 | <td class="zl">坐落</td> | ||
| 111 | <td class="cz">操作</td> | ||
| 112 | </tr> | ||
| 113 | <tr v-if="Data.length==0"> | ||
| 114 | <td colspan="8"> | ||
| 115 | <span class="noData">暂无数据</span> | ||
| 116 | </td> | ||
| 117 | </tr> | ||
| 118 | <tr v-else v-for="(item,index) in Data" :key="index"> | ||
| 119 | <td class="xh">{{index+1}}</td> | ||
| 120 | <td class="zddm" :title="item.zddm">{{item.zddm}}</td> | ||
| 121 | <td class="bdcqdyh" :title="item.bdcdyh">{{item.bdcdyh}}</td> | ||
| 122 | <td class="xmmc" :title="item.xmmc">{{item.xmmc}}</td> | ||
| 123 | <td class="bdcqzh" :title="item.bdcqzd">{{item.bdcqzh}}</td> | ||
| 124 | <td class="qlr" :title="item.qlr">{{item.qlr}}</td> | ||
| 125 | <td class="zl" :title="item.zl">{{item.zl}}</td> | ||
| 126 | <td @click="saveNotarize(item)" class="cz"> | ||
| 127 | <span>落宗</span> | ||
| 128 | </td> | ||
| 129 | </tr> | ||
| 130 | </table> | ||
| 131 | </div> | ||
| 132 | <div class="page"> | ||
| 133 | <el-pagination | ||
| 134 | background | ||
| 135 | layout="prev, pager, next,total" | ||
| 136 | :page-size="queryData.pageSize" | ||
| 137 | :total="total" | ||
| 138 | @current-change="currentChange" | ||
| 139 | > | ||
| 140 | </el-pagination> | ||
| 141 | </div> | ||
| 142 | </div> | ||
| 143 | </el-drawer> | ||
| 144 | </el-dialog> | ||
| 145 | </div> | ||
| 146 | </template> | ||
| 147 | |||
| 148 | <script> | ||
| 149 | export default { | ||
| 150 | name: "hCxlz", | ||
| 151 | data() { | ||
| 152 | return { | ||
| 153 | drawer: false, | ||
| 154 | isVisible: false, | ||
| 155 | hcxlzData: { | ||
| 156 | bsms: [], | ||
| 157 | zdbsm: '', | ||
| 158 | zrzbsm: '', | ||
| 159 | ljzbsm: '', | ||
| 160 | zdybsm: '' | ||
| 161 | }, | ||
| 162 | total: 1, | ||
| 163 | queryData: { | ||
| 164 | bdcdyh: "", | ||
| 165 | bdcqzh: "", | ||
| 166 | dylxs: ['zd'], | ||
| 167 | qlrmc: "", | ||
| 168 | qszt: "2", | ||
| 169 | xmmc: "", | ||
| 170 | zddm: "", | ||
| 171 | zl: "", | ||
| 172 | pageNo: 1, | ||
| 173 | pageSize: 10, | ||
| 174 | }, | ||
| 175 | Data: [], | ||
| 176 | zrzList: [], | ||
| 177 | ljzList: [], | ||
| 178 | zdyList: [] | ||
| 179 | } | ||
| 180 | }, | ||
| 181 | props: { | ||
| 182 | hCxlzVisble: { | ||
| 183 | type: Boolean, | ||
| 184 | default: false | ||
| 185 | }, | ||
| 186 | bsms: { | ||
| 187 | type: Array | ||
| 188 | } | ||
| 189 | }, | ||
| 190 | mounted() { | ||
| 191 | }, | ||
| 192 | methods: { | ||
| 193 | result: function () { | ||
| 194 | this.queryData = { | ||
| 195 | bdcdyh: "", | ||
| 196 | bdcqzh: "", | ||
| 197 | qlrmc: "", | ||
| 198 | qszt: "2", | ||
| 199 | xmmc: "", | ||
| 200 | zddm: "", | ||
| 201 | zl: "", | ||
| 202 | pageNo: 1, | ||
| 203 | pageSize: 10, | ||
| 204 | }; | ||
| 205 | this.getData(this.queryData) | ||
| 206 | }, | ||
| 207 | getData: function (data) { | ||
| 208 | data['dylxs'] = this.dylxs; | ||
| 209 | getSearchList(data).then(res => { | ||
| 210 | this.Data = res.result.records | ||
| 211 | this.total = res.result.total; | ||
| 212 | }) | ||
| 213 | }, | ||
| 214 | search: function () { | ||
| 215 | this.getData(this.queryData) | ||
| 216 | }, | ||
| 217 | drawerClose(done) { | ||
| 218 | this.$confirm('确认关闭?') | ||
| 219 | .then(_ => { | ||
| 220 | done(); | ||
| 221 | }) | ||
| 222 | .catch(_ => { | ||
| 223 | }); | ||
| 224 | }, | ||
| 225 | cancel() { | ||
| 226 | console.log("cancel......") | ||
| 227 | }, | ||
| 228 | save() { | ||
| 229 | console.log("save.......") | ||
| 230 | }, | ||
| 231 | close() { | ||
| 232 | this.$emit('close', false); | ||
| 233 | this.isVisible = false; | ||
| 234 | }, | ||
| 235 | }, | ||
| 236 | watch: { | ||
| 237 | hCxlzVisble: function (val) { | ||
| 238 | this.isVisible = val | ||
| 239 | } | ||
| 240 | } | ||
| 241 | } | ||
| 242 | </script> | ||
| 243 | |||
| 244 | <style scoped lang="less"> | ||
| 245 | .input-suffix { | ||
| 246 | input { | ||
| 247 | width: 210px; | ||
| 248 | height: 30px; | ||
| 249 | border-radius: 3px; | ||
| 250 | border-color: #BBB; | ||
| 251 | } | ||
| 252 | } | ||
| 253 | |||
| 254 | .content { | ||
| 255 | text-align: center; | ||
| 256 | } | ||
| 257 | |||
| 258 | .footer { | ||
| 259 | margin-top: 20px; | ||
| 260 | text-align: center; | ||
| 261 | } | ||
| 262 | </style> | ||
| 263 | |||
| 264 | |||
| 265 | |||
| 266 |
| ... | @@ -179,6 +179,9 @@ | ... | @@ -179,6 +179,9 @@ |
| 179 | font-size: 14px; | 179 | font-size: 14px; |
| 180 | width: 100%; | 180 | width: 100%; |
| 181 | table-layout: fixed; | 181 | table-layout: fixed; |
| 182 | tr:hover{ | ||
| 183 | background-color: #F5F7FA; | ||
| 184 | } | ||
| 182 | td, th { | 185 | td, th { |
| 183 | text-align: center; | 186 | text-align: center; |
| 184 | height: 36px; | 187 | height: 36px; | ... | ... |
| ... | @@ -26,6 +26,7 @@ | ... | @@ -26,6 +26,7 @@ |
| 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> |
| 27 | <el-button class="radioBtn" label="6" border @click="plzlVisible=true">批量坐落</el-button> | 27 | <el-button class="radioBtn" label="6" border @click="plzlVisible=true">批量坐落</el-button> |
| 28 | <el-button class="radioBtn" label="7" border>批量单元号</el-button> | 28 | <el-button class="radioBtn" label="7" border>批量单元号</el-button> |
| 29 | <el-button class="radioBtn" label="7" border @click="hcxlzVisible=true">户重新落宗</el-button> | ||
| 29 | </div> | 30 | </div> |
| 30 | </el-col> | 31 | </el-col> |
| 31 | </el-row> | 32 | </el-row> |
| ... | @@ -135,7 +136,8 @@ | ... | @@ -135,7 +136,8 @@ |
| 135 | <el-button type="primary" @click="saveInfo">保存</el-button> | 136 | <el-button type="primary" @click="saveInfo">保存</el-button> |
| 136 | <el-button type="primary" @click="resetInfo">重置</el-button> | 137 | <el-button type="primary" @click="resetInfo">重置</el-button> |
| 137 | <el-button type="primary" @click="dialogVisible = false" | 138 | <el-button type="primary" @click="dialogVisible = false" |
| 138 | >取消</el-button | 139 | >取消 |
| 140 | </el-button | ||
| 139 | > | 141 | > |
| 140 | </div> | 142 | </div> |
| 141 | </el-dialog> | 143 | </el-dialog> |
| ... | @@ -144,6 +146,7 @@ | ... | @@ -144,6 +146,7 @@ |
| 144 | <pl-zl :pl-zl-visible="plzlVisible" :bsms="bsms" @close="plZlClose"></pl-zl> | 146 | <pl-zl :pl-zl-visible="plzlVisible" :bsms="bsms" @close="plZlClose"></pl-zl> |
| 145 | <pl-c :plc-visible="plcVisible" :bsms="bsms" @close="plcClose"></pl-c> | 147 | <pl-c :plc-visible="plcVisible" :bsms="bsms" @close="plcClose"></pl-c> |
| 146 | <pl-sh :plShVisible="plShVisible" :bsms="bsms" @close="plshClose"></pl-sh> | 148 | <pl-sh :plShVisible="plShVisible" :bsms="bsms" @close="plshClose"></pl-sh> |
| 149 | <h-cxlz :h-cxlz-visble="hcxlzVisible" :bsms="bsms" @close="hcxlzClose"></h-cxlz> | ||
| 147 | <!-- 双击户的弹出框 --> | 150 | <!-- 双击户的弹出框 --> |
| 148 | <el-dialog title="户编辑" :visible.sync="hbjVisible" width="50%" center> | 151 | <el-dialog title="户编辑" :visible.sync="hbjVisible" width="50%" center> |
| 149 | <hbj ref="hbj" :bsm='hbsm'></hbj> | 152 | <hbj ref="hbj" :bsm='hbsm'></hbj> |
| ... | @@ -157,34 +160,36 @@ | ... | @@ -157,34 +160,36 @@ |
| 157 | </template> | 160 | </template> |
| 158 | 161 | ||
| 159 | <script> | 162 | <script> |
| 160 | import PlC from "./../../../../components/plc/plC" | 163 | import HCxlz from "./../../../../components/hCxlz/hCxlz" |
| 161 | import PlSh from "./../../../../components/plsh/plSh" | 164 | import PlC from "./../../../../components/plc/plC" |
| 162 | import PlH from "./../../../../components/plh/plH" | 165 | import PlSh from "./../../../../components/plsh/plSh" |
| 163 | import PlZl from "./../../../../components/plzl/plZl" | 166 | import PlH from "./../../../../components/plh/plH" |
| 164 | import LineTree from "../../../../components/lineTree/lineTree"; | 167 | import PlZl from "./../../../../components/plzl/plZl" |
| 165 | import addLjz from "./ljz/index"; | 168 | import LineTree from "../../../../components/lineTree/lineTree"; |
| 166 | import addZdy from "./zdy/index"; | 169 | import addLjz from "./ljz/index"; |
| 167 | import addCh from "./ch/index"; | 170 | import addZdy from "./zdy/index"; |
| 168 | import hbj from "./hbj/index" | 171 | import addCh from "./ch/index"; |
| 169 | import lpbContent from "./lpbContent/index"; | 172 | import hbj from "./hbj/index" |
| 170 | import {getLpbMenuTree,batchScYcChange} from "../../../../api/lpb"; | 173 | import lpbContent from "./lpbContent/index"; |
| 174 | import {getLpbMenuTree, batchScYcChange} from "../../../../api/lpb"; | ||
| 171 | 175 | ||
| 172 | 176 | ||
| 173 | export default { | 177 | export default { |
| 174 | name: "", | 178 | name: "", |
| 175 | components: { LineTree, addLjz, addZdy, addCh, lpbContent,PlC,PlSh,PlH ,PlZl,hbj}, | 179 | components: {LineTree, addLjz, addZdy, addCh, lpbContent, PlC, PlSh, PlH, PlZl, hbj, HCxlz}, |
| 176 | props: {}, | 180 | props: {}, |
| 177 | data() { | 181 | data() { |
| 178 | return { | 182 | return { |
| 179 | bsms:["123","321","231"], | 183 | bsms: ["123", "321", "231"], |
| 180 | hbsm:'', | 184 | hbsm: '', |
| 185 | hcxlzVisible: false, | ||
| 181 | dialogVisible: false, | 186 | dialogVisible: false, |
| 182 | plcVisible:false, | 187 | plcVisible: false, |
| 183 | plhVisible:false, | 188 | plhVisible: false, |
| 184 | plShVisible:false, | 189 | plShVisible: false, |
| 185 | plzlVisible:false, | 190 | plzlVisible: false, |
| 186 | hbjVisible:false, | 191 | hbjVisible: false, |
| 187 | tabPosition:"1", //1是实测 0是预测 | 192 | tabPosition: "1", //1是实测 0是预测 |
| 188 | radio1: "", | 193 | radio1: "", |
| 189 | radio2: "", | 194 | radio2: "", |
| 190 | createFlag: false, | 195 | createFlag: false, |
| ... | @@ -193,8 +198,8 @@ export default { | ... | @@ -193,8 +198,8 @@ export default { |
| 193 | pd: [], //创建楼盘的树结构数据 | 198 | pd: [], //创建楼盘的树结构数据 |
| 194 | menuType: "", | 199 | menuType: "", |
| 195 | treeData: {}, | 200 | treeData: {}, |
| 196 | inputWidth:74, | 201 | inputWidth: 74, |
| 197 | selectedZt:'dyzt', //图例选中项,默认选中单元状态 | 202 | selectedZt: 'dyzt', //图例选中项,默认选中单元状态 |
| 198 | legendList: [ | 203 | legendList: [ |
| 199 | { | 204 | { |
| 200 | name: "未确权", | 205 | name: "未确权", |
| ... | @@ -260,7 +265,7 @@ export default { | ... | @@ -260,7 +265,7 @@ export default { |
| 260 | legendToggleFlag: false, | 265 | legendToggleFlag: false, |
| 261 | lpbContentHight: "", | 266 | lpbContentHight: "", |
| 262 | lpbContentwidth: "", | 267 | lpbContentwidth: "", |
| 263 | time:'' | 268 | time: '' |
| 264 | }; | 269 | }; |
| 265 | }, | 270 | }, |
| 266 | created() { | 271 | created() { |
| ... | @@ -276,17 +281,20 @@ export default { | ... | @@ -276,17 +281,20 @@ export default { |
| 276 | }, 100); | 281 | }, 100); |
| 277 | }, | 282 | }, |
| 278 | methods: { | 283 | methods: { |
| 279 | plZlClose(){ | 284 | hcxlzClose() { |
| 280 | this.plzlVisible=false | 285 | this.hcxlzVisible = false; |
| 281 | }, | 286 | }, |
| 282 | plcClose(){ | 287 | plZlClose() { |
| 283 | this.plcVisible=false; | 288 | this.plzlVisible = false |
| 284 | }, | 289 | }, |
| 285 | plhClose(){ | 290 | plcClose() { |
| 286 | this.plhVisible=false; | 291 | this.plcVisible = false; |
| 287 | }, | 292 | }, |
| 288 | plshClose(){ | 293 | plhClose() { |
| 289 | this.plShVisible=false | 294 | this.plhVisible = false; |
| 295 | }, | ||
| 296 | plshClose() { | ||
| 297 | this.plShVisible = false | ||
| 290 | }, | 298 | }, |
| 291 | //获取高度计算lpb内容区高度 | 299 | //获取高度计算lpb内容区高度 |
| 292 | getHeight() { | 300 | getHeight() { |
| ... | @@ -302,7 +310,8 @@ export default { | ... | @@ -302,7 +310,8 @@ export default { |
| 302 | .then((res) => { | 310 | .then((res) => { |
| 303 | this.pd = res.result; | 311 | this.pd = res.result; |
| 304 | }) | 312 | }) |
| 305 | .catch((error) => {}); | 313 | .catch((error) => { |
| 314 | }); | ||
| 306 | }, | 315 | }, |
| 307 | //打开新建楼盘树结构右键菜单唤起的弹框 | 316 | //打开新建楼盘树结构右键菜单唤起的弹框 |
| 308 | openLpbDialog(data, type) { | 317 | openLpbDialog(data, type) { |
| ... | @@ -352,33 +361,33 @@ export default { | ... | @@ -352,33 +361,33 @@ export default { |
| 352 | this.legendToggleFlag = !this.legendToggleFlag; | 361 | this.legendToggleFlag = !this.legendToggleFlag; |
| 353 | }, | 362 | }, |
| 354 | //获取选中户bsm | 363 | //获取选中户bsm |
| 355 | getHbsm(data,type){ | 364 | getHbsm(data, type) { |
| 356 | this.bsms = data; | 365 | this.bsms = data; |
| 357 | if(type){ | 366 | if (type) { |
| 358 | // 双击 | 367 | // 双击 |
| 359 | this.hbsm = this.bsms[this.bsms.length-1]; | 368 | this.hbsm = this.bsms[this.bsms.length - 1]; |
| 360 | this.hbjVisible = true; | 369 | this.hbjVisible = true; |
| 361 | this.$nextTick(function () { | 370 | this.$nextTick(function () { |
| 362 | this.$refs.hbj.getHInfo(this.hbsm); | 371 | this.$refs.hbj.getHInfo(this.hbsm); |
| 363 | }) | 372 | }) |
| 364 | }else{ | 373 | } else { |
| 365 | //单击 TO DO | 374 | //单击 TO DO |
| 366 | 375 | ||
| 367 | } | 376 | } |
| 368 | console.log(this.bsms); | 377 | console.log(this.bsms); |
| 369 | }, | 378 | }, |
| 370 | //不动产单元号输入框事件 | 379 | //不动产单元号输入框事件 |
| 371 | inputFocus(){ | 380 | inputFocus() { |
| 372 | this.inputWidth = 200 | 381 | this.inputWidth = 200 |
| 373 | }, | 382 | }, |
| 374 | inputBlur(){ | 383 | inputBlur() { |
| 375 | this.inputWidth = 74 | 384 | this.inputWidth = 74 |
| 376 | }, | 385 | }, |
| 377 | inputChange(){ | 386 | inputChange() { |
| 378 | if (this.bdcdyh!='') { | 387 | if (this.bdcdyh != '') { |
| 379 | console.log('查询'+this.bdcdyh); | 388 | console.log('查询' + this.bdcdyh); |
| 380 | this.$refs.lpbContent.lpbDataMap(this.bdcdyh); | 389 | this.$refs.lpbContent.lpbDataMap(this.bdcdyh); |
| 381 | }else{ | 390 | } else { |
| 382 | this.$message({ | 391 | this.$message({ |
| 383 | message: "请输入内容后查询", | 392 | message: "请输入内容后查询", |
| 384 | type: "warning", | 393 | type: "warning", |
| ... | @@ -386,41 +395,40 @@ export default { | ... | @@ -386,41 +395,40 @@ export default { |
| 386 | } | 395 | } |
| 387 | }, | 396 | }, |
| 388 | //户保存 | 397 | //户保存 |
| 389 | hbjSaveInfo(){ | 398 | hbjSaveInfo() { |
| 390 | this.$refs.hbj.onSave(this.bsms[this.bsms.length-1],this.tabPosition); | 399 | this.$refs.hbj.onSave(this.bsms[this.bsms.length - 1], this.tabPosition); |
| 391 | }, | 400 | }, |
| 392 | //户编辑表单重置 | 401 | //户编辑表单重置 |
| 393 | hbjResetInfo(){ | 402 | hbjResetInfo() { |
| 394 | this.$refs.hbj.onReset(); | 403 | this.$refs.hbj.onReset(); |
| 395 | }, | 404 | }, |
| 396 | //调用楼盘表信息查询接口 | 405 | //调用楼盘表信息查询接口 |
| 397 | getlpbData(){ | 406 | getlpbData() { |
| 398 | this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm); | 407 | this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm); |
| 399 | //改变楼盘表子组件的key值,重新渲染 | 408 | //改变楼盘表子组件的key值,重新渲染 |
| 400 | this.time = new Date().getTime(); | 409 | this.time = new Date().getTime(); |
| 401 | }, | 410 | }, |
| 402 | //实预测装换 | 411 | //实预测装换 |
| 403 | plScYcChange(){ | 412 | plScYcChange() { |
| 404 | let data={ | 413 | let data = { |
| 405 | zrzbsm:this.$store.state.zrzbsm, | 414 | zrzbsm: this.$store.state.zrzbsm, |
| 406 | scyclx:"0" | 415 | scyclx: "0" |
| 407 | } | 416 | } |
| 408 | batchScYcChange(data).then((res)=>{ | 417 | batchScYcChange(data).then((res) => { |
| 409 | if(res.code===200){ | 418 | if (res.code === 200) { |
| 410 | this.$message.success("实预测转换成功") | 419 | this.$message.success("实预测转换成功") |
| 411 | } | 420 | } |
| 412 | }) | 421 | }) |
| 413 | }, | 422 | }, |
| 414 | //选中房屋状态 | 423 | //选中房屋状态 |
| 415 | handleChoosedH(){ | 424 | handleChoosedH() { |
| 416 | //清除选中户 | 425 | //清除选中户 |
| 417 | this.$refs.lpbContent.clearChoosedH() | 426 | this.$refs.lpbContent.clearChoosedH() |
| 418 | //给hBsmList传值 | 427 | //给hBsmList传值 |
| 419 | // this.$refs.lpbContent.choosedList=["0a66bc775dcec26385f9124cc0fd8656", "58cafdbee129bb412527f674ef9267ae", "4bbca678fa56d5ab97b8a62c7cb54898", "ecfd72e9a31a03ba0ab4e46faba2b51b", "049033ea9d244b4b5ea75521b6862239", "013352d8a001a1d5f790296b6843627b", "ed8e3f0e2b2682cf76b4d58b9a74e49c", "37cc53acaf2c3bb92be4b9adf06d94c9", "f5a5e14ce08c26056aca5861f56e5cf6", "11eeaaa5c9f5f1231c69d3b958d05568", "421978023a36d4920dbb86300cc52dc9", "e97f2af2588cc0e41ffb6b203df617c9", "7210987d94350472dca10d4ad71fffc5", "6eb1b50edce538a4c63574e9e28fedce", "43c5fecd7623ceabc37844e8a4722603", "c361ccfcd3da9f7288110c6fa202cb96", "2321512f6f8d0ec9f570c6eec9a892fe", "ea08fb234cd908c89a0d21c085dadb2f", "be71f7f0ec926e1850d3baec8817cdbd", "6f695d6b7ecb97f7ff17f22dbe86b93c", "4ee1604b2629e6797d3096c20229223b"] | 428 | // this.$refs.lpbContent.choosedList=["0a66bc775dcec26385f9124cc0fd8656", "58cafdbee129bb412527f674ef9267ae", "4bbca678fa56d5ab97b8a62c7cb54898", "ecfd72e9a31a03ba0ab4e46faba2b51b", "049033ea9d244b4b5ea75521b6862239", "013352d8a001a1d5f790296b6843627b", "ed8e3f0e2b2682cf76b4d58b9a74e49c", "37cc53acaf2c3bb92be4b9adf06d94c9", "f5a5e14ce08c26056aca5861f56e5cf6", "11eeaaa5c9f5f1231c69d3b958d05568", "421978023a36d4920dbb86300cc52dc9", "e97f2af2588cc0e41ffb6b203df617c9", "7210987d94350472dca10d4ad71fffc5", "6eb1b50edce538a4c63574e9e28fedce", "43c5fecd7623ceabc37844e8a4722603", "c361ccfcd3da9f7288110c6fa202cb96", "2321512f6f8d0ec9f570c6eec9a892fe", "ea08fb234cd908c89a0d21c085dadb2f", "be71f7f0ec926e1850d3baec8817cdbd", "6f695d6b7ecb97f7ff17f22dbe86b93c", "4ee1604b2629e6797d3096c20229223b"] |
| 420 | } | 429 | } |
| 421 | }, | 430 | }, |
| 422 | computed: { | 431 | computed: {}, |
| 423 | }, | ||
| 424 | destroyed() { | 432 | destroyed() { |
| 425 | window.removeEventListener("resize", this.getHeight); | 433 | window.removeEventListener("resize", this.getHeight); |
| 426 | }, | 434 | }, |
| ... | @@ -441,10 +449,10 @@ export default { | ... | @@ -441,10 +449,10 @@ export default { |
| 441 | } | 449 | } |
| 442 | }, | 450 | }, |
| 443 | }, | 451 | }, |
| 444 | }; | 452 | }; |
| 445 | </script> | 453 | </script> |
| 446 | <style scoped lang="less"> | 454 | <style scoped lang="less"> |
| 447 | .edit { | 455 | .edit { |
| 448 | height: 100%; | 456 | height: 100%; |
| 449 | background-color: #eaedf5; | 457 | background-color: #eaedf5; |
| 450 | .tab-header { | 458 | .tab-header { |
| ... | @@ -457,17 +465,17 @@ export default { | ... | @@ -457,17 +465,17 @@ export default { |
| 457 | .searchContent { | 465 | .searchContent { |
| 458 | box-sizing: border-box; | 466 | box-sizing: border-box; |
| 459 | padding: 0 20px; | 467 | padding: 0 20px; |
| 460 | /deep/.el-radio-button__inner { | 468 | /deep/ .el-radio-button__inner { |
| 461 | border: 1px solid #00CACD; | 469 | border: 1px solid #00CACD; |
| 462 | color: #00CACD; | 470 | color: #00CACD; |
| 463 | } | 471 | } |
| 464 | /deep/.el-radio-button__inner:hover{ | 472 | /deep/ .el-radio-button__inner:hover { |
| 465 | color: #00CACD; | 473 | color: #00CACD; |
| 466 | } | 474 | } |
| 467 | /deep/.is-active .el-radio-button__inner{ | 475 | /deep/ .is-active .el-radio-button__inner { |
| 468 | color: #fff; | 476 | color: #fff; |
| 469 | } | 477 | } |
| 470 | /deep/.el-radio-button__orig-radio:checked+.el-radio-button__inner{ | 478 | /deep/ .el-radio-button__orig-radio:checked + .el-radio-button__inner { |
| 471 | background-color: #00CACD; | 479 | background-color: #00CACD; |
| 472 | border-color: #00CACD; | 480 | border-color: #00CACD; |
| 473 | } | 481 | } |
| ... | @@ -479,7 +487,7 @@ export default { | ... | @@ -479,7 +487,7 @@ export default { |
| 479 | } | 487 | } |
| 480 | .radioBtn { | 488 | .radioBtn { |
| 481 | margin-left: 20px; | 489 | margin-left: 20px; |
| 482 | /deep/.el-radio-button__inner { | 490 | /deep/ .el-radio-button__inner { |
| 483 | border: 1px solid #dcdfe6; | 491 | border: 1px solid #dcdfe6; |
| 484 | border-radius: 4px; | 492 | border-radius: 4px; |
| 485 | box-shadow: 0 0 0 0 #409eff !important; | 493 | box-shadow: 0 0 0 0 #409eff !important; |
| ... | @@ -551,7 +559,7 @@ export default { | ... | @@ -551,7 +559,7 @@ export default { |
| 551 | letter-spacing: 2px; | 559 | letter-spacing: 2px; |
| 552 | } | 560 | } |
| 553 | } | 561 | } |
| 554 | .selectedZt{ | 562 | .selectedZt { |
| 555 | background-color: #0091FF; | 563 | background-color: #0091FF; |
| 556 | color: #fff; | 564 | color: #fff; |
| 557 | } | 565 | } |
| ... | @@ -587,12 +595,12 @@ export default { | ... | @@ -587,12 +595,12 @@ export default { |
| 587 | } | 595 | } |
| 588 | } | 596 | } |
| 589 | } | 597 | } |
| 590 | .tab-content::-webkit-scrollbar{ | 598 | .tab-content::-webkit-scrollbar { |
| 591 | width: 1px; | 599 | width: 1px; |
| 592 | } | 600 | } |
| 593 | .btnGroup { | 601 | .btnGroup { |
| 594 | margin: 20px auto 0; | 602 | margin: 20px auto 0; |
| 595 | width: 230px; | 603 | width: 230px; |
| 596 | } | 604 | } |
| 597 | } | 605 | } |
| 598 | </style> | 606 | </style> | ... | ... |
-
Please register or sign in to post a comment