Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-Mob-R7-Res
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-Mob-R7-Res
提交
a819a3fe
提交
a819a3fe
编写于
9月 07, 2020
作者:
zhujiamin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
多语言 组件i18n国际化支持 --fix1
上级
41afcf10
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
9 行增加
和
9 行删除
+9
-9
app-mob-picker.vue
src/components/app-mob-picker/app-mob-picker.vue
+4
-4
app-mob-picture.vue
src/components/app-mob-picture/app-mob-picture.vue
+2
-2
app-mob-recorder.vue
src/components/app-mob-recorder/app-mob-recorder.vue
+1
-1
login.vue
src/components/login/login.vue
+2
-2
未找到文件。
src/components/app-mob-picker/app-mob-picker.vue
浏览文件 @
a819a3fe
...
@@ -354,7 +354,7 @@ export default class AppPicker extends Vue {
...
@@ -354,7 +354,7 @@ export default class AppPicker extends Vue {
if
(
entityService
&&
entityService
[
_interfaceName
]
&&
entityService
[
_interfaceName
]
instanceof
Function
)
{
if
(
entityService
&&
entityService
[
_interfaceName
]
&&
entityService
[
_interfaceName
]
instanceof
Function
)
{
entityService
[
_interfaceName
](
_context
,
_param
).
then
((
response
:
any
)
=>
{
entityService
[
_interfaceName
](
_context
,
_param
).
then
((
response
:
any
)
=>
{
if
(
!
response
)
{
if
(
!
response
)
{
this
.
$notify
({
type
:
'danger'
,
message
:
this
.
$t
(
"requestException"
)
+
""
})
this
.
$notify
({
type
:
'danger'
,
message
:
`
${
this
.
$t
(
"requestException"
)}
`
})
}
else
{
}
else
{
this
.
items
=
[...
response
.
data
];
this
.
items
=
[...
response
.
data
];
}
}
...
@@ -551,7 +551,7 @@ export default class AppPicker extends Vue {
...
@@ -551,7 +551,7 @@ export default class AppPicker extends Vue {
private
openRedirectView
(
$event
:
any
,
view
:
any
,
data
:
any
):
void
{
private
openRedirectView
(
$event
:
any
,
view
:
any
,
data
:
any
):
void
{
this
.
$http
.
get
(
view
.
url
,
data
).
then
((
response
:
any
)
=>
{
this
.
$http
.
get
(
view
.
url
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
this
.
$notify
({
type
:
'danger'
,
message
:
this
.
$t
(
"requestException"
)
+
""
});
this
.
$notify
({
type
:
'danger'
,
message
:
`
${
this
.
$t
(
"requestException"
)}
`
});
}
}
if
(
response
.
status
===
401
)
{
if
(
response
.
status
===
401
)
{
return
;
return
;
...
@@ -603,7 +603,7 @@ export default class AppPicker extends Vue {
...
@@ -603,7 +603,7 @@ export default class AppPicker extends Vue {
}
}
}).
catch
((
response
:
any
)
=>
{
}).
catch
((
response
:
any
)
=>
{
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$notify
({
type
:
'danger'
,
message
:
this
.
$t
(
'systemIsAbnormal'
)
+
""
});
this
.
$notify
({
type
:
'danger'
,
message
:
`
${
this
.
$t
(
'systemIsAbnormal'
)}
`
});
return
;
return
;
}
}
if
(
response
.
status
===
401
)
{
if
(
response
.
status
===
401
)
{
...
@@ -622,7 +622,7 @@ export default class AppPicker extends Vue {
...
@@ -622,7 +622,7 @@ export default class AppPicker extends Vue {
return
;
return
;
}
}
if
(
!
this
.
data
||
!
this
.
valueitem
||
!
this
.
data
[
this
.
valueitem
])
{
if
(
!
this
.
data
||
!
this
.
valueitem
||
!
this
.
data
[
this
.
valueitem
])
{
this
.
$notify
({
type
:
'danger'
,
message
:
this
.
$t
(
'valueItemIsAbnormal'
)
+
""
});
this
.
$notify
({
type
:
'danger'
,
message
:
`
${
this
.
$t
(
'valueItemIsAbnormal'
)}
`
});
return
;
return
;
}
}
// 公共参数处理
// 公共参数处理
...
...
src/components/app-mob-picture/app-mob-picture.vue
浏览文件 @
a819a3fe
...
@@ -130,7 +130,7 @@ export default class AppMobPicture extends Vue {
...
@@ -130,7 +130,7 @@ export default class AppMobPicture extends Vue {
public
beforeRead
(
file
:
any
,
detail
:
any
):
boolean
{
public
beforeRead
(
file
:
any
,
detail
:
any
):
boolean
{
this
.
dataProcess
();
this
.
dataProcess
();
if
(
file
&&
Array
.
isArray
(
file
))
{
if
(
file
&&
Array
.
isArray
(
file
))
{
this
.
$notify
({
type
:
'warning'
,
message
:
this
.
$t
(
'one_doc'
)
+
''
});
this
.
$notify
({
type
:
'warning'
,
message
:
`
${
this
.
$t
(
'one_doc'
)}
`
});
return
false
;
return
false
;
}
}
return
true
;
return
true
;
...
@@ -475,7 +475,7 @@ export default class AppMobPicture extends Vue {
...
@@ -475,7 +475,7 @@ export default class AppMobPicture extends Vue {
* @memberof AppMobPicture
* @memberof AppMobPicture
*/
*/
public
onError
(
error
:
any
,
file
:
any
,
fileList
:
any
)
{
public
onError
(
error
:
any
,
file
:
any
,
fileList
:
any
)
{
this
.
$notify
({
type
:
'danger'
,
message
:
this
.
$t
(
'upload_failed'
)
+
''
});
this
.
$notify
({
type
:
'danger'
,
message
:
`
${
this
.
$t
(
'upload_failed'
)}
`
});
}
}
/**
/**
...
...
src/components/app-mob-recorder/app-mob-recorder.vue
浏览文件 @
a819a3fe
...
@@ -641,7 +641,7 @@ export default class AppMobRecorder extends Vue {
...
@@ -641,7 +641,7 @@ export default class AppMobRecorder extends Vue {
* @memberof AppMobRecorder
* @memberof AppMobRecorder
*/
*/
public
onError
(
error
:
any
,
file
:
any
,
fileList
:
any
)
{
public
onError
(
error
:
any
,
file
:
any
,
fileList
:
any
)
{
this
.
$notify
({
type
:
'danger'
,
message
:
this
.
$t
(
'uploadfailed'
)
+
''
});
this
.
$notify
({
type
:
'danger'
,
message
:
`
${
this
.
$t
(
'uploadfailed'
)}
`
});
}
}
/**
/**
...
...
src/components/login/login.vue
浏览文件 @
a819a3fe
...
@@ -114,7 +114,7 @@ export default class Login extends Vue {
...
@@ -114,7 +114,7 @@ export default class Login extends Vue {
public
async
thirdLogin
(){
public
async
thirdLogin
(){
let
loginStatus
:
any
=
await
this
.
thirdPartyService
.
login
();
let
loginStatus
:
any
=
await
this
.
thirdPartyService
.
login
();
if
(
!
loginStatus
.
issuccess
){
if
(
!
loginStatus
.
issuccess
){
this
.
$notice
.
error
(
loginStatus
.
message
?
loginStatus
.
message
:
this
.
$t
(
'dingdingfailed'
)
+
''
);
this
.
$notice
.
error
(
loginStatus
.
message
?
loginStatus
.
message
:
`
${
this
.
$t
(
'dingdingfailed'
)}
`
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
thirdPartyService
.
close
();
this
.
thirdPartyService
.
close
();
},
1500
);
},
1500
);
...
@@ -185,7 +185,7 @@ export default class Login extends Vue {
...
@@ -185,7 +185,7 @@ export default class Login extends Vue {
}
}
}).
catch
((
error
:
any
)
=>
{
}).
catch
((
error
:
any
)
=>
{
this
.
isLoadding
=
false
;
this
.
isLoadding
=
false
;
this
.
$notice
.
error
(
error
?
error
.
error
.
message
:
this
.
$t
(
'badlogin'
)
+
''
);
this
.
$notice
.
error
(
error
?
error
.
error
.
message
:
`
${
this
.
$t
(
'badlogin'
)}
`
);
});
});
}
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录