Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bill-manager-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
bill-manager-ui
Commits
f0fd63aa
Commit
f0fd63aa
authored
Dec 02, 2024
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 优化组件引入
parent
15017fd2
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
251 additions
and
173 deletions
+251
-173
admin_2/src/components/AreaTree/AreaTree.vue
admin_2/src/components/AreaTree/AreaTree.vue
+0
-0
admin_2/src/components/TabHeader/TabHeader.vue
admin_2/src/components/TabHeader/TabHeader.vue
+0
-0
admin_2/src/components/TabMenuBar/TabMenuBar.vue
admin_2/src/components/TabMenuBar/TabMenuBar.vue
+0
-0
admin_2/src/components/TableHeader/TableHeader.vue
admin_2/src/components/TableHeader/TableHeader.vue
+5
-3
admin_2/src/components/YDatePicker/YDatePicker.vue
admin_2/src/components/YDatePicker/YDatePicker.vue
+0
-0
admin_2/src/components/YPagination/YPagination.vue
admin_2/src/components/YPagination/YPagination.vue
+18
-18
admin_2/src/components/YSwitch/YSwitch.vue
admin_2/src/components/YSwitch/YSwitch.vue
+0
-0
admin_2/src/components/YTable/YTable.vue
admin_2/src/components/YTable/YTable.vue
+0
-0
admin_2/src/components/YUpload/YUpload.vue
admin_2/src/components/YUpload/YUpload.vue
+0
-0
admin_2/src/components/autoRegister/index.js
admin_2/src/components/autoRegister/index.js
+0
-0
admin_2/src/main.js
admin_2/src/main.js
+25
-27
admin_2/src/pages/engine/Engine.vue
admin_2/src/pages/engine/Engine.vue
+4
-0
admin_2/src/pages/engine/EvaluateSystem.vue
admin_2/src/pages/engine/EvaluateSystem.vue
+19
-17
admin_2/src/pages/engine/QueueUpSystem.vue
admin_2/src/pages/engine/QueueUpSystem.vue
+19
-17
admin_2/src/pages/engine/components/DoubleTable.vue
admin_2/src/pages/engine/components/DoubleTable.vue
+4
-0
admin_2/src/pages/engineSearch/EvaluateData.vue
admin_2/src/pages/engineSearch/EvaluateData.vue
+11
-7
admin_2/src/pages/engineSearch/QueueUpData.vue
admin_2/src/pages/engineSearch/QueueUpData.vue
+11
-7
admin_2/src/pages/market/EvaluateReport.vue
admin_2/src/pages/market/EvaluateReport.vue
+8
-2
admin_2/src/pages/market/Market.vue
admin_2/src/pages/market/Market.vue
+8
-2
admin_2/src/pages/market/QueueUpReport.vue
admin_2/src/pages/market/QueueUpReport.vue
+8
-2
admin_2/src/pages/system/System.vue
admin_2/src/pages/system/System.vue
+3
-1
admin_2/src/pages/system/access/Access.vue
admin_2/src/pages/system/access/Access.vue
+12
-8
admin_2/src/pages/system/access/components/AddAccess.vue
admin_2/src/pages/system/access/components/AddAccess.vue
+5
-3
admin_2/src/pages/system/areaSystem/AreaSystem.vue
admin_2/src/pages/system/areaSystem/AreaSystem.vue
+10
-6
admin_2/src/pages/system/menu/Menu.vue
admin_2/src/pages/system/menu/Menu.vue
+11
-7
admin_2/src/pages/system/parameter/Parameter.vue
admin_2/src/pages/system/parameter/Parameter.vue
+12
-8
admin_2/src/pages/system/resourceManage/ResourceManage.vue
admin_2/src/pages/system/resourceManage/ResourceManage.vue
+12
-8
admin_2/src/pages/system/role/Role.vue
admin_2/src/pages/system/role/Role.vue
+12
-8
admin_2/src/pages/system/systemlogs/SystemLogs.vue
admin_2/src/pages/system/systemlogs/SystemLogs.vue
+11
-7
admin_2/src/pages/system/task/TaskSet.vue
admin_2/src/pages/system/task/TaskSet.vue
+12
-8
admin_2/src/pages/system/user/User.vue
admin_2/src/pages/system/user/User.vue
+11
-7
No files found.
admin_2/src/components/
autoRegister
/AreaTree.vue
→
admin_2/src/components/
AreaTree
/AreaTree.vue
View file @
f0fd63aa
File moved
admin_2/src/components/
autoRegist
er/TabHeader.vue
→
admin_2/src/components/
TabHead
er/TabHeader.vue
View file @
f0fd63aa
File moved
admin_2/src/components/
autoRegiste
r/TabMenuBar.vue
→
admin_2/src/components/
TabMenuBa
r/TabMenuBar.vue
View file @
f0fd63aa
File moved
admin_2/src/components/TableHeader.vue
→
admin_2/src/components/TableHeader
/TableHeader
.vue
View file @
f0fd63aa
<
template
>
<
template
>
<div
class=
"table-header"
>
<div
class=
"table-header"
>
<div
class=
"header-left"
>
<div
class=
"header-left"
>
<slot
name=
"
left
"
></slot>
<slot
name=
"
operation
"
></slot>
</div>
</div>
<div
class=
"header-right"
>
<div
class=
"header-right"
>
<slot
name=
"
right
"
></slot>
<slot
name=
"
search
"
></slot>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{};
export
default
{
name
:
'
TableHeader
'
};
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
...
...
admin_2/src/components/
autoRegist
er/YDatePicker.vue
→
admin_2/src/components/
YDatePick
er/YDatePicker.vue
View file @
f0fd63aa
File moved
admin_2/src/components/
autoRegister/
Pagination.vue
→
admin_2/src/components/
YPagination/Y
Pagination.vue
View file @
f0fd63aa
...
@@ -18,37 +18,37 @@
...
@@ -18,37 +18,37 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
pageSizeOptions
}
from
"
@/config
"
;
import
{
pageSizeOptions
}
from
'
@/config
'
;
export
default
{
export
default
{
name
:
"
Pagination
"
,
name
:
'
YPagination
'
,
props
:
{
props
:
{
total
:
{
total
:
{
required
:
true
,
required
:
true
,
type
:
Number
,
type
:
Number
,
default
:
0
,
default
:
0
},
},
pageSize
:
{
pageSize
:
{
required
:
true
,
required
:
true
,
type
:
Number
,
type
:
Number
,
default
:
10
,
default
:
10
},
},
page
:
{
page
:
{
required
:
true
,
required
:
true
,
type
:
Number
,
type
:
Number
,
default
:
1
,
default
:
1
},
},
layout
:
{
layout
:
{
type
:
String
,
type
:
String
,
default
:
"
total,prev,pager,next,sizes,jumper
"
,
default
:
'
total,prev,pager,next,sizes,jumper
'
},
},
pageSizes
:
{
pageSizes
:
{
type
:
Array
,
type
:
Array
,
default
:
()
=>
pageSizeOptions
,
default
:
()
=>
pageSizeOptions
},
},
background
:
{
background
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
true
,
default
:
true
}
,
}
},
},
data
()
{
data
()
{
return
{};
return
{};
...
@@ -59,17 +59,17 @@ export default {
...
@@ -59,17 +59,17 @@ export default {
return
this
.
pageSize
;
return
this
.
pageSize
;
},
},
set
(
value
)
{
set
(
value
)
{
this
.
$emit
(
"
update:pageSize
"
,
value
);
this
.
$emit
(
'
update:pageSize
'
,
value
);
}
,
}
},
},
current
:
{
current
:
{
get
()
{
get
()
{
return
this
.
page
;
return
this
.
page
;
},
},
set
(
value
)
{
set
(
value
)
{
this
.
$emit
(
"
update:page
"
,
value
);
this
.
$emit
(
'
update:page
'
,
value
);
}
,
}
}
,
}
},
},
methods
:
{
methods
:
{
changePagination
(
cur
)
{
changePagination
(
cur
)
{
...
@@ -77,16 +77,16 @@ export default {
...
@@ -77,16 +77,16 @@ export default {
if
(
this
.
$listeners
.
change
)
{
if
(
this
.
$listeners
.
change
)
{
this
.
$listeners
.
change
();
this
.
$listeners
.
change
();
}
}
this
.
$emit
(
"
currentChange
"
,
cur
);
this
.
$emit
(
'
currentChange
'
,
cur
);
},
},
changeSize
(
size
)
{
changeSize
(
size
)
{
this
.
PageSize
=
size
;
this
.
PageSize
=
size
;
if
(
this
.
$listeners
.
change
)
{
if
(
this
.
$listeners
.
change
)
{
this
.
$listeners
.
change
();
this
.
$listeners
.
change
();
}
}
this
.
$emit
(
"
sizeChange
"
,
size
);
this
.
$emit
(
'
sizeChange
'
,
size
);
}
,
}
}
,
}
};
};
</
script
>
</
script
>
...
...
admin_2/src/components/
autoRegister
/YSwitch.vue
→
admin_2/src/components/
YSwitch
/YSwitch.vue
View file @
f0fd63aa
File moved
admin_2/src/components/
autoRegister
/YTable.vue
→
admin_2/src/components/
YTable
/YTable.vue
View file @
f0fd63aa
File moved
admin_2/src/components/
autoRegister
/YUpload.vue
→
admin_2/src/components/
YUpload
/YUpload.vue
View file @
f0fd63aa
File moved
admin_2/src/components/index.js
→
admin_2/src/components/
autoRegister/
index.js
View file @
f0fd63aa
File moved
admin_2/src/main.js
View file @
f0fd63aa
import
Vue
from
"
vue
"
;
import
Vue
from
'
vue
'
;
import
App
from
"
./App.vue
"
;
import
App
from
'
./App.vue
'
;
import
router
from
"
./router
"
;
import
router
from
'
./router
'
;
import
store
from
"
./store
"
;
import
store
from
'
./store
'
;
// UI
// UI
import
ElementUI
from
"
element-ui
"
;
import
ElementUI
from
'
element-ui
'
;
import
"
element-ui/lib/theme-chalk/index.css
"
;
import
'
element-ui/lib/theme-chalk/index.css
'
;
Vue
.
use
(
ElementUI
);
Vue
.
use
(
ElementUI
);
import
{
message
}
from
"
@/utils/resetMessage
"
;
import
{
message
}
from
'
@/utils/resetMessage
'
;
Vue
.
prototype
.
$message
=
message
;
Vue
.
prototype
.
$message
=
message
;
import
ElImageViewer
from
"
element-ui/packages/image/src/image-viewer
"
;
import
ElImageViewer
from
'
element-ui/packages/image/src/image-viewer
'
;
Vue
.
component
(
"
ElImageViewer
"
,
ElImageViewer
);
Vue
.
component
(
'
ElImageViewer
'
,
ElImageViewer
);
// 公共样式
// 公共样式
import
"
@/assets/css/normalize.css
"
;
import
'
@/assets/css/normalize.css
'
;
import
"
@/assets/css/reset.css
"
;
import
'
@/assets/css/reset.css
'
;
import
"
@/assets/css/common.less
"
;
import
'
@/assets/css/common.less
'
;
import
"
@/assets/css/tailwindcss.css
"
;
import
'
@/assets/css/tailwindcss.css
'
;
// nprogress样式
// nprogress样式
// import "nprogress/nprogress.css";
// import "nprogress/nprogress.css";
...
@@ -22,41 +22,39 @@ import "@/assets/css/tailwindcss.css";
...
@@ -22,41 +22,39 @@ import "@/assets/css/tailwindcss.css";
Vue
.
prototype
.
$bus
=
new
Vue
();
Vue
.
prototype
.
$bus
=
new
Vue
();
// moment 时间处理
// moment 时间处理
import
moment
from
"
moment
"
;
import
moment
from
'
moment
'
;
Vue
.
prototype
.
$moment
=
moment
;
Vue
.
prototype
.
$moment
=
moment
;
// 全局过滤器
// 全局过滤器
import
*
as
filters
from
"
@/filters
"
;
import
*
as
filters
from
'
@/filters
'
;
Object
.
keys
(
filters
).
forEach
((
key
)
=>
{
Object
.
keys
(
filters
).
forEach
((
key
)
=>
{
Vue
.
filter
(
key
,
filters
[
key
]);
Vue
.
filter
(
key
,
filters
[
key
]);
});
});
// 引入注册全局指令
// 引入注册全局指令
import
*
as
directives
from
"
@/directive
"
;
import
*
as
directives
from
'
@/directive
'
;
Object
.
keys
(
directives
).
forEach
((
name
)
=>
Object
.
keys
(
directives
).
forEach
((
name
)
=>
Vue
.
directive
(
name
,
directives
[
name
]));
Vue
.
directive
(
name
,
directives
[
name
])
);
// 引入echarts
// 引入echarts
import
*
as
echarts
from
"
echarts
"
;
import
*
as
echarts
from
'
echarts
'
;
Vue
.
prototype
.
$echarts
=
echarts
;
Vue
.
prototype
.
$echarts
=
echarts
;
// swiper
// swiper
import
"
swiper/css/swiper.min.css
"
;
import
'
swiper/css/swiper.min.css
'
;
// 注册全局组件
// 注册全局组件
import
customComponents
from
"
@/components
"
;
import
customComponents
from
'
@/components/autoRegister
'
;
Vue
.
use
(
customComponents
);
Vue
.
use
(
customComponents
);
// 重置表单
// 重置表单
import
{
resetForm
,
clearSelection
}
from
"
@/utils
"
;
import
{
resetForm
,
clearSelection
}
from
'
@/utils
'
;
Vue
.
prototype
.
$resetForm
=
resetForm
;
Vue
.
prototype
.
$resetForm
=
resetForm
;
Vue
.
prototype
.
$clearSelection
=
clearSelection
;
Vue
.
prototype
.
$clearSelection
=
clearSelection
;
// 深拷贝
// 深拷贝
import
{
cloneDeep
}
from
"
lodash-es
"
;
import
{
cloneDeep
}
from
'
lodash-es
'
;
Vue
.
prototype
.
$cloneDeep
=
cloneDeep
;
Vue
.
prototype
.
$cloneDeep
=
cloneDeep
;
import
DatePicker
from
"
@/pages/engineSearch/components/date-picker
"
;
import
DatePicker
from
'
@/pages/engineSearch/components/date-picker
'
;
Vue
.
use
(
DatePicker
);
Vue
.
use
(
DatePicker
);
Vue
.
config
.
productionTip
=
false
;
Vue
.
config
.
productionTip
=
false
;
new
Vue
({
new
Vue
({
router
,
router
,
store
,
store
,
render
:
(
h
)
=>
h
(
App
)
,
render
:
(
h
)
=>
h
(
App
)
}).
$mount
(
"
#app
"
);
}).
$mount
(
'
#app
'
);
admin_2/src/pages/engine/Engine.vue
View file @
f0fd63aa
...
@@ -46,7 +46,11 @@
...
@@ -46,7 +46,11 @@
<
script
>
<
script
>
import
{
mapGetters
}
from
'
vuex
'
;
import
{
mapGetters
}
from
'
vuex
'
;
import
YDatePicker
from
'
@/components/YDatePicker/YDatePicker.vue
'
;
export
default
{
export
default
{
components
:
{
YDatePicker
},
data
()
{
data
()
{
return
{
return
{
time
:
[
this
.
$moment
().
format
(
'
YYYY-MM-DD
'
),
this
.
$moment
().
format
(
'
YYYY-MM-DD
'
)]
time
:
[
this
.
$moment
().
format
(
'
YYYY-MM-DD
'
),
this
.
$moment
().
format
(
'
YYYY-MM-DD
'
)]
...
...
admin_2/src/pages/engine/EvaluateSystem.vue
View file @
f0fd63aa
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"grid h-full w-full grid-cols-2 gap-[20px]"
>
<div
class=
"grid h-full w-full grid-cols-2 gap-[20px]"
>
<div
class=
"table-item"
>
<div
class=
"table-item"
>
<div>
<div>
<
DoubleT
able
<
double-t
able
:dict=
"dict"
:dict=
"dict"
title=
"大厅评价量统计"
title=
"大厅评价量统计"
border
border
...
@@ -14,19 +14,19 @@
...
@@ -14,19 +14,19 @@
type=
"hall"
type=
"hall"
@
export=
"exportHallEva"
@
export=
"exportHallEva"
hasPermiExport=
"engine:queueupsystem:export"
hasPermiExport=
"engine:queueupsystem:export"
></
DoubleT
able>
></
double-t
able>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"hallSearch.total"
:total=
"hallSearch.total"
:page.sync=
"hallSearch.page"
:page.sync=
"hallSearch.page"
:pageSize.sync=
"hallSearch.size"
:pageSize.sync=
"hallSearch.size"
layout=
"total,prev,pager,next,jumper"
layout=
"total,prev,pager,next,jumper"
@
change=
"getHallEva"
@
change=
"getHallEva"
></
P
agination>
></
y-p
agination>
</div>
</div>
<div
class=
"table-item"
>
<div
class=
"table-item"
>
<div>
<div>
<
DoubleT
able
<
double-t
able
:dict=
"dict"
:dict=
"dict"
title=
"评价选项统计"
title=
"评价选项统计"
border
border
...
@@ -40,19 +40,19 @@
...
@@ -40,19 +40,19 @@
@
search=
"handleSearch"
@
search=
"handleSearch"
hasPermiQuery=
"engine:queueupsystem:query"
hasPermiQuery=
"engine:queueupsystem:query"
hasPermiExport=
"engine:queueupsystem:export"
hasPermiExport=
"engine:queueupsystem:export"
></
DoubleT
able>
></
double-t
able>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"pjOptionSearch.total"
:total=
"pjOptionSearch.total"
:page.sync=
"pjOptionSearch.page"
:page.sync=
"pjOptionSearch.page"
:pageSize.sync=
"pjOptionSearch.size"
:pageSize.sync=
"pjOptionSearch.size"
layout=
"total,prev,pager,next,jumper"
layout=
"total,prev,pager,next,jumper"
@
change=
"getPjOptionEva"
@
change=
"getPjOptionEva"
></
P
agination>
></
y-p
agination>
</div>
</div>
<div
class=
"table-item"
>
<div
class=
"table-item"
>
<div>
<div>
<
DoubleT
able
<
double-t
able
:dict=
"dict"
:dict=
"dict"
title=
"部门评价量统计"
title=
"部门评价量统计"
border
border
...
@@ -66,19 +66,19 @@
...
@@ -66,19 +66,19 @@
@
search=
"handleSearch"
@
search=
"handleSearch"
hasPermiQuery=
"engine:queueupsystem:query"
hasPermiQuery=
"engine:queueupsystem:query"
hasPermiExport=
"engine:queueupsystem:export"
hasPermiExport=
"engine:queueupsystem:export"
></
DoubleT
able>
></
double-t
able>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"deptSearch.total"
:total=
"deptSearch.total"
:page.sync=
"deptSearch.page"
:page.sync=
"deptSearch.page"
:pageSize.sync=
"deptSearch.size"
:pageSize.sync=
"deptSearch.size"
layout=
"total,prev,pager,next,jumper"
layout=
"total,prev,pager,next,jumper"
@
change=
"getDeptEva"
@
change=
"getDeptEva"
></
P
agination>
></
y-p
agination>
</div>
</div>
<div
class=
"table-item"
>
<div
class=
"table-item"
>
<div>
<div>
<
DoubleT
able
<
double-t
able
:dict=
"dict"
:dict=
"dict"
title=
"窗口评价量统计"
title=
"窗口评价量统计"
border
border
...
@@ -92,28 +92,30 @@
...
@@ -92,28 +92,30 @@
@
search=
"handleSearch"
@
search=
"handleSearch"
hasPermiQuery=
"engine:queueupsystem:query"
hasPermiQuery=
"engine:queueupsystem:query"
hasPermiExport=
"engine:queueupsystem:export"
hasPermiExport=
"engine:queueupsystem:export"
></
DoubleT
able>
></
double-t
able>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"windowSearch.total"
:total=
"windowSearch.total"
:page.sync=
"windowSearch.page"
:page.sync=
"windowSearch.page"
:pageSize.sync=
"windowSearch.size"
:pageSize.sync=
"windowSearch.size"
layout=
"total,prev,pager,next,jumper"
layout=
"total,prev,pager,next,jumper"
@
change=
"getWindowEva"
@
change=
"getWindowEva"
></
P
agination>
></
y-p
agination>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
DoubleTable
from
'
./components/DoubleTable.vue
'
;
import
DoubleTable
from
'
./components/DoubleTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
{
getEvaSystemList
}
from
'
@/api/engine
'
;
import
{
getEvaSystemList
}
from
'
@/api/engine
'
;
import
{
export2Excel
}
from
'
@/utils/exportExcel
'
;
import
{
export2Excel
}
from
'
@/utils/exportExcel
'
;
import
{
dataSection
}
from
'
@/utils
'
;
import
{
dataSection
}
from
'
@/utils
'
;
import
storage
from
'
@/utils/storage
'
;
import
storage
from
'
@/utils/storage
'
;
export
default
{
export
default
{
components
:
{
components
:
{
DoubleTable
DoubleTable
,
YPagination
},
},
data
()
{
data
()
{
return
{
return
{
...
...
admin_2/src/pages/engine/QueueUpSystem.vue
View file @
f0fd63aa
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"grid h-full w-full grid-cols-2 gap-[20px]"
>
<div
class=
"grid h-full w-full grid-cols-2 gap-[20px]"
>
<div
class=
"table-item"
>
<div
class=
"table-item"
>
<div>
<div>
<
DoubleT
able
<
double-t
able
:dict=
"dict"
:dict=
"dict"
title=
"大厅取号量统计"
title=
"大厅取号量统计"
border
border
...
@@ -14,19 +14,19 @@
...
@@ -14,19 +14,19 @@
type=
"hall"
type=
"hall"
@
export=
"exportHallQueue"
@
export=
"exportHallQueue"
hasPermiExport=
"engine:queueupsystem:export"
hasPermiExport=
"engine:queueupsystem:export"
></
DoubleT
able>
></
double-t
able>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"hallSearch.total"
:total=
"hallSearch.total"
:page.sync=
"hallSearch.page"
:page.sync=
"hallSearch.page"
:pageSize.sync=
"hallSearch.size"
:pageSize.sync=
"hallSearch.size"
layout=
"total,prev,pager,next,jumper"
layout=
"total,prev,pager,next,jumper"
@
change=
"getHallQueue"
@
change=
"getHallQueue"
></
P
agination>
></
y-p
agination>
</div>
</div>
<div
class=
"table-item"
>
<div
class=
"table-item"
>
<div>
<div>
<
DoubleT
able
<
double-t
able
:dict=
"dict"
:dict=
"dict"
title=
"业务取号量统计"
title=
"业务取号量统计"
border
border
...
@@ -40,19 +40,19 @@
...
@@ -40,19 +40,19 @@
@
search=
"handleSearch"
@
search=
"handleSearch"
hasPermiQuery=
"engine:queueupsystem:query"
hasPermiQuery=
"engine:queueupsystem:query"
hasPermiExport=
"engine:queueupsystem:export"
hasPermiExport=
"engine:queueupsystem:export"
></
DoubleT
able>
></
double-t
able>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"businessSearch.total"
:total=
"businessSearch.total"
:page.sync=
"businessSearch.page"
:page.sync=
"businessSearch.page"
:pageSize.sync=
"businessSearch.size"
:pageSize.sync=
"businessSearch.size"
layout=
"total,prev,pager,next,jumper"
layout=
"total,prev,pager,next,jumper"
@
change=
"getBusinessQueue"
@
change=
"getBusinessQueue"
></
P
agination>
></
y-p
agination>
</div>
</div>
<div
class=
"table-item"
>
<div
class=
"table-item"
>
<div>
<div>
<
DoubleT
able
<
double-t
able
:dict=
"dict"
:dict=
"dict"
title=
"部门取号量统计"
title=
"部门取号量统计"
border
border
...
@@ -66,19 +66,19 @@
...
@@ -66,19 +66,19 @@
@
search=
"handleSearch"
@
search=
"handleSearch"
hasPermiQuery=
"engine:queueupsystem:query"
hasPermiQuery=
"engine:queueupsystem:query"
hasPermiExport=
"engine:queueupsystem:export"
hasPermiExport=
"engine:queueupsystem:export"
></
DoubleT
able>
></
double-t
able>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"deptSearch.total"
:total=
"deptSearch.total"
:page.sync=
"deptSearch.page"
:page.sync=
"deptSearch.page"
:pageSize.sync=
"deptSearch.size"
:pageSize.sync=
"deptSearch.size"
layout=
"total,prev,pager,next,jumper"
layout=
"total,prev,pager,next,jumper"
@
change=
"getDeptQueue"
@
change=
"getDeptQueue"
></
P
agination>
></
y-p
agination>
</div>
</div>
<div
class=
"table-item"
>
<div
class=
"table-item"
>
<div>
<div>
<
DoubleT
able
<
double-t
able
:dict=
"dict"
:dict=
"dict"
title=
"窗口取号量统计"
title=
"窗口取号量统计"
border
border
...
@@ -92,28 +92,30 @@
...
@@ -92,28 +92,30 @@
@
search=
"handleSearch"
@
search=
"handleSearch"
hasPermiQuery=
"engine:queueupsystem:query"
hasPermiQuery=
"engine:queueupsystem:query"
hasPermiExport=
"engine:queueupsystem:export"
hasPermiExport=
"engine:queueupsystem:export"
></
DoubleT
able>
></
double-t
able>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"windowSearch.total"
:total=
"windowSearch.total"
:page.sync=
"windowSearch.page"
:page.sync=
"windowSearch.page"
:pageSize.sync=
"windowSearch.size"
:pageSize.sync=
"windowSearch.size"
layout=
"total,prev,pager,next,jumper"
layout=
"total,prev,pager,next,jumper"
@
change=
"getWindowQueue"
@
change=
"getWindowQueue"
></
P
agination>
></
y-p
agination>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
DoubleTable
from
'
./components/DoubleTable.vue
'
;
import
DoubleTable
from
'
./components/DoubleTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
{
getQueueSystemList
}
from
'
@/api/engine
'
;
import
{
getQueueSystemList
}
from
'
@/api/engine
'
;
import
{
export2Excel
}
from
'
@/utils/exportExcel
'
;
import
{
export2Excel
}
from
'
@/utils/exportExcel
'
;
import
{
dataSection
}
from
'
@/utils
'
;
import
{
dataSection
}
from
'
@/utils
'
;
import
storage
from
'
@/utils/storage
'
;
import
storage
from
'
@/utils/storage
'
;
export
default
{
export
default
{
components
:
{
components
:
{
DoubleTable
DoubleTable
,
YPagination
},
},
data
()
{
data
()
{
return
{
return
{
...
...
admin_2/src/pages/engine/components/DoubleTable.vue
View file @
f0fd63aa
...
@@ -103,7 +103,11 @@
...
@@ -103,7 +103,11 @@
<
script
>
<
script
>
import
storage
from
'
@/utils/storage
'
;
import
storage
from
'
@/utils/storage
'
;
import
YTable
from
'
@/components/YTable/YTable.vue
'
;
export
default
{
export
default
{
components
:
{
YTable
},
props
:
{
props
:
{
data
:
{
data
:
{
required
:
true
,
required
:
true
,
...
...
admin_2/src/pages/engineSearch/EvaluateData.vue
View file @
f0fd63aa
...
@@ -5,16 +5,16 @@
...
@@ -5,16 +5,16 @@
class=
"main flex w-full flex-1 items-center justify-center rounded-[4px] bg-white p-[20px]"
class=
"main flex w-full flex-1 items-center justify-center rounded-[4px] bg-white p-[20px]"
>
>
<div
class=
"h-full w-full"
>
<div
class=
"h-full w-full"
>
<
TableH
eader>
<
table-h
eader>
<el-button
<el-button
size=
"small"
size=
"small"
slot=
"
left
"
slot=
"
operation
"
type=
"primary"
type=
"primary"
:loading=
"exportLoading"
:loading=
"exportLoading"
@
click=
"exportExcel"
@
click=
"exportExcel"
>
导出
</el-button
>
导出
</el-button
>
>
</
TableH
eader>
</
table-h
eader>
<div>
<div>
<y-table
<y-table
ref=
"MyTable"
ref=
"MyTable"
...
@@ -28,12 +28,12 @@
...
@@ -28,12 +28,12 @@
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
></y-table>
></y-table>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"total"
:total=
"total"
:page.sync=
"page"
:page.sync=
"page"
:pageSize.sync=
"size"
:pageSize.sync=
"size"
@
change=
"getEvaStatList"
@
change=
"getEvaStatList"
></
P
agination>
></
y-p
agination>
</div>
</div>
<!--
<el-empty
<!--
<el-empty
v-else
v-else
...
@@ -46,7 +46,9 @@
...
@@ -46,7 +46,9 @@
<
script
>
<
script
>
import
Search
from
'
./components/Search.vue
'
;
import
Search
from
'
./components/Search.vue
'
;
import
TableHeader
from
'
@/components/TableHeader.vue
'
;
import
TableHeader
from
'
@/components/TableHeader/TableHeader.vue
'
;
import
YTable
from
'
@/components/YTable/YTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
{
getEvaStatList
}
from
'
@/api/engine
'
;
import
{
getEvaStatList
}
from
'
@/api/engine
'
;
import
{
formatSeconds
,
dataSection
}
from
'
@/utils
'
;
import
{
formatSeconds
,
dataSection
}
from
'
@/utils
'
;
import
{
export2Excel
}
from
'
@/utils/exportExcel
'
;
import
{
export2Excel
}
from
'
@/utils/exportExcel
'
;
...
@@ -54,7 +56,9 @@ import storage from '@/utils/storage';
...
@@ -54,7 +56,9 @@ import storage from '@/utils/storage';
export
default
{
export
default
{
components
:
{
components
:
{
Search
,
Search
,
TableHeader
TableHeader
,
YTable
,
YPagination
},
},
data
()
{
data
()
{
return
{
return
{
...
...
admin_2/src/pages/engineSearch/QueueUpData.vue
View file @
f0fd63aa
...
@@ -5,16 +5,16 @@
...
@@ -5,16 +5,16 @@
class=
"main flex w-full flex-1 items-center justify-center rounded-[4px] bg-white p-[20px]"
class=
"main flex w-full flex-1 items-center justify-center rounded-[4px] bg-white p-[20px]"
>
>
<div
class=
"h-full w-full"
>
<div
class=
"h-full w-full"
>
<
TableH
eader>
<
table-h
eader>
<el-button
<el-button
size=
"small"
size=
"small"
slot=
"
left
"
slot=
"
operation
"
type=
"primary"
type=
"primary"
:loading=
"exportLoading"
:loading=
"exportLoading"
@
click=
"exportExcel"
@
click=
"exportExcel"
>
导出
</el-button
>
导出
</el-button
>
>
</
TableH
eader>
</
table-h
eader>
<div>
<div>
<y-table
<y-table
ref=
"MyTable"
ref=
"MyTable"
...
@@ -28,12 +28,12 @@
...
@@ -28,12 +28,12 @@
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
></y-table>
></y-table>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"total"
:total=
"total"
:page.sync=
"page"
:page.sync=
"page"
:pageSize.sync=
"size"
:pageSize.sync=
"size"
@
change=
"getQueueStatList"
@
change=
"getQueueStatList"
></
P
agination>
></
y-p
agination>
</div>
</div>
<!--
<el-empty
<!--
<el-empty
v-else
v-else
...
@@ -46,7 +46,9 @@
...
@@ -46,7 +46,9 @@
<
script
>
<
script
>
import
Search
from
'
./components/Search.vue
'
;
import
Search
from
'
./components/Search.vue
'
;
import
TableHeader
from
'
@/components/TableHeader.vue
'
;
import
TableHeader
from
'
@/components/TableHeader/TableHeader.vue
'
;
import
YTable
from
'
@/components/YTable/YTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
{
getQueueStatList
}
from
'
@/api/engine
'
;
import
{
getQueueStatList
}
from
'
@/api/engine
'
;
import
{
formatSeconds
,
dataSection
}
from
'
@/utils
'
;
import
{
formatSeconds
,
dataSection
}
from
'
@/utils
'
;
import
{
export2Excel
}
from
'
@/utils/exportExcel
'
;
import
{
export2Excel
}
from
'
@/utils/exportExcel
'
;
...
@@ -54,7 +56,9 @@ import storage from '@/utils/storage';
...
@@ -54,7 +56,9 @@ import storage from '@/utils/storage';
export
default
{
export
default
{
components
:
{
components
:
{
Search
,
Search
,
TableHeader
TableHeader
,
YTable
,
YPagination
},
},
data
()
{
data
()
{
return
{
return
{
...
...
admin_2/src/pages/market/EvaluateReport.vue
View file @
f0fd63aa
...
@@ -159,12 +159,12 @@
...
@@ -159,12 +159,12 @@
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
></y-table>
></y-table>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"total"
:total=
"total"
:page.sync=
"page"
:page.sync=
"page"
:size.sync=
"size"
:size.sync=
"size"
@
change=
"getEvaluateList"
@
change=
"getEvaluateList"
></
P
agination>
></
y-p
agination>
</div>
</div>
<!-- 详情 -->
<!-- 详情 -->
<EvaluateDetails
:show.sync=
"show"
:info=
"detailsInfo"
></EvaluateDetails>
<EvaluateDetails
:show.sync=
"show"
:info=
"detailsInfo"
></EvaluateDetails>
...
@@ -172,6 +172,9 @@
...
@@ -172,6 +172,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
YDatePicker
from
'
@/components/YDatePicker/YDatePicker.vue
'
;
import
YTable
from
'
@/components/YTable/YTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
EvaluateDetails
from
'
./components/EvaluateDetails.vue
'
;
import
EvaluateDetails
from
'
./components/EvaluateDetails.vue
'
;
import
{
getEvaluateList
}
from
'
@/api/market
'
;
import
{
getEvaluateList
}
from
'
@/api/market
'
;
import
{
getDepartment
,
getHall
}
from
'
@/api/site
'
;
import
{
getDepartment
,
getHall
}
from
'
@/api/site
'
;
...
@@ -185,6 +188,9 @@ let searchType = {
...
@@ -185,6 +188,9 @@ let searchType = {
};
};
export
default
{
export
default
{
components
:
{
components
:
{
YDatePicker
,
YTable
,
YPagination
,
EvaluateDetails
EvaluateDetails
},
},
props
:
{
props
:
{
...
...
admin_2/src/pages/market/Market.vue
View file @
f0fd63aa
<
template
>
<
template
>
<div
class=
"flex h-full w-full gap-5"
>
<div
class=
"flex h-full w-full gap-5"
>
<div
class=
"area-tree-box flex h-full w-[20%] flex-col rounded-[4px] bg-white"
>
<div
class=
"area-tree-box flex h-full w-[20%] flex-col rounded-[4px] bg-white"
>
<
TabHeader
icon=
"el-icon-notebook-2"
label=
"组织架构"
></TabH
eader>
<
tab-header
icon=
"el-icon-notebook-2"
label=
"组织架构"
></tab-h
eader>
<div
class=
"w-full flex-1 overflow-auto p-[20px]"
>
<div
class=
"w-full flex-1 overflow-auto p-[20px]"
>
<
AreaTree
@
change=
"changeSite"
></AreaT
ree>
<
area-tree
@
change=
"changeSite"
></area-t
ree>
</div>
</div>
</div>
</div>
<div
class=
"flex h-full flex-1 flex-col bg-white"
>
<div
class=
"flex h-full flex-1 flex-col bg-white"
>
...
@@ -24,7 +24,13 @@
...
@@ -24,7 +24,13 @@
<
script
>
<
script
>
import
{
mapGetters
}
from
'
vuex
'
;
import
{
mapGetters
}
from
'
vuex
'
;
import
TabHeader
from
'
@/components/TabHeader/TabHeader.vue
'
;
import
AreaTree
from
'
@/components/AreaTree/AreaTree.vue
'
;
export
default
{
export
default
{
components
:
{
TabHeader
,
AreaTree
},
data
()
{
data
()
{
return
{
return
{
curTreeData
:
{}
// 当前选择的站点
curTreeData
:
{}
// 当前选择的站点
...
...
admin_2/src/pages/market/QueueUpReport.vue
View file @
f0fd63aa
...
@@ -130,12 +130,12 @@
...
@@ -130,12 +130,12 @@
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
></y-table>
></y-table>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"total"
:total=
"total"
:page.sync=
"page"
:page.sync=
"page"
:pageSize.sync=
"size"
:pageSize.sync=
"size"
@
change=
"getQueueList"
@
change=
"getQueueList"
></
P
agination>
></
y-p
agination>
</div>
</div>
<!-- 详情 -->
<!-- 详情 -->
<QueueUpDetails
:show.sync=
"show"
:info=
"detailsInfo"
></QueueUpDetails>
<QueueUpDetails
:show.sync=
"show"
:info=
"detailsInfo"
></QueueUpDetails>
...
@@ -143,6 +143,9 @@
...
@@ -143,6 +143,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
YDatePicker
from
'
@/components/YDatePicker/YDatePicker.vue
'
;
import
YTable
from
'
@/components/YTable/YTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
QueueUpDetails
from
'
./components/QueueUpDetails.vue
'
;
import
QueueUpDetails
from
'
./components/QueueUpDetails.vue
'
;
let
searchType
=
{
let
searchType
=
{
business
:
'
按业务
'
,
business
:
'
按业务
'
,
...
@@ -157,6 +160,9 @@ import { formatSeconds, dataSection } from '@/utils';
...
@@ -157,6 +160,9 @@ import { formatSeconds, dataSection } from '@/utils';
import
{
export2Excel
}
from
'
@/utils/exportExcel
'
;
import
{
export2Excel
}
from
'
@/utils/exportExcel
'
;
export
default
{
export
default
{
components
:
{
components
:
{
YDatePicker
,
YTable
,
YPagination
,
QueueUpDetails
QueueUpDetails
},
},
props
:
{
props
:
{
...
...
admin_2/src/pages/system/System.vue
View file @
f0fd63aa
<
template
>
<
template
>
<div
class=
"system"
>
<div
class=
"system"
>
<
TabMenuBar></TabMenuB
ar>
<
tab-menu-bar></tab-menu-b
ar>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
TabMenuBar
from
'
@/components/TabMenuBar/TabMenuBar.vue
'
;
export
default
{
export
default
{
components
:
{
TabMenuBar
},
data
()
{
data
()
{
return
{
return
{
subMenus
:
[]
subMenus
:
[]
...
...
admin_2/src/pages/system/access/Access.vue
View file @
f0fd63aa
<
template
>
<
template
>
<div
class=
"h-full w-full"
>
<div
class=
"h-full w-full"
>
<
TableH
eader>
<
table-h
eader>
<div
slot=
"
left
"
>
<div
slot=
"
operation
"
>
<el-button
size=
"small"
type=
"primary"
v-hasPermi=
"['system:access:add']"
@
click=
"handleAdd"
<el-button
size=
"small"
type=
"primary"
v-hasPermi=
"['system:access:add']"
@
click=
"handleAdd"
>
新增
</el-button
>
新增
</el-button
>
>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
>
批量删除
</el-button
>
批量删除
</el-button
>
>
</div>
</div>
<div
slot=
"
right
"
v-hasPermi=
"['system:access:query']"
>
<div
slot=
"
search
"
v-hasPermi=
"['system:access:query']"
>
<el-form
ref=
"searchForm"
:model=
"searchForm"
inline
>
<el-form
ref=
"searchForm"
:model=
"searchForm"
inline
>
<el-form-item
prop=
"areaName"
>
<el-form-item
prop=
"areaName"
>
<el-input
<el-input
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
</
TableH
eader>
</
table-h
eader>
<!-- 表格 -->
<!-- 表格 -->
<div
class=
"table-content"
>
<div
class=
"table-content"
>
<y-table
<y-table
...
@@ -48,12 +48,12 @@
...
@@ -48,12 +48,12 @@
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
></y-table>
></y-table>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"total"
:total=
"total"
:page.sync=
"page"
:page.sync=
"page"
:pageSize.sync=
"size"
:pageSize.sync=
"size"
@
change=
"getAccessList"
@
change=
"getAccessList"
></
P
agination>
></
y-p
agination>
<!-- 新增 -->
<!-- 新增 -->
<AddAccess
<AddAccess
ref=
"AddAccess"
ref=
"AddAccess"
...
@@ -71,7 +71,9 @@
...
@@ -71,7 +71,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
TableHeader
from
'
@/components/TableHeader.vue
'
;
import
TableHeader
from
'
@/components/TableHeader/TableHeader.vue
'
;
import
YTable
from
'
@/components/YTable/YTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
AddAccess
from
'
./components/AddAccess.vue
'
;
import
AddAccess
from
'
./components/AddAccess.vue
'
;
import
AccessSystem
from
'
./components/AccessSystem.vue
'
;
import
AccessSystem
from
'
./components/AccessSystem.vue
'
;
import
{
getAccessList
,
delAccess
}
from
'
@/api/system
'
;
import
{
getAccessList
,
delAccess
}
from
'
@/api/system
'
;
...
@@ -79,7 +81,9 @@ export default {
...
@@ -79,7 +81,9 @@ export default {
components
:
{
components
:
{
TableHeader
,
TableHeader
,
AddAccess
,
AddAccess
,
AccessSystem
AccessSystem
,
YTable
,
YPagination
},
},
data
()
{
data
()
{
return
{
return
{
...
...
admin_2/src/pages/system/access/components/AddAccess.vue
View file @
f0fd63aa
...
@@ -37,13 +37,13 @@
...
@@ -37,13 +37,13 @@
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"背景图片"
prop=
"bigPath"
>
<el-form-item
label=
"背景图片"
prop=
"bigPath"
>
<
YU
pload
<
y-u
pload
accept=
".png,.gif,.jpeg,.jpg"
accept=
".png,.gif,.jpeg,.jpg"
:limit=
"1"
:limit=
"1"
list-type=
"picture-card"
list-type=
"picture-card"
:fileList=
"bigPathList"
:fileList=
"bigPathList"
v-model=
"form.bigPath"
v-model=
"form.bigPath"
></
YU
pload>
></
y-u
pload>
</el-form-item>
</el-form-item>
<el-form-item
label=
"对接日期"
prop=
"accessTime"
>
<el-form-item
label=
"对接日期"
prop=
"accessTime"
>
<el-date-picker
<el-date-picker
...
@@ -91,9 +91,11 @@
...
@@ -91,9 +91,11 @@
import
{
mapState
}
from
'
vuex
'
;
import
{
mapState
}
from
'
vuex
'
;
import
{
saveAccess
}
from
'
@/api/system
'
;
import
{
saveAccess
}
from
'
@/api/system
'
;
import
InputTree
from
'
./InputTree.vue
'
;
import
InputTree
from
'
./InputTree.vue
'
;
import
YUpload
from
'
@/components/YUpload/YUpload.vue
'
;
export
default
{
export
default
{
components
:
{
components
:
{
InputTree
InputTree
,
YUpload
},
},
props
:
{
props
:
{
title
:
{
title
:
{
...
...
admin_2/src/pages/system/areaSystem/AreaSystem.vue
View file @
f0fd63aa
<
template
>
<
template
>
<div
class=
"h-full w-full"
>
<div
class=
"h-full w-full"
>
<TableHeader>
<TableHeader>
<div
slot=
"
left
"
>
<div
slot=
"
operation
"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleAdd"
>
新增
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleAdd"
>
新增
</el-button>
<el-button
size=
"small"
type=
"danger"
@
click=
"handleDelAll"
>
批量删除
</el-button>
<el-button
size=
"small"
type=
"danger"
@
click=
"handleDelAll"
>
批量删除
</el-button>
</div>
</div>
<div
slot=
"
right
"
>
<div
slot=
"
search
"
>
<el-form
ref=
"searchForm"
:model=
"searchForm"
inline
>
<el-form
ref=
"searchForm"
:model=
"searchForm"
inline
>
<el-form-item
prop=
"systemName"
>
<el-form-item
prop=
"systemName"
>
<el-input
<el-input
...
@@ -40,12 +40,12 @@
...
@@ -40,12 +40,12 @@
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
></y-table>
></y-table>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"total"
:total=
"total"
:page.sync=
"page"
:page.sync=
"page"
:pageSize.sync=
"size"
:pageSize.sync=
"size"
@
change=
"getSystemList"
@
change=
"getSystemList"
></
P
agination>
></
y-p
agination>
<!-- 新增 -->
<!-- 新增 -->
<AddAreaSystem
<AddAreaSystem
ref=
"AddAreaSystem"
ref=
"AddAreaSystem"
...
@@ -57,13 +57,17 @@
...
@@ -57,13 +57,17 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
TableHeader
from
'
@/components/TableHeader.vue
'
;
import
TableHeader
from
'
@/components/TableHeader/TableHeader.vue
'
;
import
YTable
from
'
@/components/YTable/YTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
{
getSystemList
,
deleteSystem
}
from
'
@/api/system
'
;
import
{
getSystemList
,
deleteSystem
}
from
'
@/api/system
'
;
import
AddAreaSystem
from
'
./components/AddAreaSystem.vue
'
;
import
AddAreaSystem
from
'
./components/AddAreaSystem.vue
'
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
AddAreaSystem
AddAreaSystem
,
YTable
,
YPagination
},
},
data
()
{
data
()
{
return
{
return
{
...
...
admin_2/src/pages/system/menu/Menu.vue
View file @
f0fd63aa
<
template
>
<
template
>
<div
class=
"h-full w-full"
>
<div
class=
"h-full w-full"
>
<
TableH
eader>
<
table-h
eader>
<div
slot=
"
left
"
>
<div
slot=
"
operation
"
>
<el-button
size=
"small"
type=
"primary"
v-hasPermi=
"['system:menu:add']"
@
click=
"handleAdd"
<el-button
size=
"small"
type=
"primary"
v-hasPermi=
"['system:menu:add']"
@
click=
"handleAdd"
>
新增
</el-button
>
新增
</el-button
>
>
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
-->
</div>
-->
</
TableH
eader>
</
table-h
eader>
<!-- 表格 -->
<!-- 表格 -->
<div
class=
"table-content"
>
<div
class=
"table-content"
>
<y-table
<y-table
...
@@ -47,13 +47,13 @@
...
@@ -47,13 +47,13 @@
@selection-change="handleSelectionChange"
@selection-change="handleSelectionChange"
>
</y-table>
>
</y-table>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"total"
:total=
"total"
:page.sync=
"page"
:page.sync=
"page"
:pageSize.sync=
"size"
:pageSize.sync=
"size"
layout=
"total,prev,pager,next"
layout=
"total,prev,pager,next"
@
change=
"getMenuList"
@
change=
"getMenuList"
></
P
agination>
></
y-p
agination>
<AddMenu
<AddMenu
ref=
"AddMenu"
ref=
"AddMenu"
:show.sync=
"show"
:show.sync=
"show"
...
@@ -66,14 +66,18 @@
...
@@ -66,14 +66,18 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
TableHeader
from
'
@/components/TableHeader.vue
'
;
import
TableHeader
from
'
@/components/TableHeader/TableHeader.vue
'
;
import
YTable
from
'
@/components/YTable/YTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
AddMenu
from
'
./components/AddMenu.vue
'
;
import
AddMenu
from
'
./components/AddMenu.vue
'
;
import
{
getMenuList
,
deleteMenu
,
saveMenu
,
changeMenuSort
}
from
'
@/api/system
'
;
import
{
getMenuList
,
deleteMenu
,
saveMenu
,
changeMenuSort
}
from
'
@/api/system
'
;
import
{
buildTree
}
from
'
@/utils
'
;
import
{
buildTree
}
from
'
@/utils
'
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
AddMenu
AddMenu
,
YTable
,
YPagination
},
},
data
()
{
data
()
{
return
{
return
{
...
...
admin_2/src/pages/system/parameter/Parameter.vue
View file @
f0fd63aa
<
template
>
<
template
>
<div
class=
"parameter h-full w-full"
>
<div
class=
"parameter h-full w-full"
>
<
TableH
eader>
<
table-h
eader>
<div
slot=
"
left
"
>
<div
slot=
"
operation
"
>
<el-button
<el-button
size=
"small"
size=
"small"
type=
"primary"
type=
"primary"
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
>
批量删除
</el-button
>
批量删除
</el-button
>
>
</div>
</div>
<div
slot=
"
right
"
v-hasPermi=
"['system:parameter:query']"
>
<div
slot=
"
search
"
v-hasPermi=
"['system:parameter:query']"
>
<el-form
ref=
"searchForm"
:model=
"searchForm"
inline
>
<el-form
ref=
"searchForm"
:model=
"searchForm"
inline
>
<el-form-item
prop=
"type"
>
<el-form-item
prop=
"type"
>
<el-select
size=
"small"
style=
"width: 150px"
v-model=
"searchForm.type"
>
<el-select
size=
"small"
style=
"width: 150px"
v-model=
"searchForm.type"
>
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
</
TableH
eader>
</
table-h
eader>
<!-- 表格 -->
<!-- 表格 -->
<div
class=
"table-content"
>
<div
class=
"table-content"
>
<y-table
<y-table
...
@@ -58,12 +58,12 @@
...
@@ -58,12 +58,12 @@
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
></y-table>
></y-table>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"total"
:total=
"total"
:page.sync=
"page"
:page.sync=
"page"
:pageSize.sync=
"size"
:pageSize.sync=
"size"
@
change=
"getParamList"
@
change=
"getParamList"
></
P
agination>
></
y-p
agination>
<!-- 新增参数 -->
<!-- 新增参数 -->
<AddParameter
<AddParameter
ref=
"AddParameter"
ref=
"AddParameter"
...
@@ -76,13 +76,17 @@
...
@@ -76,13 +76,17 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
TableHeader
from
'
@/components/TableHeader.vue
'
;
import
TableHeader
from
'
@/components/TableHeader/TableHeader.vue
'
;
import
YTable
from
'
@/components/YTable/YTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
AddParameter
from
'
./components/AddParameter.vue
'
;
import
AddParameter
from
'
./components/AddParameter.vue
'
;
import
{
getParamList
,
delParam
}
from
'
@/api/system
'
;
import
{
getParamList
,
delParam
}
from
'
@/api/system
'
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
AddParameter
AddParameter
,
YTable
,
YPagination
},
},
data
()
{
data
()
{
return
{
return
{
...
...
admin_2/src/pages/system/resourceManage/ResourceManage.vue
View file @
f0fd63aa
<
template
>
<
template
>
<div
class=
"h-full w-full"
>
<div
class=
"h-full w-full"
>
<
TableH
eader>
<
table-h
eader>
<div
slot=
"
left
"
>
<div
slot=
"
operation
"
>
<el-button
<el-button
size=
"small"
size=
"small"
type=
"primary"
type=
"primary"
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
>
批量删除
</el-button
>
批量删除
</el-button
>
>
</div>
</div>
<div
slot=
"
right
"
v-hasPermi=
"['system:resourcemanage:query']"
>
<div
slot=
"
search
"
v-hasPermi=
"['system:resourcemanage:query']"
>
<el-form
ref=
"searchForm"
:model=
"searchForm"
inline
>
<el-form
ref=
"searchForm"
:model=
"searchForm"
inline
>
<el-form-item
prop=
"authType"
>
<el-form-item
prop=
"authType"
>
<el-select
size=
"small"
style=
"width: 150px"
v-model=
"searchForm.authType"
>
<el-select
size=
"small"
style=
"width: 150px"
v-model=
"searchForm.authType"
>
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
</
TableH
eader>
</
table-h
eader>
<div
class=
"table-content"
>
<div
class=
"table-content"
>
<y-table
<y-table
ref=
"MyTable"
ref=
"MyTable"
...
@@ -62,12 +62,12 @@
...
@@ -62,12 +62,12 @@
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
></y-table>
></y-table>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"total"
:total=
"total"
:page.sync=
"page"
:page.sync=
"page"
:pageSize.sync=
"size"
:pageSize.sync=
"size"
@
change=
"getResourceList"
@
change=
"getResourceList"
></
P
agination>
></
y-p
agination>
<!-- 新增 -->
<!-- 新增 -->
<AddResource
<AddResource
ref=
"AddResource"
ref=
"AddResource"
...
@@ -80,13 +80,17 @@
...
@@ -80,13 +80,17 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
TableHeader
from
'
@/components/TableHeader.vue
'
;
import
TableHeader
from
'
@/components/TableHeader/TableHeader.vue
'
;
import
YTable
from
'
@/components/YTable/YTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
{
getResourceList
,
deleteResource
}
from
'
@/api/system
'
;
import
{
getResourceList
,
deleteResource
}
from
'
@/api/system
'
;
import
AddResource
from
'
./components/AddResource.vue
'
;
import
AddResource
from
'
./components/AddResource.vue
'
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
AddResource
AddResource
,
YTable
,
YPagination
},
},
data
()
{
data
()
{
return
{
return
{
...
...
admin_2/src/pages/system/role/Role.vue
View file @
f0fd63aa
<
template
>
<
template
>
<div
class=
"h-full w-full"
>
<div
class=
"h-full w-full"
>
<
TableH
eader>
<
table-h
eader>
<div
slot=
"
left
"
>
<div
slot=
"
operation
"
>
<el-button
size=
"small"
type=
"primary"
v-hasPermi=
"['system:role:add']"
@
click=
"handleAdd"
<el-button
size=
"small"
type=
"primary"
v-hasPermi=
"['system:role:add']"
@
click=
"handleAdd"
>
新增
</el-button
>
新增
</el-button
>
>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
>
批量删除
</el-button
>
批量删除
</el-button
>
>
</div>
</div>
<div
slot=
"
right
"
v-hasPermi=
"['system:role:query']"
>
<div
slot=
"
search
"
v-hasPermi=
"['system:role:query']"
>
<el-form
ref=
"searchForm"
:model=
"searchForm"
inline
>
<el-form
ref=
"searchForm"
:model=
"searchForm"
inline
>
<el-form-item
prop=
"name"
>
<el-form-item
prop=
"name"
>
<el-input
<el-input
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
</
TableH
eader>
</
table-h
eader>
<!-- 表格 -->
<!-- 表格 -->
<div
class=
"table-content"
>
<div
class=
"table-content"
>
<y-table
<y-table
...
@@ -48,12 +48,12 @@
...
@@ -48,12 +48,12 @@
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
></y-table>
></y-table>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"total"
:total=
"total"
:page.sync=
"page"
:page.sync=
"page"
:pageSize.sync=
"size"
:pageSize.sync=
"size"
@
change=
"getRoleList"
@
change=
"getRoleList"
></
P
agination>
></
y-p
agination>
<!-- 新增 -->
<!-- 新增 -->
<AddRole
ref=
"AddRole"
:show.sync=
"show"
:title=
"title"
@
success=
"getRoleList"
></AddRole>
<AddRole
ref=
"AddRole"
:show.sync=
"show"
:title=
"title"
@
success=
"getRoleList"
></AddRole>
<!-- 分配资源 -->
<!-- 分配资源 -->
...
@@ -70,7 +70,9 @@
...
@@ -70,7 +70,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
TableHeader
from
'
@/components/TableHeader.vue
'
;
import
TableHeader
from
'
@/components/TableHeader/TableHeader.vue
'
;
import
YTable
from
'
@/components/YTable/YTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
{
getRoleList
,
deleteRole
,
getMenuTreeselect
}
from
'
@/api/system
'
;
import
{
getRoleList
,
deleteRole
,
getMenuTreeselect
}
from
'
@/api/system
'
;
import
AddRole
from
'
./components/AddRole.vue
'
;
import
AddRole
from
'
./components/AddRole.vue
'
;
import
ApportionRes
from
'
./components/ApportionRes.vue
'
;
import
ApportionRes
from
'
./components/ApportionRes.vue
'
;
...
@@ -80,7 +82,9 @@ export default {
...
@@ -80,7 +82,9 @@ export default {
TableHeader
,
TableHeader
,
AddRole
,
AddRole
,
ApportionRes
,
ApportionRes
,
ApportionMenu
ApportionMenu
,
YTable
,
YPagination
},
},
data
()
{
data
()
{
return
{
return
{
...
...
admin_2/src/pages/system/systemlogs/SystemLogs.vue
View file @
f0fd63aa
<
template
>
<
template
>
<div
class=
"system-logs h-full w-full"
>
<div
class=
"system-logs h-full w-full"
>
<
TableH
eader>
<
table-h
eader>
<div
slot=
"
right
"
class=
"flex"
v-hasPermi=
"['system:systemlogs:query']"
>
<div
slot=
"
search
"
class=
"flex"
v-hasPermi=
"['system:systemlogs:query']"
>
<el-input
<el-input
size=
"small"
size=
"small"
v-model=
"searchVal"
v-model=
"searchVal"
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
搜 索
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
搜 索
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
重 置
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
重 置
</el-button>
</div>
</div>
</
TableH
eader>
</
table-h
eader>
<!-- 表格 -->
<!-- 表格 -->
<div
class=
"table-content"
>
<div
class=
"table-content"
>
<y-table
<y-table
...
@@ -27,21 +27,25 @@
...
@@ -27,21 +27,25 @@
:row-key=
"(row) => row.id"
:row-key=
"(row) => row.id"
></y-table>
></y-table>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"total"
:total=
"total"
:page.sync=
"page"
:page.sync=
"page"
:pageSize.sync=
"size"
:pageSize.sync=
"size"
@
change=
"getlogsList"
@
change=
"getlogsList"
></
P
agination>
></
y-p
agination>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
TableHeader
from
'
@/components/TableHeader.vue
'
;
import
TableHeader
from
'
@/components/TableHeader/TableHeader.vue
'
;
import
YTable
from
'
@/components/YTable/YTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
{
getlogsList
}
from
'
@/api/system
'
;
import
{
getlogsList
}
from
'
@/api/system
'
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
TableHeader
,
YTable
,
YPagination
},
},
data
()
{
data
()
{
return
{
return
{
...
...
admin_2/src/pages/system/task/TaskSet.vue
View file @
f0fd63aa
<
template
>
<
template
>
<div
class=
"task-set h-ull w-full"
>
<div
class=
"task-set h-ull w-full"
>
<
TableH
eader>
<
table-h
eader>
<div
slot=
"
left
"
>
<div
slot=
"
operation
"
>
<el-button
size=
"small"
type=
"primary"
v-hasPermi=
"['system:task:add']"
@
click=
"handleAdd"
<el-button
size=
"small"
type=
"primary"
v-hasPermi=
"['system:task:add']"
@
click=
"handleAdd"
>
新增任务
</el-button
>
新增任务
</el-button
>
>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
>
批量删除
</el-button
>
批量删除
</el-button
>
>
</div>
</div>
<div
slot=
"
right
"
class=
"flex"
v-hasPermi=
"['system:task:query']"
>
<div
slot=
"
search
"
class=
"flex"
v-hasPermi=
"['system:task:query']"
>
<el-input
<el-input
size=
"small"
size=
"small"
v-model=
"searchVal"
v-model=
"searchVal"
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
搜 索
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
搜 索
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
重 置
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
重 置
</el-button>
</div>
</div>
</
TableH
eader>
</
table-h
eader>
<!-- 表格 -->
<!-- 表格 -->
<div
class=
"table-content"
>
<div
class=
"table-content"
>
<y-table
<y-table
...
@@ -40,12 +40,12 @@
...
@@ -40,12 +40,12 @@
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
></y-table>
></y-table>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"total"
:total=
"total"
:page.sync=
"page"
:page.sync=
"page"
:pageSize.sync=
"size"
:pageSize.sync=
"size"
@
change=
"getTaskList"
@
change=
"getTaskList"
></
P
agination>
></
y-p
agination>
<!-- 新增参数 -->
<!-- 新增参数 -->
<AddTask
<AddTask
ref=
"AddTask"
ref=
"AddTask"
...
@@ -58,13 +58,17 @@
...
@@ -58,13 +58,17 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
TableHeader
from
'
@/components/TableHeader.vue
'
;
import
TableHeader
from
'
@/components/TableHeader/TableHeader.vue
'
;
import
YTable
from
'
@/components/YTable/YTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
AddTask
from
'
./components/AddTask.vue
'
;
import
AddTask
from
'
./components/AddTask.vue
'
;
import
{
getTaskList
,
delTask
}
from
'
@/api/system
'
;
import
{
getTaskList
,
delTask
}
from
'
@/api/system
'
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
AddTask
AddTask
,
YTable
,
YPagination
},
},
data
()
{
data
()
{
return
{
return
{
...
...
admin_2/src/pages/system/user/User.vue
View file @
f0fd63aa
<
template
>
<
template
>
<div
class=
"h-full w-full"
>
<div
class=
"h-full w-full"
>
<
TableH
eader>
<
table-h
eader>
<div
slot=
"
right
"
v-hasPermi=
"['system:user:query']"
>
<div
slot=
"
search
"
v-hasPermi=
"['system:user:query']"
>
<el-form
ref=
"searchForm"
:model=
"searchForm"
inline
size=
"small"
>
<el-form
ref=
"searchForm"
:model=
"searchForm"
inline
size=
"small"
>
<el-form-item
prop=
"type"
>
<el-form-item
prop=
"type"
>
<el-select
style=
"width: 120px"
v-model=
"searchForm.type"
placeholder=
"请选择"
>
<el-select
style=
"width: 120px"
v-model=
"searchForm.type"
placeholder=
"请选择"
>
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
</
TableH
eader>
</
table-h
eader>
<!-- 表格 -->
<!-- 表格 -->
<div
class=
"table-content"
>
<div
class=
"table-content"
>
<y-table
<y-table
...
@@ -40,12 +40,12 @@
...
@@ -40,12 +40,12 @@
:row-key=
"(row) => row.id"
:row-key=
"(row) => row.id"
></y-table>
></y-table>
</div>
</div>
<
P
agination
<
y-p
agination
:total=
"total"
:total=
"total"
:page.sync=
"page"
:page.sync=
"page"
:pageSize.sync=
"size"
:pageSize.sync=
"size"
@
change=
"getUserList"
@
change=
"getUserList"
></
P
agination>
></
y-p
agination>
<!-- 分配角色 -->
<!-- 分配角色 -->
<AddUserRole
ref=
"AddUserRole"
:show.sync=
"show"
@
success=
"getUserList"
></AddUserRole>
<AddUserRole
ref=
"AddUserRole"
:show.sync=
"show"
@
success=
"getUserList"
></AddUserRole>
...
@@ -53,7 +53,9 @@
...
@@ -53,7 +53,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
TableHeader
from
'
@/components/TableHeader.vue
'
;
import
TableHeader
from
'
@/components/TableHeader/TableHeader.vue
'
;
import
YTable
from
'
@/components/YTable/YTable.vue
'
;
import
YPagination
from
'
@/components/YPagination/YPagination.vue
'
;
import
AddUserRole
from
'
./components/AddUserRole.vue
'
;
import
AddUserRole
from
'
./components/AddUserRole.vue
'
;
import
{
getUserList
}
from
'
@/api/system
'
;
import
{
getUserList
}
from
'
@/api/system
'
;
let
typeList
=
{
let
typeList
=
{
...
@@ -64,7 +66,9 @@ let typeList = {
...
@@ -64,7 +66,9 @@ let typeList = {
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
AddUserRole
AddUserRole
,
YTable
,
YPagination
},
},
data
()
{
data
()
{
return
{
return
{
...
...
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