Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
994e0119
提交
994e0119
编写于
2年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
c060f436
变更
5
展开全部
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
49 行增加
和
49 行删除
+49
-49
app-login-third.vue
.../layout-element/login/app-login-third/app-login-third.vue
+19
-19
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
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
view.xml
demo-core/src/main/resources/liquibase/view.xml
+1
-1
未找到文件。
app_Web/src/components/layout-element/login/app-login-third/app-login-third.vue
浏览文件 @
994e0119
...
...
@@ -15,7 +15,7 @@
<
script
lang=
"ts"
>
import
{
Component
,
Vue
}
from
"vue-property-decorator"
;
import
qs
from
"qs"
;
import
*
as
dd
from
"dingtalk-jsapi"
;
//
import * as dd from "dingtalk-jsapi";
import
axios
from
"axios"
;
import
{
Util
}
from
"@/utils"
;
@
Component
({})
...
...
@@ -232,24 +232,24 @@ export default class AppThirdLogin extends Vue {
if
(
corpId
.
indexOf
(
"#"
)
>
-
1
)
{
corpId
=
corpId
.
split
(
"#"
)[
0
];
}
dd
.
runtime
.
permission
.
requestAuthCode
({
corpId
})
.
then
((
res
:
any
)
=>
{
if
(
res
&&
res
.
code
)
{
this
.
getData
(
`/uaa/open/dingtalk/auth/
${
res
.
code
}
`
,
{},
false
,
headers
).
then
((
res
:
any
)
=>
{
if
(
res
.
status
==
200
&&
(
res
.
data
.
token
||
res
.
data
.
user
))
{
resolve
({
state
:
"SUCCESS"
,
data
:
res
.
data
});
}
else
{
resolve
({
state
:
"ERROR"
,
message
:
`
${
res
.
data
.
message
}
`
});
}
});
}
else
{
resolve
({
state
:
"ERROR"
,
message
:
`钉钉用户信息获取失败`
});
}
})
.
catch
((
error
:
any
)
=>
{
resolve
({
state
:
"ERROR"
,
message
:
`钉钉用户信息获取失败`
});
});
//
dd.runtime.permission
//
.requestAuthCode({ corpId })
//
.then((res: any) => {
//
if (res && res.code) {
//
this.getData(`/uaa/open/dingtalk/auth/${res.code}`, {}, false, headers).then((res: any) => {
//
if (res.status == 200 && (res.data.token || res.data.user)) {
//
resolve({ state: "SUCCESS", data: res.data });
//
} else {
//
resolve({ state: "ERROR", message: `${res.data.message}` });
//
}
//
});
//
} else {
//
resolve({ state: "ERROR", message: `钉钉用户信息获取失败` });
//
}
//
})
//
.catch((error: any) => {
//
resolve({ state: "ERROR", message: `钉钉用户信息获取失败` });
//
});
}
else
{
resolve
({
state
:
"ERROR"
,
message
:
`获取企业ID失败`
});
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
994e0119
...
...
@@ -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
}
;
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
994e0119
此差异已折叠。
点击以展开。
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
994e0119
...
...
@@ -278,7 +278,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizcustomer-4
2
-10"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizcustomer-4
6
-10"
>
<createTable
tableName=
"T_IBIZCUSTOMER"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
This diff is collapsed.
Click to expand it.
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
994e0119
...
...
@@ -19,7 +19,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizcustomer-4
2
-4"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizcustomer-4
6
-4"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZCUSTOMER"
>
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
</createView>
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录