diff --git a/.gitignore b/.gitignore index 68fd7323..74f075f2 100644 --- a/.gitignore +++ b/.gitignore @@ -51,6 +51,8 @@ logs doc bin .github +protocolFile +nginx ry.bat /LICENSE \ No newline at end of file diff --git a/ruoyi-ui/src/api/board/plantype.js b/ruoyi-ui/src/api/board/plantype.js new file mode 100644 index 00000000..0395cdf6 --- /dev/null +++ b/ruoyi-ui/src/api/board/plantype.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询计划发布中的类型列表 +export function listType(query) { + return request({ + url: '/plan/type/list', + method: 'get', + params: query + }) +} + +// 查询计划发布中的类型详细 +export function getType(id) { + return request({ + url: '/plan/type/' + id, + method: 'get' + }) +} + +// 新增计划发布中的类型 +export function addType(data) { + return request({ + url: '/plan/type', + method: 'post', + data: data + }) +} + +// 修改计划发布中的类型 +export function updateType(data) { + return request({ + url: '/plan/type', + method: 'put', + data: data + }) +} + +// 删除计划发布中的类型 +export function delType(id) { + return request({ + url: '/plan/type/' + id, + method: 'delete' + }) +} + +// 查询部门下拉树结构 +export function planTypeTreeSelect() { + return request({ + url: '/plan/type/planTree', + method: 'get' + }) +} + diff --git a/ruoyi-ui/src/views/board/component/TextPreview.vue b/ruoyi-ui/src/views/board/component/TextPreview.vue new file mode 100644 index 00000000..734bb78a --- /dev/null +++ b/ruoyi-ui/src/views/board/component/TextPreview.vue @@ -0,0 +1,106 @@ + + + diff --git a/ruoyi-ui/src/views/board/content/index.vue b/ruoyi-ui/src/views/board/content/index.vue index c30f7a64..7a5524e2 100644 --- a/ruoyi-ui/src/views/board/content/index.vue +++ b/ruoyi-ui/src/views/board/content/index.vue @@ -22,9 +22,9 @@ /> - + @@ -75,16 +75,16 @@ v-hasPermi="['board:content:remove']" >删除 - - 导出 - + + + + + + + + + + @@ -138,7 +138,7 @@ /> - + @@ -199,7 +199,7 @@ - + @@ -213,11 +213,18 @@ - - - - + +