Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
78344870
提交
78344870
编写于
11月 03, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
acc51616
变更
8
展开全部
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
195 行增加
和
173 行删除
+195
-173
app-login-note-verify.less
...nt/login/app-login-note-verify/app-login-note-verify.less
+6
-3
app-login-note-verify.vue
...ent/login/app-login-note-verify/app-login-note-verify.vue
+151
-132
ibizcustomer-media-test-edit-view-base.vue
...test-edit-view/ibizcustomer-media-test-edit-view-base.vue
+3
-3
app-login-view-base.vue
.../src/pages/ungroup/app-login-view/app-login-view-base.vue
+1
-1
quicksearchform-searchform-base.vue
...searchform-searchform/quicksearchform-searchform-base.vue
+2
-2
usr2-dataview-base.vue
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
+26
-26
sform-form-base.vue
app_Web/src/widgets/ibizorder/sform-form/sform-form-base.vue
+5
-5
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
未找到文件。
app_Web/src/components/layout-element/login/app-login-note-verify/app-login-note-verify.less
浏览文件 @
78344870
...
...
@@ -6,16 +6,19 @@
border: 1px solid #dcdee2;
margin-left: 10px;
color: #606266;
background-color: #fff;
&:hover {
border: 1px solid #dcdee2;
}
&.is-disabled {
background-color: #f5f5f5;
color: #00000040;
}
}
}
.code{
padding-top: 8px;
}
.error {
color: red
;
.
ivu-alert-
error {
background-color: rgb(255, 225, 225)
;
}
}
\ No newline at end of file
app_Web/src/components/layout-element/login/app-login-note-verify/app-login-note-verify.vue
浏览文件 @
78344870
<
template
>
<div
class=
"app-login-note-verify
"
>
<div
:class=
"[model.sysCss, 'app-login-note-verify']"
:style=
"containerStyle
"
>
<div
class=
"content"
>
<i-input
size=
"default"
...
...
@@ -8,15 +8,12 @@
:placeholder=
"$t('components.login.phoneplaceholder')"
@
on-blur=
"veriPhoneNumber"
></i-input>
<el-button
:disabled=
"disabled"
size=
"mini"
type=
"primary"
@
click=
"getVeriCode()"
>
{{
disabled
?
`${countDown
}
s ${$t('components.login.getcodeafter')
}
`
:
`${$t('components.login.getcode')
}
`
}}
<
/el-butto
n
>
<el-button
:disabled=
"disabled"
size=
"mini"
@
click=
"getVeriCode()"
>
{{
disabled
?
`${delay
}
s ${$t("components.login.getcodeafter")
}
`
:
`${$t("components.login.getcode")
}
`
}}
<
/el-button
>
<
/div
>
<
div
class
=
"code"
>
<
alert
v
-
show
=
"phoneError"
type
=
"error"
>
电话号码格式错误
<
/alert
>
<
div
class
=
"code"
v
-
show
=
"this.show"
>
<
i
-
input
size
=
"default"
type
=
"text"
...
...
@@ -28,118 +25,140 @@
<
/div
>
<
/template
>
<
script
lang
=
'ts'
>
<
script
lang
=
"ts"
>
import
{
PanelFieldModel
}
from
"@/model/panel-detail"
;
import
{
Vue
,
Component
,
Prop
}
from
"vue-property-decorator"
;
@
Component
({
}
)
export
default
class
AppPresetSmsVerification
extends
Vue
{
export
default
class
AppLoginNoteVerify
extends
Vue
{
/**
* 模型
*
* @type {string
}
* @memberof AppLoginInput
*/
@
Prop
()
public
model
!
:
PanelFieldModel
;
/**
*验证码
值
*
值
*
* @type {string
}
* @memberof AppPresetSmsVerification
* @memberof AppLoginInput
*/
@
Prop
()
public
value
!
:
string
;
/**
* 名称
*
* @type {string
}
* @memberof AppLoginInput
*/
@
Prop
()
public
name
!
:
string
;
/**
*验证码当前值
*
* @type {string
}
* @memberof AppPresetSmsVerification
* @memberof AppLoginNoteVerify
*/
get
currentValue
():
string
{
return
this
.
value
;
}
/**
* 手机号
*
* @type {*
}
* @memberof AppPresetSmsVerification
* @memberof AppLoginNoteVerify
*/
public
phoneNumber
:
string
=
''
;
/**
* 倒计时
*
* @type {*
}
* @memberof AppPresetSmsVerification
*/
public
countDown
:
number
=
60
;
public
phoneNumber
:
string
=
""
;
/**
* 错误提示
* @type {*
}
* @memberof AppPresetSmsVerification
* @memberof AppLoginNoteVerify
*/
public
phoneError
=
false
;
/**
* 是否禁用获取验证码按钮
*
* @type {*
}
* @memberof AppPresetSmsVerification
* @type {boolean
}
* @memberof AppLoginNoteVerify
*/
public
disabled
:
boolean
=
false
;
/**
* 定时器
* 显示验证码输入框
*
* @type {*
}
* @memberof AppPresetSmsVerification
* @type {boolean
}
* @memberof AppLoginNoteVerify
*/
public
timer
:
any
;
public
show
:
boolean
=
false
;
/**
* @description 设置倒计时
* @memberof AppPresetSmsVerification
* 延迟
*
* @type {number
}
* @memberof AppLoginNoteVerify
*/
public
setCountDown
()
{
if
(
this
.
countDown
>
0
)
{
this
.
countDown
--
;
}
else
{
this
.
countDown
=
60
;
this
.
disabled
=
false
;
clearInterval
(
this
.
timer
);
}
this
.
$forceUpdate
();
}
public
delay
:
number
=
60
;
/**
* 定时器
*
* @type {any
}
* @memberof AppLoginNoteVerify
*/
public
timer
:
any
=
null
;
/**
* @description 验证码输入变化
* @memberof AppPresetSmsVerification
* @memberof AppLoginNoteVerify
*/
public
codeChange
(
value
:
string
)
{
this
.
$emit
(
"change"
,
value
);
this
.
$emit
(
"valueChange"
,
{
name
:
this
.
name
,
value
:
value
}
);
}
/**
* @description 校验手机号
* @memberof AppPresetSmsVerification
* @memberof AppLoginNoteVerify
*/
public
veriPhoneNumber
():
boolean
{
this
.
phoneError
=
!
/^1
[
3-9
]\d
{9
}
$/
.
test
(
this
.
phoneNumber
);
if
(
this
.
phoneError
)
{
this
.
$emit
(
"error"
,
this
.
$t
(
'components.login.phonefailed'
));
return
this
.
phoneError
;
}
/**
* @description 设置延迟时间
* @memberof AppLoginNoteVerify
*/
public
setDelay
()
{
this
.
timer
=
setInterval
(()
=>
{
if
(
this
.
delay
>
0
)
{
this
.
delay
--
;
}
else
{
this
.
$emit
(
"error"
,
''
);
this
.
delay
=
60
;
this
.
disabled
=
false
;
clearInterval
(
this
.
timer
);
}
return
this
.
phoneError
;
}
,
1000
)
}
/**
* @description 获取验证码
* @memberof AppPresetSmsVerification
* @memberof AppLoginNoteVerify
*/
public
getVeriCode
()
{
if
(
this
.
phoneError
)
return
;
if
(
this
.
phoneError
)
return
;
// todo 获取验证码
this
.
show
=
true
;
this
.
disabled
=
true
;
this
.
setDelay
();
}
}
<
/script
>
<
style
lang
=
'less'
>
<
style
lang
=
"less"
>
@
import
"./app-login-note-verify.less"
;
<
/style
>
app_Web/src/pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-view-base.vue
浏览文件 @
78344870
...
...
@@ -96,9 +96,9 @@
</
template
>
<
template
#
static_carousel1
>
<span>
轮播图参数:
参数:SA.SRFDA.PS.Core.Res.PSSysImageImpl@3
f134cf5
参数:SA.SRFDA.PS.Core.Res.PSSysImageImpl@
c21892d
参数:SA.SRFDA.PS.Core.Res.PSSysImageImpl@
6db4ef93
参数:SA.SRFDA.PS.Core.Res.PSSysImageImpl@3
6931f1
参数:SA.SRFDA.PS.Core.Res.PSSysImageImpl@
6f4dc6f6
参数:SA.SRFDA.PS.Core.Res.PSSysImageImpl@
5b417990
</span>
<app-rawitem-carousel
type=
"STATIC_CAROUSEL"
...
...
app_Web/src/pages/ungroup/app-login-view/app-login-view-base.vue
浏览文件 @
78344870
...
...
@@ -35,7 +35,7 @@
<app-login-captcha
name=
"auth_captcha1"
:model=
"layoutModelDetails.auth_captcha1"
:value=
"layoutData.auth_captcha1"
@
valueChange=
"handleValueChange"
/>
</
template
>
<
template
#
auth_verificationcode
>
<app-login-note-verify
/>
<app-login-note-verify
name=
"auth_verificationcode"
:model=
"layoutModelDetails.auth_verificationcode"
:value=
"layoutData.auth_verificationcode"
@
valueChange=
"handleValueChange"
/>
</
template
>
<
template
#
auth_loginmsg
>
<app-login-message
name=
"auth_loginmsg"
:model=
"layoutModelDetails.auth_loginmsg"
:value=
"layoutData.auth_loginmsg"
/>
...
...
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
78344870
...
...
@@ -621,7 +621,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -657,7 +657,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
78344870
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/sform-form/sform-form-base.vue
浏览文件 @
78344870
...
...
@@ -1545,7 +1545,7 @@ export default class SFormBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1580,7 +1580,7 @@ export default class SFormBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1642,7 +1642,7 @@ export default class SFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1750,7 +1750,7 @@ export default class SFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1827,7 +1827,7 @@ export default class SFormBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
78344870
...
...
@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-
1
8-7"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-
2
8-7"
>
<createTable
tableName=
"T_IBIZBOOK"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录