Procházet zdrojové kódy

1、入职撤回参数问题

dongpo před 1 rokem
rodič
revize
fc0556ed5c
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      src/views/oa/entry/detail.vue

+ 3 - 3
src/views/oa/entry/detail.vue

@@ -119,7 +119,7 @@
             <a :href="item.url" target="_blank" :title="item.name" style="color: #5094d5;">{{ item.name }}</a>
           </div>
         </div>
-       
+
       </div>
       <div class="fx-field x-grid-col-12">
         <div class="field-label">
@@ -226,7 +226,7 @@ export default {
     handleRevocation(){
       this.$modal.confirm('是否确认撤回?').then(() => {
         this.fullscreenLoading = true;
-        revocation(this.form.taskId).then(response => {
+        revocation({id: this.form.taskId}).then(response => {
           this.fullscreenLoading = false;
           this.$modal.msgSuccess("撤回成功");
           this.$parent.$parent.closeEdit();
@@ -386,4 +386,4 @@ ul {
 .el-tag+.el-tag {
   margin-left: 10px;
 }
-</style>
+</style>