|
@@ -143,7 +143,7 @@ const toExam = (data: object) => {
|
|
};
|
|
};
|
|
// 审核保存
|
|
// 审核保存
|
|
const toSave = async (data: { _id: string; status: string; user_id: string; scientist_name: string; phone: string; title: string; remark: string }) => {
|
|
const toSave = async (data: { _id: string; status: string; user_id: string; scientist_name: string; phone: string; title: string; remark: string }) => {
|
|
- let obj = { id: data._id, status: data.status };
|
|
|
|
|
|
+ let obj = { _id: data._id, status: data.status };
|
|
let res: IQueryResult = await techolsupport.update(obj);
|
|
let res: IQueryResult = await techolsupport.update(obj);
|
|
if (res.errcode == 0) {
|
|
if (res.errcode == 0) {
|
|
ElMessage({ type: 'success', message: '维护信息成功' });
|
|
ElMessage({ type: 'success', message: '维护信息成功' });
|