|  | @@ -310,7 +310,7 @@ export default {
 | 
											
												
													
														|  |                trigger: "blur"
 |  |                trigger: "blur"
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  |            ]
 |  |            ]
 | 
											
												
													
														|  | -        }, 
 |  | 
 | 
											
												
													
														|  | 
 |  | +        },
 | 
											
												
													
														|  |          // {
 |  |          // {
 | 
											
												
													
														|  |          //   label: "共享公司",
 |  |          //   label: "共享公司",
 | 
											
												
													
														|  |          //   prop: "sharedCompany",
 |  |          //   prop: "sharedCompany",
 | 
											
										
											
												
													
														|  | @@ -565,6 +565,11 @@ export default {
 | 
											
												
													
														|  |      this.getAllWorkDicts()
 |  |      this.getAllWorkDicts()
 | 
											
												
													
														|  |      this.getCorpTypeCk()
 |  |      this.getCorpTypeCk()
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  | 
 |  | +  activated() {
 | 
											
												
													
														|  | 
 |  | +    this.$nextTick(() => {
 | 
											
												
													
														|  | 
 |  | +      this.$refs.crud.doLayout()
 | 
											
												
													
														|  | 
 |  | +    })
 | 
											
												
													
														|  | 
 |  | +  },
 | 
											
												
													
														|  |    methods: {
 |  |    methods: {
 | 
											
												
													
														|  |      // 启用或禁用
 |  |      // 启用或禁用
 | 
											
												
													
														|  |      editEnable() {
 |  |      editEnable() {
 | 
											
										
											
												
													
														|  | @@ -686,6 +691,7 @@ export default {
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |      ,
 |  |      ,
 | 
											
												
													
														|  |      addRow() {
 |  |      addRow() {
 | 
											
												
													
														|  | 
 |  | +      console.log('1234');
 | 
											
												
													
														|  |        this.data.push({ $cellEdit: true })
 |  |        this.data.push({ $cellEdit: true })
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |      ,
 |  |      ,
 | 
											
										
											
												
													
														|  | @@ -812,6 +818,12 @@ export default {
 | 
											
												
													
														|  |              this.data = res.data.data.corpsAddrList
 |  |              this.data = res.data.data.corpsAddrList
 | 
											
												
													
														|  |              this.corpsFiles = res.data.data.corpsFilesList
 |  |              this.corpsFiles = res.data.data.corpsFilesList
 | 
											
												
													
														|  |              this.getDetail(res.data.data.id);
 |  |              this.getDetail(res.data.data.id);
 | 
											
												
													
														|  | 
 |  | +            //添加成功后默认启用
 | 
											
												
													
														|  | 
 |  | +            let data = this.form
 | 
											
												
													
														|  | 
 |  | +            editenable({ id: res.data.data.id, enableOrNot: data.enableOrNot ? 0 : 1  }).then(res => {
 | 
											
												
													
														|  | 
 |  | +        this.$set(this.form, 'enableOrNot', data.enableOrNot == 1 ? 0 : 1)
 | 
											
												
													
														|  | 
 |  | +              
 | 
											
												
													
														|  | 
 |  | +            })
 | 
											
												
													
														|  |            }).finally(() => {
 |  |            }).finally(() => {
 | 
											
												
													
														|  |              this.loadingBtn = false;
 |  |              this.loadingBtn = false;
 | 
											
												
													
														|  |            });
 |  |            });
 |