刘洋 1 rok temu
rodzic
commit
ca57d45776

+ 1 - 0
src/views/service-unit/dispatch/dispatch-manage/add-dispatch-dialog.vue

@@ -173,6 +173,7 @@ const { formData, isEdit } = useClearDialog(
     for (let key in formData) {
       formData[key] = props.curRow[key];
     }
+    formData.crmName = props.curRow?.name || '';
   }
 );
 

+ 10 - 8
src/views/sop/sop-manage/office-sop/index.vue

@@ -123,14 +123,16 @@
 
         <template #operate="{ row }">
           <div class="table-operations">
-            <t-link
-              theme="primary"
-              hover="color"
-              @click="allocation(row)"
-              :disabled="row.sopStatus === 'START'"
-            >
-              人员调配
-            </t-link>
+            <template v-if="perm.LINK_Allocation">
+              <t-link
+                theme="primary"
+                hover="color"
+                @click="allocation(row)"
+                :disabled="row.sopStatus === 'START'"
+              >
+                人员调配
+              </t-link>
+            </template>
             <template v-if="perm.LINK_Fill">
               <t-link
                 :disabled="

+ 10 - 8
src/views/sop/sop-manage/student-sop/index.vue

@@ -119,14 +119,16 @@
         </template>
         <template #operate="{ row }">
           <div class="table-operations" @click.stop>
-            <t-link
-              theme="primary"
-              hover="color"
-              @click="allocation(row)"
-              :disabled="row.sopStatus === 'START'"
-            >
-              人员调配
-            </t-link>
+            <template v-if="perm.LINK_Allocation">
+              <t-link
+                theme="primary"
+                hover="color"
+                @click="allocation(row)"
+                :disabled="row.sopStatus === 'START'"
+              >
+                人员调配
+              </t-link>
+            </template>
             <template v-if="perm.LINK_Fill">
               <t-link
                 :disabled="