Commit d8b73a06 authored by 11528's avatar 11528

维修记录页面完善

parent e039519c
...@@ -8,3 +8,12 @@ export function listRepairRecord(query) { ...@@ -8,3 +8,12 @@ export function listRepairRecord(query) {
params: query params: query
}) })
} }
// 维修工单详情
export function listRepairRecordDetails(query) {
return request({
url: '/nltmaintain/queryNltMaintainsDetail',
method: 'get',
params: query
})
}
...@@ -155,14 +155,14 @@ ...@@ -155,14 +155,14 @@
@click="handleDetail(scope.row)" @click="handleDetail(scope.row)"
>详情</el-link> >详情</el-link>
<el-link <el-link
v-if="scope.row.status === '1'" v-if="scope.row.status === 1"
size="mini" size="mini"
type="primary" type="primary"
style="margin-left: 10px" style="margin-left: 10px"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
>编辑生产模型</el-link> >编辑生产模型</el-link>
<el-link <el-link
v-if="scope.row.status === '0'" v-if="scope.row.status === 0"
size="mini" size="mini"
type="danger" type="danger"
style="margin-left: 10px" style="margin-left: 10px"
...@@ -623,7 +623,7 @@ export default { ...@@ -623,7 +623,7 @@ export default {
this.total3 = response.total this.total3 = response.total
this.Loading3 = false this.Loading3 = false
}) })
}else { } else {
this.rowsStation.orderModelId = row.orderModelId this.rowsStation.orderModelId = row.orderModelId
listStation(this.rowsStation).then(response => { listStation(this.rowsStation).then(response => {
this.stationList = response.rows this.stationList = response.rows
...@@ -652,6 +652,7 @@ export default { ...@@ -652,6 +652,7 @@ export default {
path: '/ProductionProcess/ModelDetails', path: '/ProductionProcess/ModelDetails',
query: { query: {
businessId: row.orderModelId, businessId: row.orderModelId,
orderBusinessId: row.businessId,
type: '2' type: '2'
} }
}) })
......
...@@ -1065,7 +1065,8 @@ export default { ...@@ -1065,7 +1065,8 @@ export default {
} else if (this.htmlType === '2') { } else if (this.htmlType === '2') {
nltordermodelUpdate({ nltordermodelUpdate({
...params, ...params,
businessId: this.$route.query.businessId businessId: this.$route.query.businessId,
orderBusinessId: this.$route.query.orderBusinessId
}).then(res => { }).then(res => {
this.$message.success('编辑成功') this.$message.success('编辑成功')
this.$router.push({ this.$router.push({
......
This diff is collapsed.
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