Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
ETL-admin
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
莫晓莉
ETL-admin
Commits
7c1522a7
Commit
7c1522a7
authored
May 11, 2021
by
zlr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改下拉默认显示
parent
4240b4ee
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
19 deletions
+17
-19
src/views/job-dialog/homework.vue
+0
-0
src/views/watch/transform.vue
+17
-19
No files found.
src/views/job-dialog/homework.vue
View file @
7c1522a7
This diff is collapsed.
Click to expand it.
src/views/watch/transform.vue
View file @
7c1522a7
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
</div>
</div>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purpleThree"
>
<div
class=
"grid-content bg-purpleThree"
>
<i
class=
"el-icon-circle-close grid-icon"
></i>
<i
class=
"el-icon-circle-close grid-icon"
></i>
<div
class=
"num-content"
>
<div
class=
"num-content"
>
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
@
current-change=
"pageChange"
@
current-change=
"pageChange"
/>
/>
</div>
</div>
<!-- 分页end -->
<!-- 分页end -->
</div>
</div>
</el-card>
</el-card>
...
@@ -146,7 +146,7 @@
...
@@ -146,7 +146,7 @@
{{
transStatusList
[
scope
.
row
.
recordStatus
]
}}
{{
transStatusList
[
scope
.
row
.
recordStatus
]
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop
label=
"操作"
width=
"200"
align=
"center"
>
<el-table-column
prop
label=
"操作"
width=
"200"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
...
@@ -195,9 +195,9 @@
...
@@ -195,9 +195,9 @@
<pre
v-highlightjs=
"logContent"
><code
class=
"java"
/></pre>
<pre
v-highlightjs=
"logContent"
><code
class=
"java"
/></pre>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -350,7 +350,7 @@ export default {
...
@@ -350,7 +350,7 @@ export default {
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
errMsg
)
this
.
$message
.
error
(
res
.
errMsg
)
}
}
});
});
},
},
// 获取总列表
// 获取总列表
...
@@ -361,7 +361,7 @@ export default {
...
@@ -361,7 +361,7 @@ export default {
if
(
res
.
success
){
if
(
res
.
success
){
this
.
allTableData
=
res
.
data
;
this
.
allTableData
=
res
.
data
;
}
}
});
});
},
},
...
@@ -373,7 +373,7 @@ export default {
...
@@ -373,7 +373,7 @@ export default {
this
.
alRunningTransNum
=
res
.
data
;
this
.
alRunningTransNum
=
res
.
data
;
this
.
panelArr
[
0
].
num
=
this
.
alRunningTransNum
;
this
.
panelArr
[
0
].
num
=
this
.
alRunningTransNum
;
}
}
});
});
},
},
...
@@ -385,7 +385,7 @@ export default {
...
@@ -385,7 +385,7 @@ export default {
this
.
allSuccessCount
=
res
.
data
;
this
.
allSuccessCount
=
res
.
data
;
this
.
panelArr
[
1
].
num
=
this
.
allSuccessCount
;
this
.
panelArr
[
1
].
num
=
this
.
allSuccessCount
;
}
}
});
});
},
},
// 获取总执行失败次数
// 获取总执行失败次数
...
@@ -396,7 +396,7 @@ export default {
...
@@ -396,7 +396,7 @@ export default {
this
.
allFailCount
=
res
.
data
;
this
.
allFailCount
=
res
.
data
;
this
.
panelArr
[
2
].
num
=
this
.
allFailCount
;
this
.
panelArr
[
2
].
num
=
this
.
allFailCount
;
}
}
});
});
},
},
...
@@ -418,8 +418,7 @@ export default {
...
@@ -418,8 +418,7 @@ export default {
//查看详情
//查看详情
checkDetail
(
row
)
{
checkDetail
(
row
)
{
console
.
log
(
'打开查看详情弹窗id不为为null'
);
this
.
pageLog
.
transId
=
row
.
transId
;
this
.
pageLog
.
transId
=
row
.
id
;
this
.
getKettleTransRecordList
();
// 分页获取转换执行日志记录列表
this
.
getKettleTransRecordList
();
// 分页获取转换执行日志记录列表
this
.
getSimpleList
();
//获取我添加的作业列表 搜索下拉框列表
this
.
getSimpleList
();
//获取我添加的作业列表 搜索下拉框列表
this
.
dialogShow
=
true
;
this
.
dialogShow
=
true
;
...
@@ -427,7 +426,6 @@ export default {
...
@@ -427,7 +426,6 @@ export default {
//获取转换下拉列表
//获取转换下拉列表
getSimpleList
(){
getSimpleList
(){
getList
().
then
((
res
)
=>
{
getList
().
then
((
res
)
=>
{
console
.
log
(
'获取转换日志下拉列表:'
,
res
);
if
(
res
.
success
){
if
(
res
.
success
){
this
.
simpleList
=
res
.
data
;
this
.
simpleList
=
res
.
data
;
}
}
...
@@ -510,28 +508,28 @@ export default {
...
@@ -510,28 +508,28 @@ export default {
}
}
}
}
fileName
=
decodeURIComponent
(
fileName
)
fileName
=
decodeURIComponent
(
fileName
)
// 获取数据类型
// 获取数据类型
let
type
=
res
.
data
.
headers
[
'Content-Type'
][
0
];
let
type
=
res
.
data
.
headers
[
'Content-Type'
][
0
];
let
blob
=
new
Blob
([
res
.
data
],
{
type
:
type
})
let
blob
=
new
Blob
([
res
.
data
],
{
type
:
type
})
const
a
=
document
.
createElement
(
'a'
)
const
a
=
document
.
createElement
(
'a'
)
// 创建URL
// 创建URL
const
blobUrl
=
window
.
URL
.
createObjectURL
(
blob
)
const
blobUrl
=
window
.
URL
.
createObjectURL
(
blob
)
a
.
download
=
fileName
;
a
.
download
=
fileName
;
a
.
href
=
blobUrl
;
a
.
href
=
blobUrl
;
document
.
body
.
appendChild
(
a
);
document
.
body
.
appendChild
(
a
);
// 下载文件
// 下载文件
a
.
click
()
a
.
click
()
// 释放内存
// 释放内存
URL
.
revokeObjectURL
(
blobUrl
)
URL
.
revokeObjectURL
(
blobUrl
)
document
.
body
.
removeChild
(
a
)
document
.
body
.
removeChild
(
a
)
}
else
{
}
else
{
console
.
log
(
'error'
,
data
)
console
.
log
(
'error'
,
data
)
}
}
// var returnUrl=res.data;
// var returnUrl=res.data;
// var httpUrl= process.env.VUE_APP_BASE_API+returnUrl;
// var httpUrl= process.env.VUE_APP_BASE_API+returnUrl;
// this.downLoadFile(httpUrl);
// this.downLoadFile(httpUrl);
...
@@ -568,7 +566,7 @@ export default {
...
@@ -568,7 +566,7 @@ export default {
this
.
getKettleTransRecordList
();
this
.
getKettleTransRecordList
();
},
},
},
},
};
};
</
script
>
</
script
>
...
...
Write
Preview
Markdown
is supported
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