|
|
|
@ -779,6 +779,35 @@ |
|
|
|
}) |
|
|
|
}, |
|
|
|
activated() { |
|
|
|
if (this.$route.params.type === 'tokenLogin') { |
|
|
|
console.log("进来啦") |
|
|
|
if (this.$route.params.docNo) { |
|
|
|
// this.searchData.applyNo = this.$route.params.docNo |
|
|
|
|
|
|
|
let inData={ |
|
|
|
page: 1, |
|
|
|
limit: 100, |
|
|
|
site: this.$store.state.user.site, |
|
|
|
userName: this.$store.state.user.name, |
|
|
|
|
|
|
|
codeNo:this.$route.params.docNo, |
|
|
|
|
|
|
|
} |
|
|
|
technicalSpecificationListSearch(inData).then(({data}) => { |
|
|
|
if (data.code == 0) { |
|
|
|
this.dataList1 = data.page.list |
|
|
|
this.pageIndex = data.page.currPage |
|
|
|
this.pageSize = data.page.pageSize |
|
|
|
this.totalPage = data.page.totalCount |
|
|
|
if(this.dataList1.length>0){ |
|
|
|
this.$refs.mainTable.setCurrentRow(this.dataList1[0]); |
|
|
|
this.changeData(this.dataList1[0]) |
|
|
|
} |
|
|
|
} |
|
|
|
this.dataListLoading = false |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.$route.params.codeNo){ |
|
|
|
this.searchData.oriCodeNo = this.$route.params.codeNo; |
|
|
|
this.search(); |
|
|
|
|