diff --git a/package.json b/package.json index 6c2d691..ea04dc8 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,7 @@ "jsencrypt": "3.3.1", "min-dash": "3.5.2", "nprogress": "0.2.0", + "nvm": "^0.0.4", "qrcode.vue": "^1.7.0", "quill": "1.3.7", "screenfull": "5.0.2", diff --git a/public/index.html b/public/index.html index 84c3c23..79ef021 100644 --- a/public/index.html +++ b/public/index.html @@ -8,6 +8,7 @@ <%= webpackConfig.name %> + diff --git a/src/views/inspection/inspection/PartnerManagement/partnerApply.vue b/src/views/inspection/inspection/PartnerManagement/partnerApply.vue new file mode 100644 index 0000000..e74e635 --- /dev/null +++ b/src/views/inspection/inspection/PartnerManagement/partnerApply.vue @@ -0,0 +1,289 @@ + + + diff --git a/src/views/inspection/inspection/PartnerManagement/siteInfo.vue b/src/views/inspection/inspection/PartnerManagement/siteInfo.vue new file mode 100644 index 0000000..de2aaf4 --- /dev/null +++ b/src/views/inspection/inspection/PartnerManagement/siteInfo.vue @@ -0,0 +1,377 @@ + + + + diff --git a/src/views/inspection/inspection/api/NewsAnnouncement.js b/src/views/inspection/inspection/api/NewsAnnouncement.js new file mode 100644 index 0000000..50b49fa --- /dev/null +++ b/src/views/inspection/inspection/api/NewsAnnouncement.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询新闻公告列表 +export function listNews(query) { + return request({ + url: '/system/inspectionNews/list', + method: 'get', + params: query + }) +} + +// 查询新闻公告详细 +export function getNews(id) { + return request({ + url: '/system/inspectionNews/list?id=' + id, + method: 'get' + }) +} + +// 新增新闻公告 +export function addNews(data) { + return request({ + url: '/system/inspectionNews/add', + method: 'post', + data: data + }) +} + +// 修改新闻公告 +export function updateNews(data) { + return request({ + url: '/system/inspectionNews/edit', + method: 'post', + data: data + }) +} + +// 删除新闻公告 +export function delNews(id) { + return request({ + url: '/system/inspectionNews/del?idList=' + id, + method: 'post' + }) +} diff --git a/src/views/inspection/inspection/api/Partner.js b/src/views/inspection/inspection/api/Partner.js new file mode 100644 index 0000000..d078cee --- /dev/null +++ b/src/views/inspection/inspection/api/Partner.js @@ -0,0 +1,75 @@ +import request from '@/utils/request' + +// 查询合作商管理列表 +export function listMallPartners(query) { + return request({ + url: '/system/inspectionMallPartners/list', + method: 'get', + params: query + }) +} +// pinglunshanchu +export function pinglunshanchu(data) { + return request({ + url: '/system/inspectionMallPartners/delCommentByOrderId', + method: 'post', + data: data + }) +} +// pinglun +export function pinglun(query) { + return request({ + url: '/system/inspectionMallPartners/listComment', + method: 'get', + params: query + }) +} +// 查询【商家分类id】列表 +export function listCategory(query) { + return request({ + url: '/system/shopInspectionCategory/list', + method: 'get', + params: query + }) +} +// 查询合作商管理详细 +export function getMallPartners(partnerId) { + return request({ + url: '/system/inspectionMallPartners/list?partnerId=' + partnerId, + method: 'get' + }) +} + +// 新增合作商管理 +export function addMallPartners(data) { + return request({ + url: '/system/inspectionMallPartners/add', + method: 'post', + data: data + }) +} + +// 修改合作商管理 +export function updateMallPartners(data) { + return request({ + url: '/system/inspectionMallPartners/setShopAdmin', + method: 'post', + data: data + }) +} + +// 删除合作商管理 +export function delMallPartners(partnerId) { + return request({ + url: '/system/inspectionMallPartners/del?idList=' + partnerId, + method: 'post' + }) +} +// 封禁 +export function fjPartners(data) { + return request({ + url: '/system/inspectionMallPartners/banned', + method: 'post', + data: data + }) +} diff --git a/src/views/inspection/inspection/api/couponTemplate.js b/src/views/inspection/inspection/api/couponTemplate.js new file mode 100644 index 0000000..06934f4 --- /dev/null +++ b/src/views/inspection/inspection/api/couponTemplate.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询优惠券模板列表 +export function listCouponTemplate(query) { + return request({ + url: '/shop/couponTemplate/list', + method: 'get', + params: query + }) +} + +// 查询优惠券模板详细 +export function getCouponTemplate(id) { + return request({ + url: '/shop/couponTemplate/' + id, + method: 'get' + }) +} + +// 新增优惠券模板 +export function addCouponTemplate(data) { + return request({ + url: '/shop/couponTemplate', + method: 'post', + data: data + }) +} + +// 修改优惠券模板 +export function updateCouponTemplate(data) { + return request({ + url: '/shop/couponTemplate', + method: 'put', + data: data + }) +} + +// 删除优惠券模板 +export function delCouponTemplate(id) { + return request({ + url: '/shop/couponTemplate/' + id, + method: 'delete' + }) +} diff --git a/src/views/inspection/inspection/api/inspection.js b/src/views/inspection/inspection/api/inspection.js new file mode 100644 index 0000000..0611f16 --- /dev/null +++ b/src/views/inspection/inspection/api/inspection.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询【请填写功能名称】列表 +export function listCategory(query) { + return request({ + url: '/system/shopInspectionCategory/list', + method: 'get', + params: query + }) +} + +// 查询【请填写功能名称】详细 +export function getCategory(id) { + return request({ + url: '/system/shopInspectionCategory/getById?id=' + id, + method: 'get' + }) +} + +// 新增【请填写功能名称】 +export function addCategory(data) { + return request({ + url: '/system/shopInspectionCategory/add', + method: 'post', + data: data + }) +} + +// 修改【请填写功能名称】 +export function updateCategory(data) { + return request({ + url: '/system/shopInspectionCategory/edit', + method: 'post', + data: data + }) +} + +// 删除【请填写功能名称】 +export function delCategory(id) { + return request({ + url: '/system/shopInspectionCategory/del?idList=' + id, + method: 'post' + }) +} diff --git a/src/views/inspection/inspection/api/partnerApply.js b/src/views/inspection/inspection/api/partnerApply.js new file mode 100644 index 0000000..befc73d --- /dev/null +++ b/src/views/inspection/inspection/api/partnerApply.js @@ -0,0 +1,52 @@ +import request from '@/utils/request' + +// 查询合作商申请列表 +export function listDetail(query) { + return request({ + url: '/partner/detail/list', + method: 'get', + params: query + }) +} + +// 查询合作商申请详细 +export function getDetail(id) { + return request({ + url: '/partner/detail/' + id, + method: 'get' + }) +} + +// 新增合作商申请 +export function addDetail(data) { + return request({ + url: '/partner/detail', + method: 'post', + data: data + }) +} + +// 修改合作商申请 +export function updateDetail(data) { + return request({ + url: '/partner/detail', + method: 'put', + data: data + }) +} +// 是否合格 +export function examine(data) { + return request({ + url: '/partner/detail/examine', + method: 'post', + data: data + }) +} + +// 删除合作商申请 +export function delDetail(id) { + return request({ + url: '/partner/detail/' + id, + method: 'delete' + }) +} diff --git a/src/views/inspection/inspection/api/siteInfo.js b/src/views/inspection/inspection/api/siteInfo.js new file mode 100644 index 0000000..d9d1946 --- /dev/null +++ b/src/views/inspection/inspection/api/siteInfo.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询inspection列表 +export function listInfo(query) { + return request({ + url: '/inspection/info/list', + method: 'get', + params: query + }) +} + +// 查询inspection详细 +export function getInfo(id) { + return request({ + url: '/inspection/info/' + id, + method: 'get' + }) +} + +// 新增inspection +export function addInfo(data) { + return request({ + url: '/inspection/info', + method: 'post', + data: data + }) +} + +// 修改inspection +export function updateInfo(data) { + return request({ + url: '/inspection/info', + method: 'put', + data: data + }) +} + +// 删除inspection +export function delInfo(id) { + return request({ + url: '/inspection/info/' + id, + method: 'delete' + }) +} diff --git a/src/views/inspection/inspection/fzRecord/api/fzApi.js b/src/views/inspection/inspection/fzRecord/api/fzApi.js new file mode 100644 index 0000000..8c44ee7 --- /dev/null +++ b/src/views/inspection/inspection/fzRecord/api/fzApi.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询分账记录列表 +export function listFzRecord(query) { + return request({ + url: '/fzRecord/fzRecord/list', + method: 'get', + params: query + }) +} + +// 查询分账记录详细 +export function getFzRecord(id) { + return request({ + url: '/fzRecord/fzRecord/' + id, + method: 'get' + }) +} + +// 新增分账记录 +export function addFzRecord(data) { + return request({ + url: '/fzRecord/fzRecord', + method: 'post', + data: data + }) +} + +// 修改分账记录 +export function updateFzRecord(data) { + return request({ + url: '/fzRecord/fzRecord', + method: 'put', + data: data + }) +} + +// 删除分账记录 +export function delFzRecord(id) { + return request({ + url: '/fzRecord/fzRecord/' + id, + method: 'delete' + }) +} diff --git a/src/views/inspection/inspection/fzRecord/fzList.vue b/src/views/inspection/inspection/fzRecord/fzList.vue new file mode 100644 index 0000000..3a333e5 --- /dev/null +++ b/src/views/inspection/inspection/fzRecord/fzList.vue @@ -0,0 +1,236 @@ + + + diff --git a/src/views/inspection/inspection/inspectionCategory/index.vue b/src/views/inspection/inspection/inspectionCategory/index.vue new file mode 100644 index 0000000..fd37871 --- /dev/null +++ b/src/views/inspection/inspection/inspectionCategory/index.vue @@ -0,0 +1,291 @@ + + + + diff --git a/src/views/inspection/inspectionGoods/api/inspectionGoods.js b/src/views/inspection/inspectionGoods/api/inspectionGoods.js new file mode 100644 index 0000000..263d75a --- /dev/null +++ b/src/views/inspection/inspectionGoods/api/inspectionGoods.js @@ -0,0 +1,62 @@ + + +import request from '@/utils/request' +// 查询检测商品列表 +export function listInspectionGoods(query) { + return request({ + url: '/system/inspectionGoods/listSystem', + method: 'get', + params: query + }) +} + +// 查询检测商品详细 +export function getInspectionGoods(id) { + return request({ + url: '/system/inspectionGoods/' + id, + method: 'get' + }) +} + +// 新增检测商品 +export function addInspectionGoods(data) { + return request({ + url: '/system/inspectionGoods/add', + method: 'post', + data: data + }) +} + +// 修改检测商品 +export function updateInspectionGoods(data) { + return request({ + url: '/system/inspectionGoods/edit', + method: 'post', + data: data + }) +} + +// 删除检测商品 +export function delInspectionGoods(id) { + return request({ + url: '/system/inspectionGoods/del?idList=' + id, + method: 'post' + }) +} +//首页推荐 +export function homeGoods(data) { + return request({ + url: '/system/homeGoods/add', + method: 'post', + data:data + }) +} +//提交审核 +export function tijiaoshenhe(data) { + return request({ + url: '/system/inspectionGoods/examine', + method: 'post', + data:data + }) +} + diff --git a/src/views/inspection/inspectionGoods/index.vue b/src/views/inspection/inspectionGoods/index.vue new file mode 100644 index 0000000..630fed3 --- /dev/null +++ b/src/views/inspection/inspectionGoods/index.vue @@ -0,0 +1,573 @@ + + + diff --git a/src/views/inspection/inspectionOrder/index.vue b/src/views/inspection/inspectionOrder/index.vue new file mode 100644 index 0000000..066ce56 --- /dev/null +++ b/src/views/inspection/inspectionOrder/index.vue @@ -0,0 +1,448 @@ + + + diff --git a/src/views/inspection/insuranceGoods/index.vue b/src/views/inspection/insuranceGoods/index.vue new file mode 100644 index 0000000..d3204fd --- /dev/null +++ b/src/views/inspection/insuranceGoods/index.vue @@ -0,0 +1,321 @@ + + + diff --git a/src/views/inspection/insuranceOrder/index.vue b/src/views/inspection/insuranceOrder/index.vue new file mode 100644 index 0000000..6ce588a --- /dev/null +++ b/src/views/inspection/insuranceOrder/index.vue @@ -0,0 +1,452 @@ + + +