|  | @@ -17,7 +17,7 @@
 | 
	
		
			
				|  |  |                      <template v-if="toggleSearchStatus">
 | 
	
		
			
				|  |  |                          <a-col :md="6" :sm="8">
 | 
	
		
			
				|  |  |                              <a-form-item label="简称(abbrevation)" :label-col="labelCol1" :wrapper-col="wrapperCol1">
 | 
	
		
			
				|  |  | -                                <a-input placeholder="请输入" v-model:value="queryParams.abbrevation"></a-input>
 | 
	
		
			
				|  |  | +                                <a-input placeholder="请输入" v-model:value="queryParams.abbreviation"></a-input>
 | 
	
		
			
				|  |  |                              </a-form-item>
 | 
	
		
			
				|  |  |                          </a-col>
 | 
	
		
			
				|  |  |                          <a-col :md="6" :sm="8">
 | 
	
	
		
			
				|  | @@ -27,7 +27,7 @@
 | 
	
		
			
				|  |  |                          </a-col>
 | 
	
		
			
				|  |  |                          <a-col :md="6" :sm="8">
 | 
	
		
			
				|  |  |                              <a-form-item label="联系人(contact)" >
 | 
	
		
			
				|  |  | -                                <a-input placeholder="请输入" v-model:value="queryParams.contact"></a-input>
 | 
	
		
			
				|  |  | +                                <a-input placeholder="请输入" v-model:value="queryParams.contacts"></a-input>
 | 
	
		
			
				|  |  |                              </a-form-item>
 | 
	
		
			
				|  |  |                          </a-col>
 | 
	
		
			
				|  |  |                          <a-col :md="6" :sm="8">
 | 
	
	
		
			
				|  | @@ -47,7 +47,7 @@
 | 
	
		
			
				|  |  |                          </a-col>
 | 
	
		
			
				|  |  |                          <a-col :md="6" :sm="8">
 | 
	
		
			
				|  |  |                              <a-form-item label="临期天数(deadline days)" :label-col="labelCol1" :wrapper-col="wrapperCol1">
 | 
	
		
			
				|  |  | -                                <a-input placeholder="请输入" v-model:value="queryParams.deadlineDays"></a-input>
 | 
	
		
			
				|  |  | +                                <a-input placeholder="请输入" v-model:value="queryParams.deadlineReminder"></a-input>
 | 
	
		
			
				|  |  |                              </a-form-item>
 | 
	
		
			
				|  |  |                          </a-col>
 | 
	
		
			
				|  |  |                          <a-col :md="6" :sm="8">
 | 
	
	
		
			
				|  | @@ -74,7 +74,7 @@
 | 
	
		
			
				|  |  |          <a-card  :body-style="{ padding: '10px' }" :bordered="false" style="margin: 10px;">
 | 
	
		
			
				|  |  |               <!-- 操作按钮区域 -->
 | 
	
		
			
				|  |  |              <div  style="margin-bottom: 4px;">
 | 
	
		
			
				|  |  | -                <a-button @click="handleExport" type="primary" preIcon="ant-design:plus" style="margin-right: 1%;">导出(export)</a-button>
 | 
	
		
			
				|  |  | +                <a-button @click="handleExport" type="primary" style="margin-right: 1%;">导出(export)</a-button>
 | 
	
		
			
				|  |  |                  <!-- <a-dropdown v-if="selectedRowKeys.length > 0" >
 | 
	
		
			
				|  |  |                      <template #overlay>
 | 
	
		
			
				|  |  |                          <a-menu>
 | 
	
	
		
			
				|  | @@ -136,6 +136,8 @@
 | 
	
		
			
				|  |  |      import { filterObj, getFileAccessHttpUrl } from '/@/utils/common/compUtils';
 | 
	
		
			
				|  |  |      import { JDictSelectTag} from '/@/components/Form';
 | 
	
		
			
				|  |  |      import { downloadFile } from '/@/utils/common/renderUtils';
 | 
	
		
			
				|  |  | +    import { useMethods } from '/@/hooks/system/useMethods';
 | 
	
		
			
				|  |  | +    const { handleExportXls, handleImportXls } = useMethods();
 | 
	
		
			
				|  |  |      const columns = [
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |              title: '编码(code)',
 | 
	
	
		
			
				|  | @@ -151,8 +153,8 @@
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |              title: '简称(abbrevation)',
 | 
	
		
			
				|  |  | -            key: 'abbrevation',
 | 
	
		
			
				|  |  | -            dataIndex: 'abbrevation',
 | 
	
		
			
				|  |  | +            key: 'abbreviation',
 | 
	
		
			
				|  |  | +            dataIndex: 'abbreviation',
 | 
	
		
			
				|  |  |              align:"center"
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          {
 | 
	
	
		
			
				|  | @@ -164,7 +166,7 @@
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |              title: '联系人(contact)',
 | 
	
		
			
				|  |  |              key: 'contact',
 | 
	
		
			
				|  |  | -            dataIndex: 'contact',
 | 
	
		
			
				|  |  | +            dataIndex: 'contacts',
 | 
	
		
			
				|  |  |              align:"center"
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          {
 | 
	
	
		
			
				|  | @@ -227,8 +229,8 @@
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |              title: '临期天数(deadline days)',
 | 
	
		
			
				|  |  | -            key: 'deadlineDays',
 | 
	
		
			
				|  |  | -            dataIndex: 'deadlineDays',
 | 
	
		
			
				|  |  | +            key: 'deadlineReminder',
 | 
	
		
			
				|  |  | +            dataIndex: 'deadlineReminder',
 | 
	
		
			
				|  |  |              align:"center",
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |      ];
 | 
	
	
		
			
				|  | @@ -254,13 +256,13 @@
 | 
	
		
			
				|  |  |      const queryParams = ref({
 | 
	
		
			
				|  |  |          code:'',
 | 
	
		
			
				|  |  |          name:'',
 | 
	
		
			
				|  |  | -        abbrevation:'',
 | 
	
		
			
				|  |  | +        abbreviation:'',
 | 
	
		
			
				|  |  |          dutyParagraph:'',
 | 
	
		
			
				|  |  | -        contact:'',
 | 
	
		
			
				|  |  | +        contacts:'',
 | 
	
		
			
				|  |  |          phone:'',
 | 
	
		
			
				|  |  |          paymentTerms:'',
 | 
	
		
			
				|  |  |          country:'',
 | 
	
		
			
				|  |  | -        deadlineDays:'',
 | 
	
		
			
				|  |  | +        deadlineReminder:'',
 | 
	
		
			
				|  |  |          originalFactory:'',
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |      let pagination = ref({
 | 
	
	
		
			
				|  | @@ -276,13 +278,13 @@
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |      onMounted(() => {
 | 
	
		
			
				|  |  |          //初始加载页面
 | 
	
		
			
				|  |  | -        // loadData();
 | 
	
		
			
				|  |  | +        loadData();
 | 
	
		
			
				|  |  |          // getOptiom()
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |      function loadData(){
 | 
	
		
			
				|  |  |          let params = getQueryParams();
 | 
	
		
			
				|  |  |          defHttp
 | 
	
		
			
				|  |  | -        .get({ url: '/baseCode/baseProductArchive/list',params}, { isTransformResponse: false })
 | 
	
		
			
				|  |  | +        .get({ url: '/cuspCode/cuspSupplierProfile/list2',params}, { isTransformResponse: false })
 | 
	
		
			
				|  |  |          .then((res) => {
 | 
	
		
			
				|  |  |              if (res.success) {
 | 
	
		
			
				|  |  |                  dataSource.value = res.result.records;
 | 
	
	
		
			
				|  | @@ -316,13 +318,13 @@
 | 
	
		
			
				|  |  |          queryParams.value = {
 | 
	
		
			
				|  |  |              code:'',
 | 
	
		
			
				|  |  |              name:'',
 | 
	
		
			
				|  |  | -            abbrevation:'',
 | 
	
		
			
				|  |  | +            abbreviation:'',
 | 
	
		
			
				|  |  |              dutyParagraph:'',
 | 
	
		
			
				|  |  | -            contact:'',
 | 
	
		
			
				|  |  | +            contacts:'',
 | 
	
		
			
				|  |  |              phone:'',
 | 
	
		
			
				|  |  |              paymentTerms:'',
 | 
	
		
			
				|  |  |              country:'',
 | 
	
		
			
				|  |  | -            deadlineDays:'',
 | 
	
		
			
				|  |  | +            deadlineReminder:'',
 | 
	
		
			
				|  |  |              originalFactory:'',
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          pagination.value.current =1;
 | 
	
	
		
			
				|  | @@ -336,7 +338,8 @@
 | 
	
		
			
				|  |  |          selectedRowKeys.value = keys
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      function handleExport(){
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +        let paramsForm = getQueryParams();
 | 
	
		
			
				|  |  | +        handleExportXls('供应商资质临期', '/cuspCode/cuspSupplierProfile/exportXls2', filterObj(paramsForm))
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  |  <style scoped lang="less">
 |