Commit d2973864 authored by jingnan's avatar jingnan 👀

Merge branch 'dev' of http://94.191.100.41/tfmom/tf-mom-web into dev

parents d3500f4d 1ab78957
...@@ -299,8 +299,8 @@ export default { ...@@ -299,8 +299,8 @@ export default {
return { return {
value: row.defCode, value: row.defCode,
label: row.defName, label: row.defName,
status: row.extPosition[0].extPositionPlans[0] ? row.extPosition[0].extPositionPlans[0].planState : '', status: row.extPosition && row.extPosition.length && row.extPosition[0].extPositionPlans && row.extPosition[0].extPositionPlans[0] ? row.extPosition[0].extPositionPlans[0].planState : '',
postionId: row.extPosition[0].extPositionPlans[0] ? row.extPosition[0].extPositionPlans[0].id : '' postionId: row.extPosition && row.extPosition.length && row.extPosition[0].extPositionPlans && row.extPosition[0].extPositionPlans[0] ? row.extPosition[0].extPositionPlans[0].id : ''
} }
}) })
this.$set(this.searchFormData, 'sorties', this.sortiesData[0].value) this.$set(this.searchFormData, 'sorties', this.sortiesData[0].value)
......
...@@ -252,18 +252,17 @@ export default { ...@@ -252,18 +252,17 @@ export default {
'Delivery', 'Delivery',
'Run' 'Run'
] ]
},
{
'fieldName': 'prodTask.extProcessSkillUser.dxUserInfoId',
'operator': 'EQ',
// 'value': 1626781927440
value: user
},
{
'fieldName': 'prodTask.subTypeName',
'operator': 'EQ',
'value': this.$route.query.title === '装配任务' ? 'FitOut' : 'CheckOut'
} }
// {
// 'fieldName': 'prodTask.extProcessSkillUser.dxUserInfoId',
// 'operator': 'EQ',
// value: user
// },
// {
// 'fieldName': 'prodTask.subTypeName',
// 'operator': 'EQ',
// 'value': this.$route.query.title === '装配任务' ? 'FitOut' : 'CheckOut'
// }
], ],
'operator': 'AND' 'operator': 'AND'
}, },
...@@ -314,6 +313,18 @@ export default { ...@@ -314,6 +313,18 @@ export default {
}, },
'operator': this.$route.query.title === '装配任务' ? 'NEQ' : 'EQ' 'operator': this.$route.query.title === '装配任务' ? 'NEQ' : 'EQ'
} }
if (this.$route.query.title !== '适航任务') {
param.searchQueryCondition.searchItems.children[0].items.push({
'fieldName': 'prodTask.extProcessSkillUser.dxUserInfoId',
'operator': 'EQ',
value: user
})
param.searchQueryCondition.searchItems.children[0].items.push({
'fieldName': 'prodTask.subTypeName',
'operator': 'EQ',
'value': this.$route.query.title === '装配任务' ? 'FitOut' : 'CheckOut'
})
}
that.processLoading = true that.processLoading = true
post('/JoExecutePlan/getTaskAcceptance', param) post('/JoExecutePlan/getTaskAcceptance', param)
.then((res) => { .then((res) => {
......
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