chenrui  2 anni fa
parent
commit
6f14cd0018

+ 65 - 9
src/components/minheader/index.vue

@@ -1,5 +1,8 @@
 <template>
-  <div :class="isStatus || isStatuser ? 'flex' : 'flex-end'" class="data-table-btn">
+  <div
+    :class="isStatus || isStatuser ? 'flex' : 'flex-end'"
+    class="data-table-btn"
+  >
     <div v-if="isStatus || isStatuser" class="vStatus flex-act">
       <slot name="header" />
       <!-- <el-date-picker
@@ -12,9 +15,27 @@
         size="default"
       >
       </el-date-picker> -->
-      <el-date-picker v-if="isTime" format="YYYY-MM-DD" value-format="YYYY-MM-DD" v-model="startTime" :rows="1" size="default" type="date" placeholder="开始日期">
+      <el-date-picker
+        v-if="isTime"
+        format="YYYY-MM-DD"
+        value-format="YYYY-MM-DD"
+        v-model="startTime"
+        :rows="1"
+        size="default"
+        type="date"
+        placeholder="开始日期"
+      >
       </el-date-picker>
-      <el-date-picker v-if="isTime" format="YYYY-MM-DD" value-format="YYYY-MM-DD" class="L12" size="default" v-model="endTime" type="date" placeholder="结束日期">
+      <el-date-picker
+        v-if="isTime"
+        format="YYYY-MM-DD"
+        value-format="YYYY-MM-DD"
+        class="L12"
+        size="default"
+        v-model="endTime"
+        type="date"
+        placeholder="结束日期"
+      >
       </el-date-picker>
     </div>
     <!-- <div class="">
@@ -38,22 +59,50 @@
         <!-- <el-button type="danger" size="default" class="br L12">搜索</el-button> -->
       </template>
       <template v-if="isSlot">
-        <el-button type="danger" size="default" class="br L12" @click="addslot">1个插槽</el-button>
+        <el-button type="danger" size="default" class="br L12" @click="addslot"
+          >1个插槽</el-button
+        >
       </template>
       <template v-if="isJournal">
-        <el-button size="default" plain class="btn-white P12" @click="addJournal">查看日志</el-button>
+        <el-button
+          size="default"
+          plain
+          class="btn-white P12"
+          @click="addJournal"
+          >查看日志</el-button
+        >
       </template>
       <template v-if="isMeasure">
-        <el-button size="default" plain class="btn-white br" @click="addBbut">测试</el-button>
+        <el-button size="default" plain class="btn-white br" @click="addBbut"
+          >测试</el-button
+        >
       </template>
       <template v-if="isPreser">
-        <el-button type="danger" size="default" class="br L12" @click="preserBtn">保存</el-button>
+        <el-button
+          type="danger"
+          size="default"
+          class="br L12"
+          @click="preserBtn"
+          >保存</el-button
+        >
       </template>
       <template v-if="isAuth">
-        <el-button size="default" plain class="btn-white br" @click="addBbut">新增</el-button>
+        <el-button
+          size="default"
+          plain
+          class="btn-white br"
+          @click="addBbut"
+          v-permission="[powerData]"
+          >新增</el-button
+        >
       </template>
       <template v-if="isShow">
-        <img class="btn-img" src="@/assets/baggage/ic_setting.png" title="列设置" @click="show" />
+        <img
+          class="btn-img"
+          src="@/assets/baggage/ic_setting.png"
+          title="列设置"
+          @click="show"
+        />
       </template>
     </div>
   </div>
@@ -118,7 +167,13 @@ const props = defineProps({
     type: Boolean,
     default: false,
   },
+  //权限
+  powerData: {
+    type: String,
+    default: "",
+  },
 });
+// console.log(props.power);
 //搜索内容
 const input = ref("");
 const startTime = ref("");
