| 
					
				 | 
			
			
				@@ -6,78 +6,32 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <div class="box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-scrollbar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <basic-container> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <avue-tree 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    :option="treeOption" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    :data="treeData" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    @node-click="nodeClick" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <avue-tree :option="treeOption" :data="treeData" @node-click="nodeClick" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </basic-container> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-scrollbar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-col> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-col :span="19"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <basic-container class="page-crad"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <avue-crud 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :option="option" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :data="dataList" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ref="crud" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                v-model="form" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :page.sync="page" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @row-del="rowDel" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @row-update="rowUpdate" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :before-open="beforeOpen" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :before-close="beforeClose" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @row-save="rowSave" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :search.sync="search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @search-change="searchChange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @search-reset="searchReset" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @selection-change="selectionChange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @current-change="currentChange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @size-change="sizeChange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @refresh-change="refreshChange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @saveColumn="saveColumn" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @resetColumn="resetColumn" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @on-load="onLoad" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @tree-load="treeLoad" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @search-criteria-switch="searchCriteriaSwitch" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <avue-crud :option="option" :data="dataList" ref="crud" v-model="form" :page.sync="page" @row-del="rowDel" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              @row-update="rowUpdate" :before-open="beforeOpen" :before-close="beforeClose" @row-save="rowSave" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              :search.sync="search" @search-change="searchChange" @search-reset="searchReset" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              @selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              @refresh-change="refreshChange" @saveColumn="saveColumn" @resetColumn="resetColumn" @on-load="onLoad" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              @tree-load="treeLoad" @search-criteria-switch="searchCriteriaSwitch"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <template slot="menuLeft"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    icon="el-icon-bottom" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    @click="excelBox = true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                >导入 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-button type="primary" size="small" icon="el-icon-bottom" @click="excelBox = true">导入 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    icon="el-icon-printer" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    @click.stop="openReport()" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                >报表打印 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-button icon="el-icon-printer" size="small" type="primary" @click.stop="openReport()">报表打印 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <template slot-scope="scope" slot="menu"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    type="text" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    icon="el-icon-view" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    @click.stop="editOpen(scope.row, 1)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                >查看 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-button type="text" icon="el-icon-view" size="small" @click.stop="editOpen(scope.row, 1)">查看 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    type="text" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    icon="el-icon-edit" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    @click.stop="editOpen(scope.row, 1)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                >编辑 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-button type="text" icon="el-icon-edit" size="small" @click.stop="editOpen(scope.row, 1)">编辑 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    type="text" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    icon="el-icon-delete" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    @click.stop="rowDel(scope.row, scope.index)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                >删除 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-button type="text" icon="el-icon-delete" size="small" @click.stop="rowDel(scope.row, scope.index)"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  删除 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <template slot="adminProfiles" slot-scope="{ row }"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -87,34 +41,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <span>{{ row.belongCompany }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </avue-crud> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <report-dialog 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :switchDialog="switchDialog" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                reportName="客户资料-客户资料" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @onClose="onClose()" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                v-if="$store.getters.userInfo.tenant_id == '096359'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ></report-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <report-dialog 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :switchDialog="switchDialog" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                reportName="客户信息" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                corpType="KH" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @onClose="onClose()" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                v-else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ></report-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <el-dialog 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                title="导入客户" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                append-to-body 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :visible.sync="excelBox" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                width="555px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :close-on-click-modal="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                v-dialog-drag 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <avue-form 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  :option="excelOption" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  v-model="excelForm" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  table-loading="excelLoading" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  :upload-before="uploadBefore" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  :upload-after="uploadAfter" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <report-dialog :switchDialog="switchDialog" reportName="客户资料-客户资料" @onClose="onClose()" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              v-if="$store.getters.userInfo.tenant_id == '096359'"></report-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <report-dialog :switchDialog="switchDialog" reportName="客户信息" corpType="KH" @onClose="onClose()" v-else> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </report-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-dialog title="导入客户" append-to-body :visible.sync="excelBox" width="555px" :close-on-click-modal="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              v-dialog-drag> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <avue-form :option="excelOption" v-model="excelForm" table-loading="excelLoading" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                :upload-before="uploadBefore" :upload-after="uploadAfter"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <template slot="excelTemplate"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   <el-button type="primary" @click="derivation"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     点击下载<i class="el-icon-download el-icon--right"></i> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -129,11 +63,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-col> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-row> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <detail-page 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        @goBack="goBack" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        :detailData="detailData" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        v-if="!show" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    ></detail-page> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <detail-page @goBack="goBack" :detailData="detailData" v-if="!show"></detail-page> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -147,10 +77,10 @@ import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   deleteDetails, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   getDeptLazyTree 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } from "@/api/basicData/customerInformation"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import {getToken} from "@/util/auth"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { getToken } from "@/util/auth"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import reportDialog from "@/components/report-dialog/main"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import {customerParameter} from "@/enums/management-type"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import {gainUser} from "@/api/basicData/customerInquiry"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { customerParameter } from "@/enums/management-type"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { gainUser } from "@/api/basicData/customerInquiry"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   name: "customerInformation", 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -176,12 +106,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             corpType: customerParameter.code 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             resolve( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                res.data.data.map(item => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    ...item, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    leaf: !item.hasChildren 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              res.data.data.map(item => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  ...item, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  leaf: !item.hasChildren 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -246,18 +176,18 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.option = await this.getColumnData(this.getColumnName(142), option); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     gainUser().then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.findObject(this.option.column, "adminProfiles").dicData = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          res.data.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        res.data.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   activated() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    if (this.$route.query.corpId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.editOpen({id: this.$route.query.corpId}, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if (this.$route.query.corpName) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.editOpen({ id: this.$route.query.corpId }, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } else if (this.$route.query.customerName) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.show = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.detailData = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         treeDeptId: this.treeDeptId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } else if (this.$route.query.add) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.beforeOpen() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -272,9 +202,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     derivation() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       window.open( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          `/api/blade-client/corpsdesc/export-template?${ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.website.tokenHeader 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }=${getToken()}` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        `/api/blade-client/corpsdesc/export-template?${this.website.tokenHeader 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }=${getToken()}` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     uploadBefore(file, done, loading) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -300,37 +229,37 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         cancelButtonText: "取消", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         type: "warning" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          .then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return deleteDetails({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              id: row.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              corpsTypeId: row.corpsTypeId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              corpType: "KH" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          .then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$message({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              type: "success", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              message: "操作成功!" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.page.currentPage = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.onLoad(this.page, {parentId: 0}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        .then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          return deleteDetails({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            id: row.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            corpsTypeId: row.corpsTypeId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            corpType: "KH" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        .then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.$message({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            type: "success", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            message: "操作成功!" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.page.currentPage = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.onLoad(this.page, { parentId: 0 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //修改时的修改按钮点击触发 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     rowUpdate(row, index, done, loading) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       typeSave(row).then( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$message({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              type: "success", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              message: "操作成功!" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // 数据回调进行刷新 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            done(row); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          error => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            window.console.log(error); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            loading(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.$message({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            type: "success", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            message: "操作成功!" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // 数据回调进行刷新 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          done(row); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        error => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          window.console.log(error); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          loading(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //新增修改时保存触发 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -342,7 +271,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //查询全部 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     initData() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      customerList({corpType: customerParameter.code}).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      customerList({ corpType: customerParameter.code }).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         console.log(this.form); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const column = this.findObject(this.option.column, "parentId"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         column.dicData = res.data.data.records; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -402,7 +331,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     refreshChange() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.onLoad(this.page); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    onLoad(page, params = {parentId: 0}) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    onLoad(page, params = { parentId: 0 }) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let queryParams = Object.assign({}, params, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         size: page.pageSize, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         current: page.currentPage, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -443,8 +372,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     async saveColumn() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const inSave = await this.saveColumnData( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.getColumnName(142), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.option 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.getColumnName(142), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.option 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (inSave) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$nextTick(() => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -469,7 +398,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     goBack(type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.detailData = this.$options.data().detailData; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.show = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if (type){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$router.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           path: '/basicData/customerInformation/index' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 |