Преглед на файлове

更改要事日记审批报错

sunyanqiang преди 3 години
родител
ревизия
40e9d689c0
променени са 1 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 6 2
      src/views/grassrootsregistration/bdgldiary/index.vue

+ 6 - 2
src/views/grassrootsregistration/bdgldiary/index.vue

@@ -874,6 +874,7 @@ import "@riophae/vue-treeselect/dist/vue-treeselect.css";
 import { getUserzs } from "@/api/grassrootsregistration/bdgldiary";
 // 获取当前单位
 import { getUserProfile } from "@/api/system/user";
+import id from "../../../../public/assets/libs/moment/dist/locale/id";
 export default {
   components: { Treeselect, bdgldiary },
   name: "Bdgldiary",
@@ -1077,6 +1078,7 @@ export default {
       quanShou: [],
       sz: null,
       dw: {},
+      formes: {},
     };
   },
   created() {
@@ -1170,9 +1172,11 @@ export default {
     },
     // 审批页面确定
     queDing() {
-      this.wordInfo.examine = "1";
+      // this.wordInfo.examine = 1;
+      this.formes.examine = 1;
       if (this.wordInfo.id != null) {
-        updateBdglShenPi(this.wordInfo).then((response) => {
+        this.formes.id = this.wordInfo.id;
+        updateBdglShenPi(this.formes).then((response) => {
           this.menuRoleVisible = false;
           this.getList();
           this.getShuJu(this.timeDate);