yrik před 4 roky
rodič
revize
d45edee2a2

+ 3 - 2
ruoyi-ui/src/components/DynamicForm/index.vue

@@ -40,7 +40,7 @@
         :action="process + '/boman-file/upload'"
         :on-change="handleChange"
         :on-success="upImageFn"
-         :on-remove="reseImage"
+        :on-remove="reseImage"
         :file-list="config">
         <el-button size="small" type="primary">点击上传</el-button>
         <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div>
@@ -87,7 +87,7 @@
     methods: {
       upImageFn(res, file){
         this.config.push(res.data);
-        console.log(this.config,12153)
+        console.log(res,12153)
       },
       init() {
         if(this.formConfig.htmlType == 'checkbox' || this.formConfig.htmlType == 'imageUpload' || this.formConfig.htmlType == 'fileUpload'){
@@ -130,6 +130,7 @@
       },
       handlePictureCardPreview(file) {
         this.dialogImageUrl = file.url;
+		// console.log(this.dialogImageUrl)
         this.dialogVisible = true;
       },
       handleDownload(file) {

+ 1 - 1
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.110:8090`,
   // urls: `http://192.168.101.49:8080`,
 
   // urls: `http://192.168.101.10:8080`,

+ 5 - 1
ruoyi-ui/src/views/system/form/index.vue

@@ -302,6 +302,7 @@
              addbjectSave(this.forme).then(response => {
                this.msgSuccess("保存成功");
                this.open = false;
+               this.$router.go(-1)
                // this.getList();
              });
      },
@@ -311,6 +312,7 @@
          // 提交
          tableSubimt(this.formeanti).then(response => {
            this.msgSuccess("提交成功");
+           this.$router.go(-1)
            // this.open = false;
            // this.getList();
          });
@@ -318,6 +320,7 @@
          // 反提交
          tableSubimtanit(this.formeanti).then(response => {
            this.msgSuccess("反提交成功");
+           this.$router.go(-1)
            // this.open = false;
            // this.getList();
          });
@@ -330,10 +333,11 @@
            cancelButtonText: "取消",
            type: "warning"
          }).then(function() {
-           return delMenutab(index);
+           return delMenutabform(index);
          }).then(() => {
            // this.getList();
            this.msgSuccess("删除成功");
+           this.$router.go(-1)
          })
      }
 

+ 3 - 3
ruoyi-ui/src/views/system/surface/index.vue

@@ -300,9 +300,9 @@
       line-height: 36px;
     }
 
-    .el-form-item__content {
-      width: 55%;
-    }
+    // .el-form-item__content {
+    //   width: 55%;
+    // }
 
     .el-collapse {
       border-top: 0;

+ 4 - 0
ruoyi-ui/src/views/system/table/index.vue

@@ -218,6 +218,7 @@
               addbjectSave(this.forme).then(response => {
                 this.msgSuccess("保存成功");
                 this.open = false;
+                this.$router.go(-1)
                 // this.getList();
               });
       },
@@ -227,6 +228,7 @@
           // 提交
           tableSubimt(this.formeanti).then(response => {
             this.msgSuccess("提交成功");
+            this.$router.go(-1)
             // this.open = false;
             // this.getList();
           });
@@ -234,6 +236,7 @@
           // 反提交
           tableSubimtanit(this.formeanti).then(response => {
             this.msgSuccess("反提交成功");
+            this.$router.go(-1)
             // this.open = false;
             // this.getList();
           });
@@ -250,6 +253,7 @@
           }).then(() => {
             // this.getList();
             this.msgSuccess("删除成功");
+            this.$router.go(-1)
           })
       }
     },