浏览代码

知识库接口x

seimin 1 年之前
父节点
当前提交
f79d7b64a4
共有 2 个文件被更改,包括 6 次插入4 次删除
  1. 3 2
      src/views/knowList.vue
  2. 3 2
      src/views/referenceList.vue

+ 3 - 2
src/views/knowList.vue

@@ -165,7 +165,8 @@ export default {
165
             keywords: that.search,
165
             keywords: that.search,
166
             solutionType: { id: "" },
166
             solutionType: { id: "" },
167
             status: { id: 72 },
167
             status: { id: 72 },
168
-            createUser: { name: "" }
168
+            createUser: { name: "" },
169
+            tabType: 'publish',
169
           },
170
           },
170
           sum: that.sum
171
           sum: that.sum
171
         })
172
         })
@@ -403,4 +404,4 @@ export default {
403
   width: 5.12rem;
404
   width: 5.12rem;
404
   height: 2.84rem;
405
   height: 2.84rem;
405
 }
406
 }
406
-</style>
407
+</style>

+ 3 - 2
src/views/referenceList.vue

@@ -153,7 +153,7 @@ export default {
153
         }
153
         }
154
       });
154
       });
155
     },
155
     },
156
-    
156
+
157
     getData() {
157
     getData() {
158
       var that = this;
158
       var that = this;
159
       this.$http
159
       this.$http
@@ -161,6 +161,7 @@ export default {
161
           idx: that.idx,
161
           idx: that.idx,
162
           solution: {
162
           solution: {
163
             searchWord: that.search,
163
             searchWord: that.search,
164
+            tabType: 'publish',
164
             // solutionType: { id: "" },
165
             // solutionType: { id: "" },
165
             // status: { id: 72 },
166
             // status: { id: 72 },
166
             // createUser: { name: "" }
167
             // createUser: { name: "" }
@@ -392,4 +393,4 @@ export default {
392
   width: 5.12rem;
393
   width: 5.12rem;
393
   height: 2.84rem;
394
   height: 2.84rem;
394
 }
395
 }
395
-</style>
396
+</style>