瀏覽代碼

隐藏律师端一些功能

lxr 1 周之前
父節點
當前提交
1e706bda5d

+ 4 - 4
src/views/lawyerManagement/lawFirm/index.vue

@@ -2,8 +2,8 @@
   <div class="table-box">
     <ProTable ref="proTable" :columns="columns" :request-api="getTableList" :data-callback="dataCallback">
       <template #tableHeader>
-        <el-button type="primary" :icon="CirclePlus" :disabled="!isAdmin" @click="handleCreate"> 新增律所 </el-button>
-        <el-button type="primary" :icon="Upload" :disabled="!isAdmin" @click="handleImport"> 导入 </el-button>
+        <!-- <el-button type="primary" :icon="CirclePlus" :disabled="!isAdmin" @click="handleCreate"> 新增律所 </el-button>
+        <el-button type="primary" :icon="Upload" :disabled="!isAdmin" @click="handleImport"> 导入 </el-button> -->
         <!-- <el-button
           type="primary"
           :icon="Download"
@@ -100,8 +100,8 @@ const columns = reactive<ColumnProps<any>[]>([
     width: 160,
     align: "center"
   },
-  { label: "收款账号", prop: "paymentAccount", align: "center" },
-  { label: "操作", prop: "operation", width: 200, fixed: "right" }
+  { label: "收款账号", prop: "paymentAccount", align: "center" }
+  // { label: "操作", prop: "operation", width: 200, fixed: "right" }
 ]);
 
 const getTableList = async (params: any) => {

+ 2 - 2
src/views/lawyerManagement/lawyer/index.vue

@@ -14,7 +14,7 @@
       </template>
       <template #operation="scope">
         <el-button type="primary" link :icon="View" @click="handleDetail(scope.row)"> 查看详情 </el-button>
-        <el-button
+        <!-- <el-button
           type="warning"
           link
           :icon="Number(scope.row.isRecommended) === 1 ? StarFilled : Star"
@@ -22,7 +22,7 @@
           @click="handleRecommend(scope.row)"
         >
           {{ Number(scope.row.isRecommended) === 1 ? "取消推荐" : "设为推荐" }}
-        </el-button>
+        </el-button> -->
       </template>
     </ProTable>
     <el-drawer v-model="detailVisible" title="律师详情" :size="480" append-to-body>

+ 6 - 5
src/views/lawyerManagement/legalScene/index.vue

@@ -1,18 +1,19 @@
 <template>
   <div class="scene-page">
-    <div class="scene-toolbar">
+    <!-- <div class="scene-toolbar">
       <el-button type="primary" :icon="CirclePlus" @click="handleCreate"> 新增场景 </el-button>
       <div class="scene-search">
         <el-input v-model="filterText" placeholder="请输入场景分类" clearable />
         <el-button type="primary" @click="handleSearch"> 搜索 </el-button>
         <el-button @click="handleReset"> 重置 </el-button>
       </div>
-    </div>
+    </div> -->
     <div class="scene-header">
       <span style="flex: 1">场景分类</span>
       <span style="width: 200px; text-align: center">展示图片</span>
       <span style="width: 200px; text-align: center">状态</span>
-      <span style="width: 300px; text-align: center">操作</span>
+      <!-- <span style="width: 300px; text-align: center">操作</span> -->
+      <span style="width: 300px; text-align: center" />
     </div>
     <div class="scene-tree">
       <el-tree
@@ -41,14 +42,14 @@
               </el-tag>
             </span>
             <span class="scene-actions">
-              <el-button type="primary" link size="small" :icon="CirclePlus" @click.stop="handleAddChild(data)">
+              <!-- <el-button type="primary" link size="small" :icon="CirclePlus" @click.stop="handleAddChild(data)">
                 新增子场景
               </el-button>
               <el-button type="primary" link size="small" :icon="EditPen" @click.stop="handleToggleStatus(data)">
                 {{ data.status === 1 ? "停用" : "启用" }}
               </el-button>
               <el-button type="primary" link size="small" :icon="EditPen" @click.stop="handleEdit(data)"> 编辑 </el-button>
-              <el-button type="danger" link size="small" :icon="Delete" @click.stop="handleDelete(data)"> 删除 </el-button>
+              <el-button type="danger" link size="small" :icon="Delete" @click.stop="handleDelete(data)"> 删除 </el-button> -->
             </span>
           </span>
         </template>

+ 1 - 1
src/views/lawyerManagement/reconciliation/index.vue

@@ -20,7 +20,7 @@
           :request-auto="false"
         >
           <template #tableHeader>
-            <el-button type="primary" :icon="Download" :disabled="!canExport" @click="handleExport"> 导出 </el-button>
+            <!-- <el-button type="primary" :icon="Download" :disabled="!canExport" @click="handleExport"> 导出 </el-button> -->
             <el-button type="primary" :icon="Download" :disabled="!canExport" @click="handleExportAll"> 全部导出 </el-button>
           </template>
           <template #operation="scope">