Commit 96934f31 authored by “lixuyan”'s avatar “lixuyan”

装配计划执行样式修改

parent e17f8e46
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
popper-class="fuzzy-search-popper" popper-class="fuzzy-search-popper"
> >
<div class="body"> <div class="body">
<el-input v-model="aoName" size="mini" placeholder="AO号/名称" /> <el-input v-model="aoName" size="mini" clearable placeholder="AO号/名称" />
<footer> <footer>
<el-button size="mini" type="text" class="last-anchor" name="" @click="getTaskAcceptance()">查询</el-button> <el-button size="mini" type="text" class="last-anchor" name="" @click="getTaskAcceptance()">查询</el-button>
</footer> </footer>
......
...@@ -12,14 +12,14 @@ ...@@ -12,14 +12,14 @@
<el-table-column <el-table-column
prop="serialNumber" prop="serialNumber"
label="AO号" label="AO号"
min-width="220" min-width="240"
align="center" align="center"
show-overflow-tooltip show-overflow-tooltip
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" @click="routerAssemblyExecution(scope.row)">{{ <span class="link-style" type="text" @click="routerAssemblyExecution(scope.row)">{{
scope.row.serialNumber scope.row.serialNumber
}}</el-button> }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -182,7 +182,7 @@ export default { ...@@ -182,7 +182,7 @@ export default {
{ {
'fieldName': 'prodTask.extProcessSkillUser.dxUserInfoId', 'fieldName': 'prodTask.extProcessSkillUser.dxUserInfoId',
'operator': 'EQ', 'operator': 'EQ',
'value': 1626781927440 'value': localStorage.getItem('userId') || ''
}, },
{ {
'fieldName': 'extProcessPlan.sorties', 'fieldName': 'extProcessPlan.sorties',
...@@ -237,7 +237,7 @@ export default { ...@@ -237,7 +237,7 @@ export default {
], ],
'toValidateKeys': '' 'toValidateKeys': ''
} }
that.processLoading = true that.loading = true
post('/JoExecutePlan/getTaskAcceptanceToDo', param) post('/JoExecutePlan/getTaskAcceptanceToDo', param)
.then((res) => { .then((res) => {
if (res && res.items && res.items.content) { if (res && res.items && res.items.content) {
...@@ -289,21 +289,33 @@ export default { ...@@ -289,21 +289,33 @@ export default {
}) })
.catch((err) => console.error(err)) .catch((err) => console.error(err))
.finally(() => { .finally(() => {
that.processLoading = false that.loading = false
}) })
}, },
routerAssemblyExecution(item) { routerAssemblyExecution(item) {
if (!item.isOK) return // if (!item.isOK) return
this.$router.push({ this.$router.push({
name: 'assemblyPerform', path: '/dee-mes/taskExecution',
query: { query: {
id: item.id, id: item.id,
materNo: item.materNo, title: this.$route.query.title + '执行',
airModelId: item.airModelId, showMenu: false,
sortiesId: item.sortiesId, showTag: 'false',
isOK: item.isOK isOK: item.isOK,
backFlag: true
} }
}) })
this.$store.dispatch('app/closeSideBar', false)
// this.$router.push({
// name: 'assemblyPerform',
// query: {
// id: item.id,
// materNo: item.materNo,
// airModelId: item.airModelId,
// sortiesId: item.sortiesId,
// isOK: item.isOK
// }
// })
} }
} }
} }
......
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