diff --git a/api/inspections/index.js b/api/inspections/index.js new file mode 100644 index 0000000..b7cd1b2 --- /dev/null +++ b/api/inspections/index.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export const InspectionsApi = { + /** + * 获取列表 + * @param {Object} params + */ + getList: (params) => { + return request({ + url: `/system/enterprise-inspections/page`, + method: 'GET', + params + }) + }, + /** + * 获取详情 + */ + getDetail: (id) => { + return request({ + url: `/system/enterprise-inspections/appGet?id=${id}`, + method: 'GET', + }) + } +} \ No newline at end of file diff --git a/api/task/index.js b/api/task/index.js new file mode 100644 index 0000000..5a13fd8 --- /dev/null +++ b/api/task/index.js @@ -0,0 +1,25 @@ +import request from '@/utils/request' + + +export const TaskApi = { + /** + * 获取列表 + * @param {Object} params + */ + getList: (params) => { + return request({ + url: `/system/task-info/appPage`, + method: 'GET', + params + }) + }, + /** + * 获取详情 + */ + getDetail: (id) => { + return request({ + url: `/system/task-info/appGet?id=${id}`, + method: 'GET', + }) + } +} \ No newline at end of file diff --git a/components/cs-dict-tag/index.vue b/components/cs-dict-tag/index.vue new file mode 100644 index 0000000..b71c487 --- /dev/null +++ b/components/cs-dict-tag/index.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/sub/common/waiting.vue b/sub/common/waiting.vue index df4b6f2..97baaf2 100644 --- a/sub/common/waiting.vue +++ b/sub/common/waiting.vue @@ -1,22 +1,17 @@