diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletAnswerBase.js b/CatmDogd-Mall-Front-test/src/api/model/AppletAnswerBase.js index 7b4125e..81e8114 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletAnswerBase.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletAnswerBase.js @@ -10,9 +10,9 @@ export function listAppletAnswerBase(query) { } // 查询用户基本考核答案详细 -export function getAppletAnswerBase(questionId) { +export function getAppletAnswerBase(id) { return request({ - url: '/model/AppletAnswerBase/' + questionId, + url: '/model/AppletAnswerBase/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletAnswerBase(data) { } // 删除用户基本考核答案 -export function delAppletAnswerBase(questionId) { +export function delAppletAnswerBase(id) { return request({ - url: '/model/AppletAnswerBase/' + questionId, + url: '/model/AppletAnswerBase/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletAnswerTrain.js b/CatmDogd-Mall-Front-test/src/api/model/AppletAnswerTrain.js index da6d645..6bcee1d 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletAnswerTrain.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletAnswerTrain.js @@ -10,9 +10,9 @@ export function listAppletAnswerTrain(query) { } // 查询用户培训考核答案详细 -export function getAppletAnswerTrain(questionId) { +export function getAppletAnswerTrain(id) { return request({ - url: '/model/AppletAnswerTrain/' + questionId, + url: '/model/AppletAnswerTrain/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletAnswerTrain(data) { } // 删除用户培训考核答案 -export function delAppletAnswerTrain(questionId) { +export function delAppletAnswerTrain(id) { return request({ - url: '/model/AppletAnswerTrain/' + questionId, + url: '/model/AppletAnswerTrain/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletComment.js b/CatmDogd-Mall-Front-test/src/api/model/AppletComment.js index cdd366c..e7dbe2e 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletComment.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletComment.js @@ -10,9 +10,9 @@ export function listAppletComment(query) { } // 查询用户评价详细 -export function getAppletComment(comment) { +export function getAppletComment(id) { return request({ - url: '/model/AppletComment/' + comment, + url: '/model/AppletComment/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletComment(data) { } // 删除用户评价 -export function delAppletComment(comment) { +export function delAppletComment(id) { return request({ - url: '/model/AppletComment/' + comment, + url: '/model/AppletComment/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletIncrease.js b/CatmDogd-Mall-Front-test/src/api/model/AppletIncrease.js index 9f52e93..0d6a653 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletIncrease.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletIncrease.js @@ -10,9 +10,9 @@ export function listAppletIncrease(query) { } // 查询增值服务详细 -export function getAppletIncrease(title) { +export function getAppletIncrease(id) { return request({ - url: '/model/AppletIncrease/' + title, + url: '/model/AppletIncrease/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletIncrease(data) { } // 删除增值服务 -export function delAppletIncrease(title) { +export function delAppletIncrease(id) { return request({ - url: '/model/AppletIncrease/' + title, + url: '/model/AppletIncrease/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletLicense.js b/CatmDogd-Mall-Front-test/src/api/model/AppletLicense.js index 42b4353..10f6bb0 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletLicense.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletLicense.js @@ -10,9 +10,9 @@ export function listAppletLicense(query) { } // 查询专业执照信息详细 -export function getAppletLicense(title) { +export function getAppletLicense(id) { return request({ - url: '/model/AppletLicense/' + title, + url: '/model/AppletLicense/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletLicense(data) { } // 删除专业执照信息 -export function delAppletLicense(title) { +export function delAppletLicense(id) { return request({ - url: '/model/AppletLicense/' + title, + url: '/model/AppletLicense/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppletAnswerBase/index.vue b/CatmDogd-Mall-Front-test/src/views/model/AppletAnswerBase/index.vue index f2e0ec4..1d0b0d2 100644 --- a/CatmDogd-Mall-Front-test/src/views/model/AppletAnswerBase/index.vue +++ b/CatmDogd-Mall-Front-test/src/views/model/AppletAnswerBase/index.vue @@ -83,6 +83,7 @@ + @@ -126,6 +127,9 @@ + + +