| | |
| | | </span> |
| | | <!-- <span v-else-if="typeTABS.prop === 'tab3'">选项卡内容3</span> --> |
| | | </div> |
| | | </template> |
| | | </template> |
| | | |
| | | <script> |
| | | import { column, column1 } from "./data"; |
| | |
| | | // this.onLoad(this.page); |
| | | } else if (column.prop == "tab2") { |
| | | // this.loading = false; |
| | | // console.log(document.getElementsByClassName("el-card__body")[0]); |
| | | this.onLoad1(this.page1); //第二个表格不会自动执行 |
| | | } |
| | | // this.$message.success(JSON.stringify(column)); |
| | |
| | | }); |
| | | }, |
| | | refreshChange1() { |
| | | // console.log(4534) |
| | | this.onLoad1(this.page1, this.query1); |
| | | }, |
| | | |
| | |
| | | // params["name"] = this.name; |
| | | // params["dispatcherCompany"] = this.dispatcherCompany; |
| | | params["dispatcherUnitId"] = this.id; |
| | | // console.log(params, "get"); |
| | | getdata1( |
| | | page.currentPage, |
| | | page.pageSize, |
| | | Object.assign(params, this.query) |
| | | ).then((res) => { |
| | | // console.log(res); |
| | | const data = res.data.data; |
| | | this.page1.total = data.total; |
| | | this.data1 = data.records; |
| | |
| | | // this.data1[k].securityName = this.data1[k].securityName.split(","); |
| | | // this.data1[k].securityName = this.data1[k].securityName.join(" | "); |
| | | // } |
| | | console.log(this.data1, 1); |
| | | this.loading1 = false; |
| | | }); |
| | | }, |
| | |
| | | if (i == 1) { |
| | | // console.log("存在"); |
| | | } else { |
| | | // console.log("已删除"); |
| | | |
| | | this.obj0 = {}; |
| | | this.obj0.name = row.name + " 该派遣单位已删除"; |
| | |
| | | } |
| | | } |
| | | } else { |
| | | // console.log("no"); |
| | | this.obj0.name = " 未选择派遣单位"; |
| | | } |
| | | }, |
| | |
| | | .el-collapse-item { |
| | | padding-top: 15px !important; |
| | | } |
| | | </style> |
| | | </style> |