Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3269ef39
authored
2021-02-01 09:24:46 +0800
by
焦泽平
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
7cea3fc6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
6 deletions
src/api/lpb.js
src/views/zrz/lpb/bjlp/index.vue
src/api/lpb.js
View file @
3269ef3
...
...
@@ -109,6 +109,18 @@ export function getLpbFwytAndQlxz (data) {
})
}
/**
* 楼盘表 获取楼盘表缺失项统计
* zrzbsm 自然幢标识码 ,
* scyclx 实测预测类型 0预测,1实测
*/
export
function
getLpbQsxtj
(
data
)
{
return
request
({
url
:
'fw/lpb/getLpbQsxtj?zrzbsm='
+
data
.
zrzbsm
+
'&scyclx='
+
data
.
scyclx
,
method
:
'get'
,
data
:
data
})
}
/**
* 楼盘表 添加层
// "cbsm": "63147d2d9766db01ead0cd53f23de908",//层标识码
// "hcount": 3,//添加户数
...
...
src/views/zrz/lpb/bjlp/index.vue
View file @
3269ef3
...
...
@@ -257,7 +257,7 @@
<th>
套数
</th>
</tr>
<tr
v-for=
"(item, index) in
fwyt
List"
v-for=
"(item, index) in
qsx
List"
:key=
"index"
class=
"cp"
@
click=
"handleChoosedH(item.bsms,item.color)"
...
...
@@ -268,9 +268,7 @@
</td>
<td>
{{
item
.
ts
}}
</td>
</tr>
<tr
v-show=
"fwytList.length
< 1
"
>
<td
colspan=
"3"
class=
"tac"
>
暂无数据
</td>
</tr>
</table>
</div>
</div>
...
...
@@ -326,7 +324,7 @@ import addZdy from "./zdy/index";
import
addCh
from
"./ch/index"
;
import
editCinfo
from
"./c/index"
;
import
lpbContent
from
"./lpbContent/index"
;
import
{
getLpbMenuTree
,
batchScYcChange
,
getLpbTj
,
batchGeneratorBdcdyh
,
getLpbFwytAndQlxz
,
batchCommit
,
batchDelete
}
from
"@api/lpb"
;
import
{
getLpbMenuTree
,
batchScYcChange
,
getLpbTj
,
batchGeneratorBdcdyh
,
getLpbFwytAndQlxz
,
getLpbQsxtj
,
batchCommit
,
batchDelete
}
from
"@api/lpb"
;
import
xxxx
from
'../xxxx/index'
export
default
{
...
...
@@ -422,6 +420,7 @@ export default {
],
fwxzList
:
[],
fwytList
:
[],
qsxList
:[],
legendToggleFlag
:
false
,
lpbContentHight
:
""
,
lpbContentwidth
:
""
,
...
...
@@ -446,6 +445,7 @@ export default {
this
.
getDyztBsmList
();
//获取房屋用途统计数据
this
.
getLpbFwytAndQlxz
();
this
.
getLpbQsxtj
();
// 楼盘表绘制区域宽度计算:楼盘表区域宽度-图例宽度34-滚动条宽度6
setTimeout
(()
=>
{
this
.
lpbContentwidth
=
this
.
$store
.
state
.
contentWidth
-
34
-
6
;
...
...
@@ -572,6 +572,7 @@ export default {
//获取图例数据
this
.
getDyztBsmList
();
this
.
getLpbFwytAndQlxz
();
this
.
getLpbQsxtj
();
//重新渲染楼盘表
this
.
$refs
.
lpbContent
.
dataChange
();
},
...
...
@@ -697,6 +698,7 @@ export default {
this
.
$refs
.
lpbContent
.
loadingData
(
this
.
$store
.
state
.
zrzbsm
,
this
.
scyclx
);
this
.
getDyztBsmList
();
this
.
getLpbFwytAndQlxz
();
this
.
getLpbQsxtj
();
//改变楼盘表子组件的key值,重新渲染
// this.time = new Date().getTime();
},
...
...
@@ -869,7 +871,33 @@ export default {
}
}
});
},
//获取楼盘表缺失项统计
getLpbQsxtj
(){
let
data
=
{
zrzbsm
:
this
.
$store
.
state
.
zrzbsm
,
scyclx
:
this
.
scyclx
,
};
getLpbQsxtj
(
data
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
qsxList
=
res
.
result
;
// this.fwxzList = res.result.qlxz;
if
(
this
.
qsxList
.
length
>
0
){
this
.
qsxList
.
forEach
(
item
=>
{
item
.
color
=
"#2591FD"
;
item
.
ts
=
item
.
hcount
;
})
}
// if(this.fwxzList.length>0){
// this.fwxzList.forEach(item=>{
// item.color = "#2591FD";
// item.ts = item.bsms.length
// })
// }
}
});
}
},
computed
:
{},
destroyed
()
{
...
...
@@ -907,7 +935,7 @@ export default {
box-sizing
:
border-box
;
padding
:
20px
0
;
background-color
:
#ffffff
;
margin-bottom
:
1
5
px
;
margin-bottom
:
1
0
px
;
position
:
relative
;
.searchContent
{
margin-left
:
62px
;
...
...
Please
register
or
sign in
to post a comment