| | |
| | | <!-- <span v-else-if="typeTABS.prop === 'tab7'" class="tab"> --> |
| | | <el-tab-pane label="营业执照" name="tab7"> |
| | | <!-- 营业执照 --> |
| | | <businessLicense :row="obj0"></businessLicense> |
| | | <businessLicense :row="obj0" v-if="overHtp"></businessLicense> |
| | | <!-- </span> --> |
| | | </el-tab-pane> |
| | | <!-- <span v-else-if="typeTABS.prop === 'tab8'" class="tab"> --> |
| | | <el-tab-pane label="许可证" name="tab8"> |
| | | <!-- 许可证 --> |
| | | <licence :row="obj0"></licence> |
| | | <licence :row="obj0" v-if="overHtp"></licence> |
| | | <!-- </span> --> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | |
| | | ], |
| | | }; |
| | | return { |
| | | overHtp: false, |
| | | |
| | | activeName: "tab1", |
| | | |
| | | departmentid: "", |
| | |
| | | }, |
| | | |
| | | handleChangeTABS(column) { |
| | | this.typeTABS = column; |
| | | console.log(column.prop); |
| | | // this.typeTABS = column; |
| | | // console.log(column.prop); |
| | | // this.$message.success(JSON.stringify(column)); |
| | | if (column.prop == "tab1") { |
| | | this.loading1 = false; |
| | |
| | | this.onLoad2(this.page2); //第二个表格不会自动执行 |
| | | } |
| | | }, |
| | | |
| | | handleClick(tab, event) { |
| | | // console.log(tab.name, event); |
| | | if (tab.name == "tab1") { |
| | | this.loading1 = false; |
| | | this.loading2 = false; |
| | | // this.onLoad(this.page); |
| | | } else if (tab.name == "tab2") { |
| | | // this.loading1 = false; |
| | | this.loading2 = false; |
| | | this.onLoad1(this.page1); //第二个表格不会自动执行 |
| | | } else if (tab.name == "tab3") { |
| | | this.loading1 = false; |
| | | // this.loading2 = false; |
| | | this.onLoad2(this.page2); //第二个表格不会自动执行 |
| | | } |
| | | }, |
| | | //派遣记录 |
| | | sizeChange1(val) { |
| | | this.page1.currentPage = 1; |
| | |
| | | } else { |
| | | that.creditcode = row.creditcode; |
| | | } |
| | | that.overHtp = true; |
| | | if (that.readLock("danweidataS") != null && a == 1) { |
| | | var b = JSON.parse(that.readLock("danweidataS")); |
| | | var i = 0; |