Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Wecube Platform
Commits
951ecf4f
Commit
951ecf4f
authored
4 years ago
by
pobu168
Browse files
Options
Download
Email Patches
Plain Diff
#2000 Cache code
parent
d322b8de
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
wecube-portal/src/pages/implementation/batch-execution copy.vue
+1484
-0
...-portal/src/pages/implementation/batch-execution copy.vue
wecube-portal/src/pages/implementation/batch-execution.vue
+19
-5
wecube-portal/src/pages/implementation/batch-execution.vue
with
1503 additions
and
5 deletions
+1503
-5
wecube-portal/src/pages/implementation/batch-execution copy.vue
0 → 100644
+
1484
-
0
View file @
951ecf4f
This diff is collapsed.
Click to expand it.
wecube-portal/src/pages/implementation/batch-execution.vue
+
19
-
5
View file @
951ecf4f
...
...
@@ -236,6 +236,7 @@
<Modal
v-model=
"operaModal"
:mask-closable=
"false"
:title=
"$t('bc_operation')"
:width=
"1000"
class=
"opera-modal"
>
<div
style=
"height:400px;"
>
<!-- 设置查询参数-开始 -->
<section
v-if=
"displaySearchZone"
class=
"search"
>
<Form
:label-width=
"130"
label-colon
>
<FormItem
:rules=
"
{ required: true }" :show-message="false" :label="$t('bc_query_path')">
...
...
@@ -248,7 +249,6 @@
</FormItem>
<FormItem
:label=
"$t('bc_target_type')"
>
<Input
disabled
:value=
"currentPackageName + ':' + currentEntityName"
></Input>
<!--
<span
v-if=
"currentPackageName"
></span>
-->
</FormItem>
<FormItem
:rules=
"
{ required: true }" :show-message="false" :label="$t('bc_primary_key')">
<Select
filterable
v-model=
"currentEntityAttr"
>
...
...
@@ -309,6 +309,9 @@
</FormItem>
</Form>
</section>
<!-- 设置查询参数-结束 -->
<!-- 选择执行对象-开始 -->
<section
v-if=
"displayResultTableZone"
class=
"search-result-table"
style=
"margin-top:20px;"
>
<div
style=
"margin-bottom:8px"
>
<Input
v-model=
"filterTableParams"
:placeholder=
"$t('enter_search_keywords')"
style=
"width: 300px"
/>
...
...
@@ -332,12 +335,11 @@
></Table>
</div>
</Card>
<!--
<a
v-else
@
click=
"reExcute('displayResultTableZone')"
>
{{
$t
(
'
bc_find
'
)
}}
{{
tableData
.
length
}}
{{
$t
(
'
bc_instance
'
)
}}
,
{{
$t
(
'
bc_selected
'
)
}}{{
seletedRowsNum
}}{{
$t
(
'
bc_item
'
)
}}
,
{{
$t
(
'
full_word_exec
'
)
}}{{
pluginId
}}
</a>
-->
</div>
</section>
<!-- 选择执行对象-结束 -->
<!-- 选择插件配置参数-开始 -->
<section
v-if=
"batchActionModalVisible"
>
<Form
label-position=
"right"
:label-width=
"150"
>
<FormItem
:label=
"$t('plugin')"
:rules=
"
{ required: true }" :show-message="false">
...
...
@@ -357,6 +359,9 @@
</div>
</Form>
</section>
<!-- 选择插件配置参数-结束 -->
<!-- 补充参数-开始 -->
<section
v-if=
"setPluginParamsModal"
>
<Form
label-position=
"right"
:label-width=
"150"
v-if=
"!!activeExecuteHistory.plugin"
>
<
template
v-for=
"(item, index) in activeExecuteHistory.plugin.pluginParams"
>
...
...
@@ -367,6 +372,7 @@
</
template
>
</Form>
</section>
<!-- 补充参数-结束 -->
</div>
<div
slot=
"footer"
>
<!-- 查询table数据 -->
...
...
@@ -1346,8 +1352,15 @@ export default {
this
.
displaySearchZone
=
false
this
.
displayResultTableZone
=
false
this
.
batchActionModalVisible
=
false
this
.
clearComplementParams
()
this
.
setPluginParamsModal
=
true
this
.
operaModal
=
true
},
clearComplementParams
()
{
console
.
log
(
this
.
activeExecuteHistory
.
plugin
.
pluginParams
)
this
.
activeExecuteHistory
.
plugin
.
pluginParams
.
forEach
(
item
=>
{
item
.
bindValue
=
''
})
}
},
components
:
{
...
...
@@ -1442,6 +1455,7 @@ pre {
padding
:
4px
16px
;
cursor
:
pointer
;
color
:
#19be6b
;
word-break
:
break-all
;
}
.active-key
{
background
:
#e5e2e2
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help