Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
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
79fe173a
authored
2023-07-20 16:01:55 +0800
by
yuanbo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加注释
1 parent
88b53ae9
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
145 additions
and
0 deletions
src/views/login/index.vue
src/views/lpb/index.vue
src/views/lpb/lpbContent/ch.vue
src/views/lpb/lpbContent/index.vue
src/views/lpb/lpbContent/zdys.vue
src/views/registerBook/cfdj.vue
src/views/login/index.vue
View file @
79fe173
...
...
@@ -133,6 +133,10 @@
},
methods
:
{
// 更新验证码
/**
* @description: 更新验证码
* @author: renchao
*/
reloadCaptcha
()
{
axios
.
get
(
window
.
_config
.
services
.
management
+
"/management/captcha?format=json"
).
then
(
res
=>
{
if
(
res
.
data
.
status
===
1
)
{
...
...
@@ -142,6 +146,10 @@
})
},
// 初始化
/**
* @description: 初始化
* @author: renchao
*/
initPage
()
{
let
userInfo
=
localStorage
.
getItem
(
"userInfo"
)
&&
...
...
@@ -151,6 +159,10 @@
this
.
userInfo
.
password
=
userInfo
.
password
;
}
},
/**
* @description: goHome
* @author: renchao
*/
goHome
()
{
if
(
this
.
userInfo
.
username
&&
this
.
userInfo
.
password
)
{
axios
...
...
@@ -175,14 +187,28 @@
return
}
},
/**
* @description: selectEyes
* @author: renchao
*/
selectEyes
()
{
this
.
selectEye
=
!
this
.
selectEye
;
},
//获取焦点
/**
* @description: 获取焦点
* @param {*} type
* @author: renchao
*/
reduceBorder
(
type
)
{
this
.
change
[
type
]
=
true
},
/**
* @description: addBorder
* @param {*} type
* @author: renchao
*/
addBorder
(
type
)
{
//失去焦点
switch
(
type
)
{
...
...
src/views/lpb/index.vue
View file @
79fe173
...
...
@@ -297,18 +297,36 @@
}
},*/
//获取高度计算lpb内容区高度
/**
* @description: 获取高度计算lpb内容区高度
* @author: renchao
*/
getHeight
()
{
this
.
lpbContentHight
=
window
.
innerHeight
-
190
;
},
//图例的展开收起
/**
* @description: 图例的展开收起
* @author: renchao
*/
legendToggle
()
{
this
.
legendToggleFlag
=
!
this
.
legendToggleFlag
;
},
//切换房屋状态
/**
* @description: 切换房屋状态
* @param {*} bsms
* @param {*} color
* @author: renchao
*/
handleChoosedH
(
bsms
,
color
)
{
this
.
$refs
.
lpbContent
.
changeChoosed
(
bsms
,
color
);
},
//获取各项单元状态统计数据
/**
* @description: 获取各项单元状态统计数据
* @author: renchao
*/
getDyztBsmList
()
{
getLpbTj
(
this
.
formData
.
bsm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -362,6 +380,10 @@
});
},
// 获取房屋用途和房屋性质及缺失项统计数据
/**
* @description: 获取房屋用途和房屋性质及缺失项统计数据
* @author: renchao
*/
getLpbFwytAndQlxz
()
{
getLpbFwytAndQlxz
(
this
.
formData
.
bsm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
src/views/lpb/lpbContent/ch.vue
View file @
79fe173
...
...
@@ -113,6 +113,12 @@ export default {
mounted
()
{},
methods
:
{
// 层选中事件
/**
* @description: 层选中事件
* @param {*} e
* @param {*} item
* @author: renchao
*/
handleClickC
(
e
,
item
)
{
//判断点击的层是否选中
// if (e.target.className.indexOf("tdSelect") == -1) {
...
...
@@ -127,17 +133,42 @@ export default {
// this.$parent.getCbsm(this.cbsmList);
},
//户单击事件
/**
* @description: 户单击事件
* @param {*} e
* @param {*} bsm
* @param {*} hs
* @author: renchao
*/
handleClickH
(
e
,
bsm
,
hs
)
{
},
// 户单元状态点击事件
/**
* @description: 户单元状态点击事件
* @param {*} e
* @param {*} bsm
* @param {*} hs
* @author: renchao
*/
hDyztClick
(
e
,
bsm
,
hs
)
{
// this.handleClickH(e.target.parentNode, bsm, hs);
},
//户双击事件
/**
* @description: 户双击事件
* @param {*} bsm
* @author: renchao
*/
dbclick
(
bsm
)
{
// clearTimeout(this.time);
},
//幢单元全选/反选
/**
* @description: 幢单元全选/反选
* @param {*} val
* @param {*} flag
* @author: renchao
*/
zdySelectAll
(
val
,
flag
)
{
// 手动点击全部取消选中
!
flag
&&
this
.
clearChangeChoosedObj
()
...
...
src/views/lpb/lpbContent/index.vue
View file @
79fe173
...
...
@@ -88,18 +88,40 @@ export default {
},
methods
:
{
// 改变户选中状态
/**
* @description: 改变户选中状态
* @param {*} bsms
* @param {*} color
* @author: renchao
*/
changeChoosed
(
bsms
,
color
){
this
.
changeChoosedObj
.
bsms
=
bsms
;
this
.
changeChoosedObj
.
color
=
color
;
},
/**
* @description: clearChangeChoosedObj
* @author: renchao
*/
clearChangeChoosedObj
(){
this
.
changeChoosedObj
.
bsms
=
[];
},
//全选户
/**
* @description: 全选户
* @param {*} val
* @author: renchao
*/
zdySelectAll
(
val
)
{
this
.
selectAllObj
.
selectAll
=
val
;
},
//获取楼盘表数据
/**
* @description: 获取楼盘表数据
* @param {*} zrzbsm
* @param {*} scyclx
* @param {*} actual
* @author: renchao
*/
getLpb
(
zrzbsm
,
scyclx
,
actual
)
{
getLpb
(
zrzbsm
,
scyclx
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
...
...
@@ -119,19 +141,39 @@ export default {
});
},
//户右键点击事件
/**
* @description: 户右键点击事件
* @param {*} e
* @param {*} item
* @param {*} type
* @author: renchao
*/
openMenu
(
e
,
item
,
type
)
{
this
.
lpbChLeft
=
e
.
pageX
-
96
;
this
.
lpbChTop
=
e
.
pageY
-
23
;
// this.lpbChVisible = true;
},
//关闭户右键菜单
/**
* @description: 关闭户右键菜单
* @author: renchao
*/
closeMenu
()
{
this
.
lpbChVisible
=
false
;
},
//右键菜单点击
/**
* @description: 右键菜单点击
* @author: renchao
*/
menuClick
()
{
this
.
closeMenu
();
},
/**
* @description: compare
* @param {*} property
* @author: renchao
*/
compare
(
property
)
{
return
function
(
a
,
b
)
{
var
value1
=
a
[
property
];
...
...
src/views/lpb/lpbContent/zdys.vue
View file @
79fe173
...
...
@@ -45,6 +45,12 @@ export default {
methods
:
{
//幢单元全选
/**
* @description: 幢单元全选
* @param {*} val
* @param {*} r
* @author: renchao
*/
zdySelectAll
(
val
,
r
)
{
this
.
$refs
[
r
][
0
].
zdySelectAll
(
val
)
},
...
...
src/views/registerBook/cfdj.vue
View file @
79fe173
...
...
@@ -86,6 +86,10 @@
this
.
loadData
();
},
methods
:
{
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
label
:
"操作"
});
...
...
@@ -116,6 +120,10 @@
}
});
},
/**
* @description: checkChange
* @author: renchao
*/
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
...
...
@@ -124,6 +132,10 @@
this
.
loadData
();
}
},
/**
* @description: getQsztName
* @author: renchao
*/
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
...
...
@@ -135,6 +147,12 @@
return
name
;
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
* @param {*} row
* @param {*} del
* @author: renchao
*/
editDialog
(
row
,
del
)
{
this
.
$confirm
(
"此操作将新增一条补录信息, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
...
...
Please
register
or
sign in
to post a comment