浏览代码

自由职业者修改

LiFei 4 年之前
父节点
当前提交
160fe09023
共有 1 个文件被更改,包括 85 次插入21 次删除
  1. 85 21
      src/views/hlwsupervise/HlwBusinessDetailsList.vue

+ 85 - 21
src/views/hlwsupervise/HlwBusinessDetailsList.vue

@@ -13,20 +13,48 @@
 
 
 
-      <a-card :bordered="false">
-        <!-- table区域-begin -->
-        <div>
-          <p >* 纳税金额仅作参考,实际以缴纳至税务局的纳税额为准</p>
-          <a-table
-            ref="table"
-            size="middle"
-            bordered
-            rowKey="id"
-            :columns="columns"
-            :dataSource="dataSource"
-            :pagination="ipagination"
-            :loading="loading"
-            @change="handleTableChange">
+    <a-card :bordered="false">
+
+      <div class="table-page-search-wrapper">
+        <a-form layout="inline" @keyup.enter.native="searchQuery">
+          <a-row :gutter="24">
+
+
+
+            <a-col :md="8" :sm="10">
+              <a-form-item label="到款时间">
+                <j-date v-model="queryParam.paymentResultTime_end" :showTime="true" date-format="YYYY-MM-DD" style="width:45%" placeholder="请选择到款时间" ></j-date>
+              </a-form-item>
+            </a-col>
+
+            <a-col :md="6" :sm="8">
+            <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
+              <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
+              <a-button type="primary" @click="searchReset1" icon="reload" style="margin-left: 8px">重置</a-button>
+              <!--<a @click="handleToggleSearch" style="margin-left: 8px">-->
+              <!--{{ toggleSearchStatus ? '收起' : '展开' }}-->
+              <!--<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>-->
+              <!--</a>-->
+            </span>
+            </a-col>
+
+          </a-row>
+        </a-form>
+      </div>
+
+      <!-- table区域-begin -->
+      <div>
+        <p >* 纳税金额仅作参考,实际以缴纳至税务局的纳税额为准</p>
+        <a-table
+          ref="table"
+          size="middle"
+          bordered
+          rowKey="id"
+          :columns="columns"
+          :dataSource="dataSource"
+          :pagination="ipagination"
+          :loading="loading"
+          @change="handleTableChange">
 
             <span slot="action" slot-scope="text, record">
               <a @click="viewServiceContract(record)" v-has="'userBusiness:subcontract'">合同</a>
@@ -36,16 +64,16 @@
               <a @click="viewTaxPaymentReceipt(record)" v-has="'userBusiness:taxPaymentReceipt'">完税证明</a>
 
             </span>
-            <span slot="action3" slot-scope="text, record">
+          <span slot="action3" slot-scope="text, record">
                  {{record.requirementName}} <a @click="viewRequirementDescription(record)" >详情</a>
             </span>
-          </a-table>
-        </div>
+        </a-table>
+      </div>
 
 
 
-      </a-card>
-      <hlw-picture-modal ref="hwViewPictureForm" @ok="modalFormOk"></hlw-picture-modal>
+    </a-card>
+    <hlw-picture-modal ref="hwViewPictureForm" @ok="modalFormOk"></hlw-picture-modal>
     <hlw-business-requirement-description-modal ref="viewRequirementDescriptionForm" @ok="modalFormOk"></hlw-business-requirement-description-modal>
     <hlw-view-contract-modal ref="hlgViewContractForm"></hlw-view-contract-modal>
   </a-modal>
@@ -57,6 +85,7 @@
   import HlwPictureModal from './modules/HlwPictureModal'
   import HlwBusinessRequirementDescriptionModal from './modules/hlwBusinessRequirementDescriptionModal'
   import HlwViewContractModal from '../hlwcpmanager/modules/HlwViewContractModal'
+  import JDate from '@/components/jeecg/JDate.vue'
 
 
 
@@ -68,12 +97,17 @@
     components: {
       HlwViewContractModal,
       HlwBusinessRequirementDescriptionModal,
-      HlwPictureModal
+      HlwPictureModal,
+      JDate
 
 
     },
     data() {
       return {
+        // 查询条件
+        queryParam: {
+
+        },
         description: '业务明细页面',
         headers: {},
         fileList: [],
@@ -111,6 +145,21 @@
             scopedSlots: { customRender: 'action3' }
           },
           {
+            title: '姓名',
+            align: 'center',
+            dataIndex: 'userName'
+          },
+          {
+            title: '手机号',
+            align: 'center',
+            dataIndex: 'phone'
+          },
+          {
+            title: '身份证号',
+            align: 'center',
+            dataIndex: 'idcardNumber'
+          },
+          {
             title: '到款时间',
             align: 'center',
             dataIndex: 'paymentResultTime'
@@ -164,6 +213,7 @@
       },
       edit(record) {
         this.form.resetFields()
+        this.queryParam={}
         this.model = Object.assign({}, record);
         this.visible = true
         this.loadData1(this.model)
@@ -176,7 +226,20 @@
         this.close()
       },
 
+      // 重置
+      searchReset1(){
+        this.queryParam={}
+        this.loadData1(this.model)
+      },
+
+
 
+      searchQuery(){
+        var params=this.model
+        params.paymentResultTime_end=this.queryParam.paymentResultTime_end
+        this.loadData1(params)
+        this.model.paymentResultTime_end=null
+      },
 
       loadData1(record) {
         if (!this.url.list) {
@@ -256,7 +319,8 @@
         this.$refs.viewRequirementDescriptionForm.edit(record);
         this.$refs.viewRequirementDescriptionForm.title = '需求描述'
         this.$refs.viewRequirementDescriptionForm.disableSubmit = false
-      }
+      },
+
 
     }
   }