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
c1737b81
authored
2023-02-08 15:08:43 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/bdc/bdcjg-web
2 parents
9a79d5e2
0b4bb511
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
194 additions
and
171 deletions
src/components/Business/css/itemForm.scss
src/components/Echart/Map/Chart.vue
src/components/EditDialog/index.vue
src/layout/components/Navbar.vue
src/layout/components/Sidebar/sidebarLeft.vue
src/styles/element-ui.scss
src/views/business-info/Cfdj/index.vue
src/views/business-info/dyaq/index.vue
src/views/business-info/dyiq/index.vue
src/views/business-info/fdcqdz/index.vue
src/views/business-info/fdcqqfsyq/index.vue
src/views/business-info/fdcqyz/index.vue
src/views/business-info/gzwsyq/index.vue
src/views/business-info/hysyq/index.vue
src/views/business-info/jsydzjdsyq/index.vue
src/views/business-info/lq/index.vue
src/views/business-info/nydsyq/index.vue
src/views/business-info/tdsyq/index.vue
src/views/business-info/ygdj/index.vue
src/views/business-info/yydj/index.vue
src/views/business-info/zxdj/index.vue
src/views/jktj/bsxljk/index.vue
src/views/jktj/cgltj/index.vue
src/views/jktj/ywltj/index.vue
src/views/system/dictionaries/dictionaries.vue
src/views/system/roles/index.vue
src/views/system/timedTask/index.vue
src/views/system/users/index.vue
src/views/system/validationRule/index.vue
src/components/Business/css/itemForm.scss
View file @
c1737b8
...
...
@@ -30,9 +30,9 @@
border-right
:
none
;
text-align
:
center
;
padding
:
0
;
color
:
#05bbdb
;
line-height
:
16px
;
font-size
:
12px
;
color
:
#CEF8FF
;
margin-top
:
8px
!
important
;
}
...
...
src/components/Echart/Map/Chart.vue
View file @
c1737b8
...
...
@@ -41,41 +41,6 @@ export default {
宁强县
:
[
106.25958
,
32.82881
,
20
],
略阳县
:
[
106.15399
,
33.33009
,
20
],
};
let
seriesData
=
[
{
name
:
'汉台区'
,
},
{
name
:
'南郑区'
,
},
{
name
:
'城固县'
,
},
{
name
:
'洋县'
,
},
{
name
:
'西乡县'
,
},
{
name
:
'镇巴县'
,
},
{
name
:
'勉县'
,
},
{
name
:
'留坝县'
,
},
{
name
:
'佛坪县'
,
},
{
name
:
'宁强县'
,
},
{
name
:
'略阳县'
}
];
let
convertData
=
function
(
data
)
{
let
scatterData
=
[];
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
)
{
...
...
@@ -90,7 +55,6 @@ export default {
return
scatterData
;
};
this
.
options
=
{
backgroundColor
:
'rgba(0,0,0,1)'
,
showLegendSymbol
:
true
,
tooltip
:
{
trigger
:
'item'
,
...
...
@@ -126,7 +90,23 @@ export default {
color
:
'#737373'
}
},
geo
:
{
aspectScale
:
1
,
//长宽比
zoom
:
1.1
,
mapType
:
'汉中市'
,
// 自定义扩展图表类型
top
:
'15%'
,
left
:
'10%'
,
map
:
'汉中市'
,
itemStyle
:
{
normal
:
{
//阴影
areaColor
:
'#02D9FD '
,
shadowColor
:
'#01271F'
,
borderWidth
:
0
,
shadowOffsetX
:
2
,
shadowOffsetY
:
25
}
}
},
series
:
[
{
type
:
'map'
,
...
...
@@ -137,22 +117,26 @@ export default {
left
:
'10%'
,
itemStyle
:
{
normal
:
{
areaColor
:
'rgba(19,54,162,
.5)'
,
borderColor
:
'rgba(0,242,252,.
3
)'
,
borderWidth
:
1
,
areaColor
:
'rgba(19,54,162,.5)'
,
borderColor
:
'rgba(0,242,252,.
5
)'
,
borderWidth
:
2
,
shadowBlur
:
7
,
shadowColor
:
'#00f2fc'
,
borderColor
:
'rgba(19,54,162,.1)'
,
shadowColor
:
'#44f2fc'
,
},
emphasis
:
{
areaColor
:
'#4f7fff'
,
borderColor
:
'rgba(0,242,252,.
6
)'
,
borderColor
:
'rgba(0,242,252,.
5
)'
,
borderWidth
:
2
,
shadowBlur
:
10
,
shadowColor
:
'#00f2fc'
,
},
},
label
:
{
formatter
:
params
=>
`
${
params
.
name
}
`
,
formatter
:
params
=>
{
return
`
${
params
.
data
.
name
}
\n
${
params
.
data
.
value
+
"个"
}
`
;
},
show
:
true
,
position
:
'insideRight'
,
textStyle
:
{
...
...
@@ -166,39 +150,7 @@ export default {
}
},
data
:
newData
,
},
{
name
:
'MAP'
,
type
:
'map3D'
,
map
:
name
,
label
:
{
show
:
true
,
textStyle
:
{
color
:
'#fff'
,
},
formatter
:
(
params
)
=>
{
if
(
newData
.
find
((
ele
)
=>
ele
.
name
==
params
.
name
))
{
return
params
.
name
+
'\n'
+
newData
.
find
((
ele
)
=>
ele
.
name
==
params
.
name
).
value
;
}
else
{
return
params
.
name
;
}
},
borderRadius
:
4
,
},
itemStyle
:
{
color
:
'#144a69'
,
// shadowColor: 'rgba(0,243,255,0.2)',
// shadowOffsetY: 5,
// shadowBlur: 10,
borderColor
:
'#06767c'
,
borderWidth
:
1
,
// opacity: 1,
},
aspectScale
:
0.9
,
//长宽比
selectedMode
:
false
,
//是否允许选中多个区域
data
:
newData
,
},
],
};
// 重新选择区域
...
...
src/components/EditDialog/index.vue
View file @
c1737b8
...
...
@@ -279,6 +279,7 @@ export default {
border
:
1px
solid
#224C7C
!important
;
margin
:
0
0
10px
0
!important
;
width
:
100%
!important
;
color
:
#dadde3
!important
;
background
:
transparent
!important
;
}
...
...
@@ -286,6 +287,7 @@ export default {
border
:
1px
solid
#224C7C
!important
;
margin
:
0
!important
;
width
:
100%
!important
;
color
:
#dadde3
!important
;
background
:
transparent
!important
;
}
}
...
...
@@ -367,6 +369,7 @@ export default {
.tab-pane-item
{
line-height
:
20px
;
color
:
#02D9FD
;
p
{
text-align
:
center
;
...
...
src/layout/components/Navbar.vue
View file @
c1737b8
...
...
@@ -66,13 +66,24 @@ export default {
.sidebarLeft
{
position
:
relative
;
top
:
13px
;
left
:
10px
;
width
:
30%
;
}
/
deep
/
.el-menu
{
display
:
flex
;
justify-content
:
space-between
;
}
/
deep
/
.el-menu-item
{
flex
:
1
;
width
:
100%
;
}
.sidebarRight
{
position
:
relative
;
left
:
10px
;
top
:
13px
;
width
:
30%
;
padding-left
:
20px
;
}
//
导航选中背景色
...
...
src/layout/components/Sidebar/sidebarLeft.vue
View file @
c1737b8
<
template
>
<el-menu
router
:default-active=
"activeMenu"
mode=
"horizontal"
menu-trigger=
"click"
>
<el-menu
router
:default-active=
"activeMenu"
mode=
"horizontal"
>
<!-- 权限菜单 -->
<sidebar-item
v-for=
"route in permission_routes.slice(1, 4)"
:key=
"route.path"
:item=
"route"
:base-path=
"route.path"
/>
...
...
src/styles/element-ui.scss
View file @
c1737b8
...
...
@@ -444,7 +444,7 @@ table td {
}
.el-select-dropdown
{
top
:
17
5px
!
important
;
margin-top
:
5px
!
important
;
}
.el-menu--horizontal
.el-menu--popup
.el-menu-item
:not
(
.is-disabled
)
:hover
,
...
...
src/views/business-info/Cfdj/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"Cfdj from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"130px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"行政区"
label-width=
"80px"
>
...
...
src/views/business-info/dyaq/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"dyaq from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"120px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"行政区"
label-width=
"80px"
>
...
...
src/views/business-info/dyiq/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"150px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"行政区"
label-width=
"80px"
>
...
...
src/views/business-info/fdcqdz/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"fdcqdz from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"120px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
...
...
@@ -63,7 +66,7 @@
:data=
"tableData.data"
>
</lb-table>
</div>
<dataDetails
ref=
"editLog"
:title=
"title"
:tabsActiveName=
"'qltFwFdcqDz'"
/>
<dataDetails
ref=
"editLog"
:title=
"title"
:tabsActiveName=
"'qltFwFdcqDz'"
/>
</div>
</
template
>
...
...
src/views/business-info/fdcqqfsyq/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"fdcqqfsyq from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"业务号"
>
...
...
src/views/business-info/fdcqyz/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"fdcqyz from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"120px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
...
...
@@ -63,7 +66,7 @@
:data=
"tableData.data"
>
</lb-table>
</div>
<dataDetails
ref=
"editLog"
:title=
"title"
:tabsActiveName=
"'qltFwFdcqYz'"
/>
<dataDetails
ref=
"editLog"
:title=
"title"
:tabsActiveName=
"'qltFwFdcqYz'"
/>
</div>
</
template
>
...
...
src/views/business-info/gzwsyq/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"gzwsyq from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"105px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
...
...
src/views/business-info/hysyq/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"hysyq from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"105px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
...
...
src/views/business-info/jsydzjdsyq/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"jsydzjdsyq from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"120px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
...
...
@@ -13,7 +16,7 @@
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"权属状态"
>
<el-select
class=
"width100"
v-model=
"form.QSZT"
placeholder=
"权属状态"
>
<el-select
class=
"width100"
v-model=
"form.QSZT"
placeholder=
"权属状态"
>
<el-option
v-for=
"item in dicData['A22']"
:key=
"item.DCODE"
:label=
"item.DNAME"
:value=
"item.DCODE"
>
</el-option>
</el-select>
...
...
@@ -58,7 +61,7 @@
:data=
"tableData.data"
>
</lb-table>
</div>
<dataDetails
ref=
"editLog"
:title=
"title"
:tabsActiveName=
"'qlfQlJsydsyq'"
/>
<dataDetails
ref=
"editLog"
:title=
"title"
:tabsActiveName=
"'qlfQlJsydsyq'"
/>
</div>
</
template
>
...
...
src/views/business-info/lq/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"lq from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"105px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
...
...
src/views/business-info/nydsyq/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"105px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
...
...
src/views/business-info/tdsyq/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"tdsyq from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"120px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
...
...
src/views/business-info/ygdj/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"110px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
label-width=
"106px"
>
...
...
src/views/business-info/yydj/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"105px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"行政区"
label-width=
"80px"
>
...
...
src/views/business-info/zxdj/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"cancellationReg from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"105px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
>
...
...
src/views/jktj/bsxljk/index.vue
View file @
c1737b8
...
...
@@ -4,6 +4,9 @@
<!-- 头部搜索 -->
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"100px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"4"
>
<el-form-item
label=
"开始日期"
prop=
"startTime"
>
...
...
@@ -51,7 +54,7 @@ import efficient from "@/api/efficient";
import
{
getFirstDayOfSeason
,
timeFormat
}
from
"@/utils/operation"
;
export
default
{
name
:
"jktj"
,
data
()
{
data
()
{
return
{
// 开始结束日期限制
pickerOptionsStart
:
{
...
...
@@ -77,7 +80,7 @@ export default {
pieChartsData
:
[],
};
},
created
()
{},
created
()
{},
mounted
()
{
this
.
getProcessCounts
();
},
...
...
@@ -86,7 +89,7 @@ export default {
},
methods
:
{
//查询各区县办件数量
async
getProcessCounts
()
{
async
getProcessCounts
()
{
this
.
pieChartsData
=
[];
let
{
result
:
res
}
=
await
efficient
.
getProcessCounts
(
this
.
form
.
startTime
,
...
...
@@ -111,15 +114,15 @@ export default {
});
},
// 重置
resetForm
()
{
resetForm
()
{
this
.
form
=
{
startTime
:
getFirstDayOfSeason
(),
endTime
:
timeFormat
(
new
Date
(),
true
),
endTime
:
timeFormat
(
new
Date
(),
true
),
};
this
.
getProcessCounts
();
},
//玫瑰图初始化
echartInit
()
{
echartInit
()
{
let
_this
=
this
;
// 基于准备好的dom,初始化echarts实例
let
myChart
=
this
.
$echarts
.
init
(
document
.
getElementById
(
"myChart"
));
...
...
@@ -180,7 +183,7 @@ export default {
});
},
//柱图初始化
async
barChartInit
(
recType
)
{
async
barChartInit
(
recType
)
{
//请求recType对应业务的各区县数据
let
{
result
:
res
}
=
await
efficient
.
getProcessDays
(
recType
,
...
...
@@ -303,21 +306,26 @@ export default {
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
.rows
{
margin-left
:
100px
;
}
.center
{
line-height
:
50vh
;
text-align
:
center
;
}
.echarts-box
{
display
:
flex
;
justify-content
:
center
;
.chart
{
width
:
40%
;
height
:
100%
;
float
:
left
;
}
.chart-bar
{
width
:
60%
;
}
...
...
src/views/jktj/cgltj/index.vue
View file @
c1737b8
...
...
@@ -4,6 +4,9 @@
<!-- 头部搜索 -->
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"100px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"4"
>
<el-form-item
label=
"行政区"
>
...
...
@@ -69,7 +72,7 @@ import { getFirstDayOfSeason, timeFormat } from "@/utils/operation";
import
business
from
"@/api/business"
;
export
default
{
name
:
"jktj"
,
data
()
{
data
()
{
return
{
// 开始结束日期限制
pickerOptionsStart
:
{
...
...
@@ -97,7 +100,7 @@ export default {
},
};
},
mounted
()
{
mounted
()
{
// 查询成功率
this
.
getSuucessRate
();
},
...
...
@@ -105,7 +108,7 @@ export default {
...
mapGetters
([
"dicData"
]),
},
methods
:
{
async
getSuucessRate
()
{
async
getSuucessRate
()
{
this
.
recTypeArr
=
[];
this
.
chartData
=
[];
let
{
result
:
res
}
=
await
business
.
getSuucessRate
(
...
...
@@ -125,14 +128,14 @@ export default {
});
},
// 重置
resetForm
()
{
resetForm
()
{
this
.
form
=
{
startTime
:
getFirstDayOfSeason
(),
endTime
:
timeFormat
(
new
Date
(),
true
),
};
this
.
getSuucessRate
();
},
echartInit
()
{
echartInit
()
{
let
_this
=
this
;
// 基于准备好的dom,初始化echarts实例
let
myChart
=
this
.
$echarts
.
init
(
document
.
getElementById
(
"myChart"
));
...
...
@@ -279,27 +282,33 @@ export default {
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
.jktjDetail
{
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
.rows
{
margin-left
:
100px
;
}
.center
{
line-height
:
50vh
;
text-align
:
center
;
color
:
#b6b5b5
color
:
#b6b5b5
}
.echarts-box
{
display
:
flex
;
justify-content
:
center
;
height
:
500px
;
.chart
{
width
:
100%
;
height
:
100%
;
}
}
.form-clues-content
{
flex
:
1
;
height
:
100%
;
...
...
src/views/jktj/ywltj/index.vue
View file @
c1737b8
...
...
@@ -4,6 +4,9 @@
<!-- 头部搜索 -->
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"100px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"4"
>
<el-form-item
label=
"行政区"
>
...
...
@@ -69,7 +72,7 @@ import efficient from "@/api/efficient";
import
{
getFirstDayOfSeason
,
timeFormat
}
from
"@/utils/operation"
;
export
default
{
name
:
"jktj"
,
data
()
{
data
()
{
return
{
// 开始结束日期限制
pickerOptionsStart
:
{
...
...
@@ -121,7 +124,7 @@ export default {
});
},
// 重置
resetForm
()
{
resetForm
()
{
this
.
form
=
{
startTime
:
""
,
endTime
:
""
,
...
...
@@ -211,10 +214,12 @@ export default {
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
.jktjDetail
{
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
.rows
{
margin-left
:
100px
;
}
...
...
@@ -227,11 +232,13 @@ export default {
display
:
flex
;
justify-content
:
center
;
height
:
500px
;
.chart
{
width
:
100%
;
height
:
100%
;
}
}
.form-clues-content
{
flex
:
1
;
height
:
100%
;
...
...
src/views/system/dictionaries/dictionaries.vue
View file @
c1737b8
...
...
@@ -3,6 +3,9 @@
<!-- 表单部分 -->
<div
class=
"from-clues-header"
>
<el-form
@
submit
.
native
.
prevent
:model=
"ruleForm"
label-width=
"120px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"字典类型编码"
>
...
...
@@ -18,7 +21,7 @@
<el-col
:span=
"12"
class=
"btnColRight"
>
<btn
nativeType=
"cx"
@
click=
"queryClick"
>
查询
</btn>
<btn
nativeType=
"
sb
"
@
click=
"handleRefresh"
>
刷新缓存
</btn>
<btn
nativeType=
"
cx
"
@
click=
"handleRefresh"
>
刷新缓存
</btn>
</el-col>
</el-row>
</el-form>
...
...
src/views/system/roles/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"timedTask from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"ruleForm"
:model=
"form"
label-width=
"100px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row
class=
"mb-5"
>
<el-col
:span=
"2"
class=
"btnColRight"
>
<btn
nativeType=
"cx"
@
click=
"handleAdd"
>
增加角色
</btn>
...
...
@@ -10,15 +13,9 @@
</el-form>
</div>
<div
class=
"from-clues-content"
>
<lb-table
:page-size=
"pageData.size"
:current-page
.
sync=
"pageData.current"
:total=
"pageData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
<lb-table
:page-size=
"pageData.size"
:current-page
.
sync=
"pageData.current"
:total=
"pageData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
<EditDialog
ref=
"addEditDialog"
/>
...
...
@@ -39,7 +36,7 @@ export default {
EditDialog
,
Roleslistdiglog
,
},
data
()
{
data
()
{
return
{
taskData
:
null
,
form
:
{
...
...
@@ -95,7 +92,7 @@ export default {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
<
el
-
button
type
=
"text"
size
=
"mini"
icon
=
"el-icon-video-pause"
...
...
@@ -172,12 +169,12 @@ export default {
},
};
},
created
()
{
created
()
{
this
.
featchData
();
},
methods
:
{
// 新增角色
handleAdd
()
{
handleAdd
()
{
// this.$refs.addEditDialog.roleId = value.id
// this.roleSort = value.sort ? value.sort : 0
...
...
@@ -185,7 +182,7 @@ export default {
this
.
$refs
.
addEditDialog
.
dialogTitle
=
"新增"
;
},
// 修改角色
handleEdit
(
row
)
{
handleEdit
(
row
)
{
this
.
$refs
.
addEditDialog
.
roleId
=
row
.
id
;
this
.
roleSort
=
row
.
sort
?
row
.
sort
:
0
;
if
(
row
.
id
)
{
...
...
@@ -196,7 +193,7 @@ export default {
this
.
$refs
.
addEditDialog
.
showAddEditDialog
=
true
;
this
.
$refs
.
addEditDialog
.
dialogTitle
=
"修改"
;
},
featchData
()
{
featchData
()
{
this
.
tableData
.
data
=
[
{
id
:
"2176e915-fdb4-414a-b8d6-6cf63171cffc"
,
...
...
@@ -214,11 +211,11 @@ export default {
];
},
personnel
()
{
personnel
()
{
this
.
$refs
.
rolesForm
.
adds
();
this
.
$refs
.
rolesForm
.
title
=
"人员配置"
;
},
handleDel
(
row
)
{
handleDel
(
row
)
{
this
.
$confirm
(
"此操将进行删除操作, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
...
...
src/views/system/timedTask/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"timedTask from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"搜索标题"
>
...
...
@@ -9,8 +12,8 @@
</el-form-item>
</el-col>
<el-col
:span=
"18"
class=
"btnColRight"
>
<btn
nativeType=
"cx"
@
click=
"handleSubmit"
>
搜索
</btn>
<btn
nativeType=
"sb"
@
click=
"handleAdd"
>
新增
</btn>
<btn
nativeType=
"cx"
@
click=
"handleSubmit"
>
搜索
</btn>
<btn
nativeType=
"cx"
@
click=
"handleAdd"
>
新增
</btn>
</el-col>
</el-row>
</el-form>
...
...
src/views/system/users/index.vue
View file @
c1737b8
...
...
@@ -2,6 +2,9 @@
<div
class=
"timedTask from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"ruleForm"
:model=
"form"
label-width=
"100px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row
class=
"mb-5"
>
<!-- 按钮操作 -->
<el-col
:span=
"2"
class=
"btnColRight"
>
...
...
@@ -13,15 +16,9 @@
</el-form>
</div>
<div
class=
"from-clues-content"
>
<lb-table
:page-size=
"pageData.size"
:current-page
.
sync=
"pageData.current"
:total=
"pageData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
<lb-table
:page-size=
"pageData.size"
:current-page
.
sync=
"pageData.current"
:total=
"pageData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
<edit-dialog
ref=
"dialogForm"
/>
...
...
@@ -46,7 +43,7 @@ export default {
components
:
{
EditDialog
,
},
data
()
{
data
()
{
return
{
taskData
:
null
,
form
:
{
...
...
@@ -183,12 +180,12 @@ export default {
};
},
methods
:
{
handleAdd
()
{
handleAdd
()
{
this
.
taskData
=
null
;
this
.
$refs
.
dialogForm
.
add
();
this
.
$refs
.
dialogForm
.
title
=
"添加"
;
},
featchData
()
{
featchData
()
{
this
.
tableData
.
data
=
[
{
id
:
"6a269fa4-49ee-40ed-be72-302ebdf7b9d6"
,
...
...
@@ -251,7 +248,7 @@ export default {
// },
// 更新用户解锁状态
updateLock
(
id
,
name
)
{
updateLock
(
id
,
name
)
{
this
.
$confirm
(
`<div class="customer-message-wrapper">
<h5 class="title">确定要更新用户解锁状态吗</h5>
...
...
@@ -278,25 +275,25 @@ export default {
// }
// })
})
.
catch
(()
=>
{});
.
catch
(()
=>
{
});
},
// 上移下移
moveUpward
(
index
,
row
)
{
console
.
log
(
"index"
,
index
);
console
.
log
(
"row"
,
row
);
moveUpward
(
index
,
row
)
{
console
.
log
(
"index"
,
index
);
console
.
log
(
"row"
,
row
);
realMove
(
row
.
bsmDict
,
"UP"
,
this
.
tableData
);
this
.
key
++
;
let
id
=
findParents
(
this
.
tableData
,
row
.
bsmDict
);
this
.
keyList
=
id
;
},
moveDown
(
index
,
row
)
{
moveDown
(
index
,
row
)
{
realMove
(
row
.
bsmDict
,
"DOWN"
,
this
.
tableData
);
this
.
key
++
;
let
id
=
findParents
(
this
.
tableData
,
row
.
bsmDict
);
this
.
keyList
=
id
;
},
// 重置用户密码
resetPassword
(
data
)
{
resetPassword
(
data
)
{
const
ids
=
[];
if
(
data
instanceof
Array
)
{
data
.
forEach
((
item
)
=>
{
...
...
@@ -339,15 +336,15 @@ export default {
// }
// })
})
.
catch
(()
=>
{});
.
catch
(()
=>
{
});
},
// 修改人员信息
handleEdit
(
row
)
{
handleEdit
(
row
)
{
this
.
$refs
.
dialogForm
.
edit
(
row
);
this
.
$refs
.
dialogForm
.
title
=
"修改"
;
},
// 删除
handleDelete
(
id
,
content
)
{
handleDelete
(
id
,
content
)
{
this
.
$confirm
(
"此操将进行删除操作, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
...
...
@@ -363,7 +360,7 @@ export default {
// this.getTableList()
// })
})
.
catch
(()
=>
{});
.
catch
(()
=>
{
});
},
},
};
...
...
src/views/system/validationRule/index.vue
View file @
c1737b8
<
template
>
<div
class=
"dictionary-config from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"125px"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"90px"
>
<el-form-item>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"数据表名"
>
<el-input
v-model=
"form.DATATABLE"
placeholder=
"数据表名"
></el-input>
<el-input
v-model=
"form.DATATABLE"
placeholder=
"数据表名"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"中文名称"
>
<el-input
v-model=
"form.CHINESETABLE"
placeholder=
"中文名称"
></el-input>
<el-input
v-model=
"form.CHINESETABLE"
placeholder=
"中文名称"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"tab表头链接标识"
>
<el-input
v-model=
"form.SOLEURL"
placeholder=
"tab表头链接标识"
></el-input>
<el-form-item
label=
"tab表头链接标识"
label-width=
"130px"
>
<el-input
v-model=
"form.SOLEURL"
placeholder=
"tab表头链接标识"
></el-input>
</el-form-item>
</el-col>
<!-- 操作按钮 -->
<el-col
:span=
"6"
class=
"btnColRight"
>
<btn
nativeType=
"
sb
"
@
click=
"handleUpdateDic"
>
刷新缓存
</btn>
<btn
nativeType=
"
cx
"
@
click=
"handleUpdateDic"
>
刷新缓存
</btn>
<btn
nativeType=
"cx"
@
click=
"handleSubmit"
>
查询
</btn>
</el-col>
</el-row>
</el-form>
</div>
<div
class=
"from-clues-content"
>
<lb-table
:page-size=
"pageData.size"
:current-page
.
sync=
"pageData.current"
:total=
"pageData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
<lb-table
:page-size=
"pageData.size"
:current-page
.
sync=
"pageData.current"
:total=
"pageData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
<message-tips
ref=
"msg"
:message=
"message"
/>
</div>
...
...
@@ -65,7 +53,7 @@ export default {
components
:
{
editValidRule
,
},
data
()
{
data
()
{
return
{
message
:
""
,
form
:
{
...
...
@@ -129,7 +117,7 @@ export default {
};
},
methods
:
{
async
featchData
()
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
);
let
{
...
...
@@ -146,7 +134,7 @@ export default {
this
.
$refs
.
msg
.
messageShow
();
}
},
async
handleEdit
(
index
,
row
)
{
async
handleEdit
(
index
,
row
)
{
try
{
let
{
result
:
res
}
=
await
ruleConfig
.
eidtConfigRule
(
row
.
BSM_YWSJB
);
this
.
ruleData
=
res
;
...
...
@@ -158,7 +146,7 @@ export default {
});
}
},
handleDel
(
index
,
row
)
{
handleDel
(
index
,
row
)
{
let
_this
=
this
;
this
.
$confirm
(
"此操作将进行删除校验规则, 是否继续?"
,
"提示"
,
{
cancelButtonText
:
"取消"
,
...
...
@@ -192,7 +180,7 @@ export default {
});
});
},
handleUpdateDic
()
{
handleUpdateDic
()
{
this
.
$store
.
dispatch
(
"dictionaries/generateDic"
).
then
((
res
)
=>
{
if
(
res
)
{
this
.
$message
({
...
...
Please
register
or
sign in
to post a comment