Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
曾琪
/
tFIMS
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5b0e7f0e
authored
Sep 19, 2019
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
642e0f73
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
17 deletions
.env
src/api/sys.account.js
src/api/sys.base.js
src/common/constants.js
src/layout/header-aside/components/header-user/index.vue
src/store/modules/d2admin/modules/base.js
src/views/deviceManagement/index.vue
.env
View file @
5b0e7f0
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
# 页面 title 前缀
# 页面 title 前缀
VUE_APP_TITLE=tFIMS
VUE_APP_TITLE=tFIMS
# 网络请求公用地址
# 网络请求公用地址
http://tfims.glsx.com.cn/router
VUE_APP_API=http://tfims.test.glsx.com.cn/router
VUE_APP_API=http://tfims.test.glsx.com.cn/router
# 仓库地址
# 仓库地址
VUE_APP_REPO=http://192.168.3.171:7300/mock/5d638b3b6fbe9a0ac59d872e/tFIMS
VUE_APP_REPO=http://192.168.3.171:7300/mock/5d638b3b6fbe9a0ac59d872e/tFIMS
...
...
src/api/sys.account.js
View file @
5b0e7f0
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: limin
* @Author: limin
* @Date: 2019-08-26 18:02:55
* @Date: 2019-08-26 18:02:55
* @Last Modified by: limin
* @Last Modified by: limin
* @Last Modified time: 2019-09-1
1 19:09:21
* @Last Modified time: 2019-09-1
8 20:06:38
*/
*/
import
request
from
'./request'
import
request
from
'./request'
...
...
src/api/sys.base.js
View file @
5b0e7f0
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: limin
* @Author: limin
* @Date: 2019-08-26 18:02:55
* @Date: 2019-08-26 18:02:55
* @Last Modified by: limin
* @Last Modified by: limin
* @Last Modified time: 2019-09-1
1 19:09:15
* @Last Modified time: 2019-09-1
8 20:06:29
*/
*/
import
request
from
'./request'
import
request
from
'./request'
...
...
src/common/constants.js
View file @
5b0e7f0
...
@@ -2,11 +2,11 @@
...
@@ -2,11 +2,11 @@
* @Author: limin
* @Author: limin
* @Date: 2019-09-01 19:06:01
* @Date: 2019-09-01 19:06:01
* @Last Modified by: limin
* @Last Modified by: limin
* @Last Modified time: 2019-09-1
1 19:09:01
* @Last Modified time: 2019-09-1
8 20:07:42
*/
*/
import
{
LOGIN_URL
,
REG_URL
,
ROLE_LIST_URL
}
from
'@/api/sys.account'
//
import { LOGIN_URL, REG_URL, ROLE_LIST_URL } from '@/api/sys.account'
import
{
BASE_DATA_URL
}
from
'@/api/sys.base'
//
import { BASE_DATA_URL } from '@/api/sys.base'
export
const
TYPE_NAME
=
'confType'
export
const
TYPE_NAME
=
'confType'
/**
/**
...
@@ -38,10 +38,10 @@ export const RegistType = {
...
@@ -38,10 +38,10 @@ export const RegistType = {
* 前端免登录验证接口名
* 前端免登录验证接口名
*/
*/
export
const
LogExternals
=
[
export
const
LogExternals
=
[
LOGIN_URL
,
// 登录
'fims.user.login'
,
// 登录
REG_URL
,
// 注册
'fims.user.register'
,
// 注册
BASE_DATA_URL
,
// 基础数据
'fims.configuration.from.conftype'
,
// 基础数据
ROLE_LIST_URL
// 角色列表
'fims.role.list'
// 角色列表
]
]
/**
/**
* 登录来源
* 登录来源
...
...
src/layout/header-aside/components/header-user/index.vue
View file @
5b0e7f0
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<
/template
>
<
/template
>
<
script
>
<
script
>
import
{
mapState
,
mapActions
}
from
'vuex'
import
{
mapState
}
from
'vuex'
import
PersonalPanel
from
'../personal-panel'
import
PersonalPanel
from
'../personal-panel'
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -31,9 +31,6 @@ export default {
...
@@ -31,9 +31,6 @@ export default {
}
,
}
,
computed
:
{
computed
:
{
...
mapState
(
'd2admin/user'
,
[
'info'
])
...
mapState
(
'd2admin/user'
,
[
'info'
])
}
,
methods
:
{
...
mapActions
(
'd2admin/account'
,
[
'logout'
])
}
}
}
}
<
/script
>
<
/script
>
...
...
src/store/modules/d2admin/modules/base.js
View file @
5b0e7f0
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: limin
* @Author: limin
* @Date: 2019-09-01 17:56:57
* @Date: 2019-09-01 17:56:57
* @Last Modified by: limin
* @Last Modified by: limin
* @Last Modified time: 2019-09-18 1
6:29:54
* @Last Modified time: 2019-09-18 1
9:29:01
*/
*/
import
{
FetchRoleList
,
BaseDataApi
}
from
'@/api/sys.base'
import
{
FetchRoleList
,
BaseDataApi
}
from
'@/api/sys.base'
...
@@ -111,7 +111,7 @@ export default {
...
@@ -111,7 +111,7 @@ export default {
const
value
=
await
dispatch
(
'd2admin/db/get'
,
{
const
value
=
await
dispatch
(
'd2admin/db/get'
,
{
dbName
:
'database'
,
dbName
:
'database'
,
path
,
path
,
user
:
tru
e
user
:
fals
e
},
{
root
:
true
})
},
{
root
:
true
})
resolve
(
value
)
resolve
(
value
)
})
})
...
@@ -128,7 +128,7 @@ export default {
...
@@ -128,7 +128,7 @@ export default {
dbName
:
'database'
,
dbName
:
'database'
,
path
:
name
?
`base.
${
name
}
`
:
'base'
,
path
:
name
?
`base.
${
name
}
`
:
'base'
,
value
,
value
,
user
:
tru
e
user
:
fals
e
},
{
root
:
true
})
},
{
root
:
true
})
resolve
(
value
)
resolve
(
value
)
})
})
...
...
src/views/deviceManagement/index.vue
View file @
5b0e7f0
...
@@ -325,6 +325,7 @@ export default {
...
@@ -325,6 +325,7 @@ export default {
}
else
{
}
else
{
notice
.
okTips
(
'本次导入结果:全部成功!'
)
notice
.
okTips
(
'本次导入结果:全部成功!'
)
}
}
this
.
getList
()
document
.
getElementById
(
'fileUpload'
).
value
=
null
document
.
getElementById
(
'fileUpload'
).
value
=
null
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment