Skip to content

Commit a4cf96e

Browse files
committed
修改请求路径
1 parent 7fa348a commit a4cf96e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

web/src/apps/apiServices/module/apiServicesExecute/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export default {
163163
// 后续的执行逻辑
164164
if (this.excuteLoading) { // 停止执行
165165
if(!(this.apiData && this.apiData.execID)) return this.$Message.error({ content: '任务暂时未生成返回,请稍后再试或联系管理员!' });
166-
api.fetch(`/entrance/${this.apiData.execID}/kill`, {taskID: this.apiData.taskID}, 'get').then(() => {
166+
api.fetch(`/dss/flow/entrance/${this.apiData.execID}/kill`, {taskID: this.apiData.taskID}, 'get').then(() => {
167167
// kill成功后,去查kill后的状态
168168
this.$refs.currentConsole.killExecute(true);
169169
const name = this.apiData.name;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ export default {
477477
// fix ***REMOVED***
478478
if (this.node) {
479479
setTimeout(()=>{
480-
this.resizePanel()
480+
this.resizePanel()
481481
})
482482
}
483483
},
@@ -977,7 +977,7 @@ export default {
977977
},
978978
stop(cb) {
979979
if (this.execute && this.execute.id) {
980-
api.fetch(`/entrance/${this.execute.id}/kill`, {taskID: this.execute.taskID}, 'get').then(() => {
980+
api.fetch(`/dss/flow/entrance/${this.execute.id}/kill`, {taskID: this.execute.taskID}, 'get').then(() => {
981981
this.execute.trigger('stop');
982982
this.execute.trigger('error');
983983
this.execute.trigger('kill');

web/src/apps/workflows/module/process/module.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
</template>
110110

111111
<template v-if="myReadonly">
112-
<div class="devider"></div>
112+
<div class="devider"></div>
113113
<template v-if="product && isLatest">
114114
<div
115115
v-if="!workflowIsExecutor"
@@ -1996,7 +1996,7 @@ export default {
19961996
this.workflowExecutorCache = this.workflowExecutorCache.filter((item) => {
19971997
item.flowId !== this.newFlowId;
19981998
});
1999-
api.fetch(`/entrance/${this.workflowExeteId}/kill`, {taskID: this.workflowTaskId, labels: this.getCurrentDsslabels()}, 'get').then(() => {
1999+
api.fetch(`/dss/flow/entrance/${this.workflowExeteId}/kill`, {taskID: this.workflowTaskId, labels: this.getCurrentDsslabels()}, 'get').then(() => {
20002000
this.workflowIsExecutor = false;
20012001
this.flowExecutorNode(this.workflowExeteId, true);
20022002
}).catch(() => {

web/src/dss/module/resourceSimple/job.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export default {
127127
if (!item) return this.$Message.warning(this.$t('message.common.resourceSimple.QXZYTJL'));
128128
if (!item.strongerExecId) return this.$Message.warning(this.$t('message.common.resourceSimple.WHQD'));
129129
this.loading = true;
130-
api.fetch(`/entrance/${item.strongerExecId}/kill`, {taskID: item.taskID},'get').then(() => {
130+
api.fetch(`/dss/flow/entrance/${item.strongerExecId}/kill`, {taskID: item.taskID},'get').then(() => {
131131
this.loading = false;
132132
this.$emit('close-modal');
133133
// 停止执行
@@ -148,7 +148,7 @@ export default {
148148
if (!item.strongerExecId) return this.$Message.warning(this.$t('message.common.resourceSimple.WHQD'));
149149
if (!item.engineInstance) return this.$Message.warning(this.$t('message.common.resourceSimple.WHQD'));
150150
this.loading = true;
151-
await api.fetch(`/entrance/${item.strongerExecId}/kill`, {taskID: item.taskID}, 'get');
151+
await api.fetch(`/dss/flow/entrance/${item.strongerExecId}/kill`, {taskID: item.taskID}, 'get');
152152
api.fetch('/resourcemanager/engines').then((res) => {
153153
const engines = res.engines;
154154
const engine = engines.find((e) => e.engineInstance === item.engineInstance);

0 commit comments

Comments
 (0)