对接法规技术评估

This commit is contained in:
qq787203167
2022-07-14 15:23:21 +08:00
parent 8c1a59a4e5
commit d292b1424b
6 changed files with 267 additions and 105 deletions
@@ -156,9 +156,10 @@
<script>
import { getAction, postAction } from '@/api/manage'
import processInformation from './components/processInformation'
export default {
name: 'index',
components:{
components: {
processInformation
},
data() {
@@ -360,11 +361,27 @@
this.$refs.processInformationRef.getData(JSON.parse(JSON.stringify(row)))
},
evaluationResultsClick(row) {
let newUrl = this.$router.resolve({
path: '/evaluationResultsWhole',
query: row
})
window.open(newUrl.href, '_blank')
if (row.evaluationType == 'Feedback evaluation') {
let newUrl = this.$router.resolve({
path: '/evaluationResultsWhole',
query: {
id:row.id,
processBackground:row.processBackground,
serialNumber:row.serialNumber
}
})
window.open(newUrl.href, '_blank')
} else {
let newUrl = this.$router.resolve({
path: '/evaluationResultsClause',
query: {
id:row.id,
processBackground:row.processBackground,
serialNumber:row.serialNumber
}
})
window.open(newUrl.href, '_blank')
}
}
}
}