Browse Source

no message

linwenxin 4 months ago
parent
commit
94b69c2c31

+ 11 - 0
src/api/appraisalStatement.js

@@ -59,3 +59,14 @@ export function appraiseApplyBatchUpdateReset(data) {
     data
   })
 }
+
+// /appraise/apply/apply/reject
+//
+
+export function appraiseApplyApplyReject(params) {
+  return request({
+    url: `/appraise/apply/apply/reject`,
+    method: 'post',
+    params
+  })
+}

+ 14 - 1
src/views/workOrder/appraiseAppeal/appraisalStatement/index.vue

@@ -39,6 +39,9 @@
             <el-button v-if="[3, 4].includes(formType)" size="mini" @click="quedingshenhe" type="primary"
               >确 定</el-button
             >
+            <el-button v-if="[3, 4].includes(formType)" size="mini" @click="bohuidaishenshu" type="primary"
+              >驳回待申诉</el-button
+            >
           </div>
         </zj-page-container>
       </el-dialog>
@@ -56,7 +59,8 @@ import {
   appraiseApplyApplySubmit,
   appraiseApplyApplyConfirm,
   appraiseApplyBatchUpdateEnd,
-  appraiseApplyBatchUpdateReset
+  appraiseApplyBatchUpdateReset,
+  appraiseApplyApplyReject
 } from '@/api/appraisalStatement'
 import operation_mixin from '@/components/template/operation_mixin.js'
 import { required, requiredValueMin } from '@/components/template/rules_verify.js'
@@ -698,6 +702,15 @@ export default {
         }
       })
     },
+    bohuidaishenshu() {
+      appraiseApplyApplyReject({
+        id: this.formData.id
+      }).then(res => {
+        this.$message({ type: 'success', message: '成功!' })
+        this.$refs.pageRef.refreshList()
+        this.handleClose()
+      })
+    },
     operation() {
       return this.operationBtn({
         // 详情