|  | @@ -7,9 +7,9 @@
 | 
	
		
			
				|  |  |              <el-scrollbar>
 | 
	
		
			
				|  |  |                <basic-container>
 | 
	
		
			
				|  |  |                  <avue-tree
 | 
	
		
			
				|  |  | -                  :option="treeOption"
 | 
	
		
			
				|  |  | -                  :data="treeData"
 | 
	
		
			
				|  |  | -                  @node-click="nodeClick"
 | 
	
		
			
				|  |  | +                    :option="treeOption"
 | 
	
		
			
				|  |  | +                    :data="treeData"
 | 
	
		
			
				|  |  | +                    @node-click="nodeClick"
 | 
	
		
			
				|  |  |                  />
 | 
	
		
			
				|  |  |                </basic-container>
 | 
	
		
			
				|  |  |              </el-scrollbar>
 | 
	
	
		
			
				|  | @@ -18,66 +18,66 @@
 | 
	
		
			
				|  |  |          <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"
 | 
	
		
			
				|  |  | +                :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"
 | 
	
		
			
				|  |  | -                  >导入
 | 
	
		
			
				|  |  | +                    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()"
 | 
	
		
			
				|  |  | -                  >报表打印
 | 
	
		
			
				|  |  | +                    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)"
 | 
	
		
			
				|  |  | -                  >查看
 | 
	
		
			
				|  |  | +                    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)"
 | 
	
		
			
				|  |  | -                  >编辑
 | 
	
		
			
				|  |  | +                    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)"
 | 
	
		
			
				|  |  | -                  >删除
 | 
	
		
			
				|  |  | +                    type="text"
 | 
	
		
			
				|  |  | +                    icon="el-icon-delete"
 | 
	
		
			
				|  |  | +                    size="small"
 | 
	
		
			
				|  |  | +                    @click.stop="rowDel(scope.row, scope.index)"
 | 
	
		
			
				|  |  | +                >删除
 | 
	
		
			
				|  |  |                  </el-button>
 | 
	
		
			
				|  |  |                </template>
 | 
	
		
			
				|  |  |                <template slot="adminProfiles" slot-scope="{ row }">
 | 
	
	
		
			
				|  | @@ -88,32 +88,32 @@
 | 
	
		
			
				|  |  |                </template>
 | 
	
		
			
				|  |  |              </avue-crud>
 | 
	
		
			
				|  |  |              <report-dialog
 | 
	
		
			
				|  |  | -              :switchDialog="switchDialog"
 | 
	
		
			
				|  |  | -              reportName="客户资料-客户资料"
 | 
	
		
			
				|  |  | -              @onClose="onClose()"
 | 
	
		
			
				|  |  | -              v-if="$store.getters.userInfo.tenant_id == '096359'"
 | 
	
		
			
				|  |  | +                :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
 | 
	
		
			
				|  |  | +                :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
 | 
	
		
			
				|  |  | +                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"
 | 
	
		
			
				|  |  | +                  :option="excelOption"
 | 
	
		
			
				|  |  | +                  v-model="excelForm"
 | 
	
		
			
				|  |  | +                  table-loading="excelLoading"
 | 
	
		
			
				|  |  | +                  :upload-before="uploadBefore"
 | 
	
		
			
				|  |  | +                  :upload-after="uploadAfter"
 | 
	
		
			
				|  |  |                >
 | 
	
		
			
				|  |  |                  <template slot="excelTemplate">
 | 
	
		
			
				|  |  |                    <el-button type="primary" @click="derivation">
 | 
	
	
		
			
				|  | @@ -131,9 +131,9 @@
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <detail-page
 | 
	
		
			
				|  |  | -      @goBack="goBack"
 | 
	
		
			
				|  |  | -      :detailData="detailData"
 | 
	
		
			
				|  |  | -      v-if="!show"
 | 
	
		
			
				|  |  | +        @goBack="goBack"
 | 
	
		
			
				|  |  | +        :detailData="detailData"
 | 
	
		
			
				|  |  | +        v-if="!show"
 | 
	
		
			
				|  |  |      ></detail-page>
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
	
		
			
				|  | @@ -148,10 +148,11 @@ 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",
 | 
	
		
			
				|  |  |    data() {
 | 
	
	
		
			
				|  | @@ -162,26 +163,26 @@ export default {
 | 
	
		
			
				|  |  |        switchDialog: false,
 | 
	
		
			
				|  |  |        treeDeptId: "",
 | 
	
		
			
				|  |  |        form: {},
 | 
	
		
			
				|  |  | -      search:{},
 | 
	
		
			
				|  |  | +      search: {},
 | 
	
		
			
				|  |  |        option: option,
 | 
	
		
			
				|  |  |        parentId: 0,
 | 
	
		
			
				|  |  |        dataList: [],
 | 
	
		
			
				|  |  |        treeOption: {
 | 
	
		
			
				|  |  |          nodeKey: "id",
 | 
	
		
			
				|  |  |          lazy: true,
 | 
	
		
			
				|  |  | -        treeLoad: function(node, resolve) {
 | 
	
		
			
				|  |  | +        treeLoad: function (node, resolve) {
 | 
	
		
			
				|  |  |            const parentId = node.level === 0 ? 0 : node.data.id;
 | 
	
		
			
				|  |  |            getDeptLazyTree({
 | 
	
		
			
				|  |  |              parentId: parentId,
 | 
	
		
			
				|  |  |              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
 | 
	
		
			
				|  |  | +                  };
 | 
	
		
			
				|  |  | +                })
 | 
	
		
			
				|  |  |              );
 | 
	
		
			
				|  |  |            });
 | 
	
		
			
				|  |  |          },
 | 
	
	
		
			
				|  | @@ -242,17 +243,22 @@ export default {
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  | - async created() {
 | 
	
		
			
				|  |  | +  async created() {
 | 
	
		
			
				|  |  |      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)
 | 
	
		
			
				|  |  | -    }else{
 | 
	
		
			
				|  |  | +  activated() {
 | 
	
		
			
				|  |  | +    if (this.$route.query.corpId) {
 | 
	
		
			
				|  |  | +      this.editOpen({id: this.$route.query.corpId}, 1)
 | 
	
		
			
				|  |  | +    } else if (this.$route.query.customerName) {
 | 
	
		
			
				|  |  | +      this.show = false;
 | 
	
		
			
				|  |  | +      this.detailData = {
 | 
	
		
			
				|  |  | +        treeDeptId: this.treeDeptId
 | 
	
		
			
				|  |  | +      };
 | 
	
		
			
				|  |  | +    } else {
 | 
	
		
			
				|  |  |        this.beforeOpen()
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
	
		
			
				|  | @@ -267,9 +273,9 @@ 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) {
 | 
	
	
		
			
				|  | @@ -295,37 +301,37 @@ export default {
 | 
	
		
			
				|  |  |          cancelButtonText: "取消",
 | 
	
		
			
				|  |  |          type: "warning"
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  | -        .then(() => {
 | 
	
		
			
				|  |  | -          return deleteDetails({
 | 
	
		
			
				|  |  | -            id: row.id,
 | 
	
		
			
				|  |  | -            corpsTypeId: row.corpsTypeId,
 | 
	
		
			
				|  |  | -            corpType: "KH"
 | 
	
		
			
				|  |  | -          });
 | 
	
		
			
				|  |  | -        })
 | 
	
		
			
				|  |  | -        .then(() => {
 | 
	
		
			
				|  |  | -          this.$message({
 | 
	
		
			
				|  |  | -            type: "success",
 | 
	
		
			
				|  |  | -            message: "操作成功!"
 | 
	
		
			
				|  |  | +          .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});
 | 
	
		
			
				|  |  |            });
 | 
	
		
			
				|  |  | -          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();
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  |        );
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      //新增修改时保存触发
 | 
	
	
		
			
				|  | @@ -337,7 +343,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;
 | 
	
	
		
			
				|  | @@ -397,7 +403,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,
 | 
	
	
		
			
				|  | @@ -438,8 +444,8 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      async saveColumn() {
 | 
	
		
			
				|  |  |        const inSave = await this.saveColumnData(
 | 
	
		
			
				|  |  | -        this.getColumnName(142),
 | 
	
		
			
				|  |  | -        this.option
 | 
	
		
			
				|  |  | +          this.getColumnName(142),
 | 
	
		
			
				|  |  | +          this.option
 | 
	
		
			
				|  |  |        );
 | 
	
		
			
				|  |  |        if (inSave) {
 | 
	
		
			
				|  |  |          this.$nextTick(() => {
 | 
	
	
		
			
				|  | @@ -461,9 +467,14 @@ export default {
 | 
	
		
			
				|  |  |          this.$refs.crud.$refs.dialogColumn.columnBox = false;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    goBack() {
 | 
	
		
			
				|  |  | +    goBack(type) {
 | 
	
		
			
				|  |  |        this.detailData = this.$options.data().detailData;
 | 
	
		
			
				|  |  |        this.show = true;
 | 
	
		
			
				|  |  | +      if (type){
 | 
	
		
			
				|  |  | +        this.$router.push({
 | 
	
		
			
				|  |  | +          path: '/basicData/customerInformation/index'
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |        this.onLoad(this.page, this.search);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }
 |