Explorar o código

Merge branch 'master' of http://47.100.37.243:10080/ZHOU/yunsu

%!s(int64=5) %!d(string=hai) anos
pai
achega
750ab1bfdb
Modificáronse 2 ficheiros con 30 adicións e 1 borrados
  1. 1 0
      ys_vue/src/views/Home.vue
  2. 29 1
      ys_vue/src/views/mold/moldDownload.vue

+ 1 - 0
ys_vue/src/views/Home.vue

@@ -23,6 +23,7 @@
             popper-class="popover-self"
           >
             <div class="popover-main">消息盒子</div>
+            <div class="popover-item" v-if="popoverData.length == 0">暂无消息</div>
             <div class="popover-item" v-for="item in popoverData">
               <p class="popover-title">
                 <span

+ 29 - 1
ys_vue/src/views/mold/moldDownload.vue

@@ -137,6 +137,32 @@ export default {
       this.size = val;
       // this.getUsers();
     },
+    getFileList() {
+      this.http.post(
+        this.port.mold.moldFileListAll,
+        {},
+        res => {
+          if (res.code == "ok") {
+            this.$message({
+              message: "安排上了",
+              type: "success"
+            });
+            console.log(res);
+          } else {
+            this.$message({
+              message: res.msg,
+              type: "error"
+            });
+          }
+        },
+        error => {
+          this.$message({
+            message: error,
+            type: "error"
+          });
+        }
+      );
+    },
     selectionChanged(row) {
       this.selectedArray = [];
       row.forEach(item => {
@@ -176,7 +202,9 @@ export default {
     let height = window.innerHeight;
     this.tableHeight = height - 210;
   },
-  mounted() {}
+  mounted() {
+    // this.getFileList();
+  }
 };
 </script>