diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletAddress.js b/CatmDogd-Mall-Front-test/src/api/model/AppletAddress.js index 57ff411..19d9569 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletAddress.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletAddress.js @@ -10,9 +10,9 @@ export function listAppletAddress(query) { } // 查询地址信息详细 -export function getAppletAddress(area) { +export function getAppletAddress(id) { return request({ - url: '/model/AppletAddress/' + area, + url: '/model/AppletAddress/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletAddress(data) { } // 删除地址信息 -export function delAppletAddress(area) { +export function delAppletAddress(id) { return request({ - url: '/model/AppletAddress/' + area, + url: '/model/AppletAddress/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletAmountLog.js b/CatmDogd-Mall-Front-test/src/api/model/AppletAmountLog.js index 9c1b84a..5250620 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletAmountLog.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletAmountLog.js @@ -10,9 +10,9 @@ export function listAppletAmountLog(query) { } // 查询金额明细详细 -export function getAppletAmountLog(title) { +export function getAppletAmountLog(id) { return request({ - url: '/model/AppletAmountLog/' + title, + url: '/model/AppletAmountLog/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletAmountLog(data) { } // 删除金额明细 -export function delAppletAmountLog(title) { +export function delAppletAmountLog(id) { return request({ - url: '/model/AppletAmountLog/' + title, + url: '/model/AppletAmountLog/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletAnswer.js b/CatmDogd-Mall-Front-test/src/api/model/AppletAnswer.js index a303dd5..610cfbb 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletAnswer.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletAnswer.js @@ -10,9 +10,9 @@ export function listAppletAnswer(query) { } // 查询基本考核答案详细 -export function getAppletAnswer(title) { +export function getAppletAnswer(id) { return request({ - url: '/model/AppletAnswer/' + title, + url: '/model/AppletAnswer/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletAnswer(data) { } // 删除基本考核答案 -export function delAppletAnswer(title) { +export function delAppletAnswer(id) { return request({ - url: '/model/AppletAnswer/' + title, + url: '/model/AppletAnswer/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletQuestion.js b/CatmDogd-Mall-Front-test/src/api/model/AppletQuestion.js index dcf284c..c0d27af 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletQuestion.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletQuestion.js @@ -10,9 +10,9 @@ export function listAppletQuestion(query) { } // 查询考核题库详细 -export function getAppletQuestion(title) { +export function getAppletQuestion(id) { return request({ - url: '/model/AppletQuestion/' + title, + url: '/model/AppletQuestion/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletQuestion(data) { } // 删除考核题库 -export function delAppletQuestion(title) { +export function delAppletQuestion(id) { return request({ - url: '/model/AppletQuestion/' + title, + url: '/model/AppletQuestion/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletService.js b/CatmDogd-Mall-Front-test/src/api/model/AppletService.js index 99e916c..16ac0fa 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletService.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletService.js @@ -10,9 +10,9 @@ export function listAppletService(query) { } // 查询平台&服务介绍信息详细 -export function getAppletService(title) { +export function getAppletService(id) { return request({ - url: '/model/AppletService/' + title, + url: '/model/AppletService/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletService(data) { } // 删除平台&服务介绍信息 -export function delAppletService(title) { +export function delAppletService(id) { return request({ - url: '/model/AppletService/' + title, + url: '/model/AppletService/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletServiceDate.js b/CatmDogd-Mall-Front-test/src/api/model/AppletServiceDate.js index 7094418..695afe2 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletServiceDate.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletServiceDate.js @@ -10,9 +10,9 @@ export function listAppletServiceDate(query) { } // 查询服务日期详细 -export function getAppletServiceDate(date) { +export function getAppletServiceDate(id) { return request({ - url: '/model/AppletServiceDate/' + date, + url: '/model/AppletServiceDate/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletServiceDate(data) { } // 删除服务日期 -export function delAppletServiceDate(date) { +export function delAppletServiceDate(id) { return request({ - url: '/model/AppletServiceDate/' + date, + url: '/model/AppletServiceDate/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletServiceLog.js b/CatmDogd-Mall-Front-test/src/api/model/AppletServiceLog.js index 8887406..9b127ca 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletServiceLog.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletServiceLog.js @@ -10,9 +10,9 @@ export function listAppletServiceLog(query) { } // 查询服务记录详细 -export function getAppletServiceLog(serviceType) { +export function getAppletServiceLog(id) { return request({ - url: '/model/AppletServiceLog/' + serviceType, + url: '/model/AppletServiceLog/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletServiceLog(data) { } // 删除服务记录 -export function delAppletServiceLog(serviceType) { +export function delAppletServiceLog(id) { return request({ - url: '/model/AppletServiceLog/' + serviceType, + url: '/model/AppletServiceLog/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletTrain.js b/CatmDogd-Mall-Front-test/src/api/model/AppletTrain.js index 373c533..e862aaa 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletTrain.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletTrain.js @@ -10,9 +10,9 @@ export function listAppletTrain(query) { } // 查询服务培训详细 -export function getAppletTrain(title) { +export function getAppletTrain(id) { return request({ - url: '/model/AppletTrain/' + title, + url: '/model/AppletTrain/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletTrain(data) { } // 删除服务培训 -export function delAppletTrain(title) { +export function delAppletTrain(id) { return request({ - url: '/model/AppletTrain/' + title, + url: '/model/AppletTrain/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletUser1.js b/CatmDogd-Mall-Front-test/src/api/model/AppletUser1.js index ed799fc..43f7c31 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletUser1.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletUser1.js @@ -10,9 +10,9 @@ export function listAppletUser1(query) { } // 查询伴宠师信息详细 -export function getAppletUser1(name) { +export function getAppletUser1(id) { return request({ - url: '/model/AppletUser1/' + name, + url: '/model/AppletUser1/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletUser1(data) { } // 删除伴宠师信息 -export function delAppletUser1(name) { +export function delAppletUser1(id) { return request({ - url: '/model/AppletUser1/' + name, + url: '/model/AppletUser1/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/api/model/AppletUser2.js b/CatmDogd-Mall-Front-test/src/api/model/AppletUser2.js index f35d7cb..14c7682 100644 --- a/CatmDogd-Mall-Front-test/src/api/model/AppletUser2.js +++ b/CatmDogd-Mall-Front-test/src/api/model/AppletUser2.js @@ -10,9 +10,9 @@ export function listAppletUser2(query) { } // 查询用户服务信息详细 -export function getAppletUser2(headImage) { +export function getAppletUser2(id) { return request({ - url: '/model/AppletUser2/' + headImage, + url: '/model/AppletUser2/' + id, method: 'get' }) } @@ -36,9 +36,9 @@ export function updateAppletUser2(data) { } // 删除用户服务信息 -export function delAppletUser2(headImage) { +export function delAppletUser2(id) { return request({ - url: '/model/AppletUser2/' + headImage, + url: '/model/AppletUser2/' + id, method: 'delete' }) } diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletAddress/index.vue b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletAddress/index.vue new file mode 100644 index 0000000..67c1e1c --- /dev/null +++ b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletAddress/index.vue @@ -0,0 +1,369 @@ + + + diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletAmountLog/index.vue b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletAmountLog/index.vue new file mode 100644 index 0000000..155fe63 --- /dev/null +++ b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletAmountLog/index.vue @@ -0,0 +1,317 @@ + + + diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletAnswer/index.vue b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletAnswer/index.vue new file mode 100644 index 0000000..2323bf1 --- /dev/null +++ b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletAnswer/index.vue @@ -0,0 +1,338 @@ + + + diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletQuestion/index.vue b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletQuestion/index.vue new file mode 100644 index 0000000..9e03c66 --- /dev/null +++ b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletQuestion/index.vue @@ -0,0 +1,317 @@ + + + diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletService/index.vue b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletService/index.vue new file mode 100644 index 0000000..f0271e1 --- /dev/null +++ b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletService/index.vue @@ -0,0 +1,299 @@ + + + diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletServiceDate/index.vue b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletServiceDate/index.vue new file mode 100644 index 0000000..a3a432e --- /dev/null +++ b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletServiceDate/index.vue @@ -0,0 +1,326 @@ + + + diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletServiceLog/index.vue b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletServiceLog/index.vue new file mode 100644 index 0000000..ad0cd9d --- /dev/null +++ b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletServiceLog/index.vue @@ -0,0 +1,345 @@ + + + diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletTrain/index.vue b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletTrain/index.vue new file mode 100644 index 0000000..8b3c53f --- /dev/null +++ b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletTrain/index.vue @@ -0,0 +1,294 @@ + + + diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppletUser1/index.vue b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletUser1/index.vue similarity index 92% rename from CatmDogd-Mall-Front-test/src/views/model/AppletUser1/index.vue rename to CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletUser1/index.vue index d08bd97..3bdfd3e 100644 --- a/CatmDogd-Mall-Front-test/src/views/model/AppletUser1/index.vue +++ b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletUser1/index.vue @@ -50,6 +50,7 @@ @keyup.enter.native="handleQuery" /> + - + item.name) + this.ids = selection.map(item => item.id) this.single = selection.length!==1 this.multiple = !selection.length }, @@ -512,8 +516,8 @@ export default { /** 修改按钮操作 */ handleUpdate(row) { this.reset(); - const name = row.name || this.ids - getAppletUser1(name).then(response => { + const id = row.id || this.ids + getAppletUser1(id).then(response => { this.form = response.data; this.open = true; this.title = "修改伴宠师信息"; @@ -523,7 +527,7 @@ export default { submitForm() { this.$refs["form"].validate(valid => { if (valid) { - if (this.form.name != null) { + if (this.form.id != null) { updateAppletUser1(this.form).then(response => { this.$modal.msgSuccess("修改成功"); this.open = false; @@ -541,9 +545,9 @@ export default { }, /** 删除按钮操作 */ handleDelete(row) { - const names = row.name || this.ids; - this.$modal.confirm('是否确认删除伴宠师信息编号为"' + names + '"的数据项?').then(function() { - return delAppletUser1(names); + const ids = row.id || this.ids; + this.$modal.confirm('是否确认删除伴宠师信息编号为"' + ids + '"的数据项?').then(function() { + return delAppletUser1(ids); }).then(() => { this.getList(); this.$modal.msgSuccess("删除成功"); diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletUser2/index.vue b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletUser2/index.vue new file mode 100644 index 0000000..810654e --- /dev/null +++ b/CatmDogd-Mall-Front-test/src/views/model/AppCheckImageType/AppletUser2/index.vue @@ -0,0 +1,381 @@ +