Commit 388d1817 authored by “lixuyan”'s avatar “lixuyan”

页面添加缓存

parent 80143fbf
...@@ -124,6 +124,7 @@ ...@@ -124,6 +124,7 @@
<script> <script>
import { post } from '@/utils/http' import { post } from '@/utils/http'
export default { export default {
name: 'DeeMesInspectionDispatch',
provide() { provide() {
return { return {
searchFormData: this.searchFormData searchFormData: this.searchFormData
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
import missingParts from './components/missingParts' import missingParts from './components/missingParts'
import stationPlanList from './components/stationPlanList' import stationPlanList from './components/stationPlanList'
export default { export default {
name: 'InstructionsIssued', name: 'DeeMesInstructionsIssued',
components: { missingParts, stationPlanList }, components: { missingParts, stationPlanList },
data() { data() {
return { return {
......
...@@ -735,6 +735,7 @@ export default { ...@@ -735,6 +735,7 @@ export default {
if (res && res.items.content.length) { if (res && res.items.content.length) {
var data = res.items.content[0] var data = res.items.content[0]
const inspectPerson = [] const inspectPerson = []
if (data.prodTask) {
data.prodTask.forEach(element => { data.prodTask.forEach(element => {
if (element.subTypeName === 'CheckOut') { if (element.subTypeName === 'CheckOut') {
if (element.extProcessSkillUser) { if (element.extProcessSkillUser) {
...@@ -742,7 +743,7 @@ export default { ...@@ -742,7 +743,7 @@ export default {
} }
} }
}) })
console.log(3434, inspectPerson) }
that.headerData = { that.headerData = {
id: data.id, id: data.id,
serialNumber: data.extProcessPlan.serialNumber, serialNumber: data.extProcessPlan.serialNumber,
......
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