liuYb 4 years ago
parent
commit
35d02bfdaf

+ 2 - 0
src/views/data/UploadLink/sonUploadLink.vue

@@ -244,6 +244,7 @@ export default {
       //更新数据
 
       //this.choosePlatform();
+      this.newGetDataList();
     },
     /* 表格翻页 */
     changePage: function (page) {
@@ -329,6 +330,7 @@ export default {
         .then((res) => {
           console.log(res);
           if (res.data.code === 200) {
+            this.tableData = [];
             let data = res.data.data;
             console.log(data, 333333333333333);
             this.sum = res.data.count;

+ 2 - 2
src/views/data/components/UploadLinkEditModal.vue

@@ -188,10 +188,10 @@ export default {
       let config = {
         url: "",
         data: {
-          id: "1386025423408103425",
+          id: "",
           month: d,
           dealerId: this.userId,
-          dataId: "1386025423408103425",
+          dataId: this.ziliaoId,
           informationName: this.ziliaoName,
         //   releaseTime: this.ziliaoTime,
           releaseTime: this.ziliaoTime,