Ver Fonte

创建报告及审核报告状态修改

zhuhao há 2 anos atrás
pai
commit
7353d8ba31

+ 1 - 0
RMS-FrontEnd/src/views/report/components/CreateReport.vue

@@ -779,6 +779,7 @@ export default {
                         // for(let key in this.form){
                         //   formData.append(key, this.form[key])
                         // }
+                        this.form.status = 1
                         formData.append('report',JSON.stringify(this.form))
                         // formData.append('status', 1)
                       this.$api.AddReport(formData).then(response=>{

+ 1 - 1
RMS-FrontEnd/src/views/task/MyHandle.vue

@@ -482,7 +482,7 @@ import Menu from '@/views/components/common/menu/index.vue'
 			status:1,
 			// remark:this.remark,
 			result: this.btn.value,
-			reportStatus:![4,5].includes(this.form.type)?this.btn.value:2
+			reportStatus:![4,5].includes(this.form.type)?this.btn.value:this.btn.value==1?2:this.btn.value
       }
       this.$api.AuditTask(a).then(response => {
       //console.log(response);