|
@@ -5,7 +5,7 @@
|
|
|
v-for="item in tableData"
|
|
|
:key="item.id"
|
|
|
>
|
|
|
- <div v-if="IS_CYTX(item)" @click="editSopFlowHandle(item)">
|
|
|
+ <div v-if="IS_CYTX(item)" @click="editSopFlowHandle(item, true)">
|
|
|
<div class="m-head">
|
|
|
<div class="cytx m-title flex items-center">
|
|
|
<span>查阅提醒</span>
|
|
@@ -144,7 +144,7 @@ const showViolationFlowDialog = ref(false);
|
|
|
const curSopData = ref({});
|
|
|
const curRow = ref({});
|
|
|
|
|
|
-const editSopFlowHandle = (row) => {
|
|
|
+const editSopFlowHandle = (row, is_cytx) => {
|
|
|
curRow.value = row;
|
|
|
// if (row.messageType === 'AFTER' || row.messageType === 'BEFORE') {
|
|
|
if (
|
|
@@ -166,6 +166,9 @@ const editSopFlowHandle = (row) => {
|
|
|
if (res.records.length) {
|
|
|
curSopData.value = res.records[0];
|
|
|
showSopStepDialog.value = true;
|
|
|
+ if (is_cytx && curSopData.value) {
|
|
|
+ sessionStorage.setItem('switchSetup', row.setup);
|
|
|
+ }
|
|
|
} else {
|
|
|
MessagePlugin.error('未找到对应的SOP');
|
|
|
}
|