| | |
| | | <!-- <span v-else-if="typeTABS.prop === 'tab9'" class="tab"> --> |
| | | <el-tab-pane label="社保记录" name="tab9"> |
| | | <!-- 社保记录 --> |
| | | <social :deptid="obj0.departmentid"></social> |
| | | <social :deptid="obj0.departmentid" :socialRE="social"></social> |
| | | <!-- </span> --> |
| | | </el-tab-pane> |
| | | <!-- <span v-else-if="typeTABS.prop === 'tab7'" class="tab"> --> |
| | |
| | | ], |
| | | }; |
| | | return { |
| | | social: false, //解决表格错乱 |
| | | overHtp: false, |
| | | |
| | | activeName: "tab1", |
| | |
| | | window.open(`/api/member/export-template`); |
| | | }, |
| | | |
| | | handleChangeTABS(column) { |
| | | // this.typeTABS = column; |
| | | // console.log(column.prop); |
| | | // this.$message.success(JSON.stringify(column)); |
| | | if (column.prop == "tab1") { |
| | | this.loading1 = false; |
| | | this.loading2 = false; |
| | | // this.onLoad(this.page); |
| | | } else if (column.prop == "tab2") { |
| | | // this.loading1 = false; |
| | | this.loading2 = false; |
| | | this.onLoad1(this.page1); //第二个表格不会自动执行 |
| | | } else if (column.prop == "tab3") { |
| | | this.loading1 = false; |
| | | // this.loading2 = false; |
| | | this.onLoad2(this.page2); //第二个表格不会自动执行 |
| | | } |
| | | }, |
| | | // handleChangeTABS(column) { |
| | | // // this.typeTABS = column; |
| | | // // console.log(column.prop); |
| | | // // this.$message.success(JSON.stringify(column)); |
| | | // if (column.prop == "tab1") { |
| | | // this.loading1 = false; |
| | | // this.loading2 = false; |
| | | // // this.onLoad(this.page); |
| | | // } else if (column.prop == "tab2") { |
| | | // // this.loading1 = false; |
| | | // this.loading2 = false; |
| | | // this.onLoad1(this.page1); //第二个表格不会自动执行 |
| | | // } else if (column.prop == "tab3") { |
| | | // this.loading1 = false; |
| | | // // this.loading2 = false; |
| | | // this.onLoad2(this.page2); //第二个表格不会自动执行 |
| | | // } |
| | | // }, |
| | | handleClick(tab, event) { |
| | | // console.log(tab.name, event); |
| | | if (tab.name == "tab1") { |
| | |
| | | this.loading1 = false; |
| | | // this.loading2 = false; |
| | | this.onLoad2(this.page2); //第二个表格不会自动执行 |
| | | } else if (tab.name == "tab9") { |
| | | this.social = true; //表格错乱 |
| | | } else { |
| | | this.social = false; |
| | | } |
| | | }, |
| | | //派遣记录 |
| | |
| | | this.data1 = data.records; |
| | | console.log(this.data1); |
| | | this.loading1 = false; |
| | | |
| | | this.$refs.crudrec1.refreshTable(); |
| | | this.$refs.crudrec1.doLayout(); |
| | | }); |
| | | // onLoad1(page, params = {}) { |
| | | // this.loading1 = true; |
| | |
| | | this.data2 = data.records; |
| | | console.log(this.data2); |
| | | this.loading2 = false; |
| | | this.$refs.crudrec2.refreshTable(); |
| | | this.$refs.crudrec2.doLayout(); |
| | | }); |
| | | }, |
| | | //派遣记录 |