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
063e1485
authored
2023-03-23 10:33:46 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:区县接入
1 parent
6368c208
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
38 additions
and
30 deletions
public/config.json
src/layout1/components/AppMain.vue
src/layout1/components/TagsView/index.vue
src/layout1/index.vue
src/router/index.js
src/store/modules/permission.js
src/styles/sbPublic.scss
src/views/jsbwcx/index.vue
src/views/loginjg/index.vue
src/views/system/menus/edit-dialog.vue
src/views/system/users/data/index.js
public/config.json
View file @
063e148
{
"TITLE"
:
"汉中市数据上报系统"
,
"THEME"
:
"
jg
"
,
"THEME"
:
"
sb
"
,
"SERVERAPI"
:
"/bdcsjsb"
,
"MANAGEMENTAPI"
:
"http: //192.168.2.236/management"
}
\ No newline at end of file
...
...
src/layout1/components/AppMain.vue
View file @
063e148
...
...
@@ -4,7 +4,7 @@
* @LastEditTime: 2023-03-22 10:23:46
-->
<
template
>
<section
class=
"app-main"
>
<section>
<transition
name=
"fade-transform"
mode=
"out-in"
>
<router-view
/>
</transition>
...
...
@@ -20,14 +20,3 @@ export default {
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.app-main
{
height
:
calc
(
100vh
-
74px
);
overflow-x
:
hidden
;
box-sizing
:
border-box
;
flex
:
1
;
width
:
100%
;
background
:
#EAEBF0
;
padding
:
15px
;
}
</
style
>
...
...
src/layout1/components/TagsView/index.vue
View file @
063e148
...
...
@@ -35,7 +35,7 @@ export default {
},
computed
:
{
visitedViews
()
{
return
this
.
$store
.
state
.
tagsView
.
visitedViews
return
this
.
$store
.
state
.
tagsView
.
visitedViews
.
slice
(
1
)
},
routes
()
{
return
this
.
$store
.
state
.
permission
.
routes
...
...
@@ -199,7 +199,7 @@ export default {
box-sizing
:
border-box
;
padding-top
:
3px
;
box-shadow
:
0
1px
3px
0
rgba
(
0
,
0
,
0
,
.12
),
0
0
3px
0
rgba
(
0
,
0
,
0
,
.04
);
margin-bottom
:
5px
;
.tags-view-wrapper
{
.tags-view-item
{
display
:
inline-block
;
...
...
src/layout1/index.vue
View file @
063e148
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-2
0 16:05:15
* @LastEditTime: 2023-03-2
3 09:21:00
-->
<
template
>
<div
class=
"app-wrapper"
>
<navbar
/>
<div
class=
"main-container"
>
<sidebar
class=
"sidebar-container"
/>
<app-main
/>
<div
class=
"app-main"
>
<tags-view
v-if=
"needTagsView"
/>
<app-main
/>
</div>
</div>
</div>
</
template
>
...
...
@@ -37,6 +40,17 @@ export default {
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.app-main
{
height
:
calc
(
100vh
-
74px
);
overflow-x
:
hidden
;
box-sizing
:
border-box
;
flex
:
1
;
width
:
100%
;
background
:
#EAEBF0
;
padding
:
10px
;
}
</
style
>
<
style
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/sbSidebar.scss"
;
...
...
src/router/index.js
View file @
063e148
...
...
@@ -33,7 +33,7 @@ export const constantRoutes = [
{
path
:
'/'
,
component
:
Layout
,
redirect
:
'/jg
?redirect=%2Fhome
'
,
redirect
:
'/jg'
,
meta
:
{
title
:
'首页'
},
children
:
[
{
...
...
@@ -59,7 +59,7 @@ export const asyncRoutes = [
path
:
'index'
,
component
:
()
=>
import
(
'@/views/jsbwcx/index'
),
name
:
'jsbwcx'
,
meta
:
{
title
:
'
接收报文查询
'
,
icon
:
'zsgl'
}
meta
:
{
title
:
'
区县接入
'
,
icon
:
'zsgl'
}
}
]
},
...
...
src/store/modules/permission.js
View file @
063e148
...
...
@@ -2,7 +2,7 @@
* @Author: xiaomiao 1158771342@qq.com
* @Date: 2023-03-09 15:24:53
* @LastEditors: Please set LastEditors
* @LastEditTime: 2023-03-2
1 16:05:39
* @LastEditTime: 2023-03-2
3 10:19:35
* @FilePath: \上报\bdcjg-web\src\store\modules\permission.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -25,7 +25,7 @@ const mutations = {
}
const
actions
=
{
// 添加全部菜单
generateRoutes
({
commit
},
getMenuInfo
)
{
generateRoutes
({
commit
},
getMenuInfo
)
{
let
Layout
;
if
(
Vue
.
prototype
.
BASE_API
.
THEME
==
'sb'
)
{
Layout
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
`@/layout1`
)))
...
...
@@ -40,6 +40,7 @@ const actions = {
item
.
children
=
asyncRouter
(
item
.
children
)
}
item
.
path
=
JSON
.
parse
(
item
.
metadata
)?.
path
||
'/'
item
.
affix
=
JSON
.
parse
(
item
.
metadata
)?.
affix
||
false
if
(
!
item
.
parentId
)
{
item
.
component
=
Layout
}
else
{
...
...
@@ -47,7 +48,8 @@ const actions = {
}
item
.
meta
=
{
title
:
item
.
name
,
icon
:
item
.
icon
icon
:
item
.
icon
,
affix
:
item
.
affix
}
})
return
routers
...
...
src/styles/sbPublic.scss
View file @
063e148
...
...
@@ -6,7 +6,6 @@
min-width
:
1280px
;
box-sizing
:
border-box
;
overflow-x
:
hidden
;
padding
:
2px
;
&
-header
{
width
:
100%
;
...
...
@@ -20,7 +19,7 @@
&
-content
{
width
:
100%
;
box-sizing
:
border-box
;
margin-top
:
1
5
px
;
margin-top
:
1
0
px
;
background
:
#FFFFFF
;
border-radius
:
4px
;
background-size
:
100%
100%
;
...
...
@@ -142,4 +141,4 @@
background-color
:
white
;
;
background-size
:
cover
;
}
}
\ No newline at end of file
...
...
src/views/jsbwcx/index.vue
View file @
063e148
...
...
@@ -4,13 +4,15 @@
<!-- 头部搜索 -->
<div
class=
"from-clues-header"
>
<el-form
ref=
"ruleForm"
:model=
"form"
label-width=
"100px"
>
<el-form-item>
<el-form-item
v-if=
"BASE_API.THEME=='jg'"
>
<Breadcrumb
/>
</el-form-item>
<el-row
class=
"mb-5"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
prop=
"qxdm"
>
<el-select
v-model=
"$store.state.user.userInfo.grade === 'county' ? form.qxdm = $store.state.user.userInfo.areaCode : form.qxdm"
class=
"width100"
clearable
placeholder=
"行政区"
:disabled=
"$store.state.user.userInfo.grade === 'county'"
>
<el-select
v-model=
"$store.state.user.userInfo.grade === 'county' ? form.qxdm = $store.state.user.userInfo.areaCode : form.qxdm"
class=
"width100"
clearable
placeholder=
"行政区"
:disabled=
"$store.state.user.userInfo.grade === 'county'"
>
<el-option
v-for=
"item in dicData['A20']"
:key=
"item.DCODE"
:label=
"item.DNAME"
:value=
"item.DCODE"
>
</el-option>
</el-select>
...
...
@@ -99,6 +101,7 @@
</
template
>
<
script
>
import
Vue
from
'vue'
// 接收报文查询
// 引入表格头部数据
import
data
from
"./data"
;
...
...
src/views/loginjg/index.vue
View file @
063e148
This diff is collapsed.
Click to expand it.
src/views/system/menus/edit-dialog.vue
View file @
063e148
This diff is collapsed.
Click to expand it.
src/views/system/users/data/index.js
View file @
063e148
/*
* @Author: xiaomiao 1158771342@qq.com
* @Date: 2023-01-30 17:59:51
* @LastEditors:
xiaomiao 1158771342@qq.com
* @LastEditTime: 2023-03-2
1 18:34:17
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2023-03-2
3 09:34:50
* @FilePath: \监管系统\js-web-jianguan\src\views\system\users\data\index.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -29,7 +29,8 @@ class data extends filter {
},
{
prop
:
"departmentName"
,
label
:
"组织机构"
label
:
"组织机构"
,
minWidth
:
130
},
{
prop
:
"telephone"
,
...
...
Please
register
or
sign in
to post a comment