Commit 5b0e7f0e by liimin

--no commit message

1 parent 642e0f73
......@@ -3,7 +3,7 @@
# 页面 title 前缀
VUE_APP_TITLE=tFIMS
# 网络请求公用地址
# 网络请求公用地址 http://tfims.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
......
......@@ -2,7 +2,7 @@
* @Author: limin
* @Date: 2019-08-26 18:02:55
* @Last Modified by: limin
* @Last Modified time: 2019-09-11 19:09:21
* @Last Modified time: 2019-09-18 20:06:38
*/
import request from './request'
......
......@@ -2,7 +2,7 @@
* @Author: limin
* @Date: 2019-08-26 18:02:55
* @Last Modified by: limin
* @Last Modified time: 2019-09-11 19:09:15
* @Last Modified time: 2019-09-18 20:06:29
*/
import request from './request'
......
......@@ -2,11 +2,11 @@
* @Author: limin
* @Date: 2019-09-01 19:06:01
* @Last Modified by: limin
* @Last Modified time: 2019-09-11 19:09:01
* @Last Modified time: 2019-09-18 20:07:42
*/
import { LOGIN_URL, REG_URL, ROLE_LIST_URL } from '@/api/sys.account'
import { BASE_DATA_URL } from '@/api/sys.base'
// import { LOGIN_URL, REG_URL, ROLE_LIST_URL } from '@/api/sys.account'
// import { BASE_DATA_URL } from '@/api/sys.base'
export const TYPE_NAME = 'confType'
/**
......@@ -38,10 +38,10 @@ export const RegistType = {
* 前端免登录验证接口名
*/
export const LogExternals = [
LOGIN_URL, // 登录
REG_URL, // 注册
BASE_DATA_URL, // 基础数据
ROLE_LIST_URL // 角色列表
'fims.user.login', // 登录
'fims.user.register', // 注册
'fims.configuration.from.conftype', // 基础数据
'fims.role.list' // 角色列表
]
/**
* 登录来源
......
......@@ -20,7 +20,7 @@
</template>
<script>
import { mapState, mapActions } from 'vuex'
import { mapState } from 'vuex'
import PersonalPanel from '../personal-panel'
export default {
components: {
......@@ -31,9 +31,6 @@ export default {
},
computed: {
...mapState('d2admin/user', ['info'])
},
methods: {
...mapActions('d2admin/account', ['logout'])
}
}
</script>
......
......@@ -2,7 +2,7 @@
* @Author: limin
* @Date: 2019-09-01 17:56:57
* @Last Modified by: limin
* @Last Modified time: 2019-09-18 16:29:54
* @Last Modified time: 2019-09-18 19:29:01
*/
import { FetchRoleList, BaseDataApi } from '@/api/sys.base'
......@@ -111,7 +111,7 @@ export default {
const value = await dispatch('d2admin/db/get', {
dbName: 'database',
path,
user: true
user: false
}, { root: true })
resolve(value)
})
......@@ -128,7 +128,7 @@ export default {
dbName: 'database',
path: name ? `base.${name}` : 'base',
value,
user: true
user: false
}, { root: true })
resolve(value)
})
......
......@@ -325,6 +325,7 @@ export default {
} else {
notice.okTips('本次导入结果:全部成功!')
}
this.getList()
document.getElementById('fileUpload').value = null
})
.catch(() => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!