diff --git a/src/api/quality/income.js b/src/api/quality/income.js index e6b812a9..b94bd51a 100644 --- a/src/api/quality/income.js +++ b/src/api/quality/income.js @@ -68,4 +68,64 @@ export function getQcListUser(query) { method: 'get', params: query }); - } \ No newline at end of file + } + +//状态修改 +export function changeIncomeStatus(recordId, status) { + const data = { + recordId, + status + } + return request({ + url: '/quality/qcIncome/changeIncomeStatus', + method: 'put', + data: data + }) + } + +// 查询检测项列表 +export function getCkeckProjectList(query) { + return request({ + url: '/quality/qcIncome/getCkeckProjectList', + method: 'get', + params: query + }); + } + +//合格不合格 +export function changeCheckDetailStatus(recordId, status) { + const data = { + recordId, + status + } + return request({ + url: '/quality/qcIncome/changeCheckDetailStatus', + method: 'put', + data: data + }) +} + +//测量值提交 +export function commitActualValue(recordId, actualValues) { + const data = { + recordId, + actualValues + } + return request({ + url: '/quality/qcIncome/commitActualValue', + method: 'put', + data: data + }) +} + +//审核结果提交 +export function commitCheckResult(recordId) { + const data = { + recordId + } + return request({ + url: '/quality/qcIncome/commitCheckResult', + method: 'put', + data: data + }) +} diff --git a/src/views/device/faultReport/index.vue b/src/views/device/faultReport/index.vue index f515bd4a..3eb9c9a0 100644 --- a/src/views/device/faultReport/index.vue +++ b/src/views/device/faultReport/index.vue @@ -449,6 +449,7 @@ clearable v-model="form.workPlanTime" type="datetime" + value-format="yyyy-MM-dd HH:mm:ss" placeholder="请选择计划维修时间" > @@ -460,6 +461,7 @@ clearable v-model="form.workPlanDownTime" type="datetime" + value-format="yyyy-MM-dd HH:mm:ss" placeholder="请选择计划停机时间" > diff --git a/src/views/device/repairOrder/index.vue b/src/views/device/repairOrder/index.vue index c7fb94d2..1ae94471 100644 --- a/src/views/device/repairOrder/index.vue +++ b/src/views/device/repairOrder/index.vue @@ -42,20 +42,26 @@ /> - + + + - + + + @@ -142,7 +149,11 @@ {{ parseTime(scope.row.workPlanTime) }} - + + +