Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
0fcef892
Unverified
提交
0fcef892
authored
8月 03, 2021
作者:
fit2cloud-chenyw
提交者:
GitHub
8月 03, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'v1.1' into pr@v1.1@refactor_token过期提示弹框
上级
45f26735
9d2d51b7
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
34 行增加
和
6 行删除
+34
-6
dataset.js
frontend/src/api/dataset/dataset.js
+1
-1
en.js
frontend/src/lang/en.js
+5
-1
tw.js
frontend/src/lang/tw.js
+5
-1
zh.js
frontend/src/lang/zh.js
+5
-1
request.js
frontend/src/utils/request.js
+5
-0
TaskRecord.vue
frontend/src/views/system/task/TaskRecord.vue
+13
-2
没有找到文件。
frontend/src/api/dataset/dataset.js
浏览文件 @
0fcef892
...
@@ -103,7 +103,7 @@ export function batchEdit(data) {
...
@@ -103,7 +103,7 @@ export function batchEdit(data) {
})
})
}
}
export
function
post
(
url
,
data
,
showLoading
=
true
,
timeout
=
1
0000
)
{
export
function
post
(
url
,
data
,
showLoading
=
true
,
timeout
=
2
0000
)
{
return
request
({
return
request
({
url
:
url
,
url
:
url
,
method
:
'post'
,
method
:
'post'
,
...
...
frontend/src/lang/en.js
浏览文件 @
0fcef892
...
@@ -127,7 +127,11 @@ export default {
...
@@ -127,7 +127,11 @@ export default {
tokenError
:
'Token error, please login again'
,
tokenError
:
'Token error, please login again'
,
username_error
:
'Please enter the correct ID'
,
username_error
:
'Please enter the correct ID'
,
password_error
:
'The password can not be less than 8 digits'
,
password_error
:
'The password can not be less than 8 digits'
,
login_again
:
'Login again'
login_again
:
'Login again'
,
re_login
:
'Login again'
},
},
commons
:
{
commons
:
{
no_target_permission
:
'No permission'
,
no_target_permission
:
'No permission'
,
...
...
frontend/src/lang/tw.js
浏览文件 @
0fcef892
...
@@ -127,7 +127,11 @@ export default {
...
@@ -127,7 +127,11 @@ export default {
tokenError
:
'信息錯誤,請重新登錄'
,
tokenError
:
'信息錯誤,請重新登錄'
,
username_error
:
'請輸入正確的 ID'
,
username_error
:
'請輸入正確的 ID'
,
password_error
:
'密碼不小於 8 位'
,
password_error
:
'密碼不小於 8 位'
,
login_again
:
'重新登錄'
login_again
:
'重新登錄'
,
re_login
:
'重新登陸'
},
},
commons
:
{
commons
:
{
no_target_permission
:
'沒有權限'
,
no_target_permission
:
'沒有權限'
,
...
...
frontend/src/lang/zh.js
浏览文件 @
0fcef892
...
@@ -127,7 +127,11 @@ export default {
...
@@ -127,7 +127,11 @@ export default {
tokenError
:
'登陆信息错误,请重新登录'
,
tokenError
:
'登陆信息错误,请重新登录'
,
username_error
:
'请输入正确的 ID'
,
username_error
:
'请输入正确的 ID'
,
password_error
:
'密码不小于 8 位'
,
password_error
:
'密码不小于 8 位'
,
login_again
:
'重新登录'
login_again
:
'重新登录'
,
re_login
:
'重新登录'
},
},
commons
:
{
commons
:
{
no_target_permission
:
'没有权限'
,
no_target_permission
:
'没有权限'
,
...
...
frontend/src/utils/request.js
浏览文件 @
0fcef892
...
@@ -52,6 +52,10 @@ service.interceptors.request.use(
...
@@ -52,6 +52,10 @@ service.interceptors.request.use(
}
}
)
)
const
defaultOptions
=
{
confirmButtonText
:
i18n
.
t
(
'login.re_login'
)
}
const
checkAuth
=
response
=>
{
const
checkAuth
=
response
=>
{
// 请根据实际需求修改
// 请根据实际需求修改
...
@@ -62,6 +66,7 @@ const checkAuth = response => {
...
@@ -62,6 +66,7 @@ const checkAuth = response => {
store
.
dispatch
(
'user/logout'
).
then
(()
=>
{
store
.
dispatch
(
'user/logout'
).
then
(()
=>
{
location
.
reload
()
location
.
reload
()
})
})
},
{
},
{
confirmButtonText
:
i18n
.
t
(
'login.login_again'
),
confirmButtonText
:
i18n
.
t
(
'login.login_again'
),
showClose
:
false
showClose
:
false
...
...
frontend/src/views/system/task/TaskRecord.vue
浏览文件 @
0fcef892
...
@@ -56,6 +56,7 @@ import ComplexTable from '@/components/business/complex-table'
...
@@ -56,6 +56,7 @@ import ComplexTable from '@/components/business/complex-table'
import
{
formatCondition
,
formatQuickCondition
,
addOrder
,
formatOrders
}
from
'@/utils/index'
import
{
formatCondition
,
formatQuickCondition
,
addOrder
,
formatOrders
}
from
'@/utils/index'
import
'@riophae/vue-treeselect/dist/vue-treeselect.css'
import
'@riophae/vue-treeselect/dist/vue-treeselect.css'
import
{
post
}
from
'@/api/dataset/dataset'
import
{
post
}
from
'@/api/dataset/dataset'
import
{
loadMenus
}
from
"@/permission"
;
export
default
{
export
default
{
name
:
'TaskRecord'
,
name
:
'TaskRecord'
,
...
@@ -116,7 +117,8 @@ export default {
...
@@ -116,7 +117,8 @@ export default {
last_condition
:
null
,
last_condition
:
null
,
show_error_massage
:
false
,
show_error_massage
:
false
,
error_massage
:
''
,
error_massage
:
''
,
matchLogId
:
null
matchLogId
:
null
,
lastRequestComplete
:
true
}
}
},
},
computed
:
{
computed
:
{
...
@@ -139,7 +141,7 @@ export default {
...
@@ -139,7 +141,7 @@ export default {
if
(
!
this
.
timer
)
{
if
(
!
this
.
timer
)
{
this
.
timer
=
setInterval
(()
=>
{
this
.
timer
=
setInterval
(()
=>
{
this
.
search
(
this
.
last_condition
,
false
)
this
.
search
(
this
.
last_condition
,
false
)
},
1000
0
)
},
1000
)
}
}
},
},
destroyTimer
()
{
destroyTimer
()
{
...
@@ -167,6 +169,12 @@ export default {
...
@@ -167,6 +169,12 @@ export default {
select
(
selection
)
{
select
(
selection
)
{
},
},
search
(
condition
,
showLoading
=
true
)
{
search
(
condition
,
showLoading
=
true
)
{
if
(
!
this
.
lastRequestComplete
){
return
;
}
else
{
this
.
lastRequestComplete
=
false
;
}
this
.
last_condition
=
condition
this
.
last_condition
=
condition
condition
=
formatQuickCondition
(
condition
,
'dataset_table_task.name'
)
condition
=
formatQuickCondition
(
condition
,
'dataset_table_task.name'
)
const
temp
=
formatCondition
(
condition
)
const
temp
=
formatCondition
(
condition
)
...
@@ -175,6 +183,9 @@ export default {
...
@@ -175,6 +183,9 @@ export default {
post
(
'/dataset/taskLog/list/notexcel/'
+
this
.
paginationConfig
.
currentPage
+
'/'
+
this
.
paginationConfig
.
pageSize
,
param
,
showLoading
).
then
(
response
=>
{
post
(
'/dataset/taskLog/list/notexcel/'
+
this
.
paginationConfig
.
currentPage
+
'/'
+
this
.
paginationConfig
.
pageSize
,
param
,
showLoading
).
then
(
response
=>
{
this
.
data
=
response
.
data
.
listObject
this
.
data
=
response
.
data
.
listObject
this
.
paginationConfig
.
total
=
response
.
data
.
itemCount
this
.
paginationConfig
.
total
=
response
.
data
.
itemCount
this
.
lastRequestComplete
=
true
;
}).
catch
(()
=>
{
this
.
lastRequestComplete
=
true
;
})
})
},
},
showErrorMassage
(
massage
)
{
showErrorMassage
(
massage
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论