diff --git a/src/api/sheet.js b/src/api/sheet.js index 2f436cde..4f815e2e 100644 --- a/src/api/sheet.js +++ b/src/api/sheet.js @@ -11,6 +11,13 @@ sheetApi.list = () => { }) } +sheetApi.listInternal = () => { + return service({ + url: `${baseUrl}/internal`, + method: 'get' + }) +} + sheetApi.get = sheetId => { return service({ url: `${baseUrl}/${sheetId}`, diff --git a/src/views/sheet/SheetList.vue b/src/views/sheet/SheetList.vue index 68bd477e..af3cbe69 100644 --- a/src/views/sheet/SheetList.vue +++ b/src/views/sheet/SheetList.vue @@ -35,6 +35,20 @@ :pagination="false" :rowKey="page => page.id" > + { + this.internalSheets = response.data.data + }) + }, loadOptions() { optionApi.listAll(this.keys).then(response => { this.options = response.data.data