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

页面添加缓存

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