Browse Source

修改审核状态

zs 8 months ago
parent
commit
c7f902080c

+ 1 - 1
src/views/achievement/index.vue

@@ -279,7 +279,7 @@ const toExam = (data) => {
 // 审核保存
 // 审核保存
 const toExamSave = async () => {
 const toExamSave = async () => {
   const data = cloneDeep(examForm.value)
   const data = cloneDeep(examForm.value)
-  let res = await store.update(data)
+  let res = await store.update({ id: data.id, status: data.status })
   if ($checkRes(res, true)) {
   if ($checkRes(res, true)) {
     search({ skip, limit })
     search({ skip, limit })
     toClose()
     toClose()

+ 1 - 1
src/views/demand/demand/index.vue

@@ -266,7 +266,7 @@ const toExam = (data) => {
 // 审核保存
 // 审核保存
 const toExamSave = async () => {
 const toExamSave = async () => {
   const data = cloneDeep(examForm.value)
   const data = cloneDeep(examForm.value)
-  let res = await store.update(data)
+  let res = await store.update({ id: data.id, status: data.status })
   if ($checkRes(res, true)) {
   if ($checkRes(res, true)) {
     search({ skip, limit })
     search({ skip, limit })
     toClose()
     toClose()

+ 1 - 1
src/views/demand/supply/index.vue

@@ -259,7 +259,7 @@ const toExam = (data) => {
 // 审核保存
 // 审核保存
 const toExamSave = async () => {
 const toExamSave = async () => {
   const data = cloneDeep(examForm.value)
   const data = cloneDeep(examForm.value)
-  let res = await store.update(data)
+  let res = await store.update({ id: data.id, status: data.status })
   if ($checkRes(res, true)) {
   if ($checkRes(res, true)) {
     search({ skip, limit })
     search({ skip, limit })
     toClose()
     toClose()

+ 1 - 1
src/views/footplate/index.vue

@@ -226,7 +226,7 @@ const toExam = (data) => {
 // 审核保存
 // 审核保存
 const toExamSave = async () => {
 const toExamSave = async () => {
   const data = cloneDeep(examForm.value)
   const data = cloneDeep(examForm.value)
-  let res = await store.update(data)
+  let res = await store.update({ id: data.id, status: data.status })
   if ($checkRes(res, true)) {
   if ($checkRes(res, true)) {
     search({ skip, limit })
     search({ skip, limit })
     toClose()
     toClose()

+ 1 - 1
src/views/journal/index.vue

@@ -184,7 +184,7 @@ const toExam = (data) => {
 // 审核保存
 // 审核保存
 const toExamSave = async () => {
 const toExamSave = async () => {
   const data = cloneDeep(examForm.value)
   const data = cloneDeep(examForm.value)
-  let res = await store.update(data)
+  let res = await store.update({ id: data.id, status: data.status })
   if ($checkRes(res, true)) {
   if ($checkRes(res, true)) {
     search({ skip, limit })
     search({ skip, limit })
     toClose()
     toClose()

+ 1 - 1
src/views/journal/notes.vue

@@ -186,7 +186,7 @@ const toExam = (data) => {
 // 审核保存
 // 审核保存
 const toExamSave = async () => {
 const toExamSave = async () => {
   const data = cloneDeep(examForm.value)
   const data = cloneDeep(examForm.value)
-  let res = await store.update(data)
+  let res = await store.update({ id: data.id, status: data.status })
   if ($checkRes(res, true)) {
   if ($checkRes(res, true)) {
     search({ skip, limit })
     search({ skip, limit })
     toClose()
     toClose()

+ 1 - 1
src/views/match/info/index.vue

@@ -331,7 +331,7 @@ const toExam = (data) => {
 // 审核保存
 // 审核保存
 const toExamSave = async () => {
 const toExamSave = async () => {
   const data = cloneDeep(examForm.value)
   const data = cloneDeep(examForm.value)
-  let res = await store.update(data)
+  let res = await store.update({ id: data.id, status: data.status })
   if ($checkRes(res, true)) {
   if ($checkRes(res, true)) {
     search({ skip, limit })
     search({ skip, limit })
     toClose()
     toClose()

+ 1 - 1
src/views/match/sign/index.vue

@@ -135,7 +135,7 @@ const toExam = (data) => {
 // 审核保存
 // 审核保存
 const toExamSave = async () => {
 const toExamSave = async () => {
   const data = cloneDeep(examForm.value)
   const data = cloneDeep(examForm.value)
-  let res = await store.update(data)
+  let res = await store.update({ id: data.id, status: data.status })
   if ($checkRes(res, true)) {
   if ($checkRes(res, true)) {
     search({ skip, limit })
     search({ skip, limit })
     toClose()
     toClose()

+ 1 - 1
src/views/platform/news/index.vue

@@ -206,7 +206,7 @@ const toExam = (data) => {
 // 审核保存
 // 审核保存
 const toExamSave = async () => {
 const toExamSave = async () => {
   const data = cloneDeep(examForm.value)
   const data = cloneDeep(examForm.value)
-  let res = await store.update(data)
+  let res = await store.update({ id: data.id, status: data.status })
   if ($checkRes(res, true)) {
   if ($checkRes(res, true)) {
     search({ skip, limit })
     search({ skip, limit })
     toClose()
     toClose()

+ 1 - 1
src/views/platform/policy/index.vue

@@ -206,7 +206,7 @@ const toExam = (data) => {
 // 审核保存
 // 审核保存
 const toExamSave = async () => {
 const toExamSave = async () => {
   const data = cloneDeep(examForm.value)
   const data = cloneDeep(examForm.value)
-  let res = await store.update(data)
+  let res = await store.update({ id: data.id, status: data.status })
   if ($checkRes(res, true)) {
   if ($checkRes(res, true)) {
     search({ skip, limit })
     search({ skip, limit })
     toClose()
     toClose()

+ 1 - 1
src/views/platform/trends/index.vue

@@ -206,7 +206,7 @@ const toExam = (data) => {
 // 审核保存
 // 审核保存
 const toExamSave = async () => {
 const toExamSave = async () => {
   const data = cloneDeep(examForm.value)
   const data = cloneDeep(examForm.value)
-  let res = await store.update(data)
+  let res = await store.update({ id: data.id, status: data.status })
   if ($checkRes(res, true)) {
   if ($checkRes(res, true)) {
     search({ skip, limit })
     search({ skip, limit })
     toClose()
     toClose()

+ 1 - 1
src/views/project/index.vue

@@ -272,7 +272,7 @@ const toExam = (data) => {
 // 审核保存
 // 审核保存
 const toExamSave = async () => {
 const toExamSave = async () => {
   const data = cloneDeep(examForm.value)
   const data = cloneDeep(examForm.value)
-  let res = await store.update(data)
+  let res = await store.update({ id: data.id, status: data.status })
   if ($checkRes(res, true)) {
   if ($checkRes(res, true)) {
     search({ skip, limit })
     search({ skip, limit })
     toClose()
     toClose()

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

@@ -223,7 +223,7 @@ const toExam = (data) => {
 // 审核保存
 // 审核保存
 const toExamSave = async () => {
 const toExamSave = async () => {
   const data = cloneDeep(examForm.value)
   const data = cloneDeep(examForm.value)
-  let res = await store.update(data)
+  let res = await store.update({ id: data.id, status: data.status })
   if ($checkRes(res, true)) {
   if ($checkRes(res, true)) {
     search({ skip, limit })
     search({ skip, limit })
     toClose()
     toClose()

+ 1 - 1
src/views/user/user/index.vue

@@ -268,7 +268,7 @@ const toExam = (data) => {
 // 审核保存
 // 审核保存
 const toExamSave = async () => {
 const toExamSave = async () => {
   const data = cloneDeep(examForm.value)
   const data = cloneDeep(examForm.value)
-  let res = await store.update(data)
+  let res = await store.update({ id: data.id, status: data.status })
   if ($checkRes(res, true)) {
   if ($checkRes(res, true)) {
     search({ skip, limit })
     search({ skip, limit })
     toClose()
     toClose()