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
1db8c667
authored
2023-05-19 17:21:56 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:土地分割
1 parent
ce1d1eda
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
53 deletions
src/components/LbTable/lb-table.vue
src/views/ywbl/ywsq/components/selectJsydsyqSplitMerge.vue
vue.config.js
src/components/LbTable/lb-table.vue
View file @
1db8c66
...
...
@@ -83,7 +83,7 @@
},
minHeight
:
{
type
:
Number
,
default
:
undefined
default
:
160
},
heightNumSetting
:
{
type
:
Boolean
,
...
...
src/views/ywbl/ywsq/components/selectJsydsyqSplitMerge.vue
View file @
1db8c66
...
...
@@ -40,17 +40,15 @@
</el-form>
</div>
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
分割合并前权利信息
<lb-table
ref=
"table"
@
row-dblclick=
"handleRowClick"
:pagination =
false
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
<div
class=
"from-clues-content loadingtext"
>
分割合并前权利信息
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
heightNumSetting
:pagination=
false
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
<div
class=
"from-clues-content loadingtext"
>
分割合并后宗地信息
<lb-table
ref=
"table"
@
row-dblclick=
"handleRowClick"
:pagination =
false
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns1"
<div
class=
"from-clues-content loadingtext"
>
分割合并后宗地信息
<lb-table
ref=
"table"
:pagination=
false
:calcHeight=
"500"
:column=
"tableData.columns1"
:data=
"tableData.datastwo"
>
</lb-table>
</div>
...
...
@@ -63,11 +61,11 @@
<
script
>
//首次登记
import
store
from
'@/store/index.js'
import
{
datas
,
datastwo
,
sendThis
}
from
"../javascript/selectJsydsyq.js"
;
import
{
datas
,
datastwo
,
sendThis
}
from
"../javascript/selectJsydsyq.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
startBusinessFlow
,
selectJsydQlxxSplitMergeBefore
,
selectZdjbxxSplitMergeLast
}
from
"@/api/ywbl.js"
;
import
{
startBusinessFlow
,
selectJsydQlxxSplitMergeBefore
,
selectZdjbxxSplitMergeLast
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
...
...
@@ -94,38 +92,29 @@
},].
concat
(
datas
.
columns
()),
data
:
[],
columns1
:
datastwo
.
columns1
(),
datastwo
:
[]
datastwo
:
[]
},
bdcdysz
:
[],
radioVal
:
""
radioVal
:
""
}
},
mounted
()
{
sendThis
(
this
);
},
watch
:
{
radioVal
:
{
deep
:
true
,
handler
(
newVal
,
oldVal
)
{
this
.
close
()
},
},
sendThis
(
this
)
},
methods
:
{
// 单选事件
close
(){
console
.
log
(
"ddddd"
,
this
.
radioVal
);
console
.
log
(
"...this.queryForm"
,
this
.
queryForm
);
this
.
queryForm
.
bhqkbsm
=
this
.
radioVal
// delete this.queryForm.sqywbm
selectZdjbxxSplitMergeLast
({
...
this
.
queryForm
,}).
then
((
res
)
=>
{
close
()
{
this
.
queryForm
.
bhqkbsm
=
this
.
radioVal
selectZdjbxxSplitMergeLast
({
...
this
.
queryForm
}).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
datastwo
=
[...
res
.
result
,...
res
.
result
];
this
.
tableData
.
datastwo
=
res
.
result
this
.
tableData
.
datastwo
.
forEach
(
item
=>
{
item
.
bglx
=
'2'
})
this
.
bdcdysz
=
[...
this
.
bdcdysz
[
0
],
this
.
tableData
.
datastwo
]
}
})
;
})
},
queryClick
()
{
this
.
$startLoading
();
...
...
@@ -133,17 +122,21 @@
selectJsydQlxxSplitMergeBefore
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
[...
res
.
result
,...
res
.
result
];
this
.
tableData
.
data
=
res
.
result
}
});
},
handleRowClick
(
val
)
{
this
.
radioVal
=
val
.
bhqkbsm
let
obj
=
val
obj
.
bsmSsql
=
val
.
bsmQlxx
;
obj
.
ybdcqzsh
=
val
.
bdcqzh
;
obj
.
bglx
=
'1'
;
this
.
bdcdysz
[
0
]
=
obj
this
.
close
()
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
bdcdysz
:
this
.
bdcdysz
,
...
...
@@ -162,16 +155,9 @@
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
}
else
{
this
.
$message
.
error
(
res
.
message
)
;
this
.
$message
.
error
(
res
.
message
)
}
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
})
},
openBook
(
row
)
{
var
param
=
{
...
...
vue.config.js
View file @
1db8c66
...
...
@@ -61,10 +61,6 @@ module.exports = {
// configureWebpack通过操作对象的形式,来修改默认的webpack配置
configureWebpack
:
{
name
:
name
,
optimization
:
{
usedExports
:
true
,
minimize
:
true
},
entry
:
{
app
:
'./src/main.js'
},
...
...
Please
register
or
sign in
to post a comment