Browse Source

更换接口

lex-xin 4 years ago
parent
commit
bb60e8dd0f
2 changed files with 5 additions and 1 deletions
  1. 1 1
      src/api/contentManager.js
  2. 4 0
      src/views/contentManager/contentOperation.vue

+ 1 - 1
src/api/contentManager.js

@@ -5,7 +5,7 @@ let api = '/api-cms'
 // 资讯列表分页查询
 export function newsList(data) {
     return request({
-        url: api + '/news/list',
+        url: api + '/news/queryPage',
         method: 'get',
         params: data
     })

+ 4 - 0
src/views/contentManager/contentOperation.vue

@@ -445,6 +445,7 @@ export default {
       form: {
         title: null,
         order: null,
+        tenantId: null,
         coverImage: null,
         videoCoverImage: null,
         attribute1: null, // 时长
@@ -494,6 +495,7 @@ export default {
         subjectIdList: null,
         status: 1,
         content: null,
+        tenantId: null,
         organIdList: null,
         subType: null,
         actionTime: null
@@ -716,6 +718,7 @@ export default {
         type: query.type,
         status: 1,
         content: null,
+        tenantId: null,
         organIdList: null,
         subType: null,
         actionTime: null
@@ -783,6 +786,7 @@ export default {
               linkUrl: result.linkUrl,
               type: result.type,
               status: result.status,
+              tenantId: result.tenantId.toString(),
               subjectIdList: subject.map(item => { return +item }),
               organIdList: organ.map(item => { return +item }),
               memo: result.memo,