@@ -163,6 +218,7 @@ const addslot = () => {
 const show = () => {
   emits("showForm");
 };
+// console.log(power);
 startTime.value = momentMini(new Date()).format("YYYY-MM-DD");
 endTime.value = momentMini(new Date()).format("YYYY-MM-DD");
 search();

+ 83 - 15
src/views/BasicsData/airlineCompany/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="new_airlines_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">航司信息维护</div>
@@ -9,45 +14,106 @@
         </template>
       </Minheader>
       <div class="app-containers">
-        <DataTable :tableHeader="tableCols" :tableData="tableData" :tableBtnGroup="tableBtnGroup" :tableProperty="{ rowKey: 'ID' }" @btnClick="btnClick" />
+        <DataTable
+          :tableHeader="tableCols"
+          :tableData="tableData"
+          :tableBtnGroup="tableBtnGroup"
+          :tableProperty="{ rowKey: 'ID' }"
+          @btnClick="btnClick"
+        />
       </div>
-      <Dialog :flag="flag" :type="type" :msgTitle="msgTitle" :delName="tableForm.fullName" @resetForm="resetForm" @delRest="delRest" @submitForm="submitForm" @delRemove="delRemove">
+      <Dialog
+        :flag="flag"
+        :type="type"
+        :msgTitle="msgTitle"
+        :delName="tableForm.fullName"
+        @resetForm="resetForm"
+        @delRest="delRest"
+        @submitForm="submitForm"
+        @delRemove="delRemove"
+      >
         <div class="diacont">
-          <el-form :model="tableForm" :rules="formRules" ref="airlineCompanyForm">
+          <el-form
+            :model="tableForm"
+            :rules="formRules"
+            ref="airlineCompanyForm"
+          >
             <el-row :gutter="24">
               <el-col>
-                <el-form-item label="中文名称" size="default" prop="fullName" :rules="formRules.isNotNull">
-                  <el-input v-model="tableForm.fullName" placeholder="请输入中文名称" />
+                <el-form-item
+                  label="中文名称"
+                  size="default"
+                  prop="fullName"
+                  :rules="formRules.isNotNull"
+                >
+                  <el-input
+                    v-model="tableForm.fullName"
+                    placeholder="请输入中文名称"
+                  />
                 </el-form-item>
               </el-col>
               <el-col>
-                <el-form-item label="中文简称" size="default" prop="abbreviation" :rules="formRules.isNotNull">
-                  <el-input v-model="tableForm.abbreviation" placeholder="请输入中文简称" />
+                <el-form-item
+                  label="中文简称"
+                  size="default"
+                  prop="abbreviation"
+                  :rules="formRules.isNotNull"
+                >
+                  <el-input
+                    v-model="tableForm.abbreviation"
+                    placeholder="请输入中文简称"
+                  />
                 </el-form-item>
               </el-col>
               <el-col>
                 <el-form-item label="英文全称" size="default">
-                  <el-input v-model="tableForm.englishFullName" placeholder="请输入英文全称" />
+                  <el-input
+                    v-model="tableForm.englishFullName"
+                    placeholder="请输入英文全称"
+                  />
                 </el-form-item>
               </el-col>
               <el-col>
                 <el-form-item label="英文简称" size="default">
-                  <el-input v-model="tableForm.englishAbbreviation" placeholder="请输入英文简称" />
+                  <el-input
+                    v-model="tableForm.englishAbbreviation"
+                    placeholder="请输入英文简称"
+                  />
                 </el-form-item>
               </el-col>
               <el-col>
-                <el-form-item label="航司二字码" size="default" prop="ITATCode" :rules="formRules.isNotNull">
-                  <el-input v-model="tableForm.ITATCode" placeholder="请输入航司二字码" />
+                <el-form-item
+                  label="航司二字码"
+                  size="default"
+                  prop="ITATCode"
+                  :rules="formRules.isNotNull"
+                >
+                  <el-input
+                    v-model="tableForm.ITATCode"
+                    placeholder="请输入航司二字码"
+                  />
                 </el-form-item>
               </el-col>
               <el-col>
-                <el-form-item label="航司三字码" size="default" prop="ICAOCode" :rules="formRules.isNotNull">
-                  <el-input v-model="tableForm.ICAOCode" placeholder="请输入航司三字码" />
+                <el-form-item
+                  label="航司三字码"
+                  size="default"
+                  prop="ICAOCode"
+                  :rules="formRules.isNotNull"
+                >
+                  <el-input
+                    v-model="tableForm.ICAOCode"
+                    placeholder="请输入航司三字码"
+                  />
                 </el-form-item>
               </el-col>
               <el-col>
                 <el-form-item label="备注" size="default">
-                  <el-input type="textarea" v-model="tableForm.remarks" placeholder="请输入备注" />
+                  <el-input
+                    type="textarea"
+                    v-model="tableForm.remarks"
+                    placeholder="请输入备注"
+                  />
                 </el-form-item>
               </el-col>
             </el-row>
@@ -105,11 +171,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "airline_editor_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "airlines_delete_button",
   },
 ]);
 //新增

