瀏覽代碼

修改字

lzw 4 年之前
父節點
當前提交
55723242f5
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      src/views/system/actform/leave/leave.vue

+ 4 - 3
src/views/system/actform/leave/leave.vue

@@ -6,8 +6,8 @@
           <h2 align="center">请假单</h2>
         </el-col>
         <el-col :span="8">
-        <el-form-item label="请假事由" prop="activitiKey"  v-show="false">
-          <el-input v-model="form.activitiKey" ></el-input>
+        <el-form-item label="请假事由" prop="actkey"  v-show="false">
+          <el-input v-model="form.actkey" ></el-input>
         </el-form-item>
         </el-col>
         <el-col :span="8">
@@ -256,7 +256,7 @@
     watch: {},
     created() {
       this.getName();
-      this.form.activitiKey = this.data;
+      this.form.actkey = this.data;
       this.getList();
     },
     methods: {
@@ -354,6 +354,7 @@
               if (response.code === 200) {
                 this.msgSuccess("新增成功");
                 this.resetForm("form");
+                this.$emit('transferUser', this.open)
               }
             });
           }