From e151ad7c9cceca747c61560191feb24f841dac66 Mon Sep 17 00:00:00 2001 From: zcxee <495141071@qq.com> Date: Tue, 21 Mar 2023 22:47:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/sch/place.js | 11 + src/api/system/maillist.js | 35 ++ src/api/system/summary.js | 28 ++ src/global/func.js | 27 +- src/views/system/maillist/index.vue | 194 +++++++++++ src/views/system/notice/index.vue | 346 ++++++++++++++------ src/views/system/summary/index.vue | 259 +++++++++++++++ src/views/zs/clue.vue | 12 +- src/views/zs/clue/components/SearchForm.vue | 80 +++++ src/views/zs/clue/index.vue | 0 vue.config.js | 12 +- 11 files changed, 881 insertions(+), 123 deletions(-) create mode 100644 src/api/system/maillist.js create mode 100644 src/api/system/summary.js create mode 100644 src/views/system/maillist/index.vue create mode 100644 src/views/system/summary/index.vue create mode 100644 src/views/zs/clue/components/SearchForm.vue create mode 100644 src/views/zs/clue/index.vue 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 @@