+ 9 - 1
src/views/BasicsData/airportCompany/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="new_airport_companies_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">机场公司维护</div>
@@ -91,6 +96,7 @@ import Dialog from "@/components/dialog/index.vue";
 import { Query, GeneralDataReception } from "@/api/webApi";
 import * as _ from "lodash";
 import { ElMessage } from "element-plus";
+const power = ref<String>("new_airlines_button"); //权限
 const formRules = useElement().formRules;
 const page = ref<number>(0); //分页参数
 const dataContent = ref<object>({});
@@ -118,11 +124,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "airport_company_editor_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "airport_company_deletion_button",
   },
 ]);
 //列表

+ 9 - 1
src/views/BasicsData/airportInfo/airportInfoChild/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="newly_added_terminal_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">区域设置</div>
@@ -125,16 +130,19 @@ const tableBtnGroup = ref<Array>([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "terminal_editing_button",
   },
   {
     name: "位置设置",
     className: "editBtn",
     param: 4,
+    is: "position_setting_page",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "terminal_deletion_button",
   },
 ]); //单独的编辑
 const tableForm = reactive({

+ 9 - 1
src/views/BasicsData/airportInfo/index.vue

@@ -1,6 +1,11 @@
 <template>
   <div class="airportInfoDetails">
-    <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+    <Minheader
+      :is-auth="true"
+      :is-statuser="true"
+      powerData="new_airport_button"
+      @addForm="addForm"
+    >
       <template #header>
         <div class="status flex-wrap">
           <div class="manageTitle">机场信息维护</div>
@@ -189,16 +194,19 @@ const tableBtnGroup = ref<Array>([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "airport_editor_button",
   },
   {
     name: "区域设置",
     className: "editBtn",
     param: 4,
+    is: "terminal_setting_page",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "airport_deletion_button",
   },
 ]); //单独的编辑
 const page = ref<number>(0); //分页参数

+ 8 - 1
src/views/BasicsData/airportInfo/positionSetting/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="position_addition_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">位置设置</div>
@@ -175,11 +180,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "position_edit_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "location_delete_button",
   },
 ]);
 //新增

+ 8 - 1
src/views/BasicsData/cargoInformation/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="new_freight_forwarder_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">货代管理</div>
@@ -118,11 +123,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "freight_forwarder_editor_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "freight_forwarder_deletion_button",
   },
 ]);
 //新增

+ 8 - 1
src/views/BasicsData/containerMaintenance/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="container_addition_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">容器维护</div>
@@ -131,11 +136,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "container_edit_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "container_deletion_button",
   },
 ]);
 //新增

+ 8 - 1
src/views/BasicsData/deployNode/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="new_node_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">节点信息维护</div>
@@ -114,11 +119,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "node_editing_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "node_deletion_button",
   },
 ]);
 //新增

+ 8 - 1
src/views/BasicsData/equipmentMaintenance/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="equipment_addition_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">设备维护</div>
@@ -149,11 +154,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "device_editing_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "device_deletion_button",
   },
 ]);
 //新增

+ 9 - 1
src/views/BasicsData/modelMaintenance/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="new_model_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">机型维护</div>
@@ -113,16 +118,19 @@ const tableBtnGroup = ref<Array>([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "model_editing_button",
   },
   {
     name: "舱位编辑",
     className: "editBtn",
     param: 4,
+    is: "cabin_editor_page",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "model_deletion_button",
   },
 ]); //单独的编辑
 const tableForm = reactive({

+ 8 - 1
src/views/BasicsData/shippingSpace/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="new_cabin_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">舱位管理</div>
@@ -130,11 +135,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "cabin_editor_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "cabin_deletion_button",
   },
 ]);
 //新增

