diff --git a/src/api/manage/crowdInfo.js b/src/api/manage/crowdInfo.js new file mode 100644 index 0000000..bf72e27 --- /dev/null +++ b/src/api/manage/crowdInfo.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询人群信息列表 +export function listCrowdInfo(query) { + return request({ + url: '/manage/crowdInfo/list', + method: 'get', + params: query + }) +} + +// 查询人群信息详细 +export function getCrowdInfo(id) { + return request({ + url: '/manage/crowdInfo/' + id, + method: 'get' + }) +} + +// 新增人群信息 +export function addCrowdInfo(data) { + return request({ + url: '/manage/crowdInfo', + method: 'post', + data: data + }) +} + +// 修改人群信息 +export function updateCrowdInfo(data) { + return request({ + url: '/manage/crowdInfo', + method: 'put', + data: data + }) +} + +// 删除人群信息 +export function delCrowdInfo(id) { + return request({ + url: '/manage/crowdInfo/' + id, + method: 'delete' + }) +} diff --git a/src/views/manage/components/wangEditor.vue b/src/views/manage/components/wangEditor.vue index 6e81d22..c28168e 100644 --- a/src/views/manage/components/wangEditor.vue +++ b/src/views/manage/components/wangEditor.vue @@ -486,7 +486,7 @@ function attachmentToHtml(elem, childrenHtml) { // JS 语法 data-w-e-is-void data-w-e-is-inline data-link="${link}" - data-fileSpan="${fileSpan}", + data-fileSpan="${fileSpan}" data-fileName="${fileName}"> ${fileName} @@ -503,7 +503,7 @@ function attachmentToHtmltwo(elem, childrenHtml) { // JS 语法 data-w-e-is-void data-w-e-is-inline data-link="${link}" - data-fileSpan="${fileSpan}", + data-fileSpan="${fileSpan}" data-fileName="${fileName}"> ${fileName} diff --git a/src/views/manage/crowdInfo/index.vue b/src/views/manage/crowdInfo/index.vue new file mode 100644 index 0000000..a39472f --- /dev/null +++ b/src/views/manage/crowdInfo/index.vue @@ -0,0 +1,542 @@ + + + + diff --git a/src/views/system/components/wangEditor.vue b/src/views/system/components/wangEditor.vue index 550b49c..267d442 100644 --- a/src/views/system/components/wangEditor.vue +++ b/src/views/system/components/wangEditor.vue @@ -485,7 +485,7 @@ function attachmentToHtml(elem, childrenHtml) { // JS 语法 data-w-e-is-void data-w-e-is-inline data-link="${link}" - data-fileSpan="${fileSpan}", + data-fileSpan="${fileSpan}" data-fileName="${fileName}"> ${fileName} @@ -502,7 +502,7 @@ function attachmentToHtmltwo(elem, childrenHtml) { // JS 语法 data-w-e-is-void data-w-e-is-inline data-link="${link}" - data-fileSpan="${fileSpan}", + data-fileSpan="${fileSpan}" data-fileName="${fileName}"> ${fileName} diff --git a/src/views/system/question/index.vue b/src/views/system/question/index.vue index 2ed142f..d457836 100644 --- a/src/views/system/question/index.vue +++ b/src/views/system/question/index.vue @@ -41,6 +41,12 @@ + + +