Forráskód Böngészése

供应商资质临期-页面修改

jingbb 4 napja
szülő
commit
b3374eb9e6

+ 19 - 14
src/views/cuspCode/Deadline Reminder/deadlindeReminderList.vue

@@ -3,6 +3,7 @@
         <a-card  :body-style="{ padding: '10px' }" :bordered="false" style="margin: 10px;">
             <div class="table-page-search-wrapper">
                 <a-form :model="queryParams" :label-col="labelCol" :wrapper-col="wrapperCol" @keyup.enter.native="searchQuery">
+                    <a-row :gutter="24">
                     <a-col :md="6" :sm="8">
                         <a-form-item label="编码(code)">
                             <a-input placeholder="请输入" v-model:value="queryParams.code"></a-input>
@@ -15,22 +16,22 @@
                     </a-col>
                     <template v-if="toggleSearchStatus">
                         <a-col :md="6" :sm="8">
-                            <a-form-item label="简称(abbrevation)">
+                            <a-form-item label="简称(abbrevation)" :label-col="labelCol1" :wrapper-col="wrapperCol1">
                                 <a-input placeholder="请输入" v-model:value="queryParams.abbrevation"></a-input>
                             </a-form-item>
                         </a-col>
                         <a-col :md="6" :sm="8">
-                            <a-form-item label="税号(duty paragraph)">
+                            <a-form-item label="税号(duty paragraph)" :label-col="labelCol1" :wrapper-col="wrapperCol1">
                                 <a-input placeholder="请输入" v-model:value="queryParams.dutyParagraph"></a-input>
                             </a-form-item>
                         </a-col>
                         <a-col :md="6" :sm="8">
-                            <a-form-item label="联系人(contact)">
+                            <a-form-item label="联系人(contact)" >
                                 <a-input placeholder="请输入" v-model:value="queryParams.contact"></a-input>
                             </a-form-item>
                         </a-col>
                         <a-col :md="6" :sm="8">
-                            <a-form-item label="联系电话(phone)" :label-col="labelCol1" :wrapper-col="wrapperCol1">
+                            <a-form-item label="联系电话(phone)" >
                                 <a-input placeholder="请输入" v-model:value="queryParams.phone"></a-input>
                             </a-form-item>
                         </a-col>
@@ -73,8 +74,8 @@
         <a-card  :body-style="{ padding: '10px' }" :bordered="false" style="margin: 10px;">
              <!-- 操作按钮区域 -->
             <div  style="margin-bottom: 4px;">
-                <!-- <a-button @click="handleAdd" type="primary" preIcon="ant-design:plus" style="margin-right: 1%;">新增(add)</a-button>
-                <a-dropdown v-if="selectedRowKeys.length > 0" >
+                <a-button @click="handleExport" type="primary" preIcon="ant-design:plus" style="margin-right: 1%;">导出(export)</a-button>
+                <!-- <a-dropdown v-if="selectedRowKeys.length > 0" >
                     <template #overlay>
                         <a-menu>
                         <a-menu-item key="1" @click="batchHandleDelete">
@@ -134,6 +135,7 @@
     import { message } from 'ant-design-vue';
     import { filterObj, getFileAccessHttpUrl } from '/@/utils/common/compUtils';
     import { JDictSelectTag} from '/@/components/Form';
+    import { downloadFile } from '/@/utils/common/renderUtils';
     const columns = [
         {
             title: '编码(code)',
@@ -231,20 +233,20 @@
         },
     ];
     const labelCol = ref({
-    xs: { span: 24 },
-    sm: { span: 9 },
+    xs: { span: 12 },
+    sm: { span: 7 },
     });
     const wrapperCol = ref({
-        xs: { span: 24 },
-        sm: { span: 15 },
+        xs: { span: 12 },
+        sm: { span: 17 },
     });
     const labelCol1 = ref({
-    xs: { span: 24 },
-    sm: { span: 12 },
+    xs: { span: 12 },
+    sm: { span: 10 },
     });
     const wrapperCol1 = ref({
-        xs: { span: 24 },
-        sm: { span: 12 },
+        xs: { span: 12 },
+        sm: { span: 14 },
     });
     const dataSource =ref([]);
     let selectedRowKeys = ref([]);
@@ -333,6 +335,9 @@
     function onSelectChange(keys){
         selectedRowKeys.value = keys
     }
+    function handleExport(){
+
+    }
 </script>
 <style scoped lang="less">
 /deep/.ant-form-item{