diff --git a/src/api/bpm/activity.js b/src/api/bpm/activity.js deleted file mode 100644 index 8f1241e..0000000 --- a/src/api/bpm/activity.js +++ /dev/null @@ -1,9 +0,0 @@ -import request from '@/utils/request' - -export function getActivityList(query) { - return request({ - url: '/bpm/activity/list', - method: 'get', - params: query - }) -} diff --git a/src/api/bpm/definition.js b/src/api/bpm/definition.js deleted file mode 100644 index b1d9b97..0000000 --- a/src/api/bpm/definition.js +++ /dev/null @@ -1,24 +0,0 @@ -import request from '@/utils/request' - -export function getProcessDefinitionPage(query) { - return request({ - url: '/bpm/process-definition/page', - method: 'get', - params: query - }) -} - -export function getProcessDefinitionList(query) { - return request({ - url: '/bpm/process-definition/list', - method: 'get', - params: query - }) -} - -export function getProcessDefinitionBpmnXML(id) { - return request({ - url: '/bpm/process-definition/get-bpmn-xml?id=' + id, - method: 'get' - }) -} diff --git a/src/api/bpm/form.js b/src/api/bpm/form.js deleted file mode 100644 index 1a5b3c6..0000000 --- a/src/api/bpm/form.js +++ /dev/null @@ -1,52 +0,0 @@ -import request from '@/utils/request' - -// 创建工作流的表单定义 -export function createForm(data) { - return request({ - url: '/bpm/form/create', - method: 'post', - data: data - }) -} - -// 更新工作流的表单定义 -export function updateForm(data) { - return request({ - url: '/bpm/form/update', - method: 'put', - data: data - }) -} - -// 删除工作流的表单定义 -export function deleteForm(id) { - return request({ - url: '/bpm/form/delete?id=' + id, - method: 'delete' - }) -} - -// 获得工作流的表单定义 -export function getForm(id) { - return request({ - url: '/bpm/form/get?id=' + id, - method: 'get' - }) -} - -// 获得工作流的表单定义分页 -export function getFormPage(query) { - return request({ - url: '/bpm/form/page', - method: 'get', - params: query - }) -} - -// 获得动态表单的精简列表 -export function getSimpleForms() { - return request({ - url: '/bpm/form/list-all-simple', - method: 'get' - }) -} diff --git a/src/api/bpm/leave.js b/src/api/bpm/leave.js deleted file mode 100644 index 758389c..0000000 --- a/src/api/bpm/leave.js +++ /dev/null @@ -1,27 +0,0 @@ -import request from '@/utils/request' - -// 创建请假申请 -export function createLeave(data) { - return request({ - url: '/bpm/oa/leave/create', - method: 'post', - data: data - }) -} - -// 获得请假申请 -export function getLeave(id) { - return request({ - url: '/bpm/oa/leave/get?id=' + id, - method: 'get' - }) -} - -// 获得请假申请分页 -export function getLeavePage(query) { - return request({ - url: '/bpm/oa/leave/page', - method: 'get', - params: query - }) -} diff --git a/src/api/bpm/model.js b/src/api/bpm/model.js deleted file mode 100644 index 83dca30..0000000 --- a/src/api/bpm/model.js +++ /dev/null @@ -1,58 +0,0 @@ -import request from '@/utils/request' - -export function getModelPage(query) { - return request({ - url: '/bpm/model/page', - method: 'get', - params: query - }) -} - -export function getModel(id) { - return request({ - url: '/bpm/model/get?id=' + id, - method: 'get' - }) -} - -export function updateModel(data) { - return request({ - url: '/bpm/model/update', - method: 'PUT', - data: data - }) -} - -// 任务状态修改 -export function updateModelState(id, state) { - return request({ - url: '/bpm/model/update-state', - method: 'put', - data: { - id, - state - } - }) -} - -export function createModel(data) { - return request({ - url: '/bpm/model/create', - method: 'POST', - data: data - }) -} - -export function deleteModel(id) { - return request({ - url: '/bpm/model/delete?id=' + id, - method: 'DELETE' - }) -} - -export function deployModel(id) { - return request({ - url: '/bpm/model/deploy?id=' + id, - method: 'POST' - }) -} diff --git a/src/api/bpm/processInstance.js b/src/api/bpm/processInstance.js deleted file mode 100644 index 58c456f..0000000 --- a/src/api/bpm/processInstance.js +++ /dev/null @@ -1,35 +0,0 @@ -import request from '@/utils/request' - -export function getMyProcessInstancePage(query) { - return request({ - url: '/bpm/process-instance/my-page', - method: 'get', - params: query - }) -} - -export function createProcessInstance(data) { - return request({ - url: '/bpm/process-instance/create', - method: 'POST', - data: data - }) -} - -export function cancelProcessInstance(id, reason) { - return request({ - url: '/bpm/process-instance/cancel', - method: 'DELETE', - data: { - id, - reason - } - }) -} - -export function getProcessInstance(id) { - return request({ - url: '/bpm/process-instance/get?id=' + id, - method: 'get', - }) -} diff --git a/src/api/bpm/task.js b/src/api/bpm/task.js deleted file mode 100644 index 177a7df..0000000 --- a/src/api/bpm/task.js +++ /dev/null @@ -1,56 +0,0 @@ -import request from '@/utils/request' - -export function getTodoTaskPage(query) { - return request({ - url: '/bpm/task/todo-page', - method: 'get', - params: query - }) -} - -export function getDoneTaskPage(query) { - return request({ - url: '/bpm/task/done-page', - method: 'get', - params: query - }) -} - -export function completeTask(data) { - return request({ - url: '/bpm/task/complete', - method: 'PUT', - data: data - }) -} - -export function approveTask(data) { - return request({ - url: '/bpm/task/approve', - method: 'PUT', - data: data - }) -} - -export function rejectTask(data) { - return request({ - url: '/bpm/task/reject', - method: 'PUT', - data: data - }) -} - -export function updateTaskAssignee(data) { - return request({ - url: '/bpm/task/update-assignee', - method: 'PUT', - data: data - }) -} - -export function getTaskListByProcessInstanceId(processInstanceId) { - return request({ - url: '/bpm/task/list-by-process-instance-id?processInstanceId=' + processInstanceId, - method: 'get', - }) -} diff --git a/src/api/bpm/taskAssignRule.js b/src/api/bpm/taskAssignRule.js deleted file mode 100644 index a3e6066..0000000 --- a/src/api/bpm/taskAssignRule.js +++ /dev/null @@ -1,25 +0,0 @@ -import request from '@/utils/request' - -export function getTaskAssignRuleList(query) { - return request({ - url: '/bpm/task-assign-rule/list', - method: 'get', - params: query - }) -} - -export function createTaskAssignRule(data) { - return request({ - url: '/bpm/task-assign-rule/create', - method: 'post', - data: data - }) -} - -export function updateTaskAssignRule(data) { - return request({ - url: '/bpm/task-assign-rule/update', - method: 'put', - data: data - }) -} diff --git a/src/api/bpm/userGroup.js b/src/api/bpm/userGroup.js deleted file mode 100644 index 251baff..0000000 --- a/src/api/bpm/userGroup.js +++ /dev/null @@ -1,52 +0,0 @@ -import request from '@/utils/request' - -// 创建用户组 -export function createUserGroup(data) { - return request({ - url: '/bpm/user-group/create', - method: 'post', - data: data - }) -} - -// 更新用户组 -export function updateUserGroup(data) { - return request({ - url: '/bpm/user-group/update', - method: 'put', - data: data - }) -} - -// 删除用户组 -export function deleteUserGroup(id) { - return request({ - url: '/bpm/user-group/delete?id=' + id, - method: 'delete' - }) -} - -// 获得用户组 -export function getUserGroup(id) { - return request({ - url: '/bpm/user-group/get?id=' + id, - method: 'get' - }) -} - -// 获得用户组分页 -export function getUserGroupPage(query) { - return request({ - url: '/bpm/user-group/page', - method: 'get', - params: query - }) -} - -// 获取用户组精简信息列表 -export function listSimpleUserGroups() { - return request({ - url: '/bpm/user-group/list-all-simple', - method: 'get' - }) -} diff --git a/src/api/farm/area.js b/src/api/farm/area.js deleted file mode 100644 index 5ce8b36..0000000 --- a/src/api/farm/area.js +++ /dev/null @@ -1,54 +0,0 @@ -import request from '@/utils/request' - -// 创建 -export function createArea(data) { - return request({ - url: '/farm/area/create', - method: 'post', - data: data - }) -} - -// 更新 -export function updateArea(data) { - return request({ - url: '/farm/area/update', - method: 'put', - data: data - }) -} - -// 删除 -export function deleteArea(id) { - return request({ - url: '/farm/area/delete?id=' + id, - method: 'delete' - }) -} - -// 获得 -export function getArea(id) { - return request({ - url: '/farm/area/get?id=' + id, - method: 'get' - }) -} - -// 获得分页 -export function getAreaPage(query) { - return request({ - url: '/farm/area/page', - method: 'get', - params: query - }) -} - -// 导出 Excel -export function exportAreaExcel(query) { - return request({ - url: '/farm/area/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} diff --git a/src/api/farm/crop.js b/src/api/farm/crop.js deleted file mode 100644 index 9b0ab44..0000000 --- a/src/api/farm/crop.js +++ /dev/null @@ -1,62 +0,0 @@ -import request from '@/utils/request' - -// 创建 -export function createCrop(data) { - return request({ - url: '/farm/crop/create', - method: 'post', - data: data - }) -} - -// 更新 -export function updateCrop(data) { - return request({ - url: '/farm/crop/update', - method: 'put', - data: data - }) -} - -// 删除 -export function deleteCrop(id) { - return request({ - url: '/farm/crop/delete?id=' + id, - method: 'delete' - }) -} - -// 获得 -export function getCrop(id) { - return request({ - url: '/farm/crop/get?id=' + id, - method: 'get' - }) -} - -// 获得分页 -export function getCropPage(query) { - return request({ - url: '/farm/crop/page', - method: 'get', - params: query - }) -} - -// 导出 Excel -export function exportCropExcel(query) { - return request({ - url: '/farm/crop/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} - -//获得ERP Material 列表 -export function getMaterialList(){ - return request({ - url: '/farm/crop/getMaterialList', - method: 'get', - }) -} diff --git a/src/api/farm/cropRecord.js b/src/api/farm/cropRecord.js deleted file mode 100644 index 08c16bc..0000000 --- a/src/api/farm/cropRecord.js +++ /dev/null @@ -1,54 +0,0 @@ -import request from '@/utils/request' - -// 创建 -export function createCropRecord(data) { - return request({ - url: '/farm/crop-record/create', - method: 'post', - data: data - }) -} - -// 更新 -export function updateCropRecord(data) { - return request({ - url: '/farm/crop-record/update', - method: 'put', - data: data - }) -} - -// 删除 -export function deleteCropRecord(id) { - return request({ - url: '/farm/crop-record/delete?id=' + id, - method: 'delete' - }) -} - -// 获得 -export function getCropRecord(id) { - return request({ - url: '/farm/crop-record/get?id=' + id, - method: 'get' - }) -} - -// 获得分页 -export function getCropRecordPage(query) { - return request({ - url: '/farm/crop-record/page', - method: 'get', - params: query - }) -} - -// 导出 Excel -export function exportCropRecordExcel(query) { - return request({ - url: '/farm/crop-record/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} diff --git a/src/api/farm/discuss.js b/src/api/farm/discuss.js deleted file mode 100644 index cfcdb2d..0000000 --- a/src/api/farm/discuss.js +++ /dev/null @@ -1,54 +0,0 @@ -import request from '@/utils/request' - -// 创建农场任务讨论 -export function createDiscuss(data) { - return request({ - url: '/farm/discuss/create', - method: 'post', - data: data - }) -} - -// 更新农场任务讨论 -export function updateDiscuss(data) { - return request({ - url: '/farm/discuss/update', - method: 'put', - data: data - }) -} - -// 删除农场任务讨论 -export function deleteDiscuss(id) { - return request({ - url: '/farm/discuss/delete?id=' + id, - method: 'delete' - }) -} - -// 获得农场任务讨论 -export function getDiscuss(id) { - return request({ - url: '/farm/discuss/get?id=' + id, - method: 'get' - }) -} - -// 获得农场任务讨论分页 -export function getDiscussPage(query) { - return request({ - url: '/farm/discuss/page', - method: 'get', - params: query - }) -} - -// 导出农场任务讨论 Excel -export function exportDiscussExcel(query) { - return request({ - url: '/farm/discuss/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} diff --git a/src/api/farm/event.js b/src/api/farm/event.js deleted file mode 100644 index 46c1143..0000000 --- a/src/api/farm/event.js +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/utils/request' - -// 创建农场任务事件 -export function createEvent(data) { - return request({ - url: '/farm/event/create', - method: 'post', - data: data - }) -} - -// 更新农场任务事件 -export function updateEvent(data) { - return request({ - url: '/farm/event/update', - method: 'put', - data: data - }) -} - -// 删除农场任务事件 -export function deleteEvent(id) { - return request({ - url: '/farm/event/delete?id=' + id, - method: 'delete' - }) -} - -// 获得农场任务事件 -export function getEvent(id) { - return request({ - url: '/farm/event/get?id=' + id, - method: 'get' - }) -} - -// 获得农场任务事件分页 -export function getEventPage(query) { - return request({ - url: '/farm/event/page', - method: 'get', - params: query - }) -} - -// 搜索条件获得农场任务事件分页 -export function getEventSearchPage(query) { - return request({ - url: '/farm/event/pageSearch', - method: 'get', - params: query - }) -} - -// 导出农场任务事件 Excel -export function exportEventExcel(query) { - return request({ - url: '/farm/event/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} diff --git a/src/api/farm/logMsg.js b/src/api/farm/logMsg.js deleted file mode 100644 index 2c9f1c1..0000000 --- a/src/api/farm/logMsg.js +++ /dev/null @@ -1,54 +0,0 @@ -import request from '@/utils/request' - -// 创建 -export function createLogMsg(data) { - return request({ - url: '/farm/log-msg/create', - method: 'post', - data: data - }) -} - -// 更新 -export function updateLogMsg(data) { - return request({ - url: '/farm/log-msg/update', - method: 'put', - data: data - }) -} - -// 删除 -export function deleteLogMsg(id) { - return request({ - url: '/farm/log-msg/delete?id=' + id, - method: 'delete' - }) -} - -// 获得 -export function getLogMsg(id) { - return request({ - url: '/farm/log-msg/get?id=' + id, - method: 'get' - }) -} - -// 获得分页 -export function getLogMsgPage(query) { - return request({ - url: '/farm/log-msg/page', - method: 'get', - params: query - }) -} - -// 导出 Excel -export function exportLogMsgExcel(query) { - return request({ - url: '/farm/log-msg/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} diff --git a/src/api/farm/project.js b/src/api/farm/project.js deleted file mode 100644 index 3f7f494..0000000 --- a/src/api/farm/project.js +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/utils/request' - -// 创建农场项目 -export function createProject(data) { - return request({ - url: '/farm/project/create', - method: 'post', - data: data - }) -} - -// 更新农场项目 -export function updateProject(data) { - return request({ - url: '/farm/project/update', - method: 'put', - data: data - }) -} - -// 删除农场项目 -export function deleteProject(id) { - return request({ - url: '/farm/project/delete?id=' + id, - method: 'delete' - }) -} - -// 获得农场项目 -export function getProject(id) { - return request({ - url: '/farm/project/get?id=' + id, - method: 'get' - }) -} - -// 获得农场项目分页 -export function getProjectPage(query) { - return request({ - url: '/farm/project/page', - method: 'get', - params: query - }) -} - -// 搜索条件获得农场项目分页 -export function getProjectSearchPage(query) { - return request({ - url: '/farm/project/pageSearch', - method: 'get', - params: query - }) -} - -// 导出农场项目 Excel -export function exportProjectExcel(query) { - return request({ - url: '/farm/project/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} diff --git a/src/api/farm/resource.js b/src/api/farm/resource.js deleted file mode 100644 index 4011603..0000000 --- a/src/api/farm/resource.js +++ /dev/null @@ -1,54 +0,0 @@ -import request from '@/utils/request' - -// 创建农场资源 -export function createResource(data) { - return request({ - url: '/farm/resource/create', - method: 'post', - data: data - }) -} - -// 更新农场资源 -export function updateResource(data) { - return request({ - url: '/farm/resource/update', - method: 'put', - data: data - }) -} - -// 删除农场资源 -export function deleteResource(id) { - return request({ - url: '/farm/resource/delete?id=' + id, - method: 'delete' - }) -} - -// 获得农场资源 -export function getResource(id) { - return request({ - url: '/farm/resource/get?id=' + id, - method: 'get' - }) -} - -// 获得农场资源分页 -export function getResourcePage(query) { - return request({ - url: '/farm/resource/page', - method: 'get', - params: query - }) -} - -// 导出农场资源 Excel -export function exportResourceExcel(query) { - return request({ - url: '/farm/resource/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} diff --git a/src/api/farm/resourceType.js b/src/api/farm/resourceType.js deleted file mode 100644 index 776016c..0000000 --- a/src/api/farm/resourceType.js +++ /dev/null @@ -1,54 +0,0 @@ -import request from '@/utils/request' - -// 创建农场资源分类 -export function createResourceType(data) { - return request({ - url: '/farm/resource-type/create', - method: 'post', - data: data - }) -} - -// 更新农场资源分类 -export function updateResourceType(data) { - return request({ - url: '/farm/resource-type/update', - method: 'put', - data: data - }) -} - -// 删除农场资源分类 -export function deleteResourceType(id) { - return request({ - url: '/farm/resource-type/delete?id=' + id, - method: 'delete' - }) -} - -// 获得农场资源分类 -export function getResourceType(id) { - return request({ - url: '/farm/resource-type/get?id=' + id, - method: 'get' - }) -} - -// 获得农场资源分类分页 -export function getResourceTypePage(query) { - return request({ - url: '/farm/resource-type/page', - method: 'get', - params: query - }) -} - -// 导出农场资源分类 Excel -export function exportResourceTypeExcel(query) { - return request({ - url: '/farm/resource-type/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} diff --git a/src/api/farm/task.js b/src/api/farm/task.js deleted file mode 100644 index 8224fbe..0000000 --- a/src/api/farm/task.js +++ /dev/null @@ -1,72 +0,0 @@ -import request from '@/utils/request' - -// 创建农场任务 -export function createTask(data) { - return request({ - url: '/farm/task/create', - method: 'post', - data: data - }) -} - -// 更新农场任务 -export function updateTask(data) { - return request({ - url: '/farm/task/update', - method: 'put', - data: data - }) -} - -// 删除农场任务 -export function deleteTask(id) { - return request({ - url: '/farm/task/delete?id=' + id, - method: 'delete' - }) -} - -// 获得农场任务 -export function getTask(id) { - return request({ - url: '/farm/task/get?id=' + id, - method: 'get' - }) -} - -// 获得农场任务分页 -export function getTaskPage(query) { - return request({ - url: '/farm/task/page', - method: 'get', - params: query - }) -} - -//一次性获得农场任务分页数据 -export function getAdminTaskPage(query){ - return request({ - url: '/farm/task/apiPage', - method: 'get', - params: query - }) -} - -// 条件搜索获得农场任务分页 -export function getTaskSearchPage(query) { - return request({ - url: '/farm/task/pageSearch', - method: 'get', - params: query - }) -} - -// 导出农场任务 Excel -export function exportTaskExcel(query) { - return request({ - url: '/farm/task/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} diff --git a/src/api/farm/taskCate.js b/src/api/farm/taskCate.js deleted file mode 100644 index 81bb3a1..0000000 --- a/src/api/farm/taskCate.js +++ /dev/null @@ -1,54 +0,0 @@ -import request from '@/utils/request' - -// 创建任务类型 -export function createTaskCate(data) { - return request({ - url: '/farm/task-cate/create', - method: 'post', - data: data - }) -} - -// 更新任务类型 -export function updateTaskCate(data) { - return request({ - url: '/farm/task-cate/update', - method: 'put', - data: data - }) -} - -// 删除任务类型 -export function deleteTaskCate(id) { - return request({ - url: '/farm/task-cate/delete?id=' + id, - method: 'delete' - }) -} - -// 获得任务类型 -export function getTaskCate(id) { - return request({ - url: '/farm/task-cate/get?id=' + id, - method: 'get' - }) -} - -// 获得任务类型分页 -export function getTaskCatePage(query) { - return request({ - url: '/farm/task-cate/page', - method: 'get', - params: query - }) -} - -// 导出任务类型 Excel -export function exportTaskCateExcel(query) { - return request({ - url: '/farm/task-cate/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} diff --git a/src/api/farm/workHour.js b/src/api/farm/workHour.js deleted file mode 100644 index 26f996d..0000000 --- a/src/api/farm/workHour.js +++ /dev/null @@ -1,54 +0,0 @@ -import request from '@/utils/request' - -// 创建 -export function createWorkHour(data) { - return request({ - url: '/farm/work-hour/create', - method: 'post', - data: data - }) -} - -// 更新 -export function updateWorkHour(data) { - return request({ - url: '/farm/work-hour/update', - method: 'put', - data: data - }) -} - -// 删除 -export function deleteWorkHour(id) { - return request({ - url: '/farm/work-hour/delete?id=' + id, - method: 'delete' - }) -} - -// 获得 -export function getWorkHour(id) { - return request({ - url: '/farm/work-hour/get?id=' + id, - method: 'get' - }) -} - -// 获得分页 -export function getWorkHourPage(query) { - return request({ - url: '/farm/work-hour/page', - method: 'get', - params: query - }) -} - -// 导出 Excel -export function exportWorkHourExcel(query) { - return request({ - url: '/farm/work-hour/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} diff --git a/src/router/index.js b/src/router/index.js index a1707c7..65b0d0a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -124,54 +124,6 @@ export const constantRoutes = [ meta: {title: '修改生成配置', activeMenu: '/infra/codegen'} } ] - }, { - path: '/bpm', - component: Layout, - hidden: true, - redirect: 'noredirect', - children: [{ - path: 'oa/leave/create', - component: (resolve) => require(['@/views/bpm/oa/leave/create'], resolve), - name: '发起 OA 请假', - meta: {title: '发起 OA 请假', icon: 'form', activeMenu: '/bpm/oa/leave'} - }, { - path: 'oa/leave/detail', - component: (resolve) => require(['@/views/bpm/oa/leave/detail'], resolve), - name: '查看 OA 请假', - meta: {title: '查看 OA 请假', icon: 'view', activeMenu: '/bpm/oa/leave'} - } - ] - }, { - path: '/bpm', - component: Layout, - hidden: true, - children: [{ - path: 'manager/form/edit', - component: (resolve) => require(['@/views/bpm/form/formEditor'], resolve), - name: '流程表单-编辑', - meta: {title: '流程表单-编辑', activeMenu: '/bpm/manager/form'} - }, { - path: 'manager/definition', - component: (resolve) => require(['@/views/bpm/definition/index'], resolve), - name: '流程定义', - meta: {title: '流程定义', activeMenu: '/bpm/manager/model'} - }, { - path: 'manager/model/design', - component: (resolve) => require(['@/views/bpm/model/modelEditor'], resolve), - name: '设计流程', - meta: {title: '设计流程', activeMenu: '/bpm/manager/model'} - }, { - path: 'process-instance/create', - component: (resolve) => require(['@/views/bpm/processInstance/create'], resolve), - name: '发起流程', - meta: {title: '发起流程', activeMenu: '/bpm/task/my'} - }, { - path: 'process-instance/detail', - component: (resolve) => require(['@/views/bpm/processInstance/detail'], resolve), - name: '流程详情', - meta: {title: '流程详情', activeMenu: '/bpm/task/my'} - } - ] } ] diff --git a/src/views/bpm/definition/index.vue b/src/views/bpm/definition/index.vue deleted file mode 100644 index 43f1942..0000000 --- a/src/views/bpm/definition/index.vue +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - - - - - {{ scope.row.name }} - - - - - - - - - - - - {{ scope.row.formName }} - - - {{ scope.row.formCustomCreatePath }} - - 暂无表单 - - - - - v{{ scope.row.version }} - 未部署 - - - - - 激活 - 挂起 - - - - - {{ parseTime(scope.row.deploymentTime) }} - - - - - - 分配规则 - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/bpm/form/formEditor.vue b/src/views/bpm/form/formEditor.vue deleted file mode 100644 index 07b64d3..0000000 --- a/src/views/bpm/form/formEditor.vue +++ /dev/null @@ -1,569 +0,0 @@ - - - - - 流程表单 - - - - - - - - {{ item.title }} - - - - - - {{ element.__config__.label }} - - - - - - - - - - - - - {{dict.label}} - - - - - - - - - - - - - 保存 - - - - - 查看json - - - - - - - - - 清空 - - - - - - - - - - - - 从左侧拖入或点选组件进行表单设计 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/bpm/form/index.vue b/src/views/bpm/form/index.vue deleted file mode 100644 index d592a9d..0000000 --- a/src/views/bpm/form/index.vue +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - - - - - - - - - - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 详情 - 修改 - 删除 - - - - - - - - - - - - - - - - diff --git a/src/views/bpm/group/index.vue b/src/views/bpm/group/index.vue deleted file mode 100644 index 3e586fd..0000000 --- a/src/views/bpm/group/index.vue +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - - - - - - - - - - - {{ getUserNickname(userId) }} - - - - - - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 修改 - 删除 - - - - - - - - - - - - - - - - - - - - - - - {{dict.label}} - - - - - - - - - diff --git a/src/views/bpm/model/index.vue b/src/views/bpm/model/index.vue deleted file mode 100644 index de2b680..0000000 --- a/src/views/bpm/model/index.vue +++ /dev/null @@ -1,545 +0,0 @@ - - - - - - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - 新建流程 - - - 导入流程 - - - - - - - - - - - {{ scope.row.name }} - - - - - - - - - - - - {{ scope.row.formName }} - - - {{ scope.row.formCustomCreatePath }} - - 暂无表单 - - - - - {{ parseTime(scope.row.createTime) }} - - - - - - v{{ scope.row.processDefinition.version }} - 未部署 - - - - - - - - - - {{ parseTime(scope.row.processDefinition.deploymentTime) }} - - - - - - 修改流程 - 设计流程 - 分配规则 - 发布流程 - 流程定义 - 删除 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{dict.label}} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 将文件拖到此处,或 - 点击上传 - - 提示:仅允许导入“bpm”或“xml”格式文件! - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/bpm/model/modelEditor.vue b/src/views/bpm/model/modelEditor.vue deleted file mode 100644 index f6b8183..0000000 --- a/src/views/bpm/model/modelEditor.vue +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/src/views/bpm/oa/leave/create.vue b/src/views/bpm/oa/leave/create.vue deleted file mode 100644 index 14b6ed5..0000000 --- a/src/views/bpm/oa/leave/create.vue +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - 提 交 - - - - - - diff --git a/src/views/bpm/oa/leave/detail.vue b/src/views/bpm/oa/leave/detail.vue deleted file mode 100644 index 1e1e464..0000000 --- a/src/views/bpm/oa/leave/detail.vue +++ /dev/null @@ -1,53 +0,0 @@ - - - - - {{parseTime(form.startTime, '{y}-{m}-{d}')}} - {{parseTime(form.endTime, '{y}-{m}-{d}')}} - - - - {{ form.reason }} - - - - - diff --git a/src/views/bpm/oa/leave/index.vue b/src/views/bpm/oa/leave/index.vue deleted file mode 100644 index c66acb2..0000000 --- a/src/views/bpm/oa/leave/index.vue +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - 发起请假 - - - - - - - - - - - - - - - {{ parseTime(scope.row.startTime) }} - - - - - {{ parseTime(scope.row.endTime) }} - - - - - - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 取消请假 - 详情 - 审批进度 - - - - - - - - - - diff --git a/src/views/bpm/processInstance/create.vue b/src/views/bpm/processInstance/create.vue deleted file mode 100644 index 0e9482d..0000000 --- a/src/views/bpm/processInstance/create.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - - - {{ scope.row.name }} - - - - - - - - - - - v{{ scope.row.version }} - - - - - - 选择 - - - - - - - - - 申请信息【{{ selectProcessInstance.name }}】 - 选择其它流程 - - - - - - - - - - 流程图 - - - - - - - - - - - diff --git a/src/views/bpm/processInstance/detail.vue b/src/views/bpm/processInstance/detail.vue deleted file mode 100644 index f5d4992..0000000 --- a/src/views/bpm/processInstance/detail.vue +++ /dev/null @@ -1,424 +0,0 @@ - - - - - - 审批任务【{{ item.name }}】 - - - - - {{ processInstance.name }} - - - {{ processInstance.startUser.nickname }} - {{ processInstance.startUser.deptName }} - - - - - - - 通过 - 不通过 - 转办 - 委派 - 退回 - - - - - - - 申请信息【{{ processInstance.name }}】 - - - - - - - - - 点击查看 - - - - - - 审批记录 - - - - - - 任务:{{ item.name }} - - - 审批人:{{ item.assigneeUser.nickname }} - {{ item.assigneeUser.deptName }} - - 创建时间: - {{ parseTime(item.createTime) }} - 审批时间: - {{ parseTime(item.endTime) }} - 耗时: - {{ getDateStar(item.durationInMillis) }} - - {{ item.comment }} - - - - - - - - - - - - 流程图 - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/bpm/processInstance/index.vue b/src/views/bpm/processInstance/index.vue deleted file mode 100644 index 85d770a..0000000 --- a/src/views/bpm/processInstance/index.vue +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - 发起流程 - - - - - - - - - - - - - - - - - {{ task.name }} - - - - - - - - - - - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - {{ parseTime(scope.row.endTime) }} - - - - - 取消 - 详情 - - - - - - - - - - diff --git a/src/views/bpm/task/done.vue b/src/views/bpm/task/done.vue deleted file mode 100644 index c0b9a66..0000000 --- a/src/views/bpm/task/done.vue +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - - - - - - - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - {{ parseTime(scope.row.endTime) }} - - - - - {{ getDateStar(scope.row.durationInMillis) }} - - - - - 详情 - - - - - - - - - - diff --git a/src/views/bpm/task/todo.vue b/src/views/bpm/task/todo.vue deleted file mode 100644 index 2766ab6..0000000 --- a/src/views/bpm/task/todo.vue +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 激活 - 挂起 - - - - - 审批 - - - - - - - - - - diff --git a/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue b/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue deleted file mode 100644 index 729ca4f..0000000 --- a/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - - - - - - - - - - - {{ getAssignRuleOptionName(scope.row.type, option) }} - - - - - - 修改 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/farm/area/index.vue b/src/views/farm/area/index.vue deleted file mode 100644 index 62ee98d..0000000 --- a/src/views/farm/area/index.vue +++ /dev/null @@ -1,276 +0,0 @@ - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - 导出 - - - - - - - - - - - 未占用 - 已占用 - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 修改 - 删除 - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/farm/crop/index.vue b/src/views/farm/crop/index.vue deleted file mode 100644 index 3607847..0000000 --- a/src/views/farm/crop/index.vue +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - 导出 - - - - - - - - - - - - - - - - - - - - {{erpNameConvert(scope.row.materialId)}} - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 修改 - 删除 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ item.name }} - - - - - - - - - - - diff --git a/src/views/farm/cropRecord/index.vue b/src/views/farm/cropRecord/index.vue deleted file mode 100644 index 8529fd7..0000000 --- a/src/views/farm/cropRecord/index.vue +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - 导出 - - - - - - - - - - {{cropList.find(t=>t.id == scope.row.cropId ).name}} - - - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - - - - - - - - - - - - {{item.name}} - - - - - - 出库 - 入库 - - - - - {{currentStock}} - - - - - - - - - - - - - - - - diff --git a/src/views/farm/discuss/index.vue b/src/views/farm/discuss/index.vue deleted file mode 100644 index c062d41..0000000 --- a/src/views/farm/discuss/index.vue +++ /dev/null @@ -1,544 +0,0 @@ - - - - - - - - - {{ item.id }} - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - 导出 - - - 第一次进来请先看活动规则 - - - - - - - - - - {{convertProject(scope.row.projectId)}} - - - - - - {{convertTask(scope.row.taskId)}} - - - - - {{resouceConvert(scope.row.resources)}} - - - - - - - - - {{countTotalHour(scope.row.workingHours, scope.row.joinNumber)}} - - - - - - - - - - - - {{ parseTime(scope.row.executeTime) }} - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 修改 - 删除 - - - - - - - - - - - - - - - - - - - - - - - - - - - - 添加资源 - - - - - 删除 - - - - - - - - - - - - - - - - - - - - - - 新增活动只能选择进行中的项目下的进行中的任务 - - 提交活动后,任务自动变成已完成,并新增执行人的工时 - 如果任务类型是采收, 则会将采收数量同步到ERP对应物料数量 - - - 确 定 - - - - - - diff --git a/src/views/farm/event/index.vue b/src/views/farm/event/index.vue deleted file mode 100644 index 83d245b..0000000 --- a/src/views/farm/event/index.vue +++ /dev/null @@ -1,376 +0,0 @@ - - - - - - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - 导出 - - - - - - - - - - {{projectList.find(p => p.id == scope.row.projectId).name}} - - - - - {{taskConvert(scope.row.taskId)}} - - - - - - - - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 修改 - 删除 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/farm/logMsg/index.vue b/src/views/farm/logMsg/index.vue deleted file mode 100644 index 02b41f9..0000000 --- a/src/views/farm/logMsg/index.vue +++ /dev/null @@ -1,258 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - - 导出 - - - - - - - - - - - - - - {{ userConver(scope.row.userId)}} - - - - - {{ parseTime(scope.row.createTime) }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/farm/project/index.vue b/src/views/farm/project/index.vue deleted file mode 100644 index 2f538ed..0000000 --- a/src/views/farm/project/index.vue +++ /dev/null @@ -1,584 +0,0 @@ - - - - - - - - - - - - - - - - {{ item.name }} - - - - - - - {{ item.name }} - - - - - - - {{ item.name }} - - - - - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - 导出 - - - 第一次进来请先看项目规则 - - - - - - - - - - 计划中 - 进行中 - 已完成 - - - - - - {{areasConvert(scope.row.areas)}} - - - - - - {{cropList.find(t=>t.id == scope.row.cropId ).name}} - - - - - {{mainPersonConvert(scope.row.mainPerson)}} - - - - - - - - - - - - {{ parseTime(scope.row.growSeedTime) }} - - - - - {{ parseTime(scope.row.plantTime) }} - - - - - {{ parseTime(scope.row.planStartTime) }} - - - - - {{ parseTime(scope.row.planEndTime) }} - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 修改 - 删除 - - - - - - - - - - - - - - - - - - - - - - {{item.name}} - - - - - - {{item.name}} - - - - - - - - - - - - - - - - - - - - - - 计划中 - 进行中 - 已完成 - - - - - - - - - - - - - 添加计划中的项目时,不会做任何限制,可随意添加 - 项目更改为进行中的时候,会检查区域占用情况,未占用,则更改成功,并占用区域。如果区域已占用,项目无法更改为进行中 - 项目的作物、区域、成员,将作为项目下任务所选择的基础信息 - 进行中的项目不可以修改作物、区域 - 项目更改为完成时,会检查改项目下所有任务是否完成,如果有未完成的则更改失败。更改成功会释放占用的区域 - 已完成项目不可进行任务修改 - 项目的状态只能由计划中 ——> 进行中 ——>已完成,不可逆向变更状态 - - - 确 定 - - - - - - - diff --git a/src/views/farm/resource/index.vue b/src/views/farm/resource/index.vue deleted file mode 100644 index baaf24d..0000000 --- a/src/views/farm/resource/index.vue +++ /dev/null @@ -1,373 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - 导出 - - - - - - - - - - {{resourceTypeList.find(t=>t.id == scope.row.resourceType ).name}} - - - - - - {{custodianUserList.find(t=>t.id == scope.row.custodianId ).name}} - - - - - - - - - - - - - {{ parseTime(scope.row.validityStartTime) }} - - - - - {{ parseTime(scope.row.validityEndTime) }} - - - - - 唯一 - 任意 - - - - - 被占用 - 否 - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 修改 - 删除 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 否 - 是 - - - - - - - - - diff --git a/src/views/farm/resourceType/index.vue b/src/views/farm/resourceType/index.vue deleted file mode 100644 index bbfe069..0000000 --- a/src/views/farm/resourceType/index.vue +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - 导出 - - - - - - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 修改 - 删除 - - - - - - - - - - - - - - - - - - - diff --git a/src/views/farm/task/index.vue b/src/views/farm/task/index.vue deleted file mode 100644 index 484e175..0000000 --- a/src/views/farm/task/index.vue +++ /dev/null @@ -1,767 +0,0 @@ - - - - - - - - - - {{ item.name }} - - - - - - - {{ item.name }} - - - - - - - {{ item.name }} - - - - - - - {{ item.name }} - - - - - - - {{ item.name }} - - - - - - - {{ item.name }} - - - - - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - 导出 - - - 第一次进来请先看任务规则 - - - - - - - - - - 计划中 - 准备中 - 已开始 - 异常状态 - 任务完成 - 返工 - 任务关闭 - - - - - {{scope.row.projectName != undefind ? scope.row.projectName : scope.row.id}} - - - - - {{scope.row.mainPersonName}} - - - - - {{areaConvert(scope.row.areaNameList)}} - - - - - {{scope.row.cropName}} - - - - - {{scope.row.taskName}} - - - - - {{scope.row.taskMsg}} - - - - - - - {{ parseTime(scope.row.planStartTime) }} - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 修改 - 撤回 - - - - - - - - - - - - - {{ item.name }} - - - - - - - {{ item.name }} - - - - - - - {{ item.name }} - - - - - - - - - - - {{ item.name }} - - - - - - - {{ item.name }} - - - - - - - - - - - - - - - - - - - - - - - 新增任务,只能选择进行中的任务 - 作物只能选择项目的作物,负责人只能从项目成员中选择,区域只能从项目区域中选择 - 任务状态为计划中、准备中,不做任何检查 - 任务状态更改为进行中,会检查唯一资源占用情况,如果被占用,则更改失败。未被占用,则变成占用,更改成功 - 任务状态更改为完成,会返还唯一资源数量,并更改资源为未占用 - 已完成的任务不能修改任何信息,修改按钮隐藏 - 任务状态由系统根据执行时间计算, 计划中、准备中的到了执行时间自动变成已开始 - 执行时间不能添加今天之前的, 如果是今天 状态为已开始,如果是明天 状态为计划中 - 任务状态(完成),只能由提交活动变成完成状态 - - - 确 定 - - - - - - - diff --git a/src/views/farm/taskCate/index.vue b/src/views/farm/taskCate/index.vue deleted file mode 100644 index 164128d..0000000 --- a/src/views/farm/taskCate/index.vue +++ /dev/null @@ -1,278 +0,0 @@ - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - 导出 - - - - - - - - - - - - - 否 - 是 - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 修改 - 删除 - - - - - - - - - - - - - - {{item.name}} - - - - - - - - - - - - 不同步 - 同步 - - - - - - - - - diff --git a/src/views/farm/workHour/index.vue b/src/views/farm/workHour/index.vue deleted file mode 100644 index 75a41d3..0000000 --- a/src/views/farm/workHour/index.vue +++ /dev/null @@ -1,401 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - 导出 - - - - - - - - - - {{userConvert(scope.row.userId)}} - - - - - {{scope.row.projectId}} - - - - - {{taskConvert(scope.row.taskId)}} - - - - - - {{ parseTime(scope.row.createTime) }} - - - - - - - - - - - - - - {{item.name}} - - - - - - - {{item.taskName +"/"+ item.taskMsg}} - - - - - - - {{item.name}} - - - - - - - - - - - - -
任务:{{ item.name }}
- {{ item.comment }} -