Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
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
赵啸非
smart_gov_platform
Commits
70add786
Commit
70add786
authored
Nov 17, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
26590489
bc67275e
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
83 additions
and
51 deletions
+83
-51
base-manager-ui/admin/src/directive/index.js
base-manager-ui/admin/src/directive/index.js
+17
-0
base-manager-ui/admin/src/main.js
base-manager-ui/admin/src/main.js
+46
-41
base-manager-ui/admin/src/pages/basicset/jump/jump.vue
base-manager-ui/admin/src/pages/basicset/jump/jump.vue
+2
-0
base-manager-ui/admin/src/pages/basicset/surface/components/LeftMenu.vue
.../admin/src/pages/basicset/surface/components/LeftMenu.vue
+0
-1
base-manager-ui/admin/src/pages/basicset/surface/surface.vue
base-manager-ui/admin/src/pages/basicset/surface/surface.vue
+1
-1
base-manager-ui/admin/src/pages/basicset/workman/personnel.vue
...manager-ui/admin/src/pages/basicset/workman/personnel.vue
+6
-4
portal-manager-ui/admin/package.json
portal-manager-ui/admin/package.json
+1
-1
portal-manager-ui/admin/src/views/siteArrange/siteArrange.vue
...al-manager-ui/admin/src/views/siteArrange/siteArrange.vue
+9
-2
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/components/EditPwd.vue
...mIsSet/components/permissionsModel/components/EditPwd.vue
+1
-1
No files found.
base-manager-ui/admin/src/directive/index.js
0 → 100644
View file @
70add786
import
local
from
"
@/utils/local
"
;
// 皮肤模板页面权限
export
const
permission
=
{
inserted
:
function
(
el
,
binding
)
{
const
{
value
}
=
binding
;
const
roles
=
local
.
getLocal
(
"
baseUserInfo
"
).
id
;
if
(
value
)
{
const
permissionRoles
=
value
;
const
hasPermission
=
permissionRoles
.
includes
(
roles
);
if
(
!
hasPermission
)
{
el
.
remove
();
}
}
else
{
throw
new
Error
(
`need roles! Like v-permission="['admin','editor']"`
);
}
},
};
base-manager-ui/admin/src/main.js
View file @
70add786
import
Vue
from
'
vue
'
import
Vue
from
"
vue
"
;
import
App
from
'
./App.vue
'
import
App
from
"
./App.vue
"
;
import
{
initRouter
}
from
'
./router
'
import
{
initRouter
}
from
"
./router
"
;
import
'
./theme/index.less
'
import
"
./theme/index.less
"
;
import
Antd
from
'
ant-design-vue
'
import
Antd
from
"
ant-design-vue
"
;
// import Viser from 'viser-vue'
// import Viser from 'viser-vue'
// import '@/mock'
// import '@/mock'
import
store
from
'
./store
'
import
store
from
"
./store
"
;
import
'
animate.css/source/animate.css
'
import
"
animate.css/source/animate.css
"
;
import
'
./assets/css/common.less
'
import
"
./assets/css/common.less
"
;
import
'
./assets/css/relas.less
'
import
"
./assets/css/relas.less
"
;
import
'
./assets/css/use.less
'
import
"
./assets/css/use.less
"
;
import
Plugins
from
'
@/plugins
'
import
Plugins
from
"
@/plugins
"
;
import
{
initI18n
}
from
'
@/utils/i18n
'
import
{
initI18n
}
from
"
@/utils/i18n
"
;
import
bootstrap
from
'
@/bootstrap
'
import
bootstrap
from
"
@/bootstrap
"
;
import
'
moment/locale/zh-cn
'
import
"
moment/locale/zh-cn
"
;
import
VueResource
from
'
vue-resource
'
import
VueResource
from
"
vue-resource
"
;
//富文本插件
//富文本插件
import
VueQuillEditor
from
'
vue-quill-editor
'
import
VueQuillEditor
from
"
vue-quill-editor
"
;
import
'
quill/dist/quill.core.css
'
import
"
quill/dist/quill.core.css
"
;
import
'
quill/dist/quill.snow.css
'
import
"
quill/dist/quill.snow.css
"
;
import
'
quill/dist/quill.bubble.css
'
import
"
quill/dist/quill.bubble.css
"
;
import
{
VueJsonp
}
from
'
vue-jsonp
'
import
{
VueJsonp
}
from
"
vue-jsonp
"
;
Vue
.
use
(
VueJsonp
)
Vue
.
use
(
VueJsonp
)
;
// 公共样式
// 公共样式
import
"
@/assets/css/common.css
"
import
"
@/assets/css/common.css
"
;
Vue
.
use
(
VueQuillEditor
);
Vue
.
use
(
VueQuillEditor
);
// 全局过滤器
// 全局过滤器
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
"
;
Object
.
keys
(
directives
).
forEach
((
name
)
=>
Vue
.
directive
(
name
,
directives
[
name
])
);
// 中央事件总线
// 中央事件总线
Vue
.
prototype
.
$bus
=
new
Vue
Vue
.
prototype
.
$bus
=
new
Vue
();
// 图片预览
// 图片预览
import
Viewer
from
'
v-viewer
'
import
Viewer
from
"
v-viewer
"
;
import
'
viewerjs/dist/viewer.css
'
import
"
viewerjs/dist/viewer.css
"
;
Vue
.
use
(
Viewer
);
Vue
.
use
(
Viewer
);
// moment 时间处理
// moment 时间处理
import
moment
from
'
moment
'
;
import
moment
from
"
moment
"
;
Vue
.
prototype
.
$moment
=
moment
;
Vue
.
prototype
.
$moment
=
moment
;
// echats
// echats
import
*
as
echarts
from
'
echarts
'
;
import
*
as
echarts
from
"
echarts
"
;
Vue
.
prototype
.
$echarts
=
echarts
Vue
.
prototype
.
$echarts
=
echarts
;
export
const
router
=
initRouter
(
store
.
state
.
setting
.
asyncRoutes
)
export
const
router
=
initRouter
(
store
.
state
.
setting
.
asyncRoutes
)
;
const
i18n
=
initI18n
(
'
CN
'
,
'
US
'
)
const
i18n
=
initI18n
(
"
CN
"
,
"
US
"
);
Vue
.
use
(
Antd
)
Vue
.
use
(
Antd
)
;
Vue
.
config
.
productionTip
=
false
Vue
.
config
.
productionTip
=
false
;
// Vue.use(Viser)
// Vue.use(Viser)
Vue
.
use
(
Plugins
)
Vue
.
use
(
Plugins
)
;
Vue
.
use
(
VueResource
)
Vue
.
use
(
VueResource
)
;
bootstrap
({
router
,
store
,
i18n
,
message
:
Vue
.
prototype
.
$message
})
bootstrap
({
router
,
store
,
i18n
,
message
:
Vue
.
prototype
.
$message
})
;
new
Vue
({
new
Vue
({
router
,
router
,
store
,
store
,
i18n
,
i18n
,
render
:
h
=>
h
(
App
),
render
:
(
h
)
=>
h
(
App
),
}).
$mount
(
'
#app
'
)
}).
$mount
(
"
#app
"
);
base-manager-ui/admin/src/pages/basicset/jump/jump.vue
View file @
70add786
...
@@ -17,8 +17,10 @@ export default {
...
@@ -17,8 +17,10 @@ export default {
// 获取token
// 获取token
getToken
()
{
getToken
()
{
let
token
=
this
.
$route
.
query
.
token
;
let
token
=
this
.
$route
.
query
.
token
;
let
userInfo
=
JSON
.
parse
(
this
.
$route
.
query
.
userInfo
);
if
(
token
)
{
if
(
token
)
{
local
.
setLocal
(
"
token
"
,
token
);
local
.
setLocal
(
"
token
"
,
token
);
local
.
setLocal
(
"
baseUserInfo
"
,
userInfo
);
this
.
$router
.
push
(
"
basicset/website
"
);
this
.
$router
.
push
(
"
basicset/website
"
);
}
else
{
}
else
{
this
.
$message
.
warning
(
"
跳转失败,请重新登录
"
);
this
.
$message
.
warning
(
"
跳转失败,请重新登录
"
);
...
...
base-manager-ui/admin/src/pages/basicset/surface/components/LeftMenu.vue
View file @
70add786
...
@@ -41,7 +41,6 @@ export default {
...
@@ -41,7 +41,6 @@ export default {
let
{
data
}
=
res
.
data
.
data
;
let
{
data
}
=
res
.
data
.
data
;
this
.
productList
=
data
;
this
.
productList
=
data
;
this
.
changeMenu
(
0
,
this
.
productList
[
0
]);
this
.
changeMenu
(
0
,
this
.
productList
[
0
]);
console
.
log
(
res
);
},
},
// 搜索
// 搜索
onSearch
(
val
)
{
onSearch
(
val
)
{
...
...
base-manager-ui/admin/src/pages/basicset/surface/surface.vue
View file @
70add786
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
<a-button
<a-button
slot=
"extra"
slot=
"extra"
type=
"primary"
type=
"primary"
v-permission=
"[1]"
@
click=
"$router.push('surface/addsurfacetemplate')"
@
click=
"$router.push('surface/addsurfacetemplate')"
>
新增皮肤模板
</a-button
>
新增皮肤模板
</a-button
>
>
...
@@ -79,7 +80,6 @@ export default {
...
@@ -79,7 +80,6 @@ export default {
data
.
forEach
((
v
)
=>
{
data
.
forEach
((
v
)
=>
{
v
.
isEdit
=
false
;
v
.
isEdit
=
false
;
});
});
console
.
log
(
data
);
this
.
classifyList
=
data
;
this
.
classifyList
=
data
;
},
},
// 选择产品
// 选择产品
...
...
base-manager-ui/admin/src/pages/basicset/workman/personnel.vue
View file @
70add786
...
@@ -48,9 +48,6 @@
...
@@ -48,9 +48,6 @@
<a-menu
slot=
"overlay"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
>
<a-menu-item
key=
"1"
>
<a
style=
"color: #1890ff"
@
click=
"handleUpload"
>
批量导入
</a>
<a
style=
"color: #1890ff"
@
click=
"handleUpload"
>
批量导入
</a>
<!--
<a-button
type=
"primary"
@
click=
"handleUpload"
class=
"btn_to"
>
批量导入
</a-button
>
-->
</a-menu-item>
</a-menu-item>
<a-menu-item
key=
"2"
>
<a-menu-item
key=
"2"
>
<a
style=
"color: #1890ff"
@
click=
"handleDownload"
>
模板下载
</a>
<a
style=
"color: #1890ff"
@
click=
"handleDownload"
>
模板下载
</a>
...
@@ -539,8 +536,11 @@ export default {
...
@@ -539,8 +536,11 @@ export default {
}
}
.person_chang {
.person_chang {
width: 100%;
width: 100%;
margin-top: 15px;
margin-top: 15px;
display: flex;
.ant-radio-button-wrapper {
margin-bottom: 6px;
}
}
}
.btn_add {
.btn_add {
width: 80px;
width: 80px;
...
@@ -582,6 +582,7 @@ export default {
...
@@ -582,6 +582,7 @@ export default {
}
}
div.person_gruop1 {
div.person_gruop1 {
display: inline;
display: inline;
flex: 1;
}
}
div.person_gruop {
div.person_gruop {
display: inline;
display: inline;
...
@@ -591,6 +592,7 @@ export default {
...
@@ -591,6 +592,7 @@ export default {
}
}
div.person_window1 {
div.person_window1 {
display: inline;
display: inline;
flex: 1;
}
}
.btn_seek {
.btn_seek {
width: 278px;
width: 278px;
...
...
portal-manager-ui/admin/package.json
View file @
70add786
...
@@ -39,6 +39,6 @@
...
@@ -39,6 +39,6 @@
"browserslist"
:
[
"browserslist"
:
[
"> 1%"
,
"> 1%"
,
"last 2 versions"
,
"last 2 versions"
,
"not
dead
"
"not
ie < 11
"
]
]
}
}
portal-manager-ui/admin/src/views/siteArrange/siteArrange.vue
View file @
70add786
...
@@ -52,14 +52,21 @@ export default {
...
@@ -52,14 +52,21 @@ export default {
let
res
=
await
appsListInterface
({
siteId
:
this
.
siteId
});
let
res
=
await
appsListInterface
({
siteId
:
this
.
siteId
});
let
{
data
}
=
res
.
data
;
let
{
data
}
=
res
.
data
;
this
.
siteModelList
=
data
;
this
.
siteModelList
=
data
;
console
.
log
(
data
);
},
},
openWindow
(
href
)
{
openWindow
(
href
)
{
let
token
=
Storage
.
get
(
2
,
"
Authorization
"
);
let
token
=
Storage
.
get
(
2
,
"
Authorization
"
);
let
siteid
=
Storage
.
get
(
2
,
"
siteId
"
);
let
siteid
=
Storage
.
get
(
2
,
"
siteId
"
);
let
reg
=
/^
((
https|http|ftp|rtsp|mms
)?
:
\/\/)[^\s]
+/
;
let
reg
=
/^
((
https|http|ftp|rtsp|mms
)?
:
\/\/)[^\s]
+/
;
let
info
=
Storage
.
get
(
2
,
"
userInfo
"
);
let
userInfo
=
JSON
.
stringify
({
id
:
info
.
id
,
name
:
info
.
loginName
,
});
if
(
reg
.
test
(
href
))
{
if
(
reg
.
test
(
href
))
{
window
.
open
(
`
${
href
}
?token=
${
token
}
&siteid=
${
siteid
}
`
,
"
_blank
"
);
window
.
open
(
`
${
href
}
?token=
${
token
}
&siteid=
${
siteid
}
&userInfo=
${
userInfo
}
`
,
"
_blank
"
);
}
}
},
},
},
},
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/components/EditPwd.vue
View file @
70add786
...
@@ -98,7 +98,7 @@ export default {
...
@@ -98,7 +98,7 @@ export default {
this
.
$refs
.
formData
.
validate
(
async
(
valid
)
=>
{
this
.
$refs
.
formData
.
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
let
res
=
await
editPassword
(
this
.
form
);
let
res
=
await
editPassword
(
this
.
form
);
if
(
res
.
data
.
code
===
1
)
{
if
(
res
.
code
===
1
)
{
this
.
$message
.
success
(
"
密码修改成功
"
);
this
.
$message
.
success
(
"
密码修改成功
"
);
this
.
handleClose
();
this
.
handleClose
();
}
}
...
...
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