diff --git a/src/api/sch/place.js b/src/api/sch/place.js index b615e40..8f40666 100644 --- a/src/api/sch/place.js +++ b/src/api/sch/place.js @@ -25,3 +25,14 @@ export function savePlace(data) { data: data }); } + + +// 查询场地 +export function getAllPlaces(param) { + return request({ + url: `/sch/place/all`, + method: 'get', + params: param + }) + +} diff --git a/src/api/system/maillist.js b/src/api/system/maillist.js new file mode 100644 index 0000000..35b2af8 --- /dev/null +++ b/src/api/system/maillist.js @@ -0,0 +1,35 @@ +import request from '@/utils/request' + +// 查询通讯录列表 +export function getMaillistTableList(query) { + return request({ + url: '/system/maillist/list', + method: 'get', + params: query + }) +} + +// 新增通讯录 +export function insertMaillist(params) { + return request({ + url: '/system/maillist', + method: 'post', + data: params + }) +} +// 修改通讯录 +export function updateMaillist(params) { + return request({ + url: '/system/maillist', + method: 'put', + data: params + }) +} + +// 删除通讯录 +export function deleteMaillist(params) { + return request({ + url: '/system/maillist/' + params, + method: 'delete' + }) +} diff --git a/src/api/system/summary.js b/src/api/system/summary.js new file mode 100644 index 0000000..77cca00 --- /dev/null +++ b/src/api/system/summary.js @@ -0,0 +1,28 @@ +import request from '@/utils/request' + +// 查询任务 +export function getList(query) { + return request({ + url: '/system/summary/list', + method: 'get', + params: query + }) +} + +// 查询任务 +export function getTask(query) { + return request({ + url: '/system/summary', + method: 'get', + params: query + }) +} + +// 保存 +export function saveTask(data) { + return request({ + url: '/system/summary', + method: 'post', + data: data + }) +} diff --git a/src/global/func.js b/src/global/func.js index df16e7b..f4b1413 100644 --- a/src/global/func.js +++ b/src/global/func.js @@ -1,9 +1,25 @@ import Vue from 'vue'; -import { parseTime, resetForm, handleTree, addDateRange } from '@/utils/ruoyi'; -import { deepClone } from '@/utils/index'; -import { download } from '@/utils/request'; -import { getConfigKey } from '@/api/system/config'; +import { + parseTime, + resetForm, + handleTree, + addDateRange, + selectDictLabel, + isNullOrEmpty +} from '@/utils/ruoyi'; +import { + deepClone +} from '@/utils/index'; +import { + download +} from '@/utils/request'; +import { + getConfigKey +} from '@/api/system/config'; +import { + getDicts +} from '@/api/system/dict/data' // 全局方法挂载 Vue.prototype.parseTime = parseTime; @@ -13,3 +29,6 @@ Vue.prototype.handleTree = handleTree; Vue.prototype.deepClone = deepClone; Vue.prototype.addDateRange = addDateRange; Vue.prototype.getConfigKey = getConfigKey; +Vue.prototype.getDicts = getDicts; +Vue.prototype.selectDictLabel = selectDictLabel; +Vue.prototype.isNullOrEmpty = isNullOrEmpty diff --git a/src/views/system/maillist/index.vue b/src/views/system/maillist/index.vue new file mode 100644 index 0000000..45a98f7 --- /dev/null +++ b/src/views/system/maillist/index.vue @@ -0,0 +1,194 @@ + + + \ No newline at end of file diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue index 1f83358..d873eba 100644 --- a/src/views/system/notice/index.vue +++ b/src/views/system/notice/index.vue @@ -1,50 +1,24 @@