Skip to content

Commit 5e37d4e

Browse files
committed
Merge remote-tracking branch 'origin/dev-0.4.0-webank' into dev-0.4.0-webank
2 parents 1ebfa81 + ed0a478 commit 5e37d4e

13 files changed

Lines changed: 31 additions & 23 deletions

File tree

web/src/apps/scriptis/module/workbench/container.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@ export default {
10791079
<style lang="scss" scoped>
10801080
@import '@/common/style/variables.scss';
10811081
.workbench {
1082-
::v-deep.ivu-tabs.ivu-tabs-card {
1082+
::v-deep .ivu-tabs.ivu-tabs-card {
10831083
border-top: $border-width-base $border-style-base #dcdee2;
10841084
.ivu-tabs-bar .ivu-tabs-tab {
10851085
margin-right: 0px;

web/src/apps/scriptis/module/workbench/script/intelligentDiagnosis.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default {
4747
</script>
4848
<style lang="scss" scoped>
4949
.we-intelligent-diagnosis {
50-
::v-deep.ivu-table-wrapper {
50+
::v-deep .ivu-table-wrapper {
5151
border: none;
5252
}
5353
}

web/src/apps/streamis/module/jarDetail/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ export default {
424424
}
425425
}
426426
.full {
427-
::v-deep.ivu-modal{
427+
::v-deep .ivu-modal{
428428
width: 100vw !important;
429429
height: 100vh;
430430
min-height: 430px;
@@ -433,7 +433,7 @@ export default {
433433
height: 100%;
434434
}
435435
}
436-
::v-deeptextarea{
436+
::v-deep textarea{
437437
height: calc(100vh - 200px) !important;
438438
min-height: 200px;
439439
max-height: calc(100vh - 200px) !important;

web/src/apps/streamis/module/jobAlert/index.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@ export default {
100100
},
101101
methods: {
102102
getDatas() {
103-
const { id, version } = this.$route.params || {}
104-
const queries = `?jobId=${id}&version=${version}&pageNow=${this.page.current}&pageSize=${this.page.size}`
103+
const { id, version, lastVersion, status } = this.$route.params
104+
const useVersion = [5, 8, 9].includes(status) ? version : lastVersion
105+
const queries = `?jobId=${id}&version=${useVersion || version}&pageNow=${this.page.current}&pageSize=${this.page.size}`
105106
this.loading = true
106107
api
107108
.fetch('streamis/streamJobManager/job/alert' + queries, 'get')

web/src/apps/streamis/module/jobDetail/index.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ export default {
3232
},
3333
methods: {
3434
getDetail() {
35-
const { id, version, status } = this.$route.params
36-
const query = status === 5 ? `jobId=${id}&version=${version}` : `jobId=${id}`
35+
const { id, version, lastVersion, status } = this.$route.params
36+
const useVersion = [5, 8, 9].includes(status) ? version : lastVersion
37+
const query = `jobId=${id}&version=${useVersion || version}`
3738
api
3839
.fetch(`streamis/streamJobManager/job/jobContent?${query}`, 'get')
3940
.then(res => {

web/src/apps/streamis/module/jobHistory/index.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,9 @@ export default {
202202
},
203203
methods: {
204204
getDatas() {
205-
const { id, version } = this.$route.params || {}
206-
const queries = `?jobId=${id}&version=${version}&pageNow=${this.page.current}&pageSize=${this.page.size}`
205+
const { id, version, lastVersion, status } = this.$route.params
206+
const useVersion = [5, 8, 9].includes(status) ? version : lastVersion
207+
const queries = `?jobId=${id}&version=${useVersion || version}&pageNow=${this.page.current}&pageSize=${this.page.size}`
207208
this.loading = true
208209
api
209210
.fetch('streamis/streamJobManager/job/execute/history' + queries, 'get')
@@ -339,7 +340,7 @@ export default {
339340
}
340341
}
341342
.full {
342-
::v-deep.ivu-modal{
343+
::v-deep .ivu-modal{
343344
width: 100vw !important;
344345
height: 100vh;
345346
min-height: 430px;
@@ -348,7 +349,7 @@ export default {
348349
height: 100%;
349350
}
350351
}
351-
::v-deeptextarea{
352+
::v-deep textarea{
352353
height: calc(100vh - 200px) !important;
353354
min-height: 200px;
354355
max-height: calc(100vh - 200px) !important;

web/src/apps/streamis/module/jobList/index.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,6 +1407,7 @@ export default {
14071407
: 'jobSummary',
14081408
name: rowData.name,
14091409
version: rowData.version,
1410+
lastVersion: rowData.lastVersion,
14101411
status: rowData.status,
14111412
jobType: rowData.jobType,
14121413
manageMode: rowData.manageMode,
@@ -1664,11 +1665,11 @@ export default {
16641665
color: #ff9900;
16651666
}
16661667
1667-
::v-deep.ivu-table .warning-row td{
1668+
::v-deep .ivu-table .warning-row td{
16681669
background-color: #ff9900;
16691670
border-right: none;
16701671
}
1671-
::v-deep.ivu-table .disabled-row td{
1672+
::v-deep .ivu-table .disabled-row td{
16721673
background-color: #eee;
16731674
border-right: none;
16741675
}

web/src/apps/streamis/module/jobSummary/index.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,12 @@ export default {
167167
},
168168
methods: {
169169
getDatas() {
170-
const { id, version } = this.$route.params || {}
170+
const { id, version, lastVersion, status } = this.$route.params
171+
const useVersion = [5, 8, 9].includes(status) ? version : lastVersion
171172
172173
api
173174
.fetch(
174-
`streamis/streamJobManager/job/details?jobId=${id}&version=${version}`,
175+
`streamis/streamJobManager/job/details?jobId=${id}&version=${useVersion || version}`,
175176
'get'
176177
)
177178
.then(res => {

web/src/apps/streamis/module/logDetail/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export default {
226226
}
227227
}
228228
.full {
229-
::v-deep.ivu-modal{
229+
::v-deep .ivu-modal{
230230
width: 100vw !important;
231231
height: 100vh;
232232
min-height: 430px;
@@ -235,7 +235,7 @@ export default {
235235
height: 100%;
236236
}
237237
}
238-
::v-deeptextarea{
238+
::v-deep textarea{
239239
height: calc(100vh - 200px) !important;
240240
min-height: 200px;
241241
max-height: calc(100vh - 200px) !important;

web/src/apps/streamis/module/versionDetail/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export default {
9191
module: 'jobHistory',
9292
name: rowData.name,
9393
version: rowData.version,
94+
lastVersion: rowData.lastVersion,
9495
status: rowData.status,
9596
jobType: rowData.jobType,
9697
isHistory: true,

0 commit comments

Comments
 (0)