Explorar el Código

增加合同监管统计批量选择/多选功能,以便于批量删除等操作

liyan hace 1 mes
padre
commit
0954e505aa

+ 1 - 2
jeecgboot-vue3/src/views/charge/TMonitorPlanList.vue

@@ -5,7 +5,7 @@
      <!--插槽:table标题-->
       <template #tableTitle>
           <a-button type="primary" v-auth="'monitor:t_monitor_plan:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button>
-          <a-button type="primary" v-auth="'contract:t_contract_stat:edit'" @click="handleEdit" v-if="selectedRowKeys.length > 0">
+          <a-button type="primary" v-auth="'contract:t_contract_stat:edit'" @click="handleEdit" v-if="selectedRowKeys.length == 1">
               <Icon icon="ant-design:edit-outlined"></Icon>
               编辑      
           </a-button>
@@ -85,7 +85,6 @@
               return Object.assign(params, queryParam);
             },
             tableSetting: { size: false },
-            rowSelection: { type: 'radio' },
             showActionColumn: false
       },
        exportConfig: {

+ 1 - 2
jeecgboot-vue3/src/views/charge/TMonitorSituationList.vue

@@ -5,7 +5,7 @@
      <!--插槽:table标题-->
       <template #tableTitle>
           <a-button type="primary" v-auth="'monitor:t_monitor_situation:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button>
-          <a-button type="primary" v-auth="'contract:t_contract_stat:edit'" @click="handleEdit" v-if="selectedRowKeys.length > 0">
+          <a-button type="primary" v-auth="'contract:t_contract_stat:edit'" @click="handleEdit" v-if="selectedRowKeys.length == 1">
               <Icon icon="ant-design:edit-outlined"></Icon>
               编辑      
           </a-button>
@@ -84,7 +84,6 @@
               return Object.assign(params, queryParam);
             },
             tableSetting: { size: false },
-            rowSelection: { type: 'radio' },
             showActionColumn: false
       },
        exportConfig: {

+ 1 - 2
jeecgboot-vue3/src/views/contract/TContractStatList.vue

@@ -5,7 +5,7 @@
      <!--插槽:table标题-->
       <template #tableTitle>
           <a-button type="primary" v-auth="'contract:t_contract_stat:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button>
-          <a-button type="primary" v-auth="'contract:t_contract_stat:edit'" @click="handleEdit" v-if="selectedRowKeys.length > 0">
+          <a-button type="primary" v-auth="'contract:t_contract_stat:edit'" @click="handleEdit" v-if="selectedRowKeys.length == 1">
               <Icon icon="ant-design:edit-outlined"></Icon>
               编辑      
           </a-button>
@@ -87,7 +87,6 @@
               return Object.assign(params, queryParam);
             },
             tableSetting: { size: false },
-            rowSelection: { type: 'radio' },
             showActionColumn: false
       },
       exportConfig: {

+ 1 - 2
jeecgboot-vue3/src/views/contract/TContractSuperviseList.vue

@@ -5,7 +5,7 @@
      <!--插槽:table标题-->
       <template #tableTitle>
           <a-button type="primary" v-auth="'contract:t_contract_supervise:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button>
-          <a-button type="primary" v-auth="'contract:t_contract_stat:edit'" @click="handleEdit" v-if="selectedRowKeys.length > 0">
+          <a-button type="primary" v-auth="'contract:t_contract_stat:edit'" @click="handleEdit" v-if="selectedRowKeys.length == 1">
               <Icon icon="ant-design:edit-outlined"></Icon>
               编辑      
           </a-button>
@@ -85,7 +85,6 @@
               return Object.assign(params, queryParam);
             },
             tableSetting: { size: false },
-            rowSelection: { type: 'radio' },
             showActionColumn: false
       },
        exportConfig: {

+ 1 - 2
jeecgboot-vue3/src/views/supervise/TSuperviseReceiveList.vue

@@ -5,7 +5,7 @@
      <!--插槽:table标题-->
       <template #tableTitle>
           <a-button type="primary" v-auth="'supervise:t_supervise_receive:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button>
-          <a-button type="primary" v-auth="'contract:t_contract_stat:edit'" @click="handleEdit" v-if="selectedRowKeys.length > 0">
+          <a-button type="primary" v-auth="'contract:t_contract_stat:edit'" @click="handleEdit" v-if="selectedRowKeys.length == 1">
               <Icon icon="ant-design:edit-outlined"></Icon>
               编辑      
           </a-button>
@@ -84,7 +84,6 @@
               return Object.assign(params, queryParam);
             },
             tableSetting: { size: false },
-            rowSelection: { type: 'radio' },
             showActionColumn: false
       },
        exportConfig: {

+ 1 - 2
jeecgboot-vue3/src/views/supervise/TSuperviseSendList.vue

@@ -5,7 +5,7 @@
      <!--插槽:table标题-->
       <template #tableTitle>
           <a-button type="primary" v-auth="'supervise:t_supervise_send:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button>
-          <a-button type="primary" v-auth="'contract:t_contract_stat:edit'" @click="handleEdit" v-if="selectedRowKeys.length > 0">
+          <a-button type="primary" v-auth="'contract:t_contract_stat:edit'" @click="handleEdit" v-if="selectedRowKeys.length == 1">
               <Icon icon="ant-design:edit-outlined"></Icon>
               编辑      
           </a-button>
@@ -84,7 +84,6 @@
               return Object.assign(params, queryParam);
             },
             tableSetting: { size: false },
-            rowSelection: { type: 'radio' },
             showActionColumn: false
       },
        exportConfig: {