فهرست منبع

Merge branch '0320细节调整' of sckj/mz-cloud into master

sckj 1 ماه پیش
والد
کامیت
26694cb5e4
2فایلهای تغییر یافته به همراه10 افزوده شده و 1 حذف شده
  1. 8 0
      ruoyi-ui-gljt/src/api/gljt/gljtSq.js
  2. 2 1
      ruoyi-ui-gljt/src/views/gljt/gljtSq/index.vue

+ 8 - 0
ruoyi-ui-gljt/src/api/gljt/gljtSq.js

@@ -105,3 +105,11 @@ export function getQxDfPz(data) {
     data: data
   })
 }
+
+export function editFj(data) {
+  return request({
+    url: '/gljt/gljtSq/editFj',
+    method: 'post',
+    data: data
+  })
+}

+ 2 - 1
ruoyi-ui-gljt/src/views/gljt/gljtSq/index.vue

@@ -1273,6 +1273,7 @@ import {
   getBfys,
   gljtSqFormList,
   addGljtSqGstp,
+  editFj
 } from "@/api/gljt/gljtSq";
 import { chineseOne, idCard, Regular, Mobile } from "@/utils/regular";
 import { getAccessToken, idcard } from "../../../api/lnst/baiduUtil";
@@ -2791,7 +2792,7 @@ export default {
     submitForm2() {
       this.$refs["form2"].validate((valid) => {
         if (valid) {
-          updateGljtSq({ id: this.form.id, sqbfj: this.form.sqbfj })
+          editFj({ id: this.form.id, sqbfj: this.form.sqbfj })
             .then((response) => {
               this.$modal.msgSuccess("保存成功");
               this.openFj = false;