yxh
yxh
2023-08-10 d08414f291cdfc84625e6d34241a56228c958134
src/views/project/travelexpenseslist/index.vue
@@ -1439,7 +1439,7 @@
        this.$modal.msgSuccess(response.msg);
        this.fileList.push({ name: response.fileName, url: response.fileName });
      } else {
        this.$modal.msgError(response.msg);
        console.log(response.msg);;
      }
    },
@@ -1845,8 +1845,13 @@
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      console.log("defaultperson",this.defaultperson);
      this.$router.push({
        path: "/finance/travelexpenseslist/Modifydetails/",
        query: { id: 0, pos: 1,routerparam:this.defaultperson}
      });
      this.reset();
      this.open = true;
      this.title = "新增报销申请";
      this.dialogType = "edit";
@@ -1865,8 +1870,8 @@
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.$router.push({
        path: "finance/travelexpenseslist/Modifydetails/",
        query: { id: row.id, pos: 1 }
        path: "/finance/travelexpenseslist/Modifydetails/",
        query: { id: row.id, pos: 2 }
      });
      this.dialogType = "edit";
      this.reset();
@@ -1923,8 +1928,9 @@
    handleDetail(row) {
      this.$router.push({
        path: "/finance/travelexpenseslist/Modifydetails/",
        query: { id: row.id, pos: 2 }
        query: { id: row.id, pos: 3 }
      });
      this.dialogType = "detail";
      this.title = "查看报销申请";