Commit b952d9c7 authored by zhang's avatar zhang

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

parent 9aa8dbef
......@@ -36,7 +36,7 @@
<div class="task-item">
<span class="task-label">检测机构:</span>
<span class="task-content">
{{ task.testOrganizationName }}
{{ task.deptName }}
</span>
</div>
</div>
......@@ -251,7 +251,7 @@ export default {
inspectionStandardName: this.task.inspectionStandardName,
inspectCarCompanyName: this.task.inspectCarCompanyName,
carModel: this.task.carModel,
testOrganizationName: this.task.testOrganizationName,
testOrganizationName: this.task.deptName,
createTime: this.task.createTime,
carExperimentRequest: {
regulationName: this.task.inspectionStandardName,
......
......@@ -178,6 +178,7 @@
import page from '@/mixins/page'
import { del, update } from '@/api/plan'
import companyDialog from './components/dialog.vue'
import { componentSelect } from '@/api/system/sample'
export default {
components: {
companyDialog
......@@ -221,6 +222,7 @@ export default {
this.queryParams.isAsc = 'desc'
this.queryParams.orderByColumn = 'createTime'
this.view = this.$route.query.view
this.getComponentSelect()
this.buttonDisabled = true
setTimeout(()=>{
this.buttonDisabled = false
......@@ -311,6 +313,7 @@ export default {
isAsc: 'desc',
orderByColumn: 'createTime'
}).then(res => {
console.log(res)
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