zs 2 yıl önce
ebeveyn
işleme
f4d5b92c43

+ 1 - 1
src/views/center/supplydemand/support/index.vue

@@ -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 }) => {
-  let obj = { id: data._id, status: data.status };
+  let obj = { _id: data._id, status: data.status };
   let res: IQueryResult = await techolsupport.update(obj);
   if (res.errcode == 0) {
     ElMessage({ type: 'success', message: '维护信息成功' });