Browse Source

coding...

刘洋 9 tháng trước cách đây
mục cha
commit
c64273d792

+ 8 - 3
src/views/my-workbenches/workbenches/message-reminder/message-list.vue

@@ -5,7 +5,7 @@
       v-for="item in tableData"
       :key="item.id"
     >
-      <template v-if="IS_CYTX(item)">
+      <div v-if="IS_CYTX(item)" @click="editSopFlowHandle(item)">
         <div class="m-head">
           <div class="cytx m-title flex items-center">
             <span>查阅提醒</span>
@@ -28,7 +28,7 @@
             </template>
           </t-space>
         </div>
-      </template>
+      </div>
       <template v-else>
         <div class="m-head">
           <div
@@ -146,7 +146,12 @@ const curRow = ref({});
 
 const editSopFlowHandle = (row) => {
   curRow.value = row;
-  if (row.messageType === 'AFTER' || row.messageType === 'BEFORE') {
+  // if (row.messageType === 'AFTER' || row.messageType === 'BEFORE') {
+  if (
+    ['AFTER', 'BEFORE', 'OFFICE_SOP', 'CLOUD_MARK_SOP'].includes(
+      row.messageType
+    )
+  ) {
     const params = reactive({
       pageNumber: 1,
       pageSize: 10,