Commit b952d9c7 authored by zhang's avatar zhang

fix: 修复检测方案记录被检车企搜索栏无选项,查看详情或导出时无法获取检测机构数据

parent 9aa8dbef
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<div class="task-item"> <div class="task-item">
<span class="task-label">检测机构:</span> <span class="task-label">检测机构:</span>
<span class="task-content"> <span class="task-content">
{{ task.testOrganizationName }} {{ task.deptName }}
</span> </span>
</div> </div>
</div> </div>
...@@ -251,7 +251,7 @@ export default { ...@@ -251,7 +251,7 @@ export default {
inspectionStandardName: this.task.inspectionStandardName, inspectionStandardName: this.task.inspectionStandardName,
inspectCarCompanyName: this.task.inspectCarCompanyName, inspectCarCompanyName: this.task.inspectCarCompanyName,
carModel: this.task.carModel, carModel: this.task.carModel,
testOrganizationName: this.task.testOrganizationName, testOrganizationName: this.task.deptName,
createTime: this.task.createTime, createTime: this.task.createTime,
carExperimentRequest: { carExperimentRequest: {
regulationName: this.task.inspectionStandardName, regulationName: this.task.inspectionStandardName,
......
...@@ -178,6 +178,7 @@ ...@@ -178,6 +178,7 @@
import page from '@/mixins/page' import page from '@/mixins/page'
import { del, update } from '@/api/plan' import { del, update } from '@/api/plan'
import companyDialog from './components/dialog.vue' import companyDialog from './components/dialog.vue'
import { componentSelect } from '@/api/system/sample'
export default { export default {
components: { components: {
companyDialog companyDialog
...@@ -221,6 +222,7 @@ export default { ...@@ -221,6 +222,7 @@ export default {
this.queryParams.isAsc = 'desc' this.queryParams.isAsc = 'desc'
this.queryParams.orderByColumn = 'createTime' this.queryParams.orderByColumn = 'createTime'
this.view = this.$route.query.view this.view = this.$route.query.view
this.getComponentSelect()
this.buttonDisabled = true this.buttonDisabled = true
setTimeout(()=>{ setTimeout(()=>{
this.buttonDisabled = false this.buttonDisabled = false
...@@ -311,6 +313,7 @@ export default { ...@@ -311,6 +313,7 @@ export default {
isAsc: 'desc', isAsc: 'desc',
orderByColumn: 'createTime' orderByColumn: 'createTime'
}).then(res => { }).then(res => {
console.log(res)
this.componentSelect = res.rows this.componentSelect = res.rows
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment