diff --git a/src/views/modules/project/projectInfo/projectInfo.vue b/src/views/modules/project/projectInfo/projectInfo.vue index 577ebfb..6ed37a5 100644 --- a/src/views/modules/project/projectInfo/projectInfo.vue +++ b/src/views/modules/project/projectInfo/projectInfo.vue @@ -77,7 +77,7 @@ :total="totalPage" layout="total, sizes, prev, pager, next, jumper"> - + diff --git a/src/views/modules/sampleManagement/technicalSpecificationList/technicalSpecificationList.vue b/src/views/modules/sampleManagement/technicalSpecificationList/technicalSpecificationList.vue index ddda60e..f10fb2a 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationList/technicalSpecificationList.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationList/technicalSpecificationList.vue @@ -34,6 +34,9 @@ :data="dataList1" :height="height" border + ref="mainTable" + @row-click="changeData" + highlight-current-row v-loading="dataListLoading" style="width: 100%; "> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0){ + this.$refs.mainTable.setCurrentRow(this.dataList1[0]); + this.changeData(this.dataList1[0]) + } } this.dataListLoading = false }) }, + changeData(row) { + this.currentRow = JSON.parse(JSON.stringify(row)); + this.infoData=row; + this.refreshCurrentTabTable (); + }, // 获取基础数据列表S getBaseList (val, type) { this.tagNo = val @@ -529,6 +657,9 @@ } this.$refs.baseList.init(val, strVal) }) + }, + refreshCurrentTabTable () { + }, /* 列表方法的回调 */ getBaseData (val) {