|  | @@ -5,7 +5,14 @@
 | 
											
												
													
														|  |                <div class="box">
 |  |                <div class="box">
 | 
											
												
													
														|  |                    <el-scrollbar>
 |  |                    <el-scrollbar>
 | 
											
												
													
														|  |                        <basic-container>
 |  |                        <basic-container>
 | 
											
												
													
														|  | -                          <avue-tree :option="treeOption" :data="customTypeData" @node-click="nodeClick" />
 |  | 
 | 
											
												
													
														|  | 
 |  | +                          <avue-tree :option="treeOption" :data="customTypeData" @node-click="nodeClick" >
 | 
											
												
													
														|  | 
 |  | +                              <template slot="addBtn">
 | 
											
												
													
														|  | 
 |  | +                                  <el-tooltip class="item" effect="dark" content="新建分类" placement="top">
 | 
											
												
													
														|  | 
 |  | +                                      <i class="el-icon-setting" style="font-size:18px;line-height: 30px;width: 20px;padding: 0 10px;"
 | 
											
												
													
														|  | 
 |  | +                                         @click="corpTypeVisible = true"></i>
 | 
											
												
													
														|  | 
 |  | +                                  </el-tooltip>
 | 
											
												
													
														|  | 
 |  | +                              </template>
 | 
											
												
													
														|  | 
 |  | +                          </avue-tree>
 | 
											
												
													
														|  |                        </basic-container>
 |  |                        </basic-container>
 | 
											
												
													
														|  |                    </el-scrollbar>
 |  |                    </el-scrollbar>
 | 
											
												
													
														|  |                </div>
 |  |                </div>
 | 
											
										
											
												
													
														|  | @@ -70,6 +77,22 @@
 | 
											
												
													
														|  |            @copyOrder="copyOrder"
 |  |            @copyOrder="copyOrder"
 | 
											
												
													
														|  |            :detailData="detailData"
 |  |            :detailData="detailData"
 | 
											
												
													
														|  |        ></detailPage>
 |  |        ></detailPage>
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +      <!--类别弹窗-->
 | 
											
												
													
														|  | 
 |  | +      <el-dialog
 | 
											
												
													
														|  | 
 |  | +          title="类别"
 | 
											
												
													
														|  | 
 |  | +          :visible.sync="corpTypeVisible"
 | 
											
												
													
														|  | 
 |  | +          append-to-body
 | 
											
												
													
														|  | 
 |  | +          width="60%"
 | 
											
												
													
														|  | 
 |  | +          :before-close="corpTypeClose">
 | 
											
												
													
														|  | 
 |  | +          <div>
 | 
											
												
													
														|  | 
 |  | +              <bcorpstypedefine></bcorpstypedefine>
 | 
											
												
													
														|  | 
 |  | +          </div>
 | 
											
												
													
														|  | 
 |  | +          <span slot="footer" class="dialog-footer">
 | 
											
												
													
														|  | 
 |  | +             <el-button @click="corpTypeVisible = false">取 消</el-button>
 | 
											
												
													
														|  | 
 |  | +             <el-button type="primary" @click="corpTypeVisible = false">确 定</el-button>
 | 
											
												
													
														|  | 
 |  | +          </span>
 | 
											
												
													
														|  | 
 |  | +      </el-dialog>
 | 
											
												
													
														|  |    </div>
 |  |    </div>
 | 
											
												
													
														|  |  </template>
 |  |  </template>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -78,13 +101,16 @@ import detailPage from "./detailsPage";
 | 
											
												
													
														|  |    import {getBcorpsList, getBcorpsDetail, addBcorps, updateBcorps, removeBcorps} from "@/api/iosBasicData/bcorps";
 |  |    import {getBcorpsList, getBcorpsDetail, addBcorps, updateBcorps, removeBcorps} from "@/api/iosBasicData/bcorps";
 | 
											
												
													
														|  |    import {mapGetters} from "vuex";
 |  |    import {mapGetters} from "vuex";
 | 
											
												
													
														|  |    import {bcorpstypedefineList} from "@/api/iosBasicData/bcorpstypedefine"
 |  |    import {bcorpstypedefineList} from "@/api/iosBasicData/bcorpstypedefine"
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | 
 |  | +  import bcorpstypedefine from "@/views/iosBasicData/bcorps/bcorpstypedefine.vue";
 | 
											
												
													
														|  |    export default {
 |  |    export default {
 | 
											
												
													
														|  |    components: {
 |  |    components: {
 | 
											
												
													
														|  | -    detailPage
 |  | 
 | 
											
												
													
														|  | 
 |  | +    detailPage,
 | 
											
												
													
														|  | 
 |  | +      bcorpstypedefine
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |      data() {
 |  |      data() {
 | 
											
												
													
														|  |        return {
 |  |        return {
 | 
											
												
													
														|  | 
 |  | +          // 类别弹窗的开启
 | 
											
												
													
														|  | 
 |  | +          corpTypeVisible:false,
 | 
											
												
													
														|  |            treeOption: {
 |  |            treeOption: {
 | 
											
												
													
														|  |                nodeKey: "id",
 |  |                nodeKey: "id",
 | 
											
												
													
														|  |                lazy: true,
 |  |                lazy: true,
 | 
											
										
											
												
													
														|  | @@ -1031,6 +1057,14 @@ import detailPage from "./detailsPage";
 | 
											
												
													
														|  |        goBack() {
 |  |        goBack() {
 | 
											
												
													
														|  |          this.isShow = true;
 |  |          this.isShow = true;
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  | 
 |  | +        // 类别弹窗关闭
 | 
											
												
													
														|  | 
 |  | +        corpTypeClose(done) {
 | 
											
												
													
														|  | 
 |  | +            this.$confirm('确认关闭?')
 | 
											
												
													
														|  | 
 |  | +                .then(_ => {
 | 
											
												
													
														|  | 
 |  | +                    done();
 | 
											
												
													
														|  | 
 |  | +                })
 | 
											
												
													
														|  | 
 |  | +                .catch(_ => {});
 | 
											
												
													
														|  | 
 |  | +        },
 | 
											
												
													
														|  |          //自定义列保存
 |  |          //自定义列保存
 | 
											
												
													
														|  |          async saveColumnTwo(ref, option, optionBack, code) {
 |  |          async saveColumnTwo(ref, option, optionBack, code) {
 | 
											
												
													
														|  |              /**
 |  |              /**
 | 
											
										
											
												
													
														|  | @@ -1079,4 +1113,7 @@ import detailPage from "./detailsPage";
 | 
											
												
													
														|  |  ::v-deep#out-table .back-two {
 |  |  ::v-deep#out-table .back-two {
 | 
											
												
													
														|  |      background: #ecf5ff !important;
 |  |      background: #ecf5ff !important;
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  | 
 |  | +::v-deep .el-input-group__append {
 | 
											
												
													
														|  | 
 |  | +    padding: 0 0px !important;
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  |  </style>
 |  |  </style>
 |