| 
					
				 | 
			
			
				@@ -3,6 +3,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <zj-form-container ref="formRef" :formData="formData" :formRules="formRules"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <zj-form-module title="保险基础信息" label-width="120px" :formData="formData" :formItems="formItems" :column="3"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </zj-form-module> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <zj-form-module title="网点信息" label-width="0px" :formData="formData" :formItems="items2"> </zj-form-module> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </zj-form-container> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div v-if="type === 0 || type === 1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-button size="mini" @click="submit">提交</el-button> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -13,6 +14,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 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' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   props: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     type: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -32,14 +37,20 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         context: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         agreementType: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         agreementName: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        status: 'ON' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        status: 'ON', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        agreementPolicies: [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       formRules: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         context: [{ required: true, message: '请输入', trigger: 'blur' }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         agreementType: [{ required: true, message: '请输入', trigger: 'blur' }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         agreementName: [{ required: true, message: '请输入', trigger: 'blur' }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         status: [{ required: true, message: '请输入', trigger: 'blur' }] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      formInline: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        websitId: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        websitName: '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      itemsList: [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   computed: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -95,6 +106,93 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    items2() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      return [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          name: 'slot-component', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          md: 24, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          attributes: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          formItemAttributes: { label: '', 'label-width': '0px', prop: 'agreementPolicies', rules: [...required] }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          render: (h, { props, onInput }) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            var { formData } = props 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <el-form 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    size="mini" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    inline={true} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    value={this.formInline} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    onInput={v => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      this.formInline = v 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    label-width="0px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <el-form-item label=""> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      <el-input 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        value={this.formInline.websitId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        onInput={v => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          this.formInline.websitId = v 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        placeholder="网点编号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      ></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <el-form-item label=""> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      <el-input 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        value={this.formInline.websitName} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        onInput={v => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          this.formInline.websitName = v 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        placeholder="网点名称" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      ></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        onClick={() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          EventBus.$emit('handlePaginationCallBack33') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        查询 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        onClick={() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          this.formInline.websitId = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          this.formInline.websitName = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        重置 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  </el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <pagingTransfer 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  handlePaginationCallBackKey="handlePaginationCallBack33" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  value={this.formData.agreementPolicies} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  onInput={v => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.agreementPolicies = v 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  left-columns={[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'companyWechatName', label: '所属公司编号', width: '160' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'websitId', label: '网点编号', width: '120' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'name', label: '网点名称', width: '' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  ]} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  right-columns={[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'companyWechatName', label: '所属公司编号', width: '160' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'websitId', label: '网点编号', width: '120' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { id: 'name', label: '网点名称', width: '' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  ]} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  show-pagination={true} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  pagination-call-back={this.paginationCallback} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  title-texts={['待选项', '已选项']} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  min-height="300px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  table-row-key={row => row.websitId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   created() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -110,6 +208,14 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    paginationCallback({ pageIndex, pageSize }) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      return new Promise(resolve => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        resolve({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          total: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          data: [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     submit() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$refs['formRef'].validate(valid => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (valid) { 
			 |