warrior 7 месяцев назад
Родитель
Сommit
6876faf1cc

+ 1 - 1
projects/textbook/src/modules/nav-admin/page-role/page-role.component.ts

@@ -496,7 +496,7 @@ export class PageRoleComponent implements OnInit {
       this.message.error("请填写正确手机号");
       return;
     }
-    if(!this.account?.email || !this.account?.phone){
+    if(!this.account?.email && !this.account?.phone){
       this.message.error("邮箱或手机号必须填写一项");
       return;
     }

+ 10 - 21
projects/textbook/src/modules/nav-province-contact/page-process/process-list/process-list.component.html

@@ -70,7 +70,7 @@
       >
         <thead>
           <tr>
-            <th
+            <!-- <th
               nzEllipsis
               nzWidth="50px"
               nzLeft
@@ -78,25 +78,25 @@
               [nzIndeterminate]="indeterminate"
               nzLabel="Select all"
               (nzCheckedChange)="onAllChecked($event)"
-            ></th>
+            ></th> -->
             <th nzEllipsis nzWidth="120px" nzLeft>流程名称</th>
-            <th nzEllipsis nzWidth="120px">流程code</th>
+            <!-- <th nzEllipsis nzWidth="120px">流程code</th> -->
             <th nzEllipsis nzWidth="120px">流程描述</th>
             <th nzEllipsis nzWidth="80px">申报限额</th>
             <th nzEllipsis nzWidth="120px">流程联系人</th>
             <th nzEllipsis nzWidth="80px">流程状态</th>
-            <th nzEllipsis nzWidth="50px" nzRight>操作</th>
+            <!-- <th nzEllipsis nzWidth="50px" nzRight>操作</th> -->
           </tr>
         </thead>
         <tbody>
           @for (data of tableData.data; track data.id) {
           <tr>
-            <td
+            <!-- <td
               nzEllipsis
               nzLeft
               [nzChecked]="setOfCheckedId.has(data.id)"
               (nzCheckedChange)="onItemChecked(data.id, $event)"
-            ></td>
+            ></td> -->
             <td
               nzEllipsis
               (click)="
@@ -108,9 +108,9 @@
             >
               {{ data?.get("name") || "-" }}
             </td>
-            <td nzEllipsis>
+            <!-- <td nzEllipsis>
               {{ data?.get("code") || "-" }}
-            </td>
+            </td> -->
             <td nzEllipsis>
               {{ data?.get("desc") || "-" }}
             </td>
@@ -127,7 +127,7 @@
                 {{ statusMap[data.id].title }}</nz-tag
               >
             </td>
-            <td nzEllipsis nzRight>
+            <!-- <td nzEllipsis nzRight>
               <button
                 nz-button
                 nz-dropdown
@@ -183,21 +183,10 @@
                     </button>
                   </li>
                   } @if (statusMap[data.id].del){
-                  <!-- <li nz-menu-item>
-                    <button
-                      nz-button
-                      nzType="link"
-                      (click)="onStatusChange(data, 'del', true)"
-                      style="color: #231c1f"
-                    >
-                      <span nz-icon nzType="delete" nzTheme="outline"></span
-                      >删除流程
-                    </button>
-                  </li> -->
                   }
                 </ul>
               </nz-dropdown-menu>
-            </td>
+            </td> -->
           </tr>
           }
         </tbody>