| 
					
				 | 
			
			
				@@ -16,8 +16,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { insureAgreeDetail, insureAgreeAdd, insureAgreeUpdate } from '@/api/InsuranceManagement.js' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import pagingTransfer from '@/components/paging-transfer.vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { EventBus } from '@/utils/eventBus' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { settleRelaConfigQuerySubWebsit } from '@/api/settlementRelationshipAllocation' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { required } from '@/components/template/rules_verify.js' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { insureList } from '@/api/InsuranceManagement.js' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   props: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     type: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -38,7 +38,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         agreementType: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         agreementName: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         status: 'ON', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        agreementPolicies: [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        policy: [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       formRules: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         context: [{ required: true, message: '请输入', trigger: 'blur' }], 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -47,8 +47,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         status: [{ required: true, message: '请输入', trigger: 'blur' }] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       formInline: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        websitId: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        websitName: '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        policyName: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        policyNumber: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        startTime: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        endTime: '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       itemsList: [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -113,7 +115,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           name: 'slot-component', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           md: 24, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           attributes: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          formItemAttributes: { label: '', 'label-width': '0px', prop: 'agreementPolicies', rules: [...required] }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          formItemAttributes: { label: '', 'label-width': '0px', prop: 'policy', rules: [...required] }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           render: (h, { props, onInput }) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             var { formData } = props 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return ( 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -130,22 +132,42 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <el-form-item label=""> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       <el-input 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        value={this.formInline.websitId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        value={this.formInline.policyName} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         onInput={v => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          this.formInline.websitId = v 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          this.formInline.policyName = v 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        placeholder="网点编号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        placeholder="保单名称" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       ></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <el-form-item label=""> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       <el-input 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        value={this.formInline.websitName} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        value={this.formInline.policyNumber} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         onInput={v => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          this.formInline.websitName = v 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          this.formInline.policyNumber = v 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        placeholder="网点名称" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        placeholder="保单编号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       ></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <el-form-item label=""> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      <el-date-picker 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        value={this.formInline.startTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        onInput={v => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          this.formInline.startTime = v 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        type="datetime" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        placeholder="生效日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      ></el-date-picker> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <el-form-item label=""> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      <el-date-picker 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        value={this.formInline.endTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        onInput={v => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          this.formInline.endTime = v 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        type="datetime" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        placeholder="结束日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      ></el-date-picker> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         type="primary" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -157,8 +179,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         onClick={() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          this.formInline.websitId = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          this.formInline.websitName = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          this.formInline.policyName = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          this.formInline.policyNumber = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          this.formInline.startTime = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          this.formInline.endTime = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         重置 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -168,21 +192,25 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <pagingTransfer 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   handlePaginationCallBackKey="handlePaginationCallBack33" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  value={this.formData.agreementPolicies} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  value={this.formData.policy} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   onInput={v => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    this.formData.agreementPolicies = v 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.policy = v 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   left-columns={[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { id: 'companyWechatName', label: '所属公司编号', width: '160' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { id: 'websitId', label: '网点编号', width: '120' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { id: 'name', label: '网点名称', width: '' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'policyName', label: '保单名称', width: '' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'policyNumber', label: '保单编号', width: '' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'policyPrice', label: '保单金额', width: '' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'startTime', label: '生效时间', width: '' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'endTime', label: '结束时间', width: '' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   ]} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   right-columns={[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { id: 'companyWechatName', label: '所属公司编号', width: '160' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { id: 'websitId', label: '网点编号', width: '120' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { id: 'name', label: '网点名称', width: '' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'policyName', label: '保单名称', width: '' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'policyNumber', label: '保单编号', width: '' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'policyPrice', label: '保单金额', width: '' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'startTime', label: '生效时间', width: '' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'endTime', label: '结束时间', width: '' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   ]} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  show-pagination={true} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  show-pagination={false} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   pagination-call-back={this.paginationCallback} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   title-texts={['待选项', '已选项']} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   min-height="300px" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -210,9 +238,40 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     paginationCallback({ pageIndex, pageSize }) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return new Promise(resolve => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        resolve({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          total: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          data: [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        var params = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (this.formInline.policyName) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          params.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            param: 'policy_name', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            compare: 'like', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            value: this.formInline.policyName 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (this.formInline.policyNumber) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          params.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            param: 'policy_number', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            compare: 'like', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            value: this.formInline.policyNumber 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (this.formInline.startTime) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          params.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            param: 'start_time', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            compare: 'like', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            value: this.formInline.startTime 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (this.formInline.endTime) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          params.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            param: 'end_time', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            compare: 'like', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            value: this.formInline.endTime 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        insureList({ pageNum: 1, pageSize: -1, params: params }).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          resolve({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            total: res.data.total, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            data: res.data.records 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 |