人工配料接口修改及显示按钮修改
This commit is contained in:
@@ -208,6 +208,7 @@ const submitTask = params => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//自动配料(下发配料)
|
||||||
const taskIngredients = params => {
|
const taskIngredients = params => {
|
||||||
return request({
|
return request({
|
||||||
url: '/qms/bus/sample/analysis/issuedIngredients',
|
url: '/qms/bus/sample/analysis/issuedIngredients',
|
||||||
@@ -218,6 +219,17 @@ const taskIngredients = params => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 手动配料 post 参数与自动配料一致
|
||||||
|
const manualIngredients = params => {
|
||||||
|
return request({
|
||||||
|
url: '/qms/bus/sample/analysis/manualIngredients',
|
||||||
|
method: 'POST',
|
||||||
|
params,
|
||||||
|
custom: {
|
||||||
|
showSuccess: true
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// 撤销提交任务明细
|
// 撤销提交任务明细
|
||||||
const redoAssayTaskDetail = params => {
|
const redoAssayTaskDetail = params => {
|
||||||
@@ -264,16 +276,6 @@ const rollbackAssayTask = data => {
|
|||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 手动配料 post 参数与自动下发配料一致
|
|
||||||
const manualIngredients = data => {
|
|
||||||
return request({
|
|
||||||
url: '/qms/bus/sample/analysis/manualIngredients',
|
|
||||||
method: 'POST',
|
|
||||||
data: {
|
|
||||||
...data
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
/*
|
/*
|
||||||
* 查询回收率配置*/
|
* 查询回收率配置*/
|
||||||
const queryConRecoveryRateList = param => {
|
const queryConRecoveryRateList = param => {
|
||||||
@@ -320,6 +322,6 @@ export default {
|
|||||||
rollbackAssayTask,
|
rollbackAssayTask,
|
||||||
submitTask,
|
submitTask,
|
||||||
taskIngredients,
|
taskIngredients,
|
||||||
queryQmsDicSampleProcessCodeList,
|
manualIngredients,
|
||||||
manualIngredients
|
queryQmsDicSampleProcessCodeList
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -71,7 +71,7 @@
|
|||||||
<u-button class="btn-operation mr10" type="primary" @click="handleIngredients()">自动配料</u-button>
|
<u-button class="btn-operation mr10" type="primary" @click="handleIngredients()">自动配料</u-button>
|
||||||
<u-button class="btn-operation ml10" type="primary" @click="handleManualIngredients()">人工配料</u-button>
|
<u-button class="btn-operation ml10" type="primary" @click="handleManualIngredients()">人工配料</u-button>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="taskIngredientsWay == 'automatic'">
|
<template v-else>
|
||||||
<u-button
|
<u-button
|
||||||
v-if="taskIngredientsStatus === 'allow_submit'"
|
v-if="taskIngredientsStatus === 'allow_submit'"
|
||||||
class="btn-operation"
|
class="btn-operation"
|
||||||
|
|||||||
Reference in New Issue
Block a user