diff --git a/test_client/src/api/cms.js b/test_client/src/api/cms.js index ea1da70..0fb8948 100644 --- a/test_client/src/api/cms.js +++ b/test_client/src/api/cms.js @@ -181,7 +181,29 @@ export function deleteArt(id) { }) } +// 优培详情 +export function createypDetail(data) { + return request({ + url: '/cms/ypdetail/', + method: 'post', + data + }) +} +export function getYpDetailList(query) { + return request({ + url: '/cms/ypdetail/', + method: 'get', + params: query + }) +} +export function updateyp(id, data) { + return request({ + url: `/cms/ypdetail/${id}/`, + method: 'put', + data + }) +} export function getChildcompanyList(query) { return request({ diff --git a/test_client/src/views/youpei/index.vue b/test_client/src/views/youpei/index.vue index 462b592..925452e 100644 --- a/test_client/src/views/youpei/index.vue +++ b/test_client/src/views/youpei/index.vue @@ -89,7 +89,8 @@ v-if="showEditor" v-model="companydata.remark" :height="400" - width="90%"/> + width="90%" + />
@@ -108,10 +109,22 @@ -
+ + + + 保存 + + + + @@ -193,7 +206,8 @@