Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zentaoatf
提交
96473ec0
Z
zentaoatf
项目概览
易企天创
/
zentaoatf
9 个月 前同步成功
通知
11
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
3
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zentaoatf
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
3
Issue
3
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
96473ec0
编写于
8月 04, 2022
作者:
aaronchen2k2k
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/main'
上级
99960cab
ccd744a4
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
0 addition
and
955 deletion
+0
-955
ui/src/components/LayoutToolbar.vue
ui/src/components/LayoutToolbar.vue
+0
-14
ui/src/views/script/WorkDir.vue
ui/src/views/script/WorkDir.vue
+0
-1
ui/src/views/script/component/tree.vue
ui/src/views/script/component/tree.vue
+0
-824
ui/src/views/script/index.vue
ui/src/views/script/index.vue
+0
-116
未找到文件。
ui/src/components/LayoutToolbar.vue
已删除
100644 → 0
浏览文件 @
99960cab
<
template
>
<Toolbar>
<Button
class=
"rounded pure"
icon=
"panel-left"
:hint=
"t('switch_display_left_side')"
/>
<Button
class=
"rounded pure"
icon=
"panel-bottom"
:hint=
"t('switch_display_bottom_side')"
/>
<Button
class=
"rounded pure"
icon=
"panel-right"
:hint=
"t('switch_display_right_side')"
/>
</Toolbar>
</
template
>
<
script
setup
lang=
"ts"
>
import
Button
from
'
./Button.vue
'
;
import
Toolbar
from
'
./Toolbar.vue
'
;
import
{
useI18n
}
from
"
vue-i18n
"
;
const
{
t
}
=
useI18n
();
</
script
>
ui/src/views/script/WorkDir.vue
浏览文件 @
96473ec0
...
...
@@ -199,7 +199,6 @@ const selectCasesFromReport = async (): Promise<void> => {
getCaseIdsFromReport
(
workspace
,
seq
,
scope
).
then
((
json
)
=>
{
checkedKeys
.
value
=
json
.
data
router
.
push
(
`/script/index`
)
// remove the params of re-test
})
}
selectCasesFromReport
()
...
...
ui/src/views/script/component/tree.vue
已删除
100644 → 0
浏览文件 @
99960cab
此差异已折叠。
点击以展开。
ui/src/views/script/index.vue
已删除
100644 → 0
浏览文件 @
99960cab
<
template
>
<div
class=
"script-main"
>
<div
id=
"main"
>
<div
id=
"left"
>
<ScriptTreePage></ScriptTreePage>
</div>
<div
id=
"splitter-h"
></div>
<div
id=
"right"
>
<ZtfScriptPage
v-if=
"currWorkspace?.type === 'ztf'"
></ZtfScriptPage>
<UnitScriptPage
v-if=
"currWorkspace?.type !== 'ztf'"
></UnitScriptPage>
</div>
</div>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
computed
,
defineComponent
,
onMounted
,
}
from
"
vue
"
;
import
{
useStore
}
from
"
vuex
"
;
import
{
useI18n
}
from
"
vue-i18n
"
;
import
{
ScriptData
}
from
"
./store
"
;
import
{
resizeWidth
}
from
"
@/utils/dom
"
;
import
{
Empty
}
from
"
ant-design-vue
"
;
import
{
ZentaoData
}
from
"
@/store/zentao
"
;
import
ScriptTreePage
from
"
./component/tree.vue
"
;
import
ZtfScriptPage
from
"
./component/ztf.vue
"
import
UnitScriptPage
from
"
./component/unit.vue
"
export
default
defineComponent
({
name
:
'
ScriptListPage
'
,
components
:
{
ScriptTreePage
,
ZtfScriptPage
,
UnitScriptPage
,
},
setup
()
{
const
{
t
}
=
useI18n
();
const
zentaoStore
=
useStore
<
{
Zentao
:
ZentaoData
}
>
();
const
currSite
=
computed
<
any
>
(()
=>
zentaoStore
.
state
.
Zentao
.
currSite
);
const
currProduct
=
computed
<
any
>
(()
=>
zentaoStore
.
state
.
Zentao
.
currProduct
);
const
scriptStore
=
useStore
<
{
Script
:
ScriptData
}
>
();
const
currWorkspace
=
computed
<
any
>
(()
=>
scriptStore
.
state
.
Script
.
currWorkspace
);
onMounted
(()
=>
{
console
.
log
(
'
onMounted
'
)
setTimeout
(()
=>
{
resizeWidth
(
'
main
'
,
'
left
'
,
'
splitter-h
'
,
'
right
'
,
380
,
800
)
},
600
)
})
return
{
t
,
currSite
,
currProduct
,
currWorkspace
,
simpleImage
:
Empty
.
PRESENTED_IMAGE_SIMPLE
,
}
}
})
</
script
>
<
style
lang=
"less"
scoped
>
.script-main {
margin: 0px;
height: 100%;
#main {
height: 100%;
width: 100%;
#left {
float: left;
width: 30%;
height: 100%;
padding: 0;
}
#splitter-h {
float: left;
width: 0px;
border: solid 1px #D0D7DE;
height: 100%;
cursor: ew-resize;
&.active {
border-color: #a9aeb4;
}
}
#right {
float: left;
width: calc(70% - 2px);
height: 100%;
}
}
}
</
style
>
<
style
lang=
"less"
>
.monaco-editor {
padding: 10px 0;
}
</
style
>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录