Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
dsk-cr20g
Commits
4d5d023d
Commit
4d5d023d
authored
Feb 01, 2024
by
huangjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
集团详情-土地交易
parent
bc5a8b43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
9 deletions
+68
-9
landtransaction.vue
...c/views/detail/groupAccount/component/landtransaction.vue
+68
-9
No files found.
dsk-operate-ui/src/views/detail/groupAccount/component/landtransaction.vue
View file @
4d5d023d
...
...
@@ -11,6 +11,30 @@
@
handle-excel=
"clickDialog"
@
handle-search=
"handleSearch"
>
<template
slot=
"slot"
>
<div
class=
"search-box"
>
<span
class=
"search-box-t"
@
click=
"handleSearch1"
>
筛选
<i
:class=
"searchState ? 'el-icon-arrow-up' : 'el-icon-arrow-down'"
></i></span>
<div
v-show=
"searchState"
id=
"showContent"
class=
"search-main"
>
<div
class=
"item"
>
<span
class=
"wrap_label"
>
供应方式
</span>
<div
class=
"item_ckquery"
>
<template
v-for=
"(item,index) in supplyLandWayOptions"
>
<span
:class=
"
{color_text:item.value == supplyLandWay}" @click="handleChange('1',item.value)">
{{
item
.
value
}}
</span>
</
template
>
</div>
</div>
<div
class=
"item"
>
<span
class=
"wrap_label"
>
持股比例
</span>
<div
class=
"item_ckquery"
>
<
template
v-for=
"(item,index) in cgblList"
>
<span
:class=
"
{color_text:item.label == cgblName}" @click="handleChange('2',item.label)">
{{
item
.
label
}}
</span>
</
template
>
</div>
</div>
</div>
</div>
</template>
</head-form-new>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
...
...
@@ -80,13 +104,13 @@
formData
:
[
{
type
:
7
,
fieldName
:
'area'
,
value
:
''
,
props
:
{
multiple
:
true
,
value
:
'id'
,
expandTrigger
:
'hover'
},
placeholder
:
'行政区划'
,
options
:[],
uid
:
this
.
getUid
()},
{
type
:
4
,
fieldName
:
'landUse'
,
value
:
''
,
placeholder
:
'土地用途'
,
options
:
[],
uid
:
this
.
getUid
()
},
{
type
:
4
,
fieldName
:
'supplyLandWay'
,
value
:
''
,
placeholder
:
'供应方式'
,
options
:
[],
uid
:
this
.
getUid
()
},
//
{ type: 4, fieldName: 'supplyLandWay', value: '', placeholder: '供应方式', options: [], uid: this.getUid() },
{
type
:
8
,
fieldName
:
'startAcreageList'
,
value
:
''
,
placeholder
:
'出让面积'
,
options
:
[],
uid
:
this
.
getUid
()},
{
type
:
1
,
fieldName
:
'StockPercent'
,
value
:
''
,
placeholder
:
'持股比例'
,
options
:
[],
uid
:
this
.
getUid
()},
//
{ type: 1, fieldName: 'StockPercent', value: '', placeholder: '持股比例', options: [], uid: this.getUid()},
{
type
:
9
,
fieldName
:
'money'
,
value
:
''
,
placeholder
:
'成交金额'
,
startMoney
:
'startTransactionPrice'
,
endMoney
:
'endTransactionPrice'
,
moneyList
:[],
uid
:
this
.
getUid
()
},
{
type
:
5
,
fieldName
:
'time'
,
value
:
''
,
placeholder
:
'合同签订时间'
,
startTime
:
'contractSignTimeStart'
,
endTime
:
'contractSignTimeEnd'
,
timeList
:[],
dateTo
:
this
.
formatDate
(
new
Date
())
,
uid
:
this
.
getUid
()},
{
type
:
0
,
fieldName
:
'penalizeReasonType'
,
value
:
''
,
placeholder
:
'筛选'
,
options
:
[],
uid
:
this
.
getUid
()},
{
type
:
3
,
fieldName
:
'keyword'
,
value
:
''
,
placeholder
:
'输入关键词查询'
,
uid
:
this
.
getUid
()},
// { type: 0, fieldName: 'penalizeReasonType', value: '', placeholder: '筛选', options: [], uid: this.getUid()},
],
acreageOptions
:
[
{
...
...
@@ -130,6 +154,7 @@
{
name
:
'招标出让'
,
value
:
'招标出让'
},
{
name
:
'挂牌出让'
,
value
:
'挂牌出让'
},
],
supplyLandWay
:
''
,
tableData
:[],
tableDataTotal
:
0
,
cgblList
:[
...
...
@@ -139,6 +164,7 @@
{
value
:
'5%以上'
,
label
:
'5%以上'
},
{
value
:
'1%-5%'
,
label
:
'1%-5%'
},
],
cgblName
:
''
,
paramsData
:{},
//储存组件筛选的条件
dataEXCEL
:{},
exportData
:{
...
...
@@ -185,18 +211,28 @@
exportEXCEL
:
false
,
},
timeList
:
[
'不限'
,
'近1个月'
,
'近半年'
,
'近1年'
,
'近3年'
,
'自定义'
],
searchState
:
false
,
}
},
watch
:{
searchState
:{
handler
(
newVal
,
olVal
)
{
if
(
newVal
)
{
setTimeout
(()
=>
{
document
.
addEventListener
(
'click'
,
this
.
handleSearch1
);
},
0
);
}
else
{
document
.
removeEventListener
(
'click'
,
this
.
handleSearch1
);
}
}
}
},
created
()
{
this
.
searchDic
()
this
.
handleSearch
()
this
.
dataRegion
()
this
.
formData
[
2
].
options
=
this
.
supplyLandWayOptions
;
this
.
formData
[
3
].
options
=
this
.
acreageOptions
;
this
.
formData
[
4
].
options
=
this
.
cgblList
;
this
.
formData
[
6
].
timeList
=
this
.
timeList
;
this
.
formData
[
2
].
options
=
this
.
acreageOptions
;
this
.
formData
[
4
].
timeList
=
this
.
timeList
;
},
methods
:
{
//土地用途
...
...
@@ -213,6 +249,29 @@
});
},
// 筛选
handleSearch1
(
event
){
// this.searchState=!this.searchState;
let
dom
=
document
.
getElementById
(
"showContent"
);
if
(
dom
){
if
(
!
dom
.
contains
(
event
.
target
))
{
this
.
searchState
=
!
this
.
searchState
;
document
.
removeEventListener
(
'click'
,
this
.
handleQuery
);
}
}
},
handleChange
(
key
,
name
)
{
if
(
key
===
'1'
){
this
.
supplyLandWay
=
name
this
.
paramsData
.
supplyLandWay
=
name
this
.
handleSearch
(
this
.
paramsData
,
1
)
}
if
(
key
===
'2'
){
this
.
cgblName
=
name
// this.paramsData.StockPercent = name
this
.
handleSearch
(
this
.
paramsData
,
1
)
}
},
handleSearch
(
params
=
[],
type
){
let
arr
=
{}
if
(
!
type
){
...
...
@@ -234,8 +293,8 @@
if
(
arr
){
this
.
paramsData
.
landUse
=
arr
.
landUse
?
arr
.
landUse
.
toString
():
''
this
.
paramsData
.
supplyLandWay
=
arr
.
supplyLandWay
?
arr
.
supplyLandWay
.
toString
():
''
if
(
arr
.
StockPercent
)
{
let
StockPercent
=
parseFloat
(
arr
.
StockPercent
)
if
(
this
.
cgblName
)
{
let
StockPercent
=
parseFloat
(
this
.
cgblName
)
this
.
paramsData
.
minStockPercent
=
StockPercent
/
100
if
(
StockPercent
==
1
)
{
this
.
paramsData
.
maxStockPercent
=
5
/
100
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment