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
7b22bc55
authored
2022-10-18 17:15:23 +0800
by
jiaozeping@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
12
1 parent
6fab4126
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
6 deletions
src/api/lpb.js
src/views/zhcx/lpcx/lpcx.vue
src/views/zhcx/lpcx/lpcxdata.js
src/api/lpb.js
View file @
7b22bc5
...
...
@@ -13,3 +13,14 @@ export function getLpZrz(data) {
})
}
// 获取楼盘表
export
function
getLpb
(
params
)
{
return
request
({
url
:
'/zhcx/lpcx/getLpb/'
,
method
:
'get'
,
params
})
}
...
...
src/views/zhcx/lpcx/lpcx.vue
View file @
7b22bc5
...
...
@@ -50,7 +50,7 @@
<
script
>
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./lpcxdata"
;
import
{
getLpZrz
}
from
"@/api/lpb.js"
import
{
getLpZrz
,
getLpb
}
from
"@/api/lpb.js"
export
default
{
name
:
"lpcx"
,
components
:
{},
...
...
@@ -78,8 +78,7 @@ export default {
};
},
methods
:
{
//查询
queryClick
(){
this
.
fetchData
();
},
...
...
@@ -93,11 +92,24 @@ export default {
}
})
},
handleSort
(
name
,
sort
)
{
console
.
log
(
name
,
sort
);
},
openDialog
()
{
console
.
log
(
999999999999999
);
//打开楼盘表
openlpbDialog
(
scope
)
{
debugger
;
var
zrzbsm
=
scope
.
row
.
bsm
;
getLpb
({
zrzbsm
:
zrzbsm
}).
then
(
res
=>
{
if
(
res
.
code
==
200
){
var
lpbdata
=
res
.
result
;
}
})
.
catch
((
error
)
=>
{
console
.
log
(
error
);
});
},
},
};
...
...
src/views/zhcx/lpcx/lpcxdata.js
View file @
7b22bc5
...
...
@@ -57,7 +57,7 @@ class data extends filter {
align
:
'center'
,
fixed
:
'right'
,
render
:
(
h
,
scope
)
=>
{
return
<
el
-
button
type
=
"text"
icon
=
"el-icon-film"
onClick
=
{()
=>
{
vm
.
openDialog
(
scope
)
}}
>
楼盘表
<
/el-button
>
return
<
el
-
button
type
=
"text"
icon
=
"el-icon-film"
onClick
=
{()
=>
{
vm
.
open
lpb
Dialog
(
scope
)
}}
>
楼盘表
<
/el-button
>
}
}
]
...
...
Please
register
or
sign in
to post a comment