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
5f1196a8
authored
2020-11-06 15:52:41 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
楼盘表相关代码优化
1 parent
2723d4af
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
11 deletions
src/views/systemZRZ/lpb/bjlp/ch/index.vue
src/views/systemZRZ/lpb/bjlp/index.vue
src/views/systemZRZ/lpb/bjlp/ch/index.vue
View file @
5f1196a
...
...
@@ -81,9 +81,6 @@ export default {
methods
:
{
//行操作
handleRowClick
(
row
,
index
)
{
console
.
log
(
this
.
tableData
,
"this.tableData"
);
console
.
log
(
this
.
formData
,
"this.formData"
);
console
.
log
(
index
);
if
(
row
.
cz
==
"+"
)
{
let
temp
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
formData
));
temp
.
cz
=
"-"
;
...
...
@@ -162,12 +159,6 @@ export default {
immediate
:
true
,
deep
:
true
,
},
// dialogVisible(n){
// this.tableData = [];
// if(n){
// this.tableData.push(this.formData);
// }
// }
},
};
</
script
>
...
...
src/views/systemZRZ/lpb/bjlp/index.vue
View file @
5f1196a
...
...
@@ -228,12 +228,11 @@ export default {
},
//打开新建楼盘树结构右键菜单唤起的弹框
openLpbDialog
(
data
,
type
)
{
console
.
log
(
data
,
"data"
);
this
.
treeData
=
data
;
this
.
menuType
=
type
;
this
.
dialogVisible
=
true
;
},
//弹框中的保存按钮
//弹框中的保存按钮
,根据不同菜单点击类型调用不同子组件的保存方法
saveInfo
()
{
switch
(
this
.
menuType
)
{
case
"ljz"
:
...
...
@@ -281,6 +280,7 @@ export default {
window
.
removeEventListener
(
"resize"
,
this
.
getHeight
);
},
watch
:
{
//树结构和图例伸缩时修改楼盘表主要内容区宽度
legendToggleFlag
(
n
)
{
if
(
n
)
{
this
.
lpbContentwidth
-=
204
;
...
...
Please
register
or
sign in
to post a comment