You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
579 lines
16 KiB
579 lines
16 KiB
|
1 year ago
|
<script setup lang="ts">
|
||
|
9 months ago
|
import IconDeleteBtn from "@/components/atoms/button/IconDeleteBtn.vue";
|
||
|
|
import IconModifyBtn from "@/components/atoms/button/IconModifyBtn.vue";
|
||
|
|
import IconSettingBtn from "@/components/atoms/button/IconSettingBtn.vue";
|
||
|
1 year ago
|
// import FormComponent from "@/components/device/FormComponent.vue";
|
||
|
|
import { onMounted, ref, watch } from "vue";
|
||
|
9 months ago
|
import ViewComponent from "@/components/templates/workflow/ViewComponent.vue";
|
||
|
11 months ago
|
import WorkflowsCreateDialog from "@/components/atoms/organisms/WorkflowsCreateDialog.vue";
|
||
|
|
import WorkflowsUploadDialog from "@/components/atoms/organisms/WorkflowsUploadDialog.vue";
|
||
|
9 months ago
|
import { AutoflowService } from "@/components/service/management/AutoflowService";
|
||
|
10 months ago
|
import { commonStore } from "@/stores/commonStore";
|
||
|
9 months ago
|
import IconInfoBtn from "@/components/atoms/button/IconInfoBtn.vue";
|
||
|
10 months ago
|
const store = commonStore();
|
||
|
1 year ago
|
|
||
|
11 months ago
|
const openView = ref(false);
|
||
|
11 months ago
|
const openModify = ref(false);
|
||
|
1 year ago
|
const tableHeader = [
|
||
|
|
{
|
||
|
|
label: "No",
|
||
|
|
width: "5%",
|
||
|
|
style: "word-break: keep-all;",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "Workflow Name",
|
||
|
|
width: "7%",
|
||
|
|
style: "word-break: keep-all;",
|
||
|
|
},
|
||
|
9 months ago
|
|
||
|
1 year ago
|
{
|
||
|
|
label: "Step Count",
|
||
|
|
width: "7%",
|
||
|
|
style: "word-break: keep-all;",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "Config Progress",
|
||
|
|
width: "7%",
|
||
|
|
style: "word-break: keep-all;",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "Kubeflow Status",
|
||
|
|
width: "7%",
|
||
|
|
style: "word-break: keep-all;",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "Created DateTime",
|
||
|
|
width: "7%",
|
||
|
|
style: "word-break: keep-all;",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "Action",
|
||
|
|
width: "7%",
|
||
|
|
style: "word-break: keep-all;",
|
||
|
|
},
|
||
|
|
];
|
||
|
|
|
||
|
|
const searchOptions = [
|
||
|
|
{
|
||
|
|
searchType: "전체",
|
||
|
|
searchText: "",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
searchType: "디바이스 별칭",
|
||
|
|
searchText: "deviceAlias",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
searchType: "디바이스 키",
|
||
|
|
searchText: "deviceKey",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
searchType: "사용자",
|
||
|
|
searchText: "userId",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
searchType: "디바이스 이름",
|
||
|
|
searchText: "deviceName",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
searchType: "디바이스 모델",
|
||
|
|
searchText: "deviceModel",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
searchType: "디바이스 OS",
|
||
|
|
searchText: "deviceOs",
|
||
|
|
},
|
||
|
|
];
|
||
|
|
|
||
|
|
const pageSizeOptions = [
|
||
|
|
{ text: "10 페이지", value: 10 },
|
||
|
|
{ text: "50 페이지", value: 50 },
|
||
|
|
{ text: "100 페이지", value: 100 },
|
||
|
|
];
|
||
|
|
|
||
|
|
const data = ref({
|
||
|
|
params: {
|
||
|
|
pageNum: 1,
|
||
|
|
pageSize: 10,
|
||
|
|
searchType: "",
|
||
|
|
searchText: "",
|
||
|
|
},
|
||
|
|
results: [],
|
||
|
|
totalDataLength: 0,
|
||
|
|
pageLength: 0,
|
||
|
|
modalMode: "",
|
||
|
|
selectedData: null,
|
||
|
|
allSelected: false,
|
||
|
|
selected: [],
|
||
|
11 months ago
|
isCreateVisible: false,
|
||
|
|
isUploadVisible: false,
|
||
|
1 year ago
|
isModalVisible: false,
|
||
|
|
isConfirmDialogVisible: false,
|
||
|
|
userOption: [],
|
||
|
|
});
|
||
|
|
|
||
|
|
const getCodeList = () => {
|
||
|
|
// UserService.search(data.value.params).then((d) => {
|
||
|
|
// if (d.status === 200) {
|
||
|
|
// data.value.userOption = d.data.userList;
|
||
|
|
// }
|
||
|
|
// });
|
||
|
|
};
|
||
|
|
|
||
|
9 months ago
|
const toRow = (workflow: any, index: number, offset: number) => ({
|
||
|
|
no: offset + index + 1,
|
||
|
|
name: workflow.workflowName,
|
||
|
|
version: workflow.version,
|
||
|
|
stepCount: workflow.stepCount,
|
||
|
|
configProgress: workflow.configProgress,
|
||
|
|
kubeflowStatus: workflow.kubeflowStatus,
|
||
|
|
registDt: workflow.regDt,
|
||
|
|
deviceKey: workflow.id,
|
||
|
10 months ago
|
});
|
||
|
|
|
||
|
1 year ago
|
const getData = () => {
|
||
|
10 months ago
|
const params = data.value.params;
|
||
|
|
const pageNum = params.pageNum;
|
||
|
|
const pageSize = params.pageSize;
|
||
|
|
const startIndex = (pageNum - 1) * pageSize;
|
||
|
1 year ago
|
|
||
|
10 months ago
|
AutoflowService.getAll()
|
||
|
|
.then((res) => {
|
||
|
|
if (res.status !== 200) {
|
||
|
|
console.error("워크플로우 조회 실패:", res);
|
||
|
|
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
const result = res.data;
|
||
|
|
console.log(result);
|
||
|
|
const rawList = Array.isArray(result) ? result : (result.content ?? []);
|
||
|
|
const totalCount = Array.isArray(result)
|
||
|
|
? rawList.length
|
||
|
|
: (result.totalElements ?? rawList.length);
|
||
|
|
const currentPageList = Array.isArray(result)
|
||
|
|
? rawList.slice(startIndex, startIndex + pageSize)
|
||
|
|
: rawList;
|
||
|
|
|
||
|
|
data.value.results = currentPageList.map((w: any, i: number) =>
|
||
|
|
toRow(w, i, startIndex),
|
||
|
|
);
|
||
|
|
data.value.totalDataLength = totalCount;
|
||
|
|
|
||
|
|
setPaginationLength();
|
||
|
|
})
|
||
|
|
.catch((err) => {
|
||
|
|
console.error("워크플로우 조회 에러:", err);
|
||
|
|
});
|
||
|
|
};
|
||
|
1 year ago
|
const setPaginationLength = () => {
|
||
|
10 months ago
|
const total = data.value.totalDataLength || 0;
|
||
|
|
const pageSize = data.value.params.pageSize || 10;
|
||
|
|
data.value.pageLength =
|
||
|
|
total % pageSize === 0 ? total / pageSize : Math.ceil(total / pageSize);
|
||
|
1 year ago
|
};
|
||
|
|
|
||
|
|
const saveData = (formData) => {
|
||
|
|
if (data.value.modalMode === "create") {
|
||
|
|
// DeviceService.add(formData).then((d) => {
|
||
|
|
// if (d.status === 200) {
|
||
|
|
// data.value.isModalVisible = false;
|
||
|
|
// store.setSnackbarMsg({
|
||
|
|
// text: "등록 되었습니다.",
|
||
|
|
// result: 200,
|
||
|
|
// });
|
||
|
|
// changePageNum(1);
|
||
|
|
// } else {
|
||
|
|
// store.setSnackbarMsg({
|
||
|
|
// text: d,
|
||
|
|
// result: 500,
|
||
|
|
// });
|
||
|
|
// }
|
||
|
|
// });
|
||
|
|
} else {
|
||
|
|
// DeviceService.update(formData.deviceKey, formData).then((d) => {
|
||
|
|
// if (d.status === 200) {
|
||
|
|
// data.value.isModalVisible = false;
|
||
|
|
// store.setSnackbarMsg({
|
||
|
|
// text: "수정 되었습니다.",
|
||
|
|
// result: 200,
|
||
|
|
// });
|
||
|
|
// changePageNum();
|
||
|
|
// } else {
|
||
|
|
// store.setSnackbarMsg({
|
||
|
|
// text: d,
|
||
|
|
// result: 500,
|
||
|
|
// });
|
||
|
|
// }
|
||
|
|
// });
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
const removeData = (value) => {
|
||
|
10 months ago
|
const removeList = value ?? data.value.selected;
|
||
|
|
if (!removeList || removeList.length === 0) return;
|
||
|
1 year ago
|
|
||
|
10 months ago
|
const ids = removeList.map((x) => x.deviceKey);
|
||
|
|
|
||
|
|
const remove = (id) =>
|
||
|
|
AutoflowService.delete(id).then((res) => {
|
||
|
|
if (res.status < 200 || res.status >= 300) {
|
||
|
|
return Promise.reject(res);
|
||
|
|
}
|
||
|
1 year ago
|
});
|
||
|
10 months ago
|
|
||
|
|
const after = () => {
|
||
|
|
if (
|
||
|
|
ids.length >= data.value.results.length &&
|
||
|
|
data.value.params.pageNum > 1
|
||
|
|
) {
|
||
|
|
data.value.params.pageNum -= 1;
|
||
|
|
}
|
||
|
|
getData();
|
||
|
|
|
||
|
|
data.value.isConfirmDialogVisible = false;
|
||
|
|
data.value.selected = [];
|
||
|
|
data.value.allSelected = false;
|
||
|
|
};
|
||
|
|
|
||
|
|
if (ids.length === 1) {
|
||
|
|
remove(ids[0])
|
||
|
|
.then(() => {
|
||
|
|
store.setSnackbarMsg({
|
||
|
|
color: "success",
|
||
|
|
text: "삭제되었습니다.",
|
||
|
|
result: 200,
|
||
|
|
});
|
||
|
|
after();
|
||
|
|
})
|
||
|
|
.catch((err) => {
|
||
|
|
store.setSnackbarMsg({
|
||
|
|
color: "warning",
|
||
|
|
text: "삭제 실패",
|
||
|
|
result: 500,
|
||
|
|
});
|
||
|
|
console.error(err);
|
||
|
|
});
|
||
|
1 year ago
|
} else {
|
||
|
10 months ago
|
Promise.all(ids.map(remove))
|
||
|
|
.then(() => {
|
||
|
|
store.setSnackbarMsg({
|
||
|
|
color: "success",
|
||
|
|
text: "모두 삭제되었습니다.",
|
||
|
|
result: 200,
|
||
|
|
});
|
||
|
|
})
|
||
|
|
.catch((err) => {
|
||
|
|
store.setSnackbarMsg({
|
||
|
|
color: "warning",
|
||
|
|
text: "일부 삭제 실패",
|
||
|
|
result: 500,
|
||
|
|
});
|
||
|
|
console.error(err);
|
||
|
|
})
|
||
|
|
.finally(after);
|
||
|
1 year ago
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
const handleRemoveData = () => {
|
||
|
|
if (data.value.selected.length === 0) {
|
||
|
|
// store.setSnackbarMsg({
|
||
|
|
// text: "삭제 할 데이터를 선택해주세요. ",
|
||
|
|
// result: 500,
|
||
|
|
// });
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
if (data.value.allSelected || data.value.selected.length !== 1) {
|
||
|
|
data.value.isConfirmDialogVisible = true;
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
//리스트로 삭제 할때
|
||
|
|
removeData(undefined);
|
||
|
|
};
|
||
|
11 months ago
|
const closeDetail = () => {
|
||
|
|
openView.value = false;
|
||
|
|
};
|
||
|
1 year ago
|
const changePageNum = (page) => {
|
||
|
|
data.value.params.pageNum = page;
|
||
|
|
getData();
|
||
|
|
};
|
||
|
9 months ago
|
const openDetailModal = (selectedItem) => {
|
||
|
11 months ago
|
data.value.selectedData = selectedItem;
|
||
|
|
openView.value = true;
|
||
|
|
};
|
||
|
11 months ago
|
const openModifyModal = (item: { workflow: string; stepName: string }) => {
|
||
|
|
data.value.selectedData = {
|
||
|
|
workflow: item.workflow,
|
||
|
|
stepName: item.stepName,
|
||
|
|
};
|
||
|
|
openModify.value = true;
|
||
|
1 year ago
|
};
|
||
|
|
|
||
|
|
const openCreateModal = () => {
|
||
|
|
data.value.selectedData = null;
|
||
|
|
data.value.modalMode = "create";
|
||
|
11 months ago
|
data.value.isCreateVisible = true;
|
||
|
1 year ago
|
};
|
||
|
|
|
||
|
11 months ago
|
const openUploadModal = () => {
|
||
|
1 year ago
|
data.value.selectedData = null;
|
||
|
11 months ago
|
data.value.modalMode = "upload";
|
||
|
|
data.value.isUploadVisible = true;
|
||
|
|
};
|
||
|
|
const closeCreateModal = () => {
|
||
|
|
data.value.isModalVisible = false;
|
||
|
10 months ago
|
data.value.isCreateVisible = false;
|
||
|
11 months ago
|
};
|
||
|
|
const closeUploadModal = () => {
|
||
|
|
data.value.isModalVisible = false;
|
||
|
10 months ago
|
data.value.isUploadVisible = false;
|
||
|
1 year ago
|
};
|
||
|
|
|
||
|
|
const getSelectedAllData = () => {
|
||
|
|
data.value.selected = data.value.allSelected
|
||
|
|
? data.value.results.map((item) => {
|
||
|
11 months ago
|
return {
|
||
|
|
deviceKey: item.deviceKey,
|
||
|
|
};
|
||
|
|
})
|
||
|
1 year ago
|
: [];
|
||
|
|
};
|
||
|
10 months ago
|
watch(
|
||
|
|
() => data.value.isCreateVisible,
|
||
|
|
(now, prev) => {
|
||
|
|
if (prev && !now) getData();
|
||
|
|
},
|
||
|
|
);
|
||
|
1 year ago
|
|
||
|
10 months ago
|
watch(
|
||
|
|
() => data.value.isUploadVisible,
|
||
|
|
(now, prev) => {
|
||
|
|
if (prev && !now) getData();
|
||
|
|
},
|
||
|
|
);
|
||
|
1 year ago
|
onMounted(() => {
|
||
|
|
getData();
|
||
|
|
getCodeList();
|
||
|
|
});
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<template>
|
||
|
11 months ago
|
<div class="w-100" v-if="!openView">
|
||
|
|
<v-container fluid class="h-100 pa-5 d-flex flex-column align-center">
|
||
|
|
<v-card
|
||
|
|
flat
|
||
|
|
class="bg-shades-transparent d-flex flex-column align-center justify-center w-100"
|
||
|
|
>
|
||
|
|
<v-card flat class="bg-shades-transparent w-100">
|
||
|
|
<v-card-item class="text-h5 font-weight-bold pt-0 pa-5 pl-0">
|
||
|
|
<div class="d-flex flex-row justify-start align-center">
|
||
|
|
<div class="text-primary">Workflows</div>
|
||
|
1 year ago
|
</div>
|
||
|
11 months ago
|
</v-card-item>
|
||
|
1 year ago
|
</v-card>
|
||
|
11 months ago
|
<v-card flat class="bg-shades-transparent w-100">
|
||
|
|
<v-card flat class="bg-shades-transparent mb-4">
|
||
|
|
<div class="d-flex justify-center flex-wrap align-center">
|
||
|
|
<v-responsive
|
||
|
|
max-width="180"
|
||
|
|
min-width="180"
|
||
|
|
class="mr-3 mt-3 mb-3"
|
||
|
|
>
|
||
|
1 year ago
|
<v-select
|
||
|
11 months ago
|
v-model="data.params.searchType"
|
||
|
|
label="검색조건"
|
||
|
1 year ago
|
density="compact"
|
||
|
11 months ago
|
:items="searchOptions"
|
||
|
|
item-title="searchType"
|
||
|
|
item-value="searchText"
|
||
|
1 year ago
|
hide-details
|
||
|
|
></v-select>
|
||
|
|
</v-responsive>
|
||
|
11 months ago
|
<v-responsive min-width="540" max-width="540">
|
||
|
|
<v-text-field
|
||
|
|
v-model="data.params.searchText"
|
||
|
|
label="검색어"
|
||
|
|
density="compact"
|
||
|
|
clearable
|
||
|
|
required
|
||
|
|
class="mt-3 mb-3"
|
||
|
|
hide-details
|
||
|
|
@keyup.enter="changePageNum(1)"
|
||
|
|
></v-text-field>
|
||
|
|
</v-responsive>
|
||
|
|
|
||
|
|
<div class="ml-3">
|
||
|
|
<v-btn
|
||
|
|
size="large"
|
||
|
|
color="primary"
|
||
|
|
:rounded="5"
|
||
|
|
@click="changePageNum(1)"
|
||
|
|
>
|
||
|
|
<v-icon> mdi-magnify</v-icon>
|
||
|
|
</v-btn>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</v-card>
|
||
|
|
|
||
|
|
<v-sheet
|
||
|
|
class="bg-shades-transparent d-flex flex-wrap align-center mb-2"
|
||
|
|
>
|
||
|
|
<v-sheet class="d-flex flex-wrap me-auto bg-shades-transparent">
|
||
|
|
<v-sheet
|
||
|
|
class="d-flex align-center mr-3 mb-2 bg-shades-transparent"
|
||
|
|
>
|
||
|
|
<v-chip color="primary"
|
||
|
|
>총 {{ data.totalDataLength.toLocaleString() }}개
|
||
|
|
</v-chip>
|
||
|
|
</v-sheet>
|
||
|
|
<v-sheet class="bg-shades-transparent">
|
||
|
|
<v-responsive max-width="140" min-width="140" class="mb-2">
|
||
|
|
<v-select
|
||
|
|
v-model="data.params.pageSize"
|
||
|
|
density="compact"
|
||
|
|
:items="pageSizeOptions"
|
||
|
|
item-title="text"
|
||
|
|
item-value="value"
|
||
|
|
variant="outlined"
|
||
|
|
color="primary"
|
||
|
|
hide-details
|
||
|
|
@update:model-value="changePageNum(1)"
|
||
|
|
></v-select>
|
||
|
|
</v-responsive>
|
||
|
|
</v-sheet>
|
||
|
|
</v-sheet>
|
||
|
|
<v-sheet class="justify-end mb-2">
|
||
|
11 months ago
|
<v-btn color="info" class="mr-4" @click="openUploadModal"
|
||
|
|
>Upload Workflow
|
||
|
|
</v-btn>
|
||
|
|
<v-btn color="info" @click="openCreateModal"
|
||
|
|
>Create Workflow
|
||
|
11 months ago
|
</v-btn>
|
||
|
1 year ago
|
</v-sheet>
|
||
|
|
</v-sheet>
|
||
|
|
|
||
|
11 months ago
|
<v-card class="rounded-lg pa-8">
|
||
|
|
<v-col cols="12">
|
||
|
|
<v-sheet>
|
||
|
|
<v-table
|
||
|
|
density="comfortable"
|
||
|
|
fixed-header
|
||
|
|
height="625"
|
||
|
|
col-md-12
|
||
|
|
col-12
|
||
|
|
overflow-x-auto
|
||
|
|
>
|
||
|
|
<colgroup>
|
||
|
|
<col style="width: 5%" />
|
||
|
|
<col
|
||
|
11 months ago
|
v-for="(item, i) in tableHeader"
|
||
|
|
:key="i"
|
||
|
11 months ago
|
:style="`width:${item.width}`"
|
||
|
|
/>
|
||
|
|
</colgroup>
|
||
|
|
<thead>
|
||
|
|
<tr>
|
||
|
|
<th>
|
||
|
|
<v-checkbox
|
||
|
|
v-model="data.allSelected"
|
||
|
|
style="min-width: 36px"
|
||
|
|
:indeterminate="data.allSelected === true"
|
||
|
|
hide-details
|
||
|
|
@change="getSelectedAllData"
|
||
|
|
></v-checkbox>
|
||
|
|
</th>
|
||
|
|
<th
|
||
|
|
v-for="(item, i) in tableHeader"
|
||
|
|
:key="i"
|
||
|
|
class="text-center font-weight-bold"
|
||
|
|
:style="`${item.style}`"
|
||
|
|
>
|
||
|
|
{{ item.label }}
|
||
|
|
</th>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody class="text-body-2">
|
||
|
|
<tr
|
||
|
|
v-for="(item, i) in data.results"
|
||
|
|
:key="i"
|
||
|
|
class="text-center"
|
||
|
11 months ago
|
>
|
||
|
11 months ago
|
<td>
|
||
|
|
<v-checkbox
|
||
|
|
v-model="data.selected"
|
||
|
|
hide-details
|
||
|
|
:value="{
|
||
|
|
deviceKey: item.deviceKey,
|
||
|
|
}"
|
||
|
|
></v-checkbox>
|
||
|
|
</td>
|
||
|
|
<td>{{ item.no }}</td>
|
||
|
|
<td>{{ item.name }}</td>
|
||
|
|
<td>{{ item.stepCount }}</td>
|
||
|
|
<td>{{ item.configProgress }}</td>
|
||
|
|
<td>{{ item.kubeflowStatus }}</td>
|
||
|
|
<td>{{ item.registDt }}</td>
|
||
|
|
<td style="white-space: nowrap">
|
||
|
9 months ago
|
<IconInfoBtn @on-click="openDetailModal(item)" />
|
||
|
|
<IconSettingBtn />
|
||
|
11 months ago
|
<IconModifyBtn @on-click="openModifyModal(item)" />
|
||
|
|
<IconDeleteBtn
|
||
|
|
@on-click="
|
||
|
|
removeData([{ deviceKey: item.deviceKey }])
|
||
|
|
"
|
||
|
|
/>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</v-table>
|
||
|
|
</v-sheet>
|
||
|
|
<v-card-actions class="text-center mt-8 justify-center">
|
||
|
|
<v-pagination
|
||
|
|
v-model="data.params.pageNum"
|
||
|
|
:length="data.pageLength"
|
||
|
|
:total-visible="10"
|
||
|
|
color="primary"
|
||
|
|
rounded="circle"
|
||
|
10 months ago
|
@update:model-value="changePageNum"
|
||
|
11 months ago
|
></v-pagination>
|
||
|
|
</v-card-actions>
|
||
|
|
</v-col>
|
||
|
|
</v-card>
|
||
|
1 year ago
|
</v-card>
|
||
|
|
</v-card>
|
||
|
11 months ago
|
</v-container>
|
||
|
11 months ago
|
<v-dialog v-model="data.isCreateVisible" max-width="800" persistent>
|
||
|
|
<WorkflowsCreateDialog
|
||
|
|
:edit-data="data.selectedData"
|
||
|
|
:mode="data.modalMode"
|
||
|
|
@close-modal="closeCreateModal"
|
||
|
|
@handle-data="saveData"
|
||
|
|
:user-option="data.userOption"
|
||
|
|
/>
|
||
|
|
</v-dialog>
|
||
|
|
<v-dialog v-model="data.isUploadVisible" max-width="800" persistent>
|
||
|
|
<WorkflowsUploadDialog
|
||
|
|
:edit-data="data.selectedData"
|
||
|
|
:mode="data.modalMode"
|
||
|
|
@close-modal="closeUploadModal"
|
||
|
|
@handle-data="saveData"
|
||
|
|
:user-option="data.userOption"
|
||
|
|
/>
|
||
|
|
</v-dialog>
|
||
|
|
<v-dialog v-model="openModify" max-width="600px">
|
||
|
|
<StapComfigDialog
|
||
|
|
v-model="openModify"
|
||
|
|
:selectedData="data.selectedData"
|
||
|
|
/>
|
||
|
|
</v-dialog>
|
||
|
11 months ago
|
</div>
|
||
|
11 months ago
|
|
||
|
11 months ago
|
<div class="w-100" v-else>
|
||
|
9 months ago
|
<ViewComponent
|
||
|
|
v-if="data.selectedData"
|
||
|
|
:id="data.selectedData.deviceKey"
|
||
|
|
@close="closeDetail"
|
||
|
|
/>
|
||
|
11 months ago
|
</div>
|
||
|
1 year ago
|
</template>
|
||
|
|
|
||
|
|
<style scoped></style>
|