+ 8 - 1
src/views/BasicsData/specialCargoMaintenance/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="new_special_goods_type_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">特殊货物类型维护</div>
@@ -131,11 +136,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "edit_special_cargo_type_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "special_cargo_type_deletion_button",
   },
 ]);
 //新增

+ 8 - 1
src/views/systemSettings/datastructure/datastructureTerm.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="add_data_item_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">数据项</div>
@@ -294,11 +299,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "data_item_editing_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "data_item_deletion_button",
   },
 ]);
 //新增

+ 9 - 1
src/views/systemSettings/datastructure/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="new_data_structure_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">数据结构</div>
@@ -142,16 +147,19 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "data_structure_editing_button",
   },
   {
     name: "数据项",
     className: "editBtn",
     param: 4,
+    is: "data_item_editing_page",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "data_structure_deletion_button",
   },
 ]);
 //新增

+ 8 - 1
src/views/systemSettings/messageTemplate/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addDialogShow">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="adding_message_template"
+        @addForm="addDialogShow"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">消息模板</div>
@@ -97,11 +102,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "message_template_editing",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "message_template_deletion",
   },
 ]);
 //新增

+ 8 - 1
src/views/systemSettings/protocolManagement/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="agreement_addition"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">协议管理</div>
@@ -162,11 +167,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "arotocol_Editing",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "agreement_deletion",
   },
 ]);
 //新增

+ 4 - 0
src/views/systemSettings/queryTemplate/index.vue

@@ -5,6 +5,7 @@
         :is-auth="true"
         :is-statuser="true"
         :is-Search="true"
+        powerData="add_query_template_button"
         @addForm="addForm"
         @searchForms="searchForms"
         @clearForm="clearForm"
@@ -88,16 +89,19 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "query_template_editing_button",
   },
   {
     name: "列设置",
     className: "editBtn",
     param: 4,
+    is: "query_template_column_settings_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "query_template_deletion_button",
   },
 ]);
 //新增

+ 8 - 1
src/views/systemSettings/queryTemplate/queryTemplateColumn.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="column_setting_add_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">查询项设置</div>
@@ -305,11 +310,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "column_settings_edit_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "column_setting_deletion_button",
   },
 ]);
 //新增

+ 8 - 1
src/views/systemSettings/securityPolicy/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="new_login_policy_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">登录策略</div>
@@ -354,11 +359,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "login_policy_edit_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "login_policy_deletion_button",
   },
 ]);
 //新增

+ 8 - 1
src/views/systemSettings/sourceTube/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader
+        :is-auth="true"
+        :is-statuser="true"
+        powerData="new_data_source_button"
+        @addForm="addForm"
+      >
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">数据源管理</div>
@@ -128,11 +133,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "data_source_editing_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "data_source_deletion_button",
   },
 ]);
 //新增

+ 3 - 0
src/views/systemSettings/warningEdit/index.vue

@@ -132,6 +132,7 @@
         :is-auth="true"
         :is-statuser="true"
         :is-Search="true"
+        powerData="add_alert_policy_button"
         @addForm="addForm"
         style="margin-top: 20px"
       >
@@ -379,11 +380,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "edit_alert_policy_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "delete_alert_policy_button",
   },
 ]);
 //新增

+ 3 - 0
src/views/systemSettings/warningSet/index.vue

@@ -5,6 +5,7 @@
         :is-auth="true"
         :is-statuser="true"
         :is-Search="true"
+        powerData="alert_alarm_settings_add_button"
         @addForm="addForm"
         @searchForms="searchForms"
       >
@@ -213,11 +214,13 @@ const tableBtnGroup = ref([
     name: "编辑",
     className: "editBtn",
     param: 2,
+    is: "edit_alert_alarm_settings_button",
   },
   {
     name: "删除",
     className: "delBtn",
     param: 3,
+    is: "delete_alert_alarm_settings_button",
   },
 ]);
 //获取弹框-下拉数据