yrik 4 gadi atpakaļ
vecāks
revīzija
a3d3d6fd8a
2 mainītis faili ar 28 papildinājumiem un 2 dzēšanām
  1. 2 2
      ruoyi-ui/src/settings.js
  2. 26 0
      ruoyi-ui/src/views/system/form/index.vue

+ 2 - 2
ruoyi-ui/src/settings.js

@@ -1,7 +1,7 @@
 module.exports = {
   title: '潜山市云数据中心',
-  urls: `http://192.168.101.11:8090`,
-  // urls: `http://192.168.101.110:8080`,
+  // urls: `http://192.168.101.11:8090`,
+  urls: `http://192.168.101.110:8080`,
   // urls: `http://192.168.101.49:8080`,
 
   // urls: `http://192.168.101.10:8080`,

+ 26 - 0
ruoyi-ui/src/views/system/form/index.vue

@@ -271,6 +271,32 @@
         console.log(this.forme)
         // this.getList();
       },
+     /** 新增 修改提交按钮 */
+     submitForm: function() {
+             addbjectSave(this.forme).then(response => {
+               this.msgSuccess("保存成功");
+               this.open = false;
+               // this.getList();
+             });
+     },
+     // 提交反提交
+     antiSubmission(){
+       if (this.formy.status == 1) {
+         // 提交
+         tableSubimt(this.formeanti).then(response => {
+           this.msgSuccess("提交成功");
+           // this.open = false;
+           // this.getList();
+         });
+       } else if(this.formy.status == 2){
+         // 反提交
+         tableSubimtanit(this.formeanti).then(response => {
+           this.msgSuccess("反提交成功");
+           // this.open = false;
+           // this.getList();
+         });
+       }
+     },
 
     },
   };