Browse Source

支部会议管理接口权限字符修改

Wang Zi Wen 2 năm trước cách đây
mục cha
commit
109d450003
1 tập tin đã thay đổi với 7 bổ sung7 xóa
  1. 7 7
      ruoyi-ui/src/views/branch/meeting/index.vue

+ 7 - 7
ruoyi-ui/src/views/branch/meeting/index.vue

@@ -257,10 +257,10 @@
 </template>
 
 <script>
-import { listMgr, getMgr, delMgr, addMgr, updateMgr } from "@/api/branch/meeting";
+import { listMeeting, getMeeting, delMeeting, addMeeting, updateMeeting } from "@/api/branch/meeting";
 
 export default {
-  name: "Mgr",
+  name: "Meeting",
   data() {
     return {
       clientHeight:300,
@@ -320,7 +320,7 @@ export default {
     /** 查询支部会议管理列表 */
     getList() {
       this.loading = true;
-      listMgr(this.queryParams).then(response => {
+      listMeeting(this.queryParams).then(response => {
         this.mgrList = response.rows;
         this.total = response.total;
         this.loading = false;
@@ -380,7 +380,7 @@ export default {
     handleUpdate(row) {
       this.reset();
       const meetingId = row.meetingId || this.ids
-      getMgr(meetingId).then(response => {
+      getMeeting(meetingId).then(response => {
         this.form = response.data;
         this.open = true;
         this.title = "修改支部会议管理";
@@ -391,13 +391,13 @@ export default {
       this.$refs["form"].validate(valid => {
         if (valid) {
           if (this.form.meetingId != null) {
-            updateMgr(this.form).then(response => {
+            updateMeeting(this.form).then(response => {
               this.$modal.msgSuccess("修改成功");
               this.open = false;
               this.getList();
             });
           } else {
-            addMgr(this.form).then(response => {
+            addMeeting(this.form).then(response => {
               this.$modal.msgSuccess("新增成功");
               this.open = false;
               this.getList();
@@ -410,7 +410,7 @@ export default {
     handleDelete(row) {
       const meetingIds = row.meetingId || this.ids;
       this.$modal.confirm('是否确认删除支部会议管理编号为"' + meetingIds + '"的数据项?').then(function() {
-        return delMgr(meetingIds);
+        return delMeeting(meetingIds);
       }).then(() => {
         this.getList();
         this.$modal.msgSuccess("删除成功");