Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
saas-dml
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
saas-dml
Commits
68fd12c1
提交
68fd12c1
authored
5月 30, 2024
作者:
lhh
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
商城链接相关开发
上级
1d45dc84
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
32 行增加
和
5 行删除
+32
-5
FormDialog.vue
src/modules/connect/components/FormDialog.vue
+6
-0
Index.vue
src/modules/connect/views/Index.vue
+3
-0
View.vue
src/modules/connect/views/View.vue
+17
-0
FieldDialog.vue
src/modules/metadata/event/components/FieldDialog.vue
+3
-3
types.ts
src/modules/metadata/event/types.ts
+1
-0
Index.vue
src/modules/metadata/event/views/Index.vue
+2
-2
没有找到文件。
src/modules/connect/components/FormDialog.vue
浏览文件 @
68fd12c1
...
@@ -149,6 +149,12 @@ const platformList: PlatformItem[] = [
...
@@ -149,6 +149,12 @@ const platformList: PlatformItem[] = [
}
}
return
true
return
true
}
}
},
{
type
:
'15'
,
type_name
:
'紫荆商城'
,
icon
:
'100'
,
config_attributes
:
[{
label
:
'连接名称'
,
prop
:
'name'
,
value
:
'紫荆商城'
}]
}
}
]
]
...
...
src/modules/connect/views/Index.vue
浏览文件 @
68fd12c1
...
@@ -179,4 +179,7 @@ const handleStudentFollow = function (experimentId: string, id: string, type: st
...
@@ -179,4 +179,7 @@ const handleStudentFollow = function (experimentId: string, id: string, type: st
margin-right
:
10px
;
margin-right
:
10px
;
}
}
}
}
.connect-item
{
min-height
:
166px
;
}
</
style
>
</
style
>
src/modules/connect/views/View.vue
浏览文件 @
68fd12c1
...
@@ -514,6 +514,23 @@ const platformList = [
...
@@ -514,6 +514,23 @@ const platformList = [
type
:
14
,
type
:
14
,
type_name
:
'小程序'
,
type_name
:
'小程序'
,
data
:
[]
data
:
[]
},
{
type
:
15
,
type_name
:
'紫荆商城'
,
data
:
[
{
title
:
''
,
children
:
[
{
title
:
'访问紫荆商城'
,
onClick
()
{
window
.
open
(
'https://www.macrozheng.com/app/#/'
)
}
}
]
}
]
}
}
]
]
...
...
src/modules/metadata/event/components/FieldDialog.vue
浏览文件 @
68fd12c1
...
@@ -131,7 +131,7 @@ const popoverText = function (row: any) {
...
@@ -131,7 +131,7 @@ const popoverText = function (row: any) {
<template
#
header
>
<template
#
header
>
<div
class=
"card-header"
>
<div
class=
"card-header"
>
<span>
事件属性字段
</span>
<span>
事件属性字段
</span>
<el-button
type=
"primary"
@
click=
"addField"
>
添加
</el-button>
<el-button
type=
"primary"
@
click=
"addField"
:disabled=
"props.data?.can_edit === '0'"
>
添加
</el-button>
</div>
</div>
</
template
>
</
template
>
<el-table
:data=
"tableData"
style=
"width: 100%"
>
<el-table
:data=
"tableData"
style=
"width: 100%"
>
...
@@ -198,7 +198,7 @@ const popoverText = function (row: any) {
...
@@ -198,7 +198,7 @@ const popoverText = function (row: any) {
</el-popover>
</el-popover>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
width=
"30"
>
<el-table-column
width=
"30"
v-if=
"props.data?.can_edit !== '0'"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<div
@
click=
"deleteField(scope)"
style=
"display: flex; justify-content: center; cursor: pointer"
>
<div
@
click=
"deleteField(scope)"
style=
"display: flex; justify-content: center; cursor: pointer"
>
<el-icon
size=
"20"
><Close
/></el-icon>
<el-icon
size=
"20"
><Close
/></el-icon>
...
@@ -210,7 +210,7 @@ const popoverText = function (row: any) {
...
@@ -210,7 +210,7 @@ const popoverText = function (row: any) {
<
template
#
footer
>
<
template
#
footer
>
<el-row
justify=
"center"
>
<el-row
justify=
"center"
>
<el-button
round
auto-insert-space
@
click=
"$emit('update:modelValue', false)"
>
关闭
</el-button>
<el-button
round
auto-insert-space
@
click=
"$emit('update:modelValue', false)"
>
关闭
</el-button>
<el-button
type=
"primary"
round
auto-insert-space
@
click=
"handleSubmit"
>
保存
</el-button>
<el-button
type=
"primary"
round
auto-insert-space
@
click=
"handleSubmit"
v-if=
"props.data?.can_edit !== '0'"
>
保存
</el-button>
</el-row>
</el-row>
</
template
>
</
template
>
</el-dialog>
</el-dialog>
...
...
src/modules/metadata/event/types.ts
浏览文件 @
68fd12c1
...
@@ -8,6 +8,7 @@ export interface EventProp {
...
@@ -8,6 +8,7 @@ export interface EventProp {
status_name
:
string
status_name
:
string
updated_operator_name
:
string
updated_operator_name
:
string
updated_time
:
string
updated_time
:
string
can_edit
:
string
}
}
export
interface
ConnectionOptionProp
{
type_name
:
string
;
id
:
string
}
export
interface
ConnectionOptionProp
{
type_name
:
string
;
id
:
string
}
...
...
src/modules/metadata/event/views/Index.vue
浏览文件 @
68fd12c1
...
@@ -122,8 +122,8 @@ const handleField = function (row: EventProp) {
...
@@ -122,8 +122,8 @@ const handleField = function (row: EventProp) {
</
template
>
</
template
>
<
template
#
table-x=
"{ row }"
>
<
template
#
table-x=
"{ row }"
>
<el-button
type=
"primary"
plain
@
click=
"handleView(row)"
>
查看
</el-button>
<el-button
type=
"primary"
plain
@
click=
"handleView(row)"
>
查看
</el-button>
<el-button
type=
"primary"
plain
@
click=
"handleUpdate(row)"
>
编辑
</el-button>
<el-button
type=
"primary"
plain
@
click=
"handleUpdate(row)"
:disabled=
"row?.can_edit === '0'"
>
编辑
</el-button>
<el-button
type=
"primary"
plain
@
click=
"handleRemove(row)"
>
删除
</el-button>
<el-button
type=
"primary"
plain
@
click=
"handleRemove(row)"
:disabled=
"row?.can_edit === '0'"
>
删除
</el-button>
<el-button
type=
"primary"
plain
@
click=
"handleField(row)"
>
字段
</el-button>
<el-button
type=
"primary"
plain
@
click=
"handleField(row)"
>
字段
</el-button>
</
template
>
</
template
>
</AppList>
</AppList>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论