Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-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
b3e5ffef
authored
2023-03-16 14:44:12 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式调整
1 parent
27c08ae7
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
488 additions
and
454 deletions
src/components/Echart/Brokenline/Chart.vue
src/components/Echart/Columnar/Chart.vue
src/components/Echart/Rose/Chart.vue
src/image/slbg.png
src/styles/element-ui.scss
src/styles/index.scss
src/views/bdcsj/cfdj/index.vue
src/views/bdcsj/dyaq/index.vue
src/views/bdcsj/dyiq/index.vue
src/views/bdcsj/fdcqdz/index.vue
src/views/bdcsj/fdcqqfsyq/index.vue
src/views/bdcsj/fdcqyz/index.vue
src/views/bdcsj/gzwsyq/index.vue
src/views/bdcsj/hysyq/index.vue
src/views/bdcsj/jsydzjdsyq/index.vue
src/views/bdcsj/lq/index.vue
src/views/bdcsj/nydsyq/index.vue
src/views/bdcsj/tdsyq/index.vue
src/views/bdcsj/ygdj/index.vue
src/views/bdcsj/yydj/index.vue
src/views/bdcsj/zxdj/index.vue
src/views/jsbwcx/index.vue
src/components/Echart/Brokenline/Chart.vue
View file @
b3e5ffe
...
...
@@ -4,203 +4,195 @@
</
template
>
<
script
>
import
Echart
from
"@/common/echart"
;
export
default
{
data
()
{
return
{
xAxisData
:
{},
yAxisData1
:
{},
yAxisData2
:
{},
yAxisData3
:
{},
options
:
{},
};
},
components
:
{
Echart
,
},
props
:
{
cdata
:
{
type
:
Object
,
default
:
()
=>
({}),
import
Echart
from
"@/common/echart"
;
export
default
{
data
()
{
return
{
xAxisData
:
{},
yAxisData1
:
{},
yAxisData2
:
{},
yAxisData3
:
{},
options
:
{},
};
},
},
methods
:
{
hexToRgba
(
hex
,
opacity
)
{
let
rgbaColor
=
""
;
let
reg
=
/^#
[\d
a-f
]{6}
$/i
;
if
(
reg
.
test
(
hex
))
{
rgbaColor
=
`rgba(
${
parseInt
(
"0x"
+
hex
.
slice
(
1
,
3
))}
,
${
parseInt
(
"0x"
+
hex
.
slice
(
3
,
5
)
)}
,
${
parseInt
(
"0x"
+
hex
.
slice
(
5
,
7
))}
,
${
opacity
}
)`
;
components
:
{
Echart
,
},
props
:
{
cdata
:
{
type
:
Object
,
default
:
()
=>
({}),
},
},
methods
:
{
hexToRgba
(
hex
,
opacity
)
{
let
rgbaColor
=
""
;
let
reg
=
/^#
[\d
a-f
]{6}
$/i
;
if
(
reg
.
test
(
hex
))
{
rgbaColor
=
`rgba(
${
parseInt
(
"0x"
+
hex
.
slice
(
1
,
3
))}
,
${
parseInt
(
"0x"
+
hex
.
slice
(
3
,
5
)
)}
,
${
parseInt
(
"0x"
+
hex
.
slice
(
5
,
7
))}
,
${
opacity
}
)`
;
}
return
rgbaColor
;
},
fontSize
(
res
)
{
let
docEl
=
document
.
documentElement
,
clientWidth
=
window
.
innerWidth
||
document
.
documentElement
.
clientWidth
||
document
.
body
.
clientWidth
;
if
(
!
clientWidth
)
return
;
let
fontSize
=
clientWidth
/
1920
;
return
res
*
fontSize
;
}
return
rgbaColor
;
},
fontSize
(
res
)
{
let
docEl
=
document
.
documentElement
,
clientWidth
=
window
.
innerWidth
||
document
.
documentElement
.
clientWidth
||
document
.
body
.
clientWidth
;
if
(
!
clientWidth
)
return
;
let
fontSize
=
clientWidth
/
1920
;
return
res
*
fontSize
;
}
},
watch
:
{
cdata
:
{
handler
(
newData
)
{
this
.
xAxisData
=
newData
.
echartData
.
map
((
v
)
=>
v
.
yearMonth
);
this
.
yAxisData1
=
newData
.
echartData
.
map
((
v
)
=>
v
.
receive
);
this
.
yAxisData2
=
newData
.
echartData
.
map
((
v
)
=>
v
.
record
);
this
.
yAxisData3
=
newData
.
echartData
.
map
((
v
)
=>
v
.
report
);
this
.
options
=
{
color
:
newData
.
color
,
legend
:
{
center
:
true
,
top
:
"20%"
,
data
:
newData
.
legendItem
,
textStyle
:
{
color
:
"#00DEFF"
,
fontSize
:
this
.
fontSize
(
12
),
watch
:
{
cdata
:
{
handler
(
newData
)
{
this
.
xAxisData
=
newData
.
echartData
.
map
((
v
)
=>
v
.
yearMonth
);
this
.
yAxisData1
=
newData
.
echartData
.
map
((
v
)
=>
v
.
receive
);
this
.
yAxisData2
=
newData
.
echartData
.
map
((
v
)
=>
v
.
record
);
this
.
yAxisData3
=
newData
.
echartData
.
map
((
v
)
=>
v
.
report
);
this
.
options
=
{
color
:
newData
.
color
,
legend
:
{
center
:
true
,
top
:
"20%"
,
data
:
newData
.
legendItem
,
textStyle
:
{
color
:
"#00DEFF"
,
fontSize
:
this
.
fontSize
(
12
),
},
},
}
,
// calculable: true,
tooltip
:
{
trigger
:
"axis"
,
formatter
:
function
(
params
)
{
let
html
=
""
;
params
.
forEach
((
v
)
=>
{
html
+=
`<div style="color: #000;font-size: 14px;line-height: 24px background-color: #000000">
// calculable: true
,
tooltip
:
{
trigger
:
"axis"
,
formatter
:
function
(
params
)
{
console
.
log
(
"params222"
,
params
);
let
html
=
""
;
params
.
forEach
((
v
)
=>
{
html
+=
`<div style="color: #000;font-size: 14px;line-height: 24px background-color: #000000">
<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:
${
newData
.
color
[
v
.
componentIndex
]
};
"></span>
};
"></span>
${v.seriesName}.${v.name}
<span style="
color
:
$
{
newData
.
color
[
v
.
componentIndex
]
};
font
-
weight
:
700
;
font
-
size
:
18
px
">${v.value}</span>
};
font
-
weight
:
700
;
font
-
size
:
18
px
">${v.value}</span>
个`;
});
return html;
});
return html;
},
extraCssText:
"
background
:
#
85
a2eb
;
border
-
radius
:
0
;
box
-
shadow
:
0
0
3
px
rgba
(
0
,
0
,
0
,
0.2
);
color
:
#
333
;
",
},
extraCssText:
"
background
:
#
85
a2eb
;
border
-
radius
:
0
;
box
-
shadow
:
0
0
3
px
rgba
(
0
,
0
,
0
,
0.2
);
color
:
#
333
;
",
},
// grid: {
// top: 70,
// containLabel: true
// },
grid: {
top: "
30
%
",
left: "
3
%
",
right: "
6
%
",
bottom: "
8
%
",
containLabel: true,
},
xAxis: [
{
type: "
category
",
axisLine: {
show: true,
lineStyle: {
color: "
#
458
ACF
",
// grid: {
// top: 70,
// containLabel: true
// },
grid: {
top: "
30
%
",
left: "
3
%
",
right: "
6
%
",
bottom: "
8
%
",
containLabel: true,
},
xAxis: [
{
type: "
category
",
axisLine: {
show: true,
lineStyle: {
color: "
#
458
ACF
",
},
},
},
axisLabel: {
inside: false,
textStyle: {
color: "
rgba
(
255
,
255
,
255
,
0.7
)
", // x轴颜色
fontWeight: "
normal
"
,
fontSize: this.fontSize(1
2),
lineHeight: this.fontSize(22)
,
axisLabel: {
inside: false,
textStyle: {
color: "
rgba
(
255
,
255
,
255
,
0.7
)
", // x轴颜色
fontWeight: "
normal
",
fontSize: this.fontSize(12)
,
lineHeight: this.fontSize(2
2),
}
,
},
data: this.xAxisData,
},
data: this.xAxisData,
},
],
yAxis: [
{
type: "
value
",
axisLabel: {
textStyle: {
color: "
rgba
(
255
,
255
,
255
,
0.7
)
",
],
yAxis: [
{
type: "
value
",
axisLabel: {
textStyle: {
color: "
rgba
(
255
,
255
,
255
,
0.7
)
",
},
},
},
splitLine: {
show: true,
lineStyle: {
color: "
#
458
ACF
"
,
splitLine: {
show: true,
lineStyle: {
color: "
#
458
ACF
",
}
,
},
},
axisLine: {
show: true,
lineStyle: {
color: "
#
458
ACF
",
axisLine: {
show: true,
lineStyle: {
color: "
#
458
ACF
",
},
},
axisTick: {
show: false,
},
},
axisTick: {
show: false,
},
},
],
series: [
{
name: newData.legendItem[0],
type: "
line
",
smooth: false, //是否平滑
showSymbol: true,
symbol: "
circle
",
symbolSize: this.fontSize(6),
zlevel: 3,
lineStyle: {
normal: {
color: newData.color[0],
shadowBlur: 3,
shadowColor: this.hexToRgba(newData.color[0], 0.5),
shadowOffsetY: 0,
],
series: [
{
name: newData.legendItem[0],
type: "
line
",
smooth: false, //是否平滑
showSymbol: true,
symbol: "
circle
",
symbolSize: this.fontSize(6),
zlevel: 3,
lineStyle: {
normal: {
color: newData.color[0]
},
},
data: this.yAxisData1,
},
data: this.yAxisData1,
},
{
name: newData.legendItem[1],
type: "
line
",
smooth: false,
showSymbol: true,
symbol: "
circle
",
symbolSize: this.fontSize(8),
zlevel: 3,
lineStyle: {
normal: {
color: newData.color[1],
shadowBlur: 0,
shadowColor: this.hexToRgba(newData.color[1], 0.5),
shadowOffsetY: 0,
{
name: newData.legendItem[1],
type: "
line
",
smooth: false,
showSymbol: true,
symbol: "
circle
",
symbolSize: this.fontSize(8),
zlevel: 3,
lineStyle: {
normal: {
color: newData.color[1],
},
},
data: this.yAxisData2,
},
data: this.yAxisData2,
},
{
name: newData.legendItem[2],
type: "
line
",
smooth: false,
showSymbol: true,
symbol: "
circle
"
,
symbolSize
:
this
.
fontSize
(
8
),
zlevel
:
3
,
lineStyle
:
{
normal
:
{
color
:
newData
.
color
[
2
],
shadowBlur
:
3
,
shadowColor
:
this
.
hexToRgba
(
newData
.
color
[
2
],
0.5
),
shadowOffsetY
:
0
,
{
name: newData.legendItem[2],
type: "
line
",
smooth: false,
showSymbol: true,
symbol: "
circle
"
,
symbolSize
:
this
.
fontSize
(
8
),
zlevel
:
3
,
lineStyle
:
{
normal
:
{
color
:
newData
.
color
[
2
],
}
,
},
data: this.yAxisData3,
},
data: this.yAxisData3,
},
],
};
],
};
},
immediate: true,
deep: true,
},
immediate: true,
deep: true,
},
},
};
};
</
script
>
...
...
src/components/Echart/Columnar/Chart.vue
View file @
b3e5ffe
...
...
@@ -33,6 +33,21 @@
axisPointer
:
{
type
:
"shadow"
,
},
formatter
:
function
(
params
)
{
console
.
log
(
"params222"
,
params
);
let
html
=
""
;
params
.
forEach
((
v
)
=>
{
html
+=
`<div style="color: #000;font-size: 14px;line-height: 24px background-color: #000000">
<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:
${
params
[
v
.
componentIndex
].
color
};
"></span>
${v.seriesName}.${v.name}
<span style="
color
:
blue
;
font
-
weight
:
700
;
font
-
size
:
18
px
">${v.value}</span>
个`;
});
return html;
},
extraCssText:
"
background
:
#
85
a2eb
;
border
-
radius
:
2
;
box
-
shadow
:
0
0
3
px
rgba
(
0
,
0
,
0
,
0.2
);
color
:
#
333
;
",
},
grid: {
left: "
5
%
",
...
...
src/components/Echart/Rose/Chart.vue
View file @
b3e5ffe
...
...
@@ -41,7 +41,18 @@
],
tooltip
:
{
trigger
:
"item"
,
formatter
:
"<br/>{b} : {c} ({d}%)"
,
formatter
:
function
(
params
)
{
console
.
log
(
"params11"
,
params
);
let
html
=
""
;
html
+=
`<div style="font-size: 14px;line-height: 24px >
<span style="display:inline-block;"></span>
${
params
.
name
}
<span style="color:blue;font-weight:700;font-size: 18px">
${
params
.
value
}
</span>
个`
;
return
html
;
},
extraCssText
:
"background: #85a2eb; border-radius: 0;box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);color: #333;"
,
},
series
:
[
{
...
...
src/image/slbg.png
View file @
b3e5ffe
9.58 KB
|
W:
|
H:
3.53 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/styles/element-ui.scss
View file @
b3e5ffe
...
...
@@ -329,6 +329,7 @@ table td {
padding-top
:
13px
;
padding-bottom
:
13px
;
border
:
none
;
margin-top
:
5px
!
important
;
table
{
...
...
@@ -395,12 +396,17 @@ table td {
.el-date-table
td
span
{
color
:
#DBFAFF
}
.el-date-table
td
span
:hover
{
background-color
:
#074487
;
border
:
1px
solid
#02D9FD
;
color
:
#02D9FD
}
.el-date-table
td
.current
:not
(
.disabled
)
span
{
background-color
:
#074487
;
// border:1px solid saddlebrown;
box-shadow
:
inset
0
0
7px
#02D9FD
;
border
:
1px
solid
#02D9FD
;
color
:
#02D9FD
}
}
...
...
@@ -504,7 +510,7 @@ table td {
height
:
26px
;
line-height
:
26px
;
background-size
:
100%
100%
;
margin-bottom
:
7
px
;
margin-bottom
:
12
px
;
color
:
#02D9FD
!
important
;
}
...
...
@@ -571,4 +577,8 @@ table td {
background-origin
:
initial
;
background-clip
:
initial
;
background-color
:
rgb
(
80
,
142
,
235
);
}
\ No newline at end of file
}
// 下拉框
.el-menu--popup
{
padding-top
:
20px
;
}
...
...
src/styles/index.scss
View file @
b3e5ffe
...
...
@@ -137,7 +137,8 @@ ul li {
}
.mb-5
{
margin-bottom
:
5px
;
margin-bottom
:
10px
!
important
;
margin-top
:
10px
!
important
;
}
.pr-5
{
...
...
@@ -149,7 +150,8 @@ ul li {
}
.mt-10
{
margin-top
:
10px
;
margin-top
:
20px
!
important
;
margin-bottom
:
5px
!
important
;
}
//flex 公共样式
...
...
src/views/bdcsj/cfdj/index.vue
View file @
b3e5ffe
...
...
@@ -5,7 +5,7 @@
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-row
class=
"mb-5"
>
<el-col
:span=
"5"
>
<el-form-item
label=
"行政区"
label-width=
"80px"
>
<el-select
v-model=
"form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
>
...
...
src/views/bdcsj/dyaq/index.vue
View file @
b3e5ffe
...
...
@@ -5,7 +5,7 @@
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-row
class=
"mb-5"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
label-width=
"80px"
>
<el-select
v-model=
"form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
>
...
...
src/views/bdcsj/dyiq/index.vue
View file @
b3e5ffe
...
...
@@ -5,7 +5,7 @@
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-row
class=
"mb-5"
>
<el-col
:span=
"5"
>
<el-form-item
label=
"行政区"
label-width=
"80px"
>
<el-select
v-model=
"form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
>
...
...
@@ -81,84 +81,84 @@
</
template
>
<
script
>
// 地役权登记
import
data
from
"./data"
import
qlfQlDyiq
from
'@/api/qlfQlDyiq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"dyiq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
BDCDYH
:
''
,
// 供役地不动产单元号
GYDBDCDYH
:
''
,
// 需役地不动产单元号
XYDBDCDYH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
详情
<
/el-button
>
<
/div
>
)
// 地役权登记
import
data
from
"./data"
import
qlfQlDyiq
from
'@/api/qlfQlDyiq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"dyiq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
BDCDYH
:
''
,
// 供役地不动产单元号
GYDBDCDYH
:
''
,
// 需役地不动产单元号
XYDBDCDYH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
详情
<
/el-button
>
<
/div
>
)
}
}
}
]),
data
:
[]
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
]),
data
:
[]
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
}
}
}
},
methods
:
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlDyiq
.
getQlfQlDyiqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
},
methods
:
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlDyiq
.
getQlfQlDyiqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
}
}
catch
(
error
)
{
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
//
@import
"~@/styles/public.scss"
;
//
@import
"~@/styles/public.scss"
;
</
style
>
...
...
src/views/bdcsj/fdcqdz/index.vue
View file @
b3e5ffe
...
...
@@ -5,7 +5,7 @@
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-row
class=
"mb-5"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
<el-select
v-model=
"form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
>
...
...
src/views/bdcsj/fdcqqfsyq/index.vue
View file @
b3e5ffe
...
...
@@ -5,7 +5,7 @@
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-row
class=
"mb-5"
>
<el-col
:span=
"5"
>
<el-form-item
label=
"业务号"
>
<el-input
v-model=
"form.YWH"
clearable
placeholder=
"业务号"
></el-input>
...
...
src/views/bdcsj/fdcqyz/index.vue
View file @
b3e5ffe
...
...
@@ -5,7 +5,7 @@
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-row
class=
"mb-5"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
<el-select
v-model=
"form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
>
...
...
src/views/bdcsj/gzwsyq/index.vue
View file @
b3e5ffe
...
...
@@ -5,7 +5,7 @@
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-row
class=
"mb-5"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
<el-select
v-model=
"form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
>
...
...
src/views/bdcsj/hysyq/index.vue
View file @
b3e5ffe
...
...
@@ -6,7 +6,7 @@
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
class=
"mb-5"
>
<el-form-item
label=
"行政区"
>
<el-select
v-model=
"form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
>
<el-option
v-for=
"item in dicData['A20']"
:key=
"item.DCODE"
:label=
"item.DNAME"
:value=
"item.DCODE"
>
...
...
src/views/bdcsj/jsydzjdsyq/index.vue
View file @
b3e5ffe
...
...
@@ -5,7 +5,7 @@
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-row
class=
"mb-5"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
<el-select
v-model=
"form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
>
...
...
src/views/bdcsj/lq/index.vue
View file @
b3e5ffe
...
...
@@ -6,7 +6,7 @@
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
class=
"mb-5"
>
<el-form-item
label=
"行政区"
>
<el-select
v-model=
"form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
>
<el-option
v-for=
"item in dicData['A20']"
:key=
"item.DCODE"
:label=
"item.DNAME"
:value=
"item.DCODE"
>
...
...
src/views/bdcsj/nydsyq/index.vue
View file @
b3e5ffe
...
...
@@ -5,7 +5,7 @@
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-row
class=
"mb-5"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
<el-select
v-model=
"form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
>
...
...
src/views/bdcsj/tdsyq/index.vue
View file @
b3e5ffe
...
...
@@ -5,7 +5,7 @@
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-row
class=
"mb-5"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
<el-select
v-model=
"form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
>
...
...
src/views/bdcsj/ygdj/index.vue
View file @
b3e5ffe
...
...
@@ -5,7 +5,7 @@
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-row
class=
"mb-5"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
label-width=
"106px"
>
<el-select
v-model=
"form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
>
...
...
src/views/bdcsj/yydj/index.vue
View file @
b3e5ffe
...
...
@@ -6,7 +6,7 @@
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"5"
>
<el-col
:span=
"5"
class=
"mb-5"
>
<el-form-item
label=
"行政区"
label-width=
"80px"
>
<el-select
v-model=
"form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
>
<el-option
v-for=
"item in dicData['A20']"
:key=
"item.DCODE"
:label=
"item.DNAME"
:value=
"item.DCODE"
>
...
...
src/views/bdcsj/zxdj/index.vue
View file @
b3e5ffe
...
...
@@ -5,7 +5,7 @@
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-row
class=
"mb-5"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
<el-select
v-model=
"form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
>
...
...
src/views/jsbwcx/index.vue
View file @
b3e5ffe
...
...
@@ -59,7 +59,7 @@
<el-col
:span=
"3"
>
<el-form-item
label=
"检查结果"
prop=
"jcjg"
>
<el-select
v-model=
"form.jcjg"
class=
"width100"
clearable
placeholder=
"检查结果"
>
<el-option
v-for=
"item in dicData['sysSjsbCkeck']"
:key=
"item.DCODE"
:label=
"item.DNAME"
<el-option
v-for=
"item in dicData['sysSjsbCkeck']"
class=
"lastdom"
:key=
"item.DCODE"
:label=
"item.DNAME"
:value=
"item.DCODE"
>
</el-option>
</el-select>
...
...
@@ -69,7 +69,7 @@
<el-col
:span=
"3"
>
<el-form-item
label=
"入库结果"
prop=
"rkjg"
>
<el-select
v-model=
"form.rkjg"
class=
"width100"
clearable
placeholder=
"入库结果"
>
<el-option
v-for=
"item in dicData['sysSjsbStorage']"
:key=
"item.DCODE"
:label=
"item.DNAME"
<el-option
v-for=
"item in dicData['sysSjsbStorage']"
class=
"lastdom"
:key=
"item.DCODE"
:label=
"item.DNAME"
:value=
"item.DCODE"
>
</el-option>
</el-select>
...
...
@@ -99,201 +99,205 @@
</
template
>
<
script
>
// 接收报文查询
// 引入表格头部数据
import
data
from
"./data"
;
// 引入table混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
import
{
getReceiveDataReportPage
}
from
"@/api/dataReport.js"
;
// 引入详情弹框
import
dataDetails
from
"@/components/EditDialog"
;
//引入日期处理方法
import
{
timeFormat
}
from
"@/utils/operation"
;
export
default
{
name
:
"jsbwcx"
,
mixins
:
[
tableMixin
],
// 注册组件
components
:
{
dataDetails
,
},
data
()
{
return
{
// 接收报文查询
// 引入表格头部数据
import
data
from
"./data"
;
// 引入table混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
import
{
getReceiveDataReportPage
}
from
"@/api/dataReport.js"
;
// 引入详情弹框
import
dataDetails
from
"@/components/EditDialog"
;
//引入日期处理方法
import
{
timeFormat
}
from
"@/utils/operation"
;
export
default
{
name
:
"jsbwcx"
,
mixins
:
[
tableMixin
],
// 注册组件
components
:
{
dataDetails
,
},
data
()
{
return
{
pickerOptionsStart
:
{
disabledDate
:
(
time
)
=>
{
let
endDateVal
=
this
.
form
.
receiveEndTime
;
if
(
endDateVal
)
{
return
(
time
.
getTime
()
>=
new
Date
(
endDateVal
).
getTime
()
);
}
pickerOptionsStart
:
{
disabledDate
:
(
time
)
=>
{
let
endDateVal
=
this
.
form
.
receiveEndTime
;
if
(
endDateVal
)
{
return
(
time
.
getTime
()
>=
new
Date
(
endDateVal
).
getTime
()
);
}
},
},
},
pickerOptionsEnd
:
{
disabledDate
:
(
time
)
=>
{
let
beginDateVal
=
this
.
form
.
receiveStartTime
;
if
(
beginDateVal
)
{
return
(
time
.
getTime
()
<
new
Date
(
beginDateVal
).
getTime
()
);
}
pickerOptionsEnd
:
{
disabledDate
:
(
time
)
=>
{
let
beginDateVal
=
this
.
form
.
receiveStartTime
;
if
(
beginDateVal
)
{
return
(
time
.
getTime
()
<
new
Date
(
beginDateVal
).
getTime
()
);
}
}
,
},
},
// 表格数据
form
:
{
qxdm
:
""
,
// 行政区
receiveStartTime
:
""
,
// 开始日期
receiveEndTime
:
""
,
// 结束日期
bdcdyh
:
""
,
// 不动产单元号
ywh
:
""
,
// 业务号
qllx
:
""
,
// 权利类型
djlx
:
""
,
// 登记类型
jcjg
:
""
,
// 检查结果
rkjg
:
""
,
//入库结果
currentPage
:
1
},
// 校验规则
rules
:
{
pcode
:
[{
required
:
true
,
message
:
"请选择行政区"
,
trigger
:
"change"
}],
startTime
:
[
{
required
:
true
,
message
:
"请选择开始日期"
,
trigger
:
"change"
},
],
endTime
:
[
{
required
:
true
,
message
:
"请选择结束日期"
,
trigger
:
"change"
},
],
bdcdyh
:
[
{
required
:
true
,
message
:
"不动产单元号"
,
trigger
:
"change"
},
],
ywmc
:
[{
required
:
true
,
message
:
"业务名称"
,
trigger
:
"change"
}],
jcjg
:
[{
required
:
true
,
message
:
"检查结果"
,
trigger
:
"change"
}],
rkjg
:
[{
required
:
true
,
message
:
"入库结果"
,
trigger
:
"change"
}],
},
// 表格数据
tableData
:
{
// 表格头部
columns
:
[
{
label
:
"序号"
,
type
:
"index"
,
width
:
"50"
,
index
:
this
.
indexMethod
,
}
]
.
concat
(
data
.
columns
())
.
concat
([
// 表格数据
form
:
{
qxdm
:
""
,
// 行政区
receiveStartTime
:
""
,
// 开始日期
receiveEndTime
:
""
,
// 结束日期
bdcdyh
:
""
,
// 不动产单元号
ywh
:
""
,
// 业务号
qllx
:
""
,
// 权利类型
djlx
:
""
,
// 登记类型
jcjg
:
""
,
// 检查结果
rkjg
:
""
,
//入库结果
currentPage
:
1
},
// 校验规则
rules
:
{
pcode
:
[{
required
:
true
,
message
:
"请选择行政区"
,
trigger
:
"change"
}],
startTime
:
[
{
required
:
true
,
message
:
"请选择开始日期"
,
trigger
:
"change"
},
],
endTime
:
[
{
required
:
true
,
message
:
"请选择结束日期"
,
trigger
:
"change"
},
],
bdcdyh
:
[
{
required
:
true
,
message
:
"不动产单元号"
,
trigger
:
"change"
},
],
ywmc
:
[{
required
:
true
,
message
:
"业务名称"
,
trigger
:
"change"
}],
jcjg
:
[{
required
:
true
,
message
:
"检查结果"
,
trigger
:
"change"
}],
rkjg
:
[{
required
:
true
,
message
:
"入库结果"
,
trigger
:
"change"
}],
},
// 表格数据
tableData
:
{
// 表格头部
columns
:
[
{
label
:
"操作"
,
width
:
"90"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
scope
.
row
.
receiveState
==
2
?
<
el
-
button
type
=
"text"
class
=
'successColor'
onClick
=
{()
=>
{
this
.
handleDetails
(
scope
.
row
);
}}
>
修改
<
/el-button>
:
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleDetails
(
scope
.
row
);
}}
>
详情
<
/el-button
>
}
<
/div
>
)
label
:
"序号"
,
type
:
"index"
,
width
:
"50"
,
index
:
this
.
indexMethod
,
}
]
.
concat
(
data
.
columns
())
.
concat
([
{
label
:
"操作"
,
width
:
"90"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
scope
.
row
.
receiveState
==
2
?
<
el
-
button
type
=
"text"
class
=
'successColor'
onClick
=
{()
=>
{
this
.
handleDetails
(
scope
.
row
);
}}
>
修改
<
/el-button>
:
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleDetails
(
scope
.
row
);
}}
>
详情
<
/el-button
>
}
<
/div
>
)
}
}
]),
// 表格列表数据
total
:
0
,
data
:
[],
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
10
,
current
:
1
},
title
:
""
,
};
},
methods
:
{
//截止日期变化
endTimeChange
(
val
)
{
this
.
form
.
receiveEndTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
// 初始化数据
queryClick
()
{
getReceiveDataReportPage
({
...
this
.
form
,
...
this
.
formData
}).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
,
current
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
?
records
:
[];
this
.
pageData
.
current
=
current
}
]),
// 表格列表数据
total
:
0
,
data
:
[],
}
)
},
//
分页
pageData
:
{
t
otal
:
0
,
pageSize
:
10
,
current
:
1
//
重置
resetForm
()
{
t
his
.
$refs
.
ruleForm
.
resetFields
();
this
.
form
.
currentPage
=
1
this
.
queryClick
();
},
title
:
""
,
};
},
methods
:
{
//截止日期变化
endTimeChange
(
val
)
{
this
.
form
.
receiveEndTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
// 初始化数据
queryClick
()
{
getReceiveDataReportPage
({
...
this
.
form
,
...
this
.
formData
}).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
,
current
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
?
records
:
[];
this
.
pageData
.
current
=
current
}
}
)
},
// 重置
resetForm
()
{
this
.
$refs
.
ruleForm
.
resetFields
();
this
.
form
.
currentPage
=
1
this
.
queryClick
();
},
featchData
()
{
this
.
queryClick
();
},
// 结果
handleResult
(
row
)
{
this
.
$popupDialog
(
'响应结果'
,
'views/jsbwcx/components/result'
,
row
)
},
// 详情
handleDetails
(
row
)
{
if
(
row
.
rectypeName
)
{
this
.
title
=
row
.
rectypeName
}
else
{
let
Title
=
''
this
.
dicData
[
'A21'
].
map
(
item
=>
{
if
(
item
.
DCODE
==
row
.
DJLX
||
item
.
DCODE
==
row
.
djlx
)
{
Title
=
item
.
DNAME
return
}
})
featchData
()
{
this
.
queryClick
();
},
// 结果
handleResult
(
row
)
{
this
.
$popupDialog
(
'响应结果'
,
'views/jsbwcx/components/result'
,
row
)
},
// 详情
handleDetails
(
row
)
{
if
(
row
.
rectypeName
)
{
this
.
title
=
row
.
rectypeName
}
else
{
let
Title
=
''
this
.
dicData
[
'A21'
].
map
(
item
=>
{
if
(
item
.
DCODE
==
row
.
DJLX
||
item
.
DCODE
==
row
.
djlx
)
{
Title
=
item
.
DNAME
return
}
})
this
.
dicData
[
'A8'
].
map
(
item
=>
{
if
(
item
.
DCODE
==
row
.
QLLX
||
item
.
DCODE
==
row
.
qllx
)
{
Title
+=
'-'
+
item
.
DNAME
return
}
})
this
.
title
=
Title
}
this
.
$refs
.
editLog
.
isShow
(
row
);
if
(
row
.
receiveState
==
2
)
{
this
.
$store
.
dispatch
(
'business/setReportLogEdit'
)
}
else
{
this
.
$store
.
dispatch
(
'business/setEdit'
)
}
},
this
.
dicData
[
'A8'
].
map
(
item
=>
{
if
(
item
.
DCODE
==
row
.
QLLX
||
item
.
DCODE
==
row
.
qllx
)
{
Title
+=
'-'
+
item
.
DNAME
return
}
})
this
.
title
=
Title
}
this
.
$refs
.
editLog
.
isShow
(
row
);
if
(
row
.
receiveState
==
2
)
{
this
.
$store
.
dispatch
(
'business/setReportLogEdit'
)
}
else
{
this
.
$store
.
dispatch
(
'business/setEdit'
)
}
},
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
//
引入表单整体样式
//
//
@import
"~@/styles/public.scss"
;
//
引入当前
css
@import
"./index.scss"
;
//
引入表单整体样式
//
//
@import
"~@/styles/public.scss"
;
//
引入当前
css
@import
"./index.scss"
;
.lastdom
:nth-child
(
3
)
{
margin-bottom
:
0px
;
}
</
style
>
...
...
Please
register
or
sign in
to post a comment