From 17fcc41a7424d4d05bb1273cc7ddae9790b9f2b5 Mon Sep 17 00:00:00 2001 From: zx <604444282@qq.com> Date: Wed, 8 Jun 2022 18:02:33 +0800 Subject: [PATCH] zx --- .env.development | 2 +- .env.production | 2 +- package.json | 2 + src/api/basic/Workorder/index.js | 180 ----------- src/api/basic/department/index.js | 91 ------ src/api/basic/estate/index.js | 182 ----------- src/api/basic/forbidden/index.js | 46 --- src/api/basic/resident/index.js | 97 ------ src/api/basic/role/index.js | 88 ----- src/api/{public => }/login/index.js | 38 ++- src/api/operation/activity/index.js | 53 --- src/api/operation/activity/organizer.js | 38 --- src/api/operation/announcement/index.js | 38 --- src/api/operation/comIntro/index.js | 55 ---- src/api/operation/commission/index.js | 84 ----- src/api/operation/dynamic/index.js | 57 ---- src/api/operation/dynamic/topic.js | 42 --- src/api/operation/facility/index.js | 112 ------- src/api/operation/inspection/plan.js | 59 ---- src/api/operation/inspection/point.js | 39 --- src/api/operation/inspection/route.js | 54 ---- src/api/operation/news/index.js | 45 --- src/api/operation/news/item.js | 31 -- src/api/operation/recommand/index.js | 46 --- src/api/operation/scroll/index.js | 73 ----- src/api/operation/suggestion/index.js | 100 ------ src/api/operation/swiper/index.js | 35 -- src/api/operation/task/index.js | 58 ---- src/api/operation/vote/index.js | 82 ----- src/api/payment/billManagement/index.js | 46 --- src/api/payment/chargeStandardBind/index.js | 24 -- src/api/payment/chargeStandardManage/index.js | 38 --- src/api/payment/payPlan/index.js | 100 ------ src/api/payment/prepayManage/index.js | 24 -- src/api/public/index.js | 10 + src/api/shop/goods/brand.js | 32 -- src/api/shop/goods/cate.js | 46 --- src/api/shop/goods/index.js | 120 ------- src/api/shop/order/index.js | 36 --- src/api/shop/score/index.js | 18 -- src/api/shop/shop/index.js | 32 -- src/api/shop/swiper/index.js | 32 -- src/api/shop/vendor/index.js | 32 -- src/main.js | 2 +- src/permission.js | 10 +- src/request/index.js | 4 +- src/router/basic.js | 139 -------- src/router/index.js | 8 +- src/router/intShop.js | 34 +- src/router/operation.js | 306 ------------------ src/router/payment.js | 106 ------ src/router/setting.js | 11 - src/router/shop.js | 124 ------- src/styles/index.less | 2 +- src/utils/util.js | 12 +- .../IntShop/Item/_addItem/depend/config.js | 47 +++ src/views/IntShop/Item/_addItem/index.vue | 187 +++++++++++ src/views/IntShop/Item/_addType/index.vue | 74 +++++ src/views/IntShop/Item/_brandAuthor/index.vue | 13 - .../IntShop/Item/_itemList/depend/config.js | 109 +++++++ .../IntShop/Item/_itemList/depend/form.js | 28 ++ .../IntShop/Item/_itemList/depend/form.vue | 200 ++++++++++++ src/views/IntShop/Item/_itemList/index.vue | 235 +++++++++++++- .../IntShop/Item/_typeList/depend/config.js | 136 ++++++++ .../IntShop/Item/_typeList/depend/form.js | 28 ++ .../IntShop/Item/_typeList/depend/form.vue | 200 ++++++++++++ src/views/IntShop/Item/_typeList/index.vue | 195 +++++++++++ .../IntShop/Setting/_certification/index.vue | 161 ++++++--- src/views/IntShop/Setting/_shopInfo/index.vue | 2 +- src/views/IntShop/WorkBench/index.vue | 2 +- src/views/Layout/index.vue | 4 +- src/views/Login/index.vue | 99 ++++-- src/views/ShopChoose/index.vue | 134 ++++++++ 73 files changed, 1852 insertions(+), 3179 deletions(-) delete mode 100644 src/api/basic/Workorder/index.js delete mode 100644 src/api/basic/department/index.js delete mode 100644 src/api/basic/estate/index.js delete mode 100644 src/api/basic/forbidden/index.js delete mode 100644 src/api/basic/resident/index.js delete mode 100644 src/api/basic/role/index.js rename src/api/{public => }/login/index.js (55%) delete mode 100644 src/api/operation/activity/index.js delete mode 100644 src/api/operation/activity/organizer.js delete mode 100644 src/api/operation/announcement/index.js delete mode 100644 src/api/operation/comIntro/index.js delete mode 100644 src/api/operation/commission/index.js delete mode 100644 src/api/operation/dynamic/index.js delete mode 100644 src/api/operation/dynamic/topic.js delete mode 100644 src/api/operation/facility/index.js delete mode 100644 src/api/operation/inspection/plan.js delete mode 100644 src/api/operation/inspection/point.js delete mode 100644 src/api/operation/inspection/route.js delete mode 100644 src/api/operation/news/index.js delete mode 100644 src/api/operation/news/item.js delete mode 100644 src/api/operation/recommand/index.js delete mode 100644 src/api/operation/scroll/index.js delete mode 100644 src/api/operation/suggestion/index.js delete mode 100644 src/api/operation/swiper/index.js delete mode 100644 src/api/operation/task/index.js delete mode 100644 src/api/operation/vote/index.js delete mode 100644 src/api/payment/billManagement/index.js delete mode 100644 src/api/payment/chargeStandardBind/index.js delete mode 100644 src/api/payment/chargeStandardManage/index.js delete mode 100644 src/api/payment/payPlan/index.js delete mode 100644 src/api/payment/prepayManage/index.js create mode 100644 src/api/public/index.js delete mode 100644 src/api/shop/goods/brand.js delete mode 100644 src/api/shop/goods/cate.js delete mode 100644 src/api/shop/goods/index.js delete mode 100644 src/api/shop/order/index.js delete mode 100644 src/api/shop/score/index.js delete mode 100644 src/api/shop/shop/index.js delete mode 100644 src/api/shop/swiper/index.js delete mode 100644 src/api/shop/vendor/index.js delete mode 100644 src/router/basic.js delete mode 100644 src/router/operation.js delete mode 100644 src/router/payment.js delete mode 100644 src/router/setting.js delete mode 100644 src/router/shop.js create mode 100644 src/views/IntShop/Item/_addItem/depend/config.js create mode 100644 src/views/IntShop/Item/_addItem/index.vue create mode 100644 src/views/IntShop/Item/_addType/index.vue delete mode 100644 src/views/IntShop/Item/_brandAuthor/index.vue create mode 100644 src/views/IntShop/Item/_itemList/depend/config.js create mode 100644 src/views/IntShop/Item/_itemList/depend/form.js create mode 100644 src/views/IntShop/Item/_itemList/depend/form.vue create mode 100644 src/views/IntShop/Item/_typeList/depend/config.js create mode 100644 src/views/IntShop/Item/_typeList/depend/form.js create mode 100644 src/views/IntShop/Item/_typeList/depend/form.vue create mode 100644 src/views/IntShop/Item/_typeList/index.vue create mode 100644 src/views/ShopChoose/index.vue diff --git a/.env.development b/.env.development index 19429d6..4cb1cdc 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ NODE_ENV = 'development' -VUE_APP_URL = 'http://121.41.26.225:8002/admin' +VUE_APP_URL = 'https://saas.kaidalai.cn/api/merchant' VUE_APP_STATIC = 'https://saas.kaidalai.cn/resource/admin' \ No newline at end of file diff --git a/.env.production b/.env.production index c7d2129..0863502 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,3 @@ NODE_ENV = 'production' -VUE_APP_URL = 'https://saas.kaidalai.cn/api/admin' +VUE_APP_URL = 'https://saas.kaidalai.cn/api/merchant' VUE_APP_STATIC = 'https://saas.kaidalai.cn/resource' \ No newline at end of file diff --git a/package.json b/package.json index 90661e5..d8a5fac 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,8 @@ "lint": "vue-cli-service lint" }, "dependencies": { + "@wangeditor/editor": "^5.1.1", + "@wangeditor/editor-for-vue": "^1.0.1", "ant-design-vue": "^1.7.8", "axios": "^0.24.0", "core-js": "^3.6.5", diff --git a/src/api/basic/Workorder/index.js b/src/api/basic/Workorder/index.js deleted file mode 100644 index dbbaf43..0000000 --- a/src/api/basic/Workorder/index.js +++ /dev/null @@ -1,180 +0,0 @@ -import httpService from "@/request" - -// 工单 -// list -export function name(params) { - return httpService({ - url: ` `, - method: 'get/post', - data: params, - }) -} - -// 所有的工单类型 -export function getAllWorkOrderType(params) { - return httpService({ - url: `/user/workOrderType/list`, - method: 'get', - params: params, - }) -} - -// 添加工单类型 -export function AddWorkOrderType(params) { - return httpService({ - url: `/user/workOrderType/insert`, - method: 'post', - data: params, - }) -} -// 修改工单类型 -export function EditWorkOrderType(params) { - return httpService({ - url: `/user/workOrderType/update`, - method: 'POST', - data: params, - }) -} -// 删除工单类型 -export function DelWorkOrderType(params) { - return httpService({ - url: `/user/workOrderType/delete`, - method: 'POST', - data: params, - }) -} - -// 所有的工单信息 -export function getAllWorkOrder(params) { - return httpService({ - url: `/user/workOrder/list`, - method: 'get', - params: params, - }) -} - -// 查询后台工单详情 -export function getDetail(params) { - return httpService({ - url: `/user/workOrder/detail`, - method: 'get', - params: params, - }) -} - -// 添加工单信息 -export function addWorkOrder(params) { - return httpService({ - url: `/user/workOrder/insert`, - method: 'post', - data: params, - }) -} - -// 取消后台工单信息 -export function cancelWorkOrder(params) { - return httpService({ - url: `/user/workOrder/cancel`, - method: 'post', - data: params, - }) -} - -// 加入工单池 -export function joinTicketPool(params) { - return httpService({ - url: `/user/workOrder/joinTicketPool`, - method: 'get', - params: params, - }) -} - -// 转移至待分配 -export function moveToAssignment(params) { - return httpService({ - url: `/user/workOrder/moveToAssignment`, - method: 'get', - params: params, - }) -} - -// 指派人员 -export function designate(params) { - return httpService({ - url: `/user/workOrder/designate`, - method: 'post', - data: params, - }) -} - -// 转派人员 -export function updateDesignate(params) { - return httpService({ - url: `/user/workOrder/updateDesignate`, - method: 'post', - data: params, - }) -} - -// 工单处理 -export function process(params) { - return httpService({ - url: `/user/workOrder/process`, - method: 'get', - params: params, - }) -} - -// 完成工单 -export function finish(params) { - return httpService({ - url: `/user/workOrder/finish`, - method: 'post', - data: params, - }) -} - -// 确认工单 -export function confirm(params) { - return httpService({ - url: `/user/workOrder/confirm`, - method: 'get', - params: params, - }) -} - -// 工单结算账单 -export function workOrderCostList(params) { - return httpService({ - url: `/user/workOrder/workOrderCostList`, - method: 'get', - params: params, - }) -} - -// 结算工单 -export function settlement(params) { - return httpService({ - url: `/user/workOrder/settlement`, - method: 'post', - data: params, - }) -} - -// 汇报 -export function report(params) { - return httpService({ - url: `/user/workOrder/report`, - method: 'post', - data: params, - }) -} - -// 查询工单记录 -export function orderSchedule(params) { - return httpService({ - url: `/user/workOrder/orderSchedule`, - method: 'get', - params: params, - }) -} \ No newline at end of file diff --git a/src/api/basic/department/index.js b/src/api/basic/department/index.js deleted file mode 100644 index 3ac96c9..0000000 --- a/src/api/basic/department/index.js +++ /dev/null @@ -1,91 +0,0 @@ -import httpService from "@/request" - -// 组织 -// 所有的组织架构 -export function departmentList(params) { - return httpService({ - url: `/user/department/list`, - method: 'get', - data: params, - }) -} -// 添加组织 -export function departmentInsert(params) { - return httpService({ - url: `/user/department/insert`, - method: 'post', - data: params, - }) -} -// 组织删除 -export function departmentDel(params) { - return httpService({ - url: `/user/department/delete`, - method: 'post', - data: params, - }) -} -// 组织修改 -export function departmentUpdate(params) { - return httpService({ - url: `/user/department/update`, - method: 'post', - data: params, - }) -} -// 组织员工 -export function findToUser(params) { - return httpService({ - url: `/user/department/findToUser`, - method: 'GET', - params: params, - }) -} -// 新增员工 -export function insertManageUser(params) { - return httpService({ - url: `/user/manageUser/insertManageUser`, - method: 'post', - data: params, - }) -} -// 上传身份证照片 -export function uploadManageUserIdCard(params) { - return httpService({ - url: `/user/upload/uploadManageUserIdCard`, - method: 'post', - data: params, - }) -} -// 员工info -export function manageUserInfo(params) { - return httpService({ - url: `/user/manageUser/findById`, - method: 'GET', - params: params, - }) -} -// 员工edit -export function EditManageUser(params) { - return httpService({ - url: `/user/manageUser/update`, - method: 'post', - data: params, - }) -} -// 员工开启关闭 -export function userEnable(params) { - return httpService({ - url: `/user/manageUser/isEnable`, - method: 'GET', - params: params, - }) -} -// 重置密码 -export function rePassword(params) { - return httpService({ - url: `/user/manageUser/rePassword`, - method: 'post', - data: params, - }) -} diff --git a/src/api/basic/estate/index.js b/src/api/basic/estate/index.js deleted file mode 100644 index a9a81f2..0000000 --- a/src/api/basic/estate/index.js +++ /dev/null @@ -1,182 +0,0 @@ -import httpService from "@/request" - -// 房产 楼栋 -// 楼栋列表 -export function buildingList(params) { - return httpService({ - url: `/user/building/list`, - method: 'get', - params: params, - }) -} -// 楼栋新增 -export function buildInsert(params) { - return httpService({ - url: `/user/building/insert`, - method: 'post', - data: params, - }) -} -// 楼栋详情 -export function buildInfo(params) { - return httpService({ - url: `/user/building/findById`, - method: 'get', - params: params, - }) -} -// 楼栋修改 -export function buildUpdate(params) { - return httpService({ - url: `/user/building/updateBuilding`, - method: 'post', - data: params, - }) -} -// 楼栋删除 -export function buildingDel(params) { - return httpService({ - url: `/user/building/deleteBuilding`, - method: 'post', - data: params, - }) -} -// 全部楼栋 -export function allBuilding(params) { - return httpService({ - url: `/user/building/findAllBuilding`, - method: 'get', - params: params, - }) -} -// 楼栋查单元 -export function findByBuildingId(params) { - return httpService({ - url: `/user/unit/findByBuildingId`, - method: 'get', - params: params, - }) -} -/** - * 单元 - * list update del - */ -export function unitAdd(params) { - return httpService({ - url: `/user/unit/insertUnit`, - method: 'post', - data: params, - }) -} -export function unitUpdate(params) { - return httpService({ - url: `/user/unit/updateUnit`, - method: 'post', - data: params, - }) -} -export function unitDel(params) { - return httpService({ - url: `/user/unit/deleteUnit`, - method: 'post', - data: params, - }) -} -// 房屋 -// 房屋列表 -export function houseList(params) { - return httpService({ - url: `/user/estate/list`, - method: 'get', - params: params, - }) -} -// 房屋新增 -export function houseInsert(params) { - return httpService({ - url: `/user/estate/insert`, - method: 'post', - data: params, - }) -} -// 房屋修改 -export function houseInfo(params) { - return httpService({ - url: `/user/estate/findById`, - method: 'get', - params: params, - }) -} -// 房屋修改 -export function houseUpdate(params) { - return httpService({ - url: `/user/estate/update`, - method: 'post', - data: params, - }) -} -// 房屋删除 -export function houseDel(params) { - return httpService({ - url: `/user/estate/delete`, - method: 'post', - data: params, - }) -} -// 房屋租赁切换 -export function isEnableLease(params) { - return httpService({ - url: `/user/estate/isEnableLease`, - method: 'get', - params: params, - }) -} -// 房屋设置 房屋类型 -export function estateType(params) { - return httpService({ - url: `/user/estateType/list`, - method: 'get', - params: params, - }) -} -// 类型新增 -export function estateTypeInsert(params) { - return httpService({ - url: `/user/estateType/insert`, - method: 'post', - data: params, - }) -} -// 类型修改 -export function estateTypeUpdate(params) { - return httpService({ - url: `/user/estateType/update`, - method: 'post', - data: params, - }) -} -// 类型删除 -export function estateTypeDel(params) { - return httpService({ - url: `/user/estateType/delete`, - method: 'post', - data: params, - }) -} -// 房屋列表级联 -export function estate(params) { - return httpService({ - url: `/user/estate/findEstateCascade`, - method: 'get', - params: params, - }) -} - -// 房屋列表级联 -export function findEstateCascade(params) { - return httpService({ - url: `/user/estate/findEstateCascade`, - method: 'get', - params: params, - }) -} \ No newline at end of file diff --git a/src/api/basic/forbidden/index.js b/src/api/basic/forbidden/index.js deleted file mode 100644 index b319949..0000000 --- a/src/api/basic/forbidden/index.js +++ /dev/null @@ -1,46 +0,0 @@ -import httpService from "@/request" - -// 查询所有的违禁关键字 -export function getForbiddenList(params) { - return httpService({ - url: `/user/prohibitedKeywords/list`, - method: 'get', - params: params, - }) -} - -// 添加违禁字 -export function addForbidden(params) { - return httpService({ - url: `/user/prohibitedKeywords/insert`, - method: 'post', - data: params, - }) -} - -// 删除违禁字 -export function deleteForbidden(params) { - return httpService({ - url: `/user/prohibitedKeywords/delete`, - method: 'post', - data: params, - }) -} - -// 根据id查询违禁字 -export function findForbidden(params) { - return httpService({ - url: `/user/prohibitedKeywords/findById`, - method: 'get', - params: params, - }) -} - -// 修改违禁字 -export function updateForbidden(params) { - return httpService({ - url: `/user/prohibitedKeywords/update`, - method: 'post', - data: params, - }) -} \ No newline at end of file diff --git a/src/api/basic/resident/index.js b/src/api/basic/resident/index.js deleted file mode 100644 index b73598b..0000000 --- a/src/api/basic/resident/index.js +++ /dev/null @@ -1,97 +0,0 @@ -import httpService from "@/request" - -/** - * - * 住户 - * @param {*} params - * @returns - * - * 住户列表 - */ -export function residentList(params) { - return httpService({ - url: `/user/resident/list`, - method: 'get', - params: params, - }) -} -// 新增住户 -export function residentInsert(params) { - return httpService({ - url: `/user/resident/insert`, - method: 'post', - data: params, - }) -} -// 修改住户 -export function residentUpdate(params) { - return httpService({ - url: `/user/resident/update`, - method: 'post', - data: params, - }) -} -export function residentInfo(params) { - return httpService({ - url: `/user/resident/findById`, - method: 'get', - params: params, - }) -} -// 迁出 -export function moveOut(params) { - return httpService({ - url: `/user/resident/moveOut`, - method: 'post', - data: params, - }) -} -// 迁入 -export function moveIn(params) { - return httpService({ - url: `/user/resident/moveIn`, - method: 'post', - data: params, - }) -} -// 根据房屋查租户 -export function findTenantByEstateId(params) { - return httpService({ - url: `/user/resident/findTenantByEstateId`, - method: 'get', - params: params, - }) -} -// 根据房屋查业主 -export function findOwnerByEstateId(params) { - return httpService({ - url: `/user/resident/findOwnerByEstateId`, - method: 'get', - params: params, - }) -} -// 住户详情 -export function residentDetail(params) { - return httpService({ - url: `/user/resident/findDetail`, - method: 'get', - params: params, - }) -} -// 住户审核 -// 审核列表 -export function reviewList(params) { - return httpService({ - url: `/user/review/list`, - method: 'get', - params: params, - }) -} -// 审核通过 不通过 -export function review(params) { - return httpService({ - url: `/user/review/review`, - method: 'post', - data: params, - }) -} diff --git a/src/api/basic/role/index.js b/src/api/basic/role/index.js deleted file mode 100644 index 2d96a04..0000000 --- a/src/api/basic/role/index.js +++ /dev/null @@ -1,88 +0,0 @@ -import httpService from "@/request" - -// 权限 角色 -// 角色列表 -export function getrolelist(params) { - return httpService({ - url: `/user/role/list`, - method: 'get', - data: params, - }) -} -// 新增角色 -export function roleInsert(params) { - return httpService({ - url: `/user/role/insert`, - method: 'post', - data: params, - }) -} -// 编辑角色 -export function roleUpdate(params) { - return httpService({ - url: `/user/role/update`, - method: 'post', - data: params, - }) -} -// 分配角色 -export function assignRoles(params) { - return httpService({ - url: `/user/role/assignRoles`, - method: 'post', - data: params, - }) -} -// 删除角色 -export function roleDel(params) { - return httpService({ - url: `user/role/delete`, - method: 'post', - data: params, - }) -} -// 角色-----员工列表 -export function listByRole(params) { - return httpService({ - url: `/user/role/listByRole`, - method: 'GET', - params: params, - }) -} -// 查询当前角色下的所有的菜单权限信息 roleId -export function FindAllMenus(params) { - return httpService({ - url: `/user/jurisdiction/findAllMenus`, - method: 'GET', - params: params, - }) -} -export function changeMenuShow(params) { - return httpService({ - url: `/user/jurisdiction/isShowMenus`, - method: 'post', - data: params, - }) -} -export function getActions(params) { - return httpService({ - url: `/user/jurisdiction/findOperationByMId`, - method: 'get', - params: params, - }) -} -export function changeActions(params) { - return httpService({ - url: `/user/jurisdiction/isCheckOperation`, - method: 'post', - data: params, - }) -} -// 当前用户菜单 -export function getMenu(params) { - return httpService({ - url: `/user/manageUser/findAllMenusByUser`, - method: 'GET', - params: params, - }) -} diff --git a/src/api/public/login/index.js b/src/api/login/index.js similarity index 55% rename from src/api/public/login/index.js rename to src/api/login/index.js index d925d88..2352bc1 100644 --- a/src/api/public/login/index.js +++ b/src/api/login/index.js @@ -1,22 +1,23 @@ import httpService from "@/request" -// 发送验证码 +// 注册-发送验证码 export function sendTelCode(params) { return httpService({ - url: `/sendTelCode`, + url: `/sendTelRegisterCode`, method: 'post', data: params, }) } -// 登录 -export function loginTel(params) { +// 注册-注册账户 +export function register(params) { return httpService({ - url: `/loginTelCode`, + url: `/register`, method: 'post', data: params, }) } -// 密码登录 + +// 登录-密码登录 export function loginPWD(params) { return httpService({ url: `/loginPWD`, @@ -24,20 +25,27 @@ export function loginPWD(params) { data: params, }) } -// 退出登录 -export function quit(params) { +// 登录-发送验证码 +export function loginSendCode(params) { return httpService({ - url: `/user/quit`, + url: `/sendTelCode`, method: 'post', data: params, }) } - -// 获取用户信息 -export function userInfo(params) { +// 登录-验证码登录 +export function loginTC(params) { return httpService({ - url: `/user/manageUser/userInfo`, - method: 'get', - params + url: `/loginTelCode`, + method: 'post', + data: params, }) } +// 登录-退出登录 +export function quit(params) { + return httpService({ + url: `/user/quit`, + method: 'post', + data: params, + }) +} \ No newline at end of file diff --git a/src/api/operation/activity/index.js b/src/api/operation/activity/index.js deleted file mode 100644 index f060367..0000000 --- a/src/api/operation/activity/index.js +++ /dev/null @@ -1,53 +0,0 @@ -import httpService from "@/request" - -// 活动列表 -export function activityList(params) { - return httpService({ - url: `/user/activity/list`, - method: 'get', - params: params, - }) -} -export function organizerSelect(params) { - return httpService({ - url: `/user/activityOrganizer/allList`, - method: 'get', - params: params, - }) -} -// 报名人 -export function registrationList(params) { - return httpService({ - url: `/user/activity/registrationList`, - method: 'get', - params: params, - }) -} -export function activityInfo(params) { - return httpService({ - url: `/user/activity/findById`, - method: 'get', - params: params, - }) -} -export function activityInsert(params) { - return httpService({ - url: `/user/activity/insert`, - method: 'post', - data: params, - }) -} -export function activityUpdate(params) { - return httpService({ - url: `/user/activity/update`, - method: 'post', - data: params, - }) -} -export function activityDel(params) { - return httpService({ - url: `/user/activity/delete`, - method: 'post', - data: params, - }) -} diff --git a/src/api/operation/activity/organizer.js b/src/api/operation/activity/organizer.js deleted file mode 100644 index 54947b1..0000000 --- a/src/api/operation/activity/organizer.js +++ /dev/null @@ -1,38 +0,0 @@ -import httpService from "@/request" - -// 主办方列表 -export function organizerList(params) { - return httpService({ - url: `/user/activityOrganizer/list`, - method: 'get', - params: params, - }) -} -export function organizerInfo(params) { - return httpService({ - url: `/user/activityOrganizer/findById`, - method: 'get', - params: params, - }) -} -export function organizerInsert(params) { - return httpService({ - url: `/user/activityOrganizer/insert`, - method: 'post', - data: params, - }) -} -export function organizerUpdate(params) { - return httpService({ - url: `/user/activityOrganizer/update`, - method: 'post', - data: params, - }) -} -export function organizerDel(params) { - return httpService({ - url: `/user/activityOrganizer/delete`, - method: 'post', - data: params, - }) -} diff --git a/src/api/operation/announcement/index.js b/src/api/operation/announcement/index.js deleted file mode 100644 index dadc162..0000000 --- a/src/api/operation/announcement/index.js +++ /dev/null @@ -1,38 +0,0 @@ -import httpService from "@/request" - -// 公告列表 -export function announcementList(params) { - return httpService({ - url: `/user/announcement/list`, - method: 'get', - params: params, - }) -} -export function announcementInfo(params) { - return httpService({ - url: `/user/announcement/findById`, - method: 'get', - params: params, - }) -} -export function announcementInsert(params) { - return httpService({ - url: `/user/announcement/insert`, - method: 'post', - data: params, - }) -} -export function announcementDel(params) { - return httpService({ - url: `/user/announcement/delete`, - method: 'post', - data: params, - }) -} -export function announcementUpdate(params) { - return httpService({ - url: `/user/announcement/update`, - method: 'post', - data: params, - }) -} diff --git a/src/api/operation/comIntro/index.js b/src/api/operation/comIntro/index.js deleted file mode 100644 index b382cf2..0000000 --- a/src/api/operation/comIntro/index.js +++ /dev/null @@ -1,55 +0,0 @@ -import httpService from "@/request" - -// 查询所有的社区介绍信息 -export function getCommunityList(params) { - return httpService({ - url: `/user/communityIntroduction/list`, - method: 'get', - params: params, - }) -} - -// 添加社区介绍信息 -export function AddCommunityIntro(params) { - return httpService({ - url: `/user/communityIntroduction/insert`, - method: 'post', - data: params, - }) -} - -// 根据社区介绍主键Id查询社区介绍信息 -export function findCommunityIntro(params) { - return httpService({ - url: `/user/communityIntroduction/findById`, - method: 'get', - params: params, - }) -} - -// 修改社区介绍信息 -export function updateCommunityIntro(params) { - return httpService({ - url: `/user/communityIntroduction/update`, - method: 'post', - data: params, - }) -} - -// 删除社区介绍信息 -export function delCommunityIntro(params) { - return httpService({ - url: `/user/communityIntroduction/delete`, - method: 'post', - data: params, - }) -} - -// 启用社区介绍信息 -export function enableCommunityIntro(params) { - return httpService({ - url: `/user/communityIntroduction/enable`, - method: 'get', - params: params, - }) -} \ No newline at end of file diff --git a/src/api/operation/commission/index.js b/src/api/operation/commission/index.js deleted file mode 100644 index 9dfe181..0000000 --- a/src/api/operation/commission/index.js +++ /dev/null @@ -1,84 +0,0 @@ -import httpService from "@/request" - -///类型 -// 查询所有业委会类型信息 -export function getComList(params) { - return httpService({ - url: `/user/industryCommitteeType/list`, - method: 'get', - params: params, - }) -} - -// 添加业委会类型 -export function addComType(params) { - return httpService({ - url: `/user/industryCommitteeType/insert`, - method: 'post', - data: params, - }) -} - -// 修改业委会类型 -export function updateComType(params) { - return httpService({ - url: `/user/industryCommitteeType/update`, - method: 'post', - data: params, - }) -} - -// 删除业委会类型 -export function delComType(params) { - return httpService({ - url: `/user/industryCommitteeType/delete`, - method: 'get', - params: params, - }) -} - -///信息 -// 查询所有业委会信息 -export function getIndustryCommitteeList(params) { - return httpService({ - url: `/user/industryCommittee/list`, - method: 'get', - params: params, - }) -} - -// 添加业委会信息 -export function addIndustryCom(params) { - return httpService({ - url: `/user/industryCommittee/insert`, - method: 'post', - data: params, - }) -} - -// 删除业委会信息 -export function delIndustryCom(params) { - return httpService({ - url: `/user/industryCommittee/delete`, - method: 'post', - data: params, - }) -} - -// 根据业委会主键id查询业委会信息 -export function findIndustryCom(params) { - return httpService({ - url: `/user/industryCommittee/findById`, - method: 'get', - params: params, - }) -} - -// 根据业委会主键id查询业委会信息 -export function updateIndustryCom(params) { - return httpService({ - url: `/user/industryCommittee/update`, - method: 'post', - data: params, - }) -} \ No newline at end of file diff --git a/src/api/operation/dynamic/index.js b/src/api/operation/dynamic/index.js deleted file mode 100644 index b51c0c5..0000000 --- a/src/api/operation/dynamic/index.js +++ /dev/null @@ -1,57 +0,0 @@ -import httpService from "@/request" - -// 动态列表 -export function dynamicList(params) { - return httpService({ - url: `/user/dynamic/list`, - method: 'get', - params: params, - }) -} -export function dynamicInfo(params) { - return httpService({ - url: `/user/dynamic/findById`, - method: 'get', - params: params, - }) -} -// 删除 -export function dynamicDel(params) { - return httpService({ - url: `/user/dynamic/delete`, - method: 'post', - data: params, - }) -} -// 恢复 -export function dynamicRecover(params) { - return httpService({ - url: `/user/dynamic/recover`, - method: 'post', - data: params, - }) -} -// 评论list -export function commentList(params) { - return httpService({ - url: `/user/comment/list`, - method: 'get', - params: params, - }) -} -// 删除 -export function commentDel(params) { - return httpService({ - url: `/user/comment/delete`, - method: 'post', - data: params, - }) -} -// 恢复 -export function commentRecover(params) { - return httpService({ - url: `/user/comment/recover`, - method: 'post', - data: params, - }) -} diff --git a/src/api/operation/dynamic/topic.js b/src/api/operation/dynamic/topic.js deleted file mode 100644 index 4acae50..0000000 --- a/src/api/operation/dynamic/topic.js +++ /dev/null @@ -1,42 +0,0 @@ -import httpService from "@/request" - -// 话题列表 -export function topicList(params) { - return httpService({ - url: `/user/topic/list`, - method: 'get', - params: params, - }) -} -// 话题新增 -export function topicInsert(params) { - return httpService({ - url: `/user/topic/insert`, - method: 'post', - data: params, - }) -} -// 话题信息 -export function topicInfo(params) { - return httpService({ - url: `/user/topic/findById`, - method: 'get', - params: params, - }) -} -// 话题修改 -export function topicUpdate(params) { - return httpService({ - url: `/user/topic/update`, - method: 'post', - data: params, - }) -} -// 话题删除 -export function topicDelete(params) { - return httpService({ - url: `/user/topic/delete`, - method: 'post', - data: params, - }) -} diff --git a/src/api/operation/facility/index.js b/src/api/operation/facility/index.js deleted file mode 100644 index b0ef843..0000000 --- a/src/api/operation/facility/index.js +++ /dev/null @@ -1,112 +0,0 @@ -import httpService from "@/request" - -//分类 -// 查询所有的设施/设备分类 -export function getFacilitiesList(params) { - return httpService({ - url: `/user/facilitiesCategory/list`, - method: 'get', - params: params, - }) -} - -// 添加设施/设备分类信息 -export function addFacility(params) { - return httpService({ - url: `/user/facilitiesCategory/insert`, - method: 'post', - data: params, - }) -} - -// 批量删除设施/设备分类 -export function delFacility(params) { - return httpService({ - url: `/user/facilitiesCategory/delete`, - method: 'post', - data: params, - }) -} - -// 根据设施/设备分类主键id查询设施/设备分类信息 -export function findFacility(params) { - return httpService({ - url: `/user/facilitiesCategory/findById`, - method: 'get', - params: params, - }) -} - -// 修改设施分类信息(不允许修改设施分类类型) -export function updateFacility(params) { - return httpService({ - url: `/user/facilitiesCategory/update`, - method: 'post', - data: params, - }) -} - -//管理 -// 查询所有的设施/设备管理 -export function facilityInfoList(params) { - return httpService({ - url: `/user/facilitiesManage/list`, - method: 'get', - params: params, - }) -} - -// 添加设施/设备信息 -export function addFacilityInfo(params) { - return httpService({ - url: `/user/facilitiesManage/insert`, - method: 'post', - data: params, - }) -} - -// 根据设施/设备主键id查询设施/设备信息 -export function findFacilityInfo(params) { - return httpService({ - url: `/user/facilitiesManage/findById`, - method: 'get', - params: params, - }) -} - -// 根据设施/设备主键id查询设施/设备情况list记录 -export function findRecordList(params) { - return httpService({ - url: `/user/facilitiesManage/situationList`, - method: 'get', - params: params, - }) -} - -// 修改设施/设备信息 -export function updateFacilityInfo(params) { - return httpService({ - url: `/user/facilitiesManage/update`, - method: 'post', - data: params, - }) -} - -// 批量删除设施/设备信息 -export function delFacilityInfo(params) { - return httpService({ - url: `/user/facilitiesManage/delete`, - method: 'post', - data: params, - }) -} - -//预约 -//查询所有的设施设备预约 -export function getFacilitiesReserve(params) { - return httpService({ - url: `/user/facilitiesReserve/list`, - method: 'get', - params: params, - }) -} diff --git a/src/api/operation/inspection/plan.js b/src/api/operation/inspection/plan.js deleted file mode 100644 index 1879f37..0000000 --- a/src/api/operation/inspection/plan.js +++ /dev/null @@ -1,59 +0,0 @@ -import httpService from "@/request" - -export function planList(params) { - return httpService({ - url: `/user/inspectionPlan/list`, - method: 'get', - params: params, - }) -} -export function planisEnable(params) { - return httpService({ - url: `/user/inspectionPlan/isEnable`, - method: 'get', - params: params, - }) -} -export function routeSelect(params) { - return httpService({ - url: `/user/inspectionRoute/allList`, - method: 'get', - params: params, - }) -} -export function planInfo(params) { - return httpService({ - url: `/user/inspectionPlan/findById`, - method: 'get', - params: params, - }) -} -export function planInsert(params) { - return httpService({ - url: `/user/inspectionPlan/insert`, - method: 'post', - data: params, - }) -} -export function planDel(params) { - return httpService({ - url: `/user/inspectionPlan/delete`, - method: 'post', - data: params, - }) -} -export function planUpdate(params) { - return httpService({ - url: `/user/inspectionPlan/update`, - method: 'post', - data: params, - }) -} -// 巡检记录 -export function inspectionExecute(params) { - return httpService({ - url: `/user/inspectionExecute/list`, - method: 'get', - params: params, - }) -} diff --git a/src/api/operation/inspection/point.js b/src/api/operation/inspection/point.js deleted file mode 100644 index 8bcb06f..0000000 --- a/src/api/operation/inspection/point.js +++ /dev/null @@ -1,39 +0,0 @@ -import httpService from "@/request" - -// 巡检点 -// list -export function pointList(params) { - return httpService({ - url: `/user/inspectionPoint/list`, - method: 'get', - params: params, - }) -} -export function pointInfo(params) { - return httpService({ - url: `/user/inspectionPoint/findById`, - method: 'get', - params: params, - }) -} -export function pointInsert(params) { - return httpService({ - url: `/user/inspectionPoint/insert`, - method: 'post', - data: params, - }) -} -export function pointDel(params) { - return httpService({ - url: `/user/inspectionPoint/delete`, - method: 'post', - data: params, - }) -} -export function pointUpdate(params) { - return httpService({ - url: `/user/inspectionPoint/update`, - method: 'post', - data: params, - }) -} diff --git a/src/api/operation/inspection/route.js b/src/api/operation/inspection/route.js deleted file mode 100644 index 72b3dc8..0000000 --- a/src/api/operation/inspection/route.js +++ /dev/null @@ -1,54 +0,0 @@ -import httpService from "@/request" - - -// 路线 -export function routeList(params) { - return httpService({ - url: `/user/inspectionRoute/list`, - method: 'get', - params: params, - }) -} -export function routeisEnable(params) { - return httpService({ - url: `/user/inspectionRoute/isEnable`, - method: 'get', - params: params, - }) -} -export function pointSelect(params) { - return httpService({ - url: `/user/inspectionPoint/allList`, - method: 'get', - params: params, - }) -} -export function routeInfo(params) { - return httpService({ - url: `/user/inspectionRoute/findById`, - method: 'get', - params: params, - }) -} -export function routeInsert(params) { - return httpService({ - url: `/user/inspectionRoute/insert`, - method: 'post', - data: params, - }) -} -export function routeDel(params) { - return httpService({ - url: `/user/inspectionRoute/delete`, - method: 'post', - data: params, - }) -} -export function routeUpdate(params) { - return httpService({ - url: `/user/inspectionRoute/update`, - method: 'post', - data: params, - }) -} - diff --git a/src/api/operation/news/index.js b/src/api/operation/news/index.js deleted file mode 100644 index 0ce3d27..0000000 --- a/src/api/operation/news/index.js +++ /dev/null @@ -1,45 +0,0 @@ -import httpService from "@/request" - -// 资讯 -export function newsList(params) { - return httpService({ - url: `/user/information/list`, - method: 'get', - params: params, - }) -} -export function newsInfo(params) { - return httpService({ - url: `/user/information/findById`, - method: 'get', - params: params, - }) -} -export function itemSelect(params) { - return httpService({ - url: `/user/informationCategory/allList`, - method: 'get', - params: params, - }) -} -export function newsUpdate(params) { - return httpService({ - url: `/user/information/update`, - method: 'post', - data: params, - }) -} -export function newsDel(params) { - return httpService({ - url: `/user/information/delete`, - method: 'post', - data: params, - }) -} -export function newsInsert(params) { - return httpService({ - url: `/user/information/insert`, - method: 'post', - data: params, - }) -} \ No newline at end of file diff --git a/src/api/operation/news/item.js b/src/api/operation/news/item.js deleted file mode 100644 index 0b605fd..0000000 --- a/src/api/operation/news/item.js +++ /dev/null @@ -1,31 +0,0 @@ -import httpService from "@/request" - -// 资讯分类 -export function newsItemList(params) { - return httpService({ - url: `/user/informationCategory/list`, - method: 'get', - params: params, - }) -} -export function newsItemUpdate(params) { - return httpService({ - url: `/user/informationCategory/update`, - method: 'post', - data: params, - }) -} -export function newsItemDel(params) { - return httpService({ - url: `/user/informationCategory/delete`, - method: 'post', - data: params, - }) -} -export function newsItemInsert(params) { - return httpService({ - url: `/user/informationCategory/insert`, - method: 'post', - data: params, - }) -} \ No newline at end of file diff --git a/src/api/operation/recommand/index.js b/src/api/operation/recommand/index.js deleted file mode 100644 index f050159..0000000 --- a/src/api/operation/recommand/index.js +++ /dev/null @@ -1,46 +0,0 @@ -import httpService from "@/request" - -// 查询所有的咨询建议/投诉表扬 -export function getAdviceList(params) { - return httpService({ - url: `/user/advice/list`, - method: 'get', - params: params, - }) -} - -// 查询今日咨询建议/投诉表扬数量 -export function getTodayAdvice(params) { - return httpService({ - url: `/user/advice/findTodayAdviceNum`, - method: 'get', - params: params, - }) -} - -// 批量删除咨询建议/投诉表扬 -export function delAdvice(params) { - return httpService({ - url: `/user/advice/delete`, - method: 'post', - data: params, - }) -} - -// 根据id查询咨询建议/投诉表扬 -export function adviceDetail(params) { - return httpService({ - url: `/user/advice/findById`, - method: 'get', - params: params, - }) -} - -// 回复咨询建议/投诉表扬 -export function replyDetail(params) { - return httpService({ - url: `/user/advice/reply`, - method: 'post', - data: params, - }) -} \ No newline at end of file diff --git a/src/api/operation/scroll/index.js b/src/api/operation/scroll/index.js deleted file mode 100644 index 11463a1..0000000 --- a/src/api/operation/scroll/index.js +++ /dev/null @@ -1,73 +0,0 @@ -import httpService from "@/request" - -// 查询所有问卷调查信息 -export function getQuestionList(params) { - return httpService({ - url: `/user/questionnaire/list`, - method: 'get', - params: params, - }) -} - -// 添加问卷调查表信息 -export function addQuestion(params) { - return httpService({ - url: `/user/questionnaire/insert`, - method: 'post', - data: params, - }) -} - -// 更新问卷调查表信息 -export function updateQuestion(params) { - return httpService({ - url: `/user/questionnaire/update`, - method: 'post', - data: params, - }) -} - -// 删除问卷调查信息 -export function delQuestion(params) { - return httpService({ - url: `/user/questionnaire/delete`, - method: 'post', - data: params, - }) -} - -// 发布下架问卷调查 -export function releaseQuestion(params) { - return httpService({ - url: `/user/questionnaire/isRelease`, - method: 'get', - params: params, - }) -} - -// 根据问卷调查主键ID查询问卷调查信息 -export function findQuestion(params) { - return httpService({ - url: `/user/questionnaire/findById`, - method: 'get', - params: params, - }) -} - -// 根据问卷调查主键id查询报表分析信息 -export function getReport(params) { - return httpService({ - url: `/user/questionnaire/reportAnalysis`, - method: 'get', - params: params, - }) -} - -// 根据题目主键id查询开放题内容信息列表 -export function getAnswerList(params) { - return httpService({ - url: `/user/questionnaire/shortAnswerList`, - method: 'get', - params: params, - }) -} \ No newline at end of file diff --git a/src/api/operation/suggestion/index.js b/src/api/operation/suggestion/index.js deleted file mode 100644 index 2ae3f9e..0000000 --- a/src/api/operation/suggestion/index.js +++ /dev/null @@ -1,100 +0,0 @@ -import httpService from "@/request" - -// 查询所有便民电话信息 -export function getPhoneList(params) { - return httpService({ - url: `/user/conveniencePhone/list`, - method: 'get', - params: params, - }) -} - -// 添加便民电话信息 -export function addPhone(params) { - return httpService({ - url: `/user/conveniencePhone/insert`, - method: 'post', - data: params, - }) -} - -// 根据便民电话主键id查询便民电话信息 -export function findPhone(params) { - return httpService({ - url: `/user/conveniencePhone/findById`, - method: 'get', - params: params, - }) -} - -// 修改便民电话信息 -export function updatePhone(params) { - return httpService({ - url: `/user/conveniencePhone/update`, - method: 'post', - data: params, - }) -} - -// 定时检查信息 -export function reminderInfo(params) { - return httpService({ - url: `/user/conveniencePhone/reminderInfo`, - method: 'get', - params: params, - }) -} - -// 更新定时检查信息 -export function updateReminder(params) { - return httpService({ - url: `/user/conveniencePhone/updateReminder`, - method: 'post', - data: params, - }) -} - -// 批量删除便民电话 -export function delPhone(params) { - return httpService({ - url: `/user/conveniencePhone/delete`, - method: 'post', - data: params, - }) -} - -// 查询所有的便民电话类型 -export function getPhontTypeList(params) { - return httpService({ - url: `/user/conveniencePhoneType/list`, - method: 'get', - params: params, - }) -} - -// 添加便民电话类型 -export function addPhontType(params) { - return httpService({ - url: `/user/conveniencePhoneType/insert`, - method: 'post', - data: params, - }) -} - -// 修改便民电话类型 -export function updatePhontType(params) { - return httpService({ - url: `/user/conveniencePhoneType/update`, - method: 'post', - data: params, - }) -} - -// 删除便民电话类型 -export function delPhontType(params) { - return httpService({ - url: `/user/conveniencePhoneType/delete`, - method: 'get', - params: params, - }) -} \ No newline at end of file diff --git a/src/api/operation/swiper/index.js b/src/api/operation/swiper/index.js deleted file mode 100644 index 1947dc2..0000000 --- a/src/api/operation/swiper/index.js +++ /dev/null @@ -1,35 +0,0 @@ -import httpService from "@/request" - -// 轮播图列表 -export function swiperList(params) { - return httpService({ - url: `/user/homepageCarousel/list`, - method: 'get', - params: params, - }) -} -// 删除 -export function swiperDel(params) { - return httpService({ - url: `/user/homepageCarousel/delete`, - method: 'get', - params: params, - }) -} -// 新增 -export function swiperInsert(params) { - return httpService({ - url: `/user/homepageCarousel/insert`, - method: 'post', - data: params, - }) -} -// 修改 -export function swiperUpdate(params) { - return httpService({ - url: `/user/homepageCarousel/update`, - method: 'post', - data: params, - }) -} - diff --git a/src/api/operation/task/index.js b/src/api/operation/task/index.js deleted file mode 100644 index 497d73b..0000000 --- a/src/api/operation/task/index.js +++ /dev/null @@ -1,58 +0,0 @@ -import httpService from "@/request" - -// 任务列表 -export function taskList(params) { - return httpService({ - url: `/user/taskRelease/list`, - method: 'get', - params: params, - }) -} -// 置顶 -export function topTask(params) { - return httpService({ - url: `/user/taskRelease/topTask`, - method: 'get', - params: params, - }) -} -// 取消 -export function cancelTask(params) { - return httpService({ - url: `/user/taskRelease/cancel`, - method: 'get', - params: params, - }) -} -// 撤回 -export function withdrawTask(params) { - return httpService({ - url: `/user/taskRelease/withdraw`, - method: 'get', - params: params, - }) -} -// 确认 -export function confirmTask(params) { - return httpService({ - url: `/user/taskRelease/confirm`, - method: 'get', - params: params, - }) -} -// 获取任务设置 -export function getSetting(params) { - return httpService({ - url: `/user/settingTaskRelease/getSetting`, - method: 'get', - params: params, - }) -} -// 保存任务设置 -export function Setting(params) { - return httpService({ - url: `/user/settingTaskRelease/setting`, - method: 'post', - data: params, - }) -} diff --git a/src/api/operation/vote/index.js b/src/api/operation/vote/index.js deleted file mode 100644 index a5d4507..0000000 --- a/src/api/operation/vote/index.js +++ /dev/null @@ -1,82 +0,0 @@ -import httpService from "@/request" - -// 查询所有投票信息 -export function getVoteList(params) { - return httpService({ - url: `/user/vote/list`, - method: 'get', - params: params, - }) -} - -// 添加投票信息 -export function addVote(params) { - return httpService({ - url: `/user/vote/insert`, - method: 'post', - data: params, - }) -} - -// 删除投票信息 -export function deleteVote(params) { - return httpService({ - url: `/user/vote/delete`, - method: 'post', - data: params, - }) -} - -// 根据投票主键id查询投票信息 -export function findVote(params) { - return httpService({ - url: `/user/vote/findById`, - method: 'get', - params: params, - }) -} - -// 修改投票信息 -export function updateVote(params) { - return httpService({ - url: `/user/vote/update`, - method: 'post', - data: params, - }) -} - -// 发布下架投票 -export function releaseVote(params) { - return httpService({ - url: `/user/vote/isRelease`, - method: 'get', - params: params, - }) -} - -// 查询候选项信息(详情页面) -export function getCandidateList(params) { - return httpService({ - url: `/user/vote/findCandidateList`, - method: 'get', - params: params, - }) -} - -// 查询候选人被投票信息(详情页面) -export function getPersonalList(params) { - return httpService({ - url: `/user/vote/findPersonnelList`, - method: 'get', - params: params, - }) -} - -// 即将开始的投票个数 -export function getTodayVote(params) { - return httpService({ - url: `/user/vote/countVoteExpectedStart`, - method: 'get', - params: params, - }) -} \ No newline at end of file diff --git a/src/api/payment/billManagement/index.js b/src/api/payment/billManagement/index.js deleted file mode 100644 index c2d3bbf..0000000 --- a/src/api/payment/billManagement/index.js +++ /dev/null @@ -1,46 +0,0 @@ -import httpService from "@/request" - -// 后台账单list -export function getBillList(params) { - return httpService({ - url: `/user/bill/billList`, - method: 'post', - data: params, - }) -} - -// 账单废除 -export function abolition(params) { - return httpService({ - url: `/user/bill/abolition`, - method: 'get', - params: params, - }) -} - -// 账单恢复 -export function recover(params) { - return httpService({ - url: `/user/bill/recover`, - method: 'get', - params: params, - }) -} - -// 账单线下支付 -export function offlinePayments(params) { - return httpService({ - url: `/user/bill/offlinePayments`, - method: 'post', - data: params, - }) -} - -// 根据账单主键id查询账单订单 -export function findBillOrderList(params) { - return httpService({ - url: `/user/bill/findBillOrderList`, - method: 'get', - params: params, - }) -} \ No newline at end of file diff --git a/src/api/payment/chargeStandardBind/index.js b/src/api/payment/chargeStandardBind/index.js deleted file mode 100644 index 6c2bc9c..0000000 --- a/src/api/payment/chargeStandardBind/index.js +++ /dev/null @@ -1,24 +0,0 @@ -import httpService from "@/request" - -// 收费标准列表 -export function bindList(params) { - return httpService({ - url: `/user/chargesBind/list`, - method: 'post', - data: params, - }) -} -export function bind(params) { - return httpService({ - url: `/user/chargesBind/bind`, - method: 'post', - data: params, - }) -} -export function unbind(params) { - return httpService({ - url: `/user/chargesBind/unbind`, - method: 'post', - data: params, - }) -} \ No newline at end of file diff --git a/src/api/payment/chargeStandardManage/index.js b/src/api/payment/chargeStandardManage/index.js deleted file mode 100644 index 5291270..0000000 --- a/src/api/payment/chargeStandardManage/index.js +++ /dev/null @@ -1,38 +0,0 @@ -import httpService from "@/request" - -// 收费标准列表 -export function chargesList(params) { - return httpService({ - url: `/user/charges/list`, - method: 'get', - params: params, - }) -} -export function chargesInfo(params) { - return httpService({ - url: `/user/charges/findById`, - method: 'get', - params: params, - }) -} -export function chargesInsert(params) { - return httpService({ - url: `/user/charges/insert`, - method: 'post', - data: params, - }) -} -export function chargesUpdate(params) { - return httpService({ - url: `/user/charges/update`, - method: 'post', - data: params, - }) -} -export function chargesDel(params) { - return httpService({ - url: `/user/charges/delete`, - method: 'post', - data: params, - }) -} \ No newline at end of file diff --git a/src/api/payment/payPlan/index.js b/src/api/payment/payPlan/index.js deleted file mode 100644 index 6c421fb..0000000 --- a/src/api/payment/payPlan/index.js +++ /dev/null @@ -1,100 +0,0 @@ -import httpService from "@/request" - -// 手动生成后台账单 -export function manuallyGenerateBills(params) { - return httpService({ - url: `/user/bill/manuallyGenerateBills`, - method: 'post', - data: params, - }) -} - -// 自动生成后台账单计划 -export function autoGenerateBills(params) { - return httpService({ - url: `/user/billAuto/autoGenerateBills`, - method: 'post', - data: params, - }) -} - -// 后台自动生成账单List -export function billAutoList(params) { - return httpService({ - url: `/user/billAuto/billAutoList`, - method: 'get', - params: params, - }) -} - -// 删除后台自动生成账单计划 -export function deleteAutoGenerateBills(params) { - return httpService({ - url: `/user/billAuto/deleteAutoGenerateBills`, - method: 'post', - data: params, - }) -} - -// 生成后台账单自动扣费计划 -export function autoDeductionBills(params) { - return httpService({ - url: `/user/billAutoDeduction/autoDeductionBills`, - method: 'post', - data: params, - }) -} - -// 后台自动扣费账单list -export function getAutoDeductionBills(params) { - return httpService({ - url: `/user/billAutoDeduction/list`, - method: 'get', - params: params, - }) -} - -// 删除后台自动扣费账单计划 -export function deleteAutoDeductionBills(params) { - return httpService({ - url: `/user/billAutoDeduction/deleteAutoDeductionBills`, - method: 'post', - data: params, - }) -} - -// 根据账单自动生成主键id获取账单自动生成信息 -export function findByIdByBillAutoId(params) { - return httpService({ - url: `/user/billAuto/findByIdByBillAutoId`, - method: 'get', - params: params, - }) -} - -// 根据账单自动扣费主键id获取账单自动扣费信息 -export function findById(params) { - return httpService({ - url: `/user/billAutoDeduction/findById`, - method: 'get', - params: params, - }) -} - -// 修改自动生成后台账单计划 -export function updateAutoGenerateBills(params) { - return httpService({ - url: `/user/billAuto/updateAutoGenerateBills`, - method: 'post', - data: params, - }) -} - -// 修改自动扣费后台账单计划 -export function updateAutoDeductionBills(params) { - return httpService({ - url: `/user/billAutoDeduction/updateAutoDeductionBills`, - method: 'post', - data: params, - }) -} \ No newline at end of file diff --git a/src/api/payment/prepayManage/index.js b/src/api/payment/prepayManage/index.js deleted file mode 100644 index ac46ac7..0000000 --- a/src/api/payment/prepayManage/index.js +++ /dev/null @@ -1,24 +0,0 @@ -import httpService from "@/request" - -// 预缴列表 -export function prepaymentList(params) { - return httpService({ - url: `/user/prepayment/list`, - method: 'get', - params: params, - }) -} -export function rechargeList(params) { - return httpService({ - url: `/user/prepayment/rechargeList`, - method: 'get', - params: params, - }) -} -export function recharge(params) { - return httpService({ - url: `/user/prepayment/recharge`, - method: 'post', - data: params, - }) -} diff --git a/src/api/public/index.js b/src/api/public/index.js new file mode 100644 index 0000000..65bd7f8 --- /dev/null +++ b/src/api/public/index.js @@ -0,0 +1,10 @@ +import httpService from "@/request" + +// 注册-发送验证码 +export function userInfo(params) { + return httpService({ + url: `/user/getUserInfo`, + method: 'get', + params: params, + }) +} \ No newline at end of file diff --git a/src/api/shop/goods/brand.js b/src/api/shop/goods/brand.js deleted file mode 100644 index 43565d2..0000000 --- a/src/api/shop/goods/brand.js +++ /dev/null @@ -1,32 +0,0 @@ -import httpService from "@/request" - -// 商品 -// 品牌 -export function brandList(params) { - return httpService({ - url: `/user/shopBrand/list`, - method: 'get', - params: params, - }) -} -export function brandInsert(params) { - return httpService({ - url: `/user/shopBrand/insert`, - method: 'post', - data: params, - }) -} -export function brandDel(params) { - return httpService({ - url: `/user/shopBrand/delete`, - method: 'post', - data: params, - }) -} -export function brandUpdate(params) { - return httpService({ - url: `/user/shopBrand/update`, - method: 'post', - data: params, - }) -} diff --git a/src/api/shop/goods/cate.js b/src/api/shop/goods/cate.js deleted file mode 100644 index 942fcd3..0000000 --- a/src/api/shop/goods/cate.js +++ /dev/null @@ -1,46 +0,0 @@ -import httpService from "@/request" - -// 商品 -// 品牌 -export function cateList(params) { - return httpService({ - url: `/user/shopCategory/listAll`, - method: 'get', - params: params, - }) -} -export function cateShow(params) { - return httpService({ - url: `/user/shopCategory/isShow`, - method: 'get', - params: params, - }) -} -export function cateInfo(params) { - return httpService({ - url: `/user/shopCategory/listByParentId`, - method: 'get', - params: params, - }) -} -export function cateUpdate(params) { - return httpService({ - url: `/user/shopCategory/updateCategory`, - method: 'post', - data: params, - }) -} -export function cateInsert(params) { - return httpService({ - url: `/user/shopCategory/insert`, - method: 'post', - data: params, - }) -} -export function cateDel(params) { - return httpService({ - url: `/user/shopCategory/delete`, - method: 'post', - data: params, - }) -} diff --git a/src/api/shop/goods/index.js b/src/api/shop/goods/index.js deleted file mode 100644 index 671055d..0000000 --- a/src/api/shop/goods/index.js +++ /dev/null @@ -1,120 +0,0 @@ -import httpService from "@/request" - -// 商品 -// list -export function shopPushList(params) { - return httpService({ - url: `/user/shop/shopPushList`, - method: 'get', - params: params, - }) -} -export function jcookGoodsList(params) { - return httpService({ - url: `/user/shop/jcookGoodsList`, - method: 'get', - params: params, - }) -} -export function offShelf(params) { - return httpService({ - url: `/user/shop/offShelf`, - method: 'post', - data: params, - }) -} -export function onShelf(params) { - return httpService({ - url: `/user/shop/onShelf`, - method: 'post', - data: params, - }) -} -export function jcookGoodsBatchPush(params) { - return httpService({ - url: `/user/shop/jcookGoodsBatchPush`, - method: 'post', - data: params, - }) -} -export function jcookGoodsPush(params) { - return httpService({ - url: `/user/shop/jcookGoodsPush`, - method: 'post', - data: params, - }) -} -export function goodsEdit(params) { - return httpService({ - url: `/user/shop/update`, - method: 'post', - data: params, - }) -} -export function goodsInfo(params) { - return httpService({ - url: `/user/shop/findById`, - method: 'get', - params: params, - }) -} - -// 分类 -export function cateSelect(params) { - return httpService({ - url: `/user/shopCategory/listAll`, - method: 'get', - params: params, - }) -} -// 店铺 -export function shopSelect(params) { - return httpService({ - url: `/user/shopShop/allList`, - method: 'get', - params: params, - }) -} -// 供应商 -export function vendorSelect(params) { - return httpService({ - url: `/user/shopVendor/allList`, - method: 'get', - params: params, - }) -} -// 品牌 -export function brandSelect(params) { - return httpService({ - url: `/user/shopBrand/allList`, - method: 'get', - params: params, - }) -} - -//开启/关闭积分兑换 -export function isEnableRedeem(params) { - return httpService({ - url: `/user/pointsGoods/isEnableRedeem`, - method: 'get', - params: params, - }) -} - -//查询所有积分商品 -export function getPointList(params) { - return httpService({ - url: `/user/pointsGoods/list`, - method: 'get', - params: params, - }) -} - -//设置积分 -export function settingPoints(params) { - return httpService({ - url: `/user/pointsGoods/settingPoints`, - method: 'post', - data: params, - }) -} \ No newline at end of file diff --git a/src/api/shop/order/index.js b/src/api/shop/order/index.js deleted file mode 100644 index 110aa36..0000000 --- a/src/api/shop/order/index.js +++ /dev/null @@ -1,36 +0,0 @@ -import httpService from "@/request" - -// 订单 -// list -export function orderList(params) { - return httpService({ - url: `/user/shopOrder/list`, - method: 'get', - params: params, - }) -} -// 订单详情 -export function orderInfo(params) { - return httpService({ - url: `/user/shopOrder/findDetail`, - method: 'get', - params: params, - }) -} -// 取消订单 -export function shopOrderCancel(params) { - return httpService({ - url: `/user/shopOrder/cancel`, - method: 'get', - params: params, - }) -} - -// 根据ID查询订单记录 -export function getOrderRecord(params) { - return httpService({ - url: `/user/shopOrder/orderRecord`, - method: 'get', - params: params, - }) -} diff --git a/src/api/shop/score/index.js b/src/api/shop/score/index.js deleted file mode 100644 index b84cb2d..0000000 --- a/src/api/shop/score/index.js +++ /dev/null @@ -1,18 +0,0 @@ -import httpService from "@/request" - -// 获取任务设置 -export function getSetting(params) { - return httpService({ - url: `/user/pointsSetting/earnPointsSettingInfo`, - method: 'get', - params: params, - }) -} -// 保存任务设置 -export function Setting(params) { - return httpService({ - url: `/user/pointsSetting/savePintsSetting`, - method: 'post', - data: params, - }) -} \ No newline at end of file diff --git a/src/api/shop/shop/index.js b/src/api/shop/shop/index.js deleted file mode 100644 index af300d3..0000000 --- a/src/api/shop/shop/index.js +++ /dev/null @@ -1,32 +0,0 @@ -import httpService from "@/request" - -// 商品 -// 店铺 -export function shopList(params) { - return httpService({ - url: `/user/shopShop/list`, - method: 'get', - params: params, - }) -} -export function shopInsert(params) { - return httpService({ - url: `/user/shopShop/insert`, - method: 'post', - data: params, - }) -} -export function shopDel(params) { - return httpService({ - url: `/user/shopShop/delete`, - method: 'post', - data: params, - }) -} -export function shopUpdate(params) { - return httpService({ - url: `/user/shopShop/update`, - method: 'post', - data: params, - }) -} diff --git a/src/api/shop/swiper/index.js b/src/api/shop/swiper/index.js deleted file mode 100644 index 60dbad4..0000000 --- a/src/api/shop/swiper/index.js +++ /dev/null @@ -1,32 +0,0 @@ -import httpService from "@/request" - -// 商品 -// 轮播图 -export function swiperList(params) { - return httpService({ - url: `/user/shopRotation/findRotationList`, - method: 'get', - params: params, - }) -} -export function swiperDel(params) { - return httpService({ - url: `/user/shopRotation/delete`, - method: 'get', - params: params, - }) -} -export function swiperUpdate(params) { - return httpService({ - url: `/user/shopRotation/update`, - method: 'post', - data: params, - }) -} -export function swiperInsert(params) { - return httpService({ - url: `/user/shopRotation/insert`, - method: 'post', - data: params, - }) -} diff --git a/src/api/shop/vendor/index.js b/src/api/shop/vendor/index.js deleted file mode 100644 index 595442e..0000000 --- a/src/api/shop/vendor/index.js +++ /dev/null @@ -1,32 +0,0 @@ -import httpService from "@/request" - -// 商品 -// 供应商 -export function vendorList(params) { - return httpService({ - url: `/user/shopVendor/list`, - method: 'get', - params: params, - }) -} -export function vendorInsert(params) { - return httpService({ - url: `/user/shopVendor/insert`, - method: 'post', - data: params, - }) -} -export function vendorDel(params) { - return httpService({ - url: `/user/shopVendor/delete`, - method: 'post', - data: params, - }) -} -export function vendorUpdate(params) { - return httpService({ - url: `/user/shopVendor/update`, - method: 'post', - data: params, - }) -} diff --git a/src/main.js b/src/main.js index da42045..9b3baa1 100644 --- a/src/main.js +++ b/src/main.js @@ -18,7 +18,7 @@ import router from "@/permission"; // Vue.prototype.$moment = moment const communityCode = store.getters.getCommunityCode; -Vue.prototype.$baseUrl = process.env.VUE_APP_URL + communityCode + '/manage' +Vue.prototype.$baseUrl = process.env.VUE_APP_URL + communityCode + '/merchant' Vue.config.productionTip = false import commonTable from './components/table' import commonUpload from './components/upload/index.vue' diff --git a/src/permission.js b/src/permission.js index 25d8823..b8c07c7 100644 --- a/src/permission.js +++ b/src/permission.js @@ -3,17 +3,17 @@ import "nprogress/nprogress.css" import router from "@/router" import store from '@/store' -const whitePath = [ '/login','/rule','/yszc','/fromPlatform'] +const whitePath = [ '/login','/rule','/yszc'] // 判断登录 router.beforeEach((to, from, next) => { NProgress.start() const token = store.getters.getToken; - // if(!token && !whitePath.includes(to.path)) { - // next('/login'); - // } else { + if(!token && !whitePath.includes(to.path)) { + next('/login'); + } else { next(); NProgress.done() - // } + } }) router.afterEach(() => { diff --git a/src/request/index.js b/src/request/index.js index c9f4cfd..c3681ba 100644 --- a/src/request/index.js +++ b/src/request/index.js @@ -35,9 +35,9 @@ httpService.interceptors.request.use(config => { const rqData = filterRequestData(config.data); // post 'Content-Type' === 'application/x-www-form-urlencoded' config.headers['Content-Type'] = "application/json"; - config.headers['manage-login-token'] = store.getters.getToken; + config.headers['merchant-login-token'] = store.getters.getToken; // config.headers['device-type'] = "web"; - config.baseURL = process.env.VUE_APP_URL + store.getters.getCommunityCode + '/manage' + config.baseURL = process.env.VUE_APP_URL if(config.method === 'post') { config.data = rqData; } else { diff --git a/src/router/basic.js b/src/router/basic.js deleted file mode 100644 index fecfe09..0000000 --- a/src/router/basic.js +++ /dev/null @@ -1,139 +0,0 @@ - -export default [ - { - path: '/Employee', - name: "Employee", - title: "员工管理", - icon: 'team', - hide: false, - component: resolve => require(['@/views/Basic/Employee'], resolve), - meta: {title: '员工管理'} - }, - { - path: '/authority', - name: "Authority", - title: "权限管理", - icon: 'appstore', - hide: false, - component: resolve => require(['@/views/Basic/Authority'], resolve), - meta: {title: '权限管理'}, - // children: [ - // { - // path: '/Authority/_details', - // name: "Authority_details", - // title: "账单管理-详情", - // icon: 'profile', - // hide: true, - // component: resolve => require(['@/views/Basic/Authority/_details'], resolve), - // meta: {title: '账单管理-详情'}, - // } - // ] - }, - { - path: '/EstateInfo', - name: "EstateInfo", - title: "小区信息", - icon: 'home', - hide: false, - component: resolve => require(['@/views/Basic/EstateInfo'], resolve), - redirect: '/EstateInfo/BuildingManage', - meta: {title: '小区信息'}, - children: [ - { - path: '/EstateInfo/BuildingManage', - name: "BuildingManage", - title: "楼栋管理", - hide: false, - component: resolve => require(['@/views/Basic/EstateInfo/_buildingManage'], resolve), - meta: {title: '楼栋管理'}, - }, - { - path: '/EstateInfo/HouseManage', - name: "HouseManage", - title: "房屋管理", - hide: false, - component: resolve => require(['@/views/Basic/EstateInfo/_houseManage'], resolve), - meta: {title: '房屋管理'}, - }, - { - path: '/EstateInfo/HouseHoldInfo', - name: "HouseHoldInfo", - title: "住户信息", - hide: false, - component: resolve => require(['@/views/Basic/EstateInfo/_houseHoldInfo'], resolve), - meta: {title: '住户信息'}, - }, - { - path: '/EstateInfo/HouseHoldAudit', - name: "HouseHoldAudit", - title: "住户审核", - hide: false, - component: resolve => require(['@/views/Basic/EstateInfo/_houseHoldAudit'], resolve), - meta: {title: '住户审核'}, - }, - ] - }, - { - path: '/Workorder', - name: "Workorder", - title: "工单管理", - icon: 'solution', - hide: false, - component: resolve => require(['@/views/Basic/WorkOrder'], resolve), - meta: {title: '工单管理'} - }, - { - path: '/Forbidden', - name: "Forbidden", - title: "违禁字管理", - icon: 'stop', - hide: false, - component: resolve => require(['@/views/Basic/Forbidden'], resolve), - meta: {title: '违禁字管理'} - }, - // { - // path: '/attendance', - // name: "Attendance", - // title: "考勤管理", - // icon: 'reconciliation', - // hide: false, - // redirect: '/attendance/record', - // component: resolve => require(['@/views/Basic/Attendance'], resolve), - // meta: {title: '考勤管理'}, - // children: [ - // { - // path: '/attendance/record', - // name: "Attendance_record", - // title: "考勤记录", - // hide: false, - // component: resolve => require(['@/views/Basic/Attendance/_record'], resolve), - // meta: {title: '考勤记录'}, - // }, - // { - // path: '/attendance/application', - // name: "Attendance_application", - // title: "申请记录", - // hide: false, - // component: resolve => require(['@/views/Basic/Attendance/application'], resolve), - // meta: {title: '申请记录'}, - // }, - // { - // path: '/attendance/attendanceteam', - // name: "Attendance_attendanceteam", - // title: "考勤小组", - // hide: false, - // component: resolve => require(['@/views/Basic/Attendance/_attendanceteam'], resolve), - // meta: {title: '考勤小组'}, - // }, - // { - // path: '/attendance/scheduling', - // name: "Attendance_scheduling", - // title: "排班计划", - // hide: false, - // component: resolve => require(['@/views/Basic/Attendance/_scheduling'], resolve), - // meta: {title: '排班计划'}, - // }, - - // ] - // } -] \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 18edf8b..09bb342 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -54,7 +54,13 @@ const router = [ name: "Login", title: "登录", component: resolve => require(['@/views/Login'], resolve) - } + }, + { + path: "/shopChoose", + name: "ShopChoose", + title: "选择店铺", + component: resolve => require(['@/views/ShopChoose'], resolve) + }, ] export default new Router({ diff --git a/src/router/intShop.js b/src/router/intShop.js index 81dd36c..2e6061d 100644 --- a/src/router/intShop.js +++ b/src/router/intShop.js @@ -34,13 +34,37 @@ export default [ component: resolve => require(['@/views/IntShop/Item/_itemList'], resolve), meta: {title: '商品列表'}, }, + // { + // path: '/Item/BrandAuthor', + // name: "BrandAuthor", + // title: "品牌资质", + // hide: false, + // component: resolve => require(['@/views/IntShop/Item/_brandAuthor'], resolve), + // meta: {title: '品牌资质'}, + // }, { - path: '/Item/BrandAuthor', - name: "BrandAuthor", - title: "品牌资质", + path: '/Item/TypeList', + name: "TypeList", + title: "类目参数", hide: false, - component: resolve => require(['@/views/IntShop/Item/_brandAuthor'], resolve), - meta: {title: '品牌资质'}, + component: resolve => require(['@/views/IntShop/Item/_typeList'], resolve), + meta: {title: '类目参数'}, + }, + { + path: '/Item/AddItem', + name: "AddItem", + title: "添加商品", + hide: true, + component: resolve => require(['@/views/IntShop/Item/_addItem'], resolve), + meta: {title: '添加商品'}, + }, + { + path: '/Item/AddType', + name: "AddType", + title: "添加参数", + hide: true, + component: resolve => require(['@/views/IntShop/Item/_addType'], resolve), + meta: {title: '添加参数'}, }, ] }, diff --git a/src/router/operation.js b/src/router/operation.js deleted file mode 100644 index 0b6f502..0000000 --- a/src/router/operation.js +++ /dev/null @@ -1,306 +0,0 @@ -/* - * @Author: your name - * @Date: 2021-11-24 14:52:24 - * @LastEditTime: 2021-11-24 14:52:24 - * @LastEditors: Please set LastEditors - * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE - * @FilePath: /LittleBeeSaas/src/router/operation.js - */ -export default [ - { - path: '/ClientSet', - name: "ClientSet", - title: "用户端设置", - icon: 'setting', - hide: false, - component: resolve => require(['@/views/Operation/clientSet'], resolve), - meta: {title: '用户端设置'}, - }, - { - path: '/InspectionManage', - name: "InspectionManage", - title: "巡检管理", - icon: 'retweet', - hide: false, - component: resolve => require(['@/views/Operation/InspectionManage'], resolve), - redirect: '/InspectionManage/InspectionPoint', - meta: {title: '巡检管理'}, - children: [ - { - path: '/InspectionManage/InspectionPoint', - name: "InspectionPoint", - title: "巡检点", - hide: false, - component: resolve => require(['@/views/Operation/InspectionManage/_inspectionPoint'], resolve), - meta: {title: '巡检点'}, - }, - { - path: '/InspectionManage/InspectionRoute', - name: "InspectionRoute", - title: "巡检路线", - hide: false, - component: resolve => require(['@/views/Operation/InspectionManage/_inspectionRoute'], resolve), - meta: {title: '巡检路线'}, - }, - { - path: '/InspectionManage/InspectionPlan', - name: "InspectionPlan", - title: "巡检计划", - hide: false, - component: resolve => require(['@/views/Operation/InspectionManage/_inspectionPlan'], resolve), - meta: {title: '巡检计划'}, - }, - { - path: '/InspectionManage/InspectionExecute', - name: "InspectionExecute", - title: "巡检记录", - hide: false, - component: resolve => require(['@/views/Operation/InspectionManage/_inspectionExecute/index.vue'], resolve), - meta: {title: '巡检记录'}, - }, - ] - }, - { - path: '/Activity', - name: "Activity", - title: "活动", - icon: 'notification', - hide: false, - component: resolve => require(['@/views/Operation/Activity'], resolve), - redirect: '/Activity/ActivityManage', - meta: {title: '活动'}, - children: [ - { - path: '/Activity/ActivityManage', - name: "ActivityManage", - title: "活动管理", - hide: false, - component: resolve => require(['@/views/Operation/Activity/_activityManage'], resolve), - meta: {title: '活动管理'}, - }, - { - path: '/Activity/Organizers', - name: "Organizers", - title: "活动主办方", - hide: false, - component: resolve => require(['@/views/Operation/Activity/_organizers'], resolve), - meta: {title: '活动主办方'}, - }, - ] - }, - { - path: '/Announcement', - name: "Announcement", - title: "公告", - icon: 'file-search', - hide: false, - component: resolve => require(['@/views/Operation/Announcement'], resolve), - meta: {title: '公告'}, - }, - { - path: '/News', - name: "News", - title: "资讯", - icon: 'global', - hide: false, - component: resolve => require(['@/views/Operation/News'], resolve), - redirect: '/News/', - meta: {title: '资讯'}, - children: [ - { - path: '/News/NewsManage', - name: "NewsManage", - title: "资讯管理", - hide: false, - component: resolve => require(['@/views/Operation/News/_newsManage'], resolve), - meta: {title: '资讯管理'}, - }, - { - path: '/News/NewsItem', - name: "NewsItem", - title: "资讯分类", - hide: false, - component: resolve => require(['@/views/Operation/News/_newsItem'], resolve), - meta: {title: '资讯分类'}, - }, - ] - }, - { - path: '/TaskManage', - name: "TaskManage", - title: "任务", - icon: 'form', - hide: false, - component: resolve => require(['@/views/Operation/TaskManage'], resolve), - redirect: '/TaskManage/TaskList', - meta: {title: '任务'}, - children: [ - { - path: '/TaskManage/TaskList', - name: "TaskList", - title: "任务管理", - hide: false, - component: resolve => require(['@/views/Operation/TaskManage/_taskList'], resolve), - meta: {title: '任务管理'}, - }, - { - path: '/TaskManage/TaskSet', - name: "TaskSet", - title: "任务设置", - hide: false, - component: resolve => require(['@/views/Operation/TaskManage/_taskSet'], resolve), - meta: {title: '任务设置'}, - }, - ] - }, - { - path: '/BBS', - name: "BBS", - title: "社区", - icon: 'home', - hide: false, - component: resolve => require(['@/views/Operation/BBS'], resolve), - redirect: '/BBS/Dynamic', - meta: {title: '社区'}, - children: [ - { - path: '/BBS/Dynamic', - name: "Dynamic", - title: "社区动态", - hide: false, - component: resolve => require(['@/views/Operation/BBS/_dynamic'], resolve), - meta: {title: '社区动态'}, - }, - { - path: '/BBS/DynamicDetail', - name: "DynamicDetail", - title: "社区动态详情", - hide: true, - component: resolve => require(['@/views/Operation/BBS/_dynamic/detail'], resolve), - meta: {title: '社区动态详情'}, - }, - { - path: '/BBS/Topic', - name: "Topic", - title: "社区话题", - hide: false, - component: resolve => require(['@/views/Operation/BBS/_topic'], resolve), - meta: {title: '社区话题'}, - }, - ] - }, - { - path: '/Recommand', - name: "Recommand", - title: "建议咨询", - icon: 'question-circle', - hide: false, - component: resolve => require(['@/views/Operation/Recommand'], resolve), - meta: {title: '建议咨询'}, - }, - { - path: '/Suggestion', - name: "Suggestion", - title: "便民电话", - icon: 'phone', - hide: false, - component: resolve => require(['@/views/Operation/Suggestion'], resolve), - meta: {title: '便民电话'}, - }, - { - path: '/CommunityIntro', - name: "CommunityIntro", - title: "社区介绍", - icon: 'snippets', - hide: false, - component: resolve => require(['@/views/Operation/CommunityIntro'], resolve), - meta: {title: '社区介绍'}, - }, - { - path: '/Facility', - name: "Facility", - title: "设施设备", - icon: 'solution', - hide: false, - component: resolve => require(['@/views/Operation/Facility'], resolve), - redirect: '/Facility/FacilityType', - meta: {title: '设施设备'}, - children: [ - { - path: '/Facility/FacilityType', - name: "FacilityType", - title: "设施设备分类", - hide: false, - component: resolve => require(['@/views/Operation/Facility/_facilityType'], resolve), - meta: {title: '设施设备分类'}, - }, - { - path: '/Facility/FacilityInfo', - name: "FacilityInfo", - title: "设施设备管理", - hide: false, - component: resolve => require(['@/views/Operation/Facility/_facilityInfo'], resolve), - meta: {title: '设施设备管理'}, - }, - { - path: '/Facility/FacilityPreOrder', - name: "FacilityPreOrder", - title: "预约管理", - hide: false, - component: resolve => require(['@/views/Operation/Facility/_facilityPreOrder'], resolve), - meta: {title: '预约管理'}, - } - ] - }, - { - path: '/Commission', - name: "Commission", - title: "业委会", - icon: 'cluster', - hide: false, - component: resolve => require(['@/views/Operation/Commission'], resolve), - meta: {title: '业委会'}, - }, - { - path: '/Scroll', - name: "Scroll", - title: "问卷调查", - icon: 'container', - hide: false, - component: resolve => require(['@/views/Operation/Scroll'], resolve), - meta: {title: '问卷调查'}, - }, - { - path: '/Scroll/addScroll', - name: "addScroll", - title: "新增问卷调查", - hide: true, - component: resolve => require(['@/views/Operation/Scroll/addScroll'], resolve), - meta: {title: '新增问卷调查'}, - }, - { - path: '/Scroll/editScroll', - name: "editScroll", - title: "编辑问卷调查", - hide: true, - component: resolve => require(['@/views/Operation/Scroll/editScroll'], resolve), - meta: {title: '编辑问卷调查'}, - }, - { - path: '/Scroll/analyze', - name: "analyze", - title: "问卷调查报表分析", - hide: true, - component: resolve => require(['@/views/Operation/Scroll/analyze'], resolve), - meta: {title: '问卷调查报表分析'}, - }, - { - path: '/Vote', - name: "Vote", - title: "投票管理", - icon: 'bar-chart', - hide: false, - component: resolve => require(['@/views/Operation/Vote'], resolve), - meta: {title: '投票管理'}, - }, -] \ No newline at end of file diff --git a/src/router/payment.js b/src/router/payment.js deleted file mode 100644 index 65b9afc..0000000 --- a/src/router/payment.js +++ /dev/null @@ -1,106 +0,0 @@ -/* - * @Author: your name - * @Date: 2021-11-24 14:48:01 - * @LastEditTime: 2021-11-24 14:48:02 - * @LastEditors: Please set LastEditors - * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE - * @FilePath: /LittleBeeSaas/src/router/payment.js - */ -export default [ - { - path: '/ChargeStandardManage', - name: "ChargeStandardManage", - title: "收费标准管理", - icon: 'form', - hide: false, - component: resolve => require(['@/views/Payment/ChargeStandardManage'], resolve), - meta: {title: '收费标准管理'}, - }, - { - path: '/ChargeStandardBind', - name: "ChargeStandardBind", - title: "收费标准绑定", - icon: 'sliders', - hide: false, - component: resolve => require(['@/views/Payment/ChargeStandardBind'], resolve), - meta: {title: '收费标准绑定'}, - }, - { - path: '/PrepayManage', - name: "PrepayManage", - title: "预缴管理", - icon: 'book', - hide: false, - component: resolve => require(['@/views/Payment/PrepayManage'], resolve), - meta: {title: '预缴管理'}, - }, - { - path: '/PayPlan', - name: "PayPlan", - title: "缴费计划", - icon: 'transaction', - hide: false, - component: resolve => require(['@/views/Payment/PayPlan'], resolve), - meta: {title: '缴费计划'}, - }, - { - path: '/BillManage', - name: "BillManage", - title: "账单管理", - icon: 'audit', - hide: false, - component: resolve => require(['@/views/Payment/BillManage'], resolve), - redirect: '/Payment/ActivityManage', - meta: {title: '账单管理'}, - children: [ - { - path: '/BillManage/PayInfo', - name: "PayInfo", - title: "账单明细", - hide: false, - component: resolve => require(['@/views/Payment/BillManage/_payInfo'], resolve), - meta: {title: '账单明细'}, - }, - { - path: '/BillManage/PayList', - name: "PayList", - title: "缴费明细", - hide: true, - component: resolve => require(['@/views/Payment/BillManage/_payList'], resolve), - meta: {title: '缴费明细'}, - }, - { - path: '/BillManage/OweList', - name: "OweList", - title: "欠费明细", - hide: true, - component: resolve => require(['@/views/Payment/BillManage/_oweList'], resolve), - meta: {title: '欠费明细'}, - }, - { - path: '/BillManage/PayRateReport', - name: "PayRateReport", - title: "收缴率报表", - hide: true, - component: resolve => require(['@/views/Payment/BillManage/_payRateReport'], resolve), - meta: {title: '收缴率报表'}, - }, - { - path: '/BillManage/RefundRecord', - name: "RefundRecord", - title: "退款记录", - hide: true, - component: resolve => require(['@/views/Payment/BillManage/_refundRecord'], resolve), - meta: {title: '退款记录'}, - }, - { - path: '/BillManage/BillNotice', - name: "BillNotice", - title: "账单通知", - hide: true, - component: resolve => require(['@/views/Payment/BillManage/_billNotice'], resolve), - meta: {title: '账单通知'}, - }, - ] - }, -] \ No newline at end of file diff --git a/src/router/setting.js b/src/router/setting.js deleted file mode 100644 index ecc09c8..0000000 --- a/src/router/setting.js +++ /dev/null @@ -1,11 +0,0 @@ -export default [ - { - path: '/basicSet', - name: "basicSet", - title: "基础设置", - hide: false, - icon: 'container', - component: resolve => require(['@/views/Set/basicSet'], resolve), - meta: {title: '基础设置'} - }, -] \ No newline at end of file diff --git a/src/router/shop.js b/src/router/shop.js deleted file mode 100644 index 26e6511..0000000 --- a/src/router/shop.js +++ /dev/null @@ -1,124 +0,0 @@ -/* - * @Author: your name - * @Date: 2021-11-24 14:50:31 - * @LastEditTime: 2021-11-24 14:50:31 - * @LastEditors: Please set LastEditors - * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE - * @FilePath: /LittleBeeSaas/src/router/smartMall.js - */ -export default [ - { - path: '/GoodsManage', - name: "GoodsManage", - title: "商品管理", - icon: 'home', - hide: false, - component: resolve => require(['@/views/Shop/GoodsManage'], resolve), - redirect: '/GoodsManage/GoodsList', - meta: {title: '商品管理'}, - children: [ - { - path: '/GoodsManage/GoodsList', - name: "GoodsList", - title: "商品列表", - hide: false, - component: resolve => require(['@/views/Shop/GoodsManage/_goodsList'], resolve), - meta: {title: '商品列表'}, - }, - { - path: '/GoodsManage/PointGoods', - name: "PointGoods", - title: "兑换商品设置", - hide: false, - component: resolve => require(['@/views/Shop/GoodsManage/_pointGoods'], resolve), - meta: {title: '兑换商品设置'}, - }, - { - path: '/GoodsManage/JcookList', - name: "JcookList", - title: "jcook商品库", - hide: false, - component: resolve => require(['@/views/Shop/GoodsManage/_jcookList'], resolve), - meta: {title: 'jcook商品库'}, - }, - { - path: '/GoodsManage/GoodsCate', - name: "GoodsCate", - title: "商品分类", - hide: false, - component: resolve => require(['@/views/Shop/GoodsManage/_goodsCate'], resolve), - meta: {title: '商品分类'}, - }, - // { - // path: '/GoodsManage/GoodsCate', - // name: "GoodsCate", - // title: "商品审核", - // hide: false, - // component: resolve => require(['@/views/Shop/GoodsManage/_goodsCate'], resolve), - // meta: {title: '商品分类'}, - // }, - { - path: '/GoodsManage/Brand', - name: "Brand", - title: "品牌资质", - hide: false, - component: resolve => require(['@/views/Shop/GoodsManage/_brand'], resolve), - meta: {title: '品牌资质'}, - }, - ] - }, - { - path: '/OrderManage', - name: "OrderManage", - title: "订单列表", - hide: false, - icon: 'container', - component: resolve => require(['@/views/Shop/OrderManage'], resolve), - meta: {title: '订单列表'} - }, - { - path: '/OrderDetail', - name: "OrderDetail", - title: "订单详情", - hide: true, - icon: 'container', - component: resolve => require(['@/views/Shop/OrderManage/depend/detail'], resolve), - meta: {title: '订单详情'} - }, - { - path: '/SupplierManage', - name: "SupplierManage", - title: "供应商管理", - hide: false, - icon: 'contacts', - component: resolve => require(['@/views/Shop/SupplierManage'], resolve), - meta: {title: '供应商管理'} - }, - { - path: '/StoreManage', - name: "StoreManage", - title: "店铺管理", - hide: false, - icon: 'shop', - component: resolve => require(['@/views/Shop/StoreManage'], resolve), - meta: {title: '店铺管理'} - }, - { - path: '/SwiperManage', - name: "SwiperManage", - title: "商城轮播图管理", - hide: false, - icon: 'bars', - component: resolve => require(['@/views/Shop/SwiperManage'], resolve), - meta: {title: '商城轮播图管理'} - }, - { - path: '/ScoreSetting', - name: "ScoreSetting", - title: "积分设置", - hide: false, - icon: 'crown', - component: resolve => require(['@/views/Shop/ScoreSetting'], resolve), - meta: {title: '积分设置'} - }, -] \ No newline at end of file diff --git a/src/styles/index.less b/src/styles/index.less index 9592f56..474c885 100644 --- a/src/styles/index.less +++ b/src/styles/index.less @@ -37,7 +37,7 @@ margin: 24px; } .action { - margin-top: -50px; + margin-left: 24px; } .search-box { margin: 20px; diff --git a/src/utils/util.js b/src/utils/util.js index 363e5e8..cfe91b1 100644 --- a/src/utils/util.js +++ b/src/utils/util.js @@ -7,13 +7,13 @@ export default { Vue.prototype.$axios = axios Vue.prototype.qs = qs // 上传 - Vue.prototype.$upload = process.env.VUE_APP_URL + store.getters.getCommunityCode + '/manage/user/upload/uploadImg' + // Vue.prototype.$upload = process.env.VUE_APP_URL + store.getters.getCommunityCode + '/manage/user/upload/uploadImg' // 上传员工/房屋/住户/单元/楼栋EXCEL - Vue.prototype.$excelUpload = process.env.VUE_APP_URL + store.getters.getCommunityCode + '/manage/user/importExcel/importManageUserExcel' - Vue.prototype.$houseUpload = process.env.VUE_APP_URL + store.getters.getCommunityCode + '/manage/user/importExcel/importEstateExcel' - Vue.prototype.$residentUpload = process.env.VUE_APP_URL + store.getters.getCommunityCode + '/manage/user/importExcel/importResidentExcel' - Vue.prototype.$unitUpload = process.env.VUE_APP_URL + store.getters.getCommunityCode + '/manage/user/importExcel/importUnitExcel' - Vue.prototype.$buildingUpload = process.env.VUE_APP_URL + store.getters.getCommunityCode + '/manage/user/importExcel/importBuildingExcel' + // Vue.prototype.$excelUpload = process.env.VUE_APP_URL + store.getters.getCommunityCode + '/manage/user/importExcel/importManageUserExcel' + // Vue.prototype.$houseUpload = process.env.VUE_APP_URL + store.getters.getCommunityCode + '/manage/user/importExcel/importEstateExcel' + // Vue.prototype.$residentUpload = process.env.VUE_APP_URL + store.getters.getCommunityCode + '/manage/user/importExcel/importResidentExcel' + // Vue.prototype.$unitUpload = process.env.VUE_APP_URL + store.getters.getCommunityCode + '/manage/user/importExcel/importUnitExcel' + // Vue.prototype.$buildingUpload = process.env.VUE_APP_URL + store.getters.getCommunityCode + '/manage/user/importExcel/importBuildingExcel' // 静态地址 Vue.prototype.$ImgUrl = (src) => { return process.env.VUE_APP_STATIC + store.getters.getCommunityCode + '/' + src diff --git a/src/views/IntShop/Item/_addItem/depend/config.js b/src/views/IntShop/Item/_addItem/depend/config.js new file mode 100644 index 0000000..c2d464b --- /dev/null +++ b/src/views/IntShop/Item/_addItem/depend/config.js @@ -0,0 +1,47 @@ +export const columns1 = [ + { + title: "认证材料", + dataIndex: "mat", + width: "40%", + }, + { + title: "详情", + dataIndex: "detail", + width: "60%", + scopedSlots: { customRender: "detail" }, + }, +]; +export const tableData3 = [ + { + mat: '法定代表人证件照正反面照片、法定代表人手持证件照', + detail: true, + }, +]; +export const tableData1 = [ + { + mat: '统一社会信用代码证', + detail: '-', + }, + { + mat: '法定证件照正反面照片、法人手持证件照', + detail: true, + }, + { + mat: '门店门头照片、门店内景照片、收银台照片', + detail: '无实体门店的商家可提供线上店铺首页、管理后台、商品照片', + }, +]; +export const tableData2 = [ + { + mat: '统一社会信用代码证', + detail: '-', + }, + { + mat: '法定证件照正反面照片、法人手持证件照', + detail: true, + }, + { + mat: '门店门头照片、门店内景照片、收银台照片', + detail: '无实体门店的商家可提供线上店铺首页、管理后台、商品照片', + }, +] \ No newline at end of file diff --git a/src/views/IntShop/Item/_addItem/index.vue b/src/views/IntShop/Item/_addItem/index.vue new file mode 100644 index 0000000..cbb9a0b --- /dev/null +++ b/src/views/IntShop/Item/_addItem/index.vue @@ -0,0 +1,187 @@ + + + + + + \ No newline at end of file diff --git a/src/views/IntShop/Item/_addType/index.vue b/src/views/IntShop/Item/_addType/index.vue new file mode 100644 index 0000000..2009236 --- /dev/null +++ b/src/views/IntShop/Item/_addType/index.vue @@ -0,0 +1,74 @@ + + + + + + \ No newline at end of file diff --git a/src/views/IntShop/Item/_brandAuthor/index.vue b/src/views/IntShop/Item/_brandAuthor/index.vue deleted file mode 100644 index 6d27e8d..0000000 --- a/src/views/IntShop/Item/_brandAuthor/index.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/IntShop/Item/_itemList/depend/config.js b/src/views/IntShop/Item/_itemList/depend/config.js new file mode 100644 index 0000000..beff90b --- /dev/null +++ b/src/views/IntShop/Item/_itemList/depend/config.js @@ -0,0 +1,109 @@ +export const columns = [ + { + title: "商品状态", + width: "6%", + dataIndex: "status", + customRender: function (status) { + switch (status) { + case false: + return '已下架' + case true: + return '上架中' + default: + break; + } + } + }, + { + title: "商品编号", + width: "11%", + dataIndex: "skuNumber", + }, + { + title: "商品图片", + width: "8%", + dataIndex: "mainPhoto", + scopedSlots: { customRender: "mainPhoto"} + }, + { + title: "商品名称", + width: "11%", + dataIndex: "skuName", + }, + { + title: "所属分类", + width: "6%", + dataIndex: "mallType", + customRender: function (mallType) { + switch (mallType) { + case 1: + return 'Jcook' + default: + return '' + } + } + }, + { + title: "店铺名称", + width: "10%", + dataIndex: "shopName", + }, + { + title: "售货价", + width: "7%", + dataIndex: "price", + }, + { + title: "库存", + width: "6%", + dataIndex: "discountPrice", + }, + { + title: "销量", + width: "5%", + dataIndex: "viewsNum", + }, + { + title: "创建时间", + width: "10%", + dataIndex: "creatTime", + }, + { + title: "操作", + dataIndex: "action", + key: "action", + width: "250", + fixed: "right", + scopedSlots: { customRender: "action" }, + }, +] +export const formItem = [ + { + type: 'input', + label:'sku编码', + prop:'skuId', + placeholder:'请输入' + }, + { + type: 'input', + label:'商品名称', + prop:'skuName', + placeholder:'请输入' + }, + // { + // type: 'select', + // label:'上架状态', + // prop:'status', + // placeholder:'请选择', + // option:[{ id: false,name:'下架'},{ id: true,name:'上架'}], + // }, +] +export const pagination = { + current: 1, + total: 0, + pageSize: 100, + showTotal: (total) => `共 ${total} 条`, + pageSizeOptions: ['10','50','100','200'], + showSizeChanger: true, + showQuickJumper: true, +} \ No newline at end of file diff --git a/src/views/IntShop/Item/_itemList/depend/form.js b/src/views/IntShop/Item/_itemList/depend/form.js new file mode 100644 index 0000000..aba663e --- /dev/null +++ b/src/views/IntShop/Item/_itemList/depend/form.js @@ -0,0 +1,28 @@ +export const form = { + id:undefined, + status:undefined, + skuName:undefined, + shopId:undefined, + vendorId:undefined, + brandId:undefined, + categoryFirstId:undefined, + categorySecondId:undefined, + categoryThirdId:undefined, + sellPrice:undefined, + discountPrice:undefined, +} +export const rules = { + skuName:[{required:true,message:'请输入',trigger:'blur'}], + shopId:[{required:true,message:'请选择',trigger:'change'}], + status:[{required:true,message:'请选择',trigger:'change'}], + vendorId:[{required:true,message:'请选择',trigger:'change'}], + brandId: [{ required: true, message: '请选择', trigger: 'change' }], + sellPrice:[{required:true,message:'请输入',trigger:'blur'}], + discountPrice:[{required:true,message:'请输入',trigger:'blur'}], +} +export const options = { + cate:[], + shop: [], + vendor: [], + brand: [], +} diff --git a/src/views/IntShop/Item/_itemList/depend/form.vue b/src/views/IntShop/Item/_itemList/depend/form.vue new file mode 100644 index 0000000..b642cde --- /dev/null +++ b/src/views/IntShop/Item/_itemList/depend/form.vue @@ -0,0 +1,200 @@ + + + + + diff --git a/src/views/IntShop/Item/_itemList/index.vue b/src/views/IntShop/Item/_itemList/index.vue index 18ea355..bb102a8 100644 --- a/src/views/IntShop/Item/_itemList/index.vue +++ b/src/views/IntShop/Item/_itemList/index.vue @@ -1,13 +1,236 @@ - \ No newline at end of file + diff --git a/src/views/IntShop/Item/_typeList/depend/config.js b/src/views/IntShop/Item/_typeList/depend/config.js new file mode 100644 index 0000000..68a331a --- /dev/null +++ b/src/views/IntShop/Item/_typeList/depend/config.js @@ -0,0 +1,136 @@ +export const columns = [ + { + title: "商品状态", + width: "6%", + dataIndex: "status", + customRender: function (status) { + switch (status) { + case false: + return '已下架' + case true: + return '上架中' + default: + break; + } + } + }, + { + title: "商品名称", + width: "11%", + dataIndex: "skuName", + }, + { + title: "主图url", + width: "4%", + dataIndex: "mainPhoto", + scopedSlots: { customRender: "mainPhoto"} + }, + { + title: "积分兑换", + width: "5%", + dataIndex: "isPointsGoods", + scopedSlots: { customRender: "point"} + }, + { + title: "sku编码", + width: "10%", + dataIndex: "skuId", + }, + { + title: "商品类型", + width: "4%", + dataIndex: "mallType", + customRender: function (mallType) { + switch (mallType) { + case 1: + return 'Jcook' + break; + default: + break; + } + } + }, + { + title: "店铺名", + width: "7%", + dataIndex: "shopName", + }, + { + title: "品牌名", + width: "7%", + dataIndex: "brandName", + }, + { + title: "供应商名", + width: "7%", + dataIndex: "vendorName", + }, + { + title: "一级分类名称", + width: "6%", + dataIndex: "categoryFirstName", + }, + { + title: "二级分类名称", + width: "6%", + dataIndex: "categorySecondName", + }, + { + title: "三级分类名称", + width: "6%", + dataIndex: "categoryThirdName", + }, + { + title: "售卖价", + width: "4%", + dataIndex: "sellPrice", + }, + { + title: "折扣价", + width: "4%", + dataIndex: "discountPrice", + }, + { + title: "浏览量", + width: "5%", + dataIndex: "viewsNum", + }, + { + title: "操作", + dataIndex: "action", + key: "action", + width: "250", + fixed: "right", + scopedSlots: { customRender: "action" }, + }, +] +export const formItem = [ + { + type: 'input', + label:'sku编码', + prop:'skuId', + placeholder:'请输入' + }, + { + type: 'input', + label:'商品名称', + prop:'skuName', + placeholder:'请输入' + }, + // { + // type: 'select', + // label:'上架状态', + // prop:'status', + // placeholder:'请选择', + // option:[{ id: false,name:'下架'},{ id: true,name:'上架'}], + // }, +] +export const pagination = { + current: 1, + total: 0, + pageSize: 100, + showTotal: (total) => `共 ${total} 条`, + pageSizeOptions: ['10','50','100','200'], + showSizeChanger: true, + showQuickJumper: true, +} \ No newline at end of file diff --git a/src/views/IntShop/Item/_typeList/depend/form.js b/src/views/IntShop/Item/_typeList/depend/form.js new file mode 100644 index 0000000..aba663e --- /dev/null +++ b/src/views/IntShop/Item/_typeList/depend/form.js @@ -0,0 +1,28 @@ +export const form = { + id:undefined, + status:undefined, + skuName:undefined, + shopId:undefined, + vendorId:undefined, + brandId:undefined, + categoryFirstId:undefined, + categorySecondId:undefined, + categoryThirdId:undefined, + sellPrice:undefined, + discountPrice:undefined, +} +export const rules = { + skuName:[{required:true,message:'请输入',trigger:'blur'}], + shopId:[{required:true,message:'请选择',trigger:'change'}], + status:[{required:true,message:'请选择',trigger:'change'}], + vendorId:[{required:true,message:'请选择',trigger:'change'}], + brandId: [{ required: true, message: '请选择', trigger: 'change' }], + sellPrice:[{required:true,message:'请输入',trigger:'blur'}], + discountPrice:[{required:true,message:'请输入',trigger:'blur'}], +} +export const options = { + cate:[], + shop: [], + vendor: [], + brand: [], +} diff --git a/src/views/IntShop/Item/_typeList/depend/form.vue b/src/views/IntShop/Item/_typeList/depend/form.vue new file mode 100644 index 0000000..b642cde --- /dev/null +++ b/src/views/IntShop/Item/_typeList/depend/form.vue @@ -0,0 +1,200 @@ + + + + + diff --git a/src/views/IntShop/Item/_typeList/index.vue b/src/views/IntShop/Item/_typeList/index.vue new file mode 100644 index 0000000..7852b93 --- /dev/null +++ b/src/views/IntShop/Item/_typeList/index.vue @@ -0,0 +1,195 @@ + + + + + diff --git a/src/views/IntShop/Setting/_certification/index.vue b/src/views/IntShop/Setting/_certification/index.vue index cd777f4..2532320 100644 --- a/src/views/IntShop/Setting/_certification/index.vue +++ b/src/views/IntShop/Setting/_certification/index.vue @@ -8,16 +8,16 @@ - 个体户 + 个体户 企业 - 个人 + 个人
- “个体户”在营业执照上的主体类型一般为:个体户、个体工商户、个体经营。 + “个体户”在营业执照上的主体类型一般为:个体户、个体工商户、个体经营。 “企业”在营业执照上的主体类型一般为:有限公司、有限责任公司等。 - “个人”为根据法律法规和相关规定免于办理工商登记,无营业执照的商家。 -
(若年交易额大于10万元,则不属于个人商家范畴,需依法办理营业执照。)
+ “个人”为根据法律法规和相关规定免于办理工商登记,无营业执照的商家。 +
(若年交易额大于10万元,则不属于个人商家范畴,需依法办理营业执照。)
@@ -29,7 +29,7 @@
2、按照以下清单准备材料 - +

· 证件包含:身份证、护照、来往内地通行证等有效证件

@@ -48,37 +48,37 @@ - -

主体类型

+ +

主体类型

- 个体户 + 个体户 企业 - 个人 + 个人
如需修改主体类型请返回上一步进行操作
- + - - + + - + - + - + 区间有效 长期有效 - - + +

主体证件照片

@@ -92,6 +92,17 @@
+

主体类型

+ + + + 个体户 + 企业 + 个人 + +
如需修改主体类型请返回上一步进行操作
+
+

法定代表人证件照

@@ -107,24 +118,35 @@

法定代表人信息

- + + 大陆身份证 - + - + - + - + 区间有效 长期有效 - - + + + + + + + + 保密 + + + +
@@ -132,42 +154,48 @@

联系人

- + - + - + - +

结算账户信息

支付宝 - - + + - +

经营信息

- + - + + + + + + + - +

“食品>生鲜果蔬”特殊资质证明

- + @@ -214,7 +242,7 @@ export default { name: 'certification', data() { return { - stage: 2, + stage: 1, activeTab: 1, isChecked: false, columns1: columns1, @@ -225,18 +253,63 @@ export default { {label:'食品生产许可证',value:3},{label:'食品小作坊登记证',value:4}, {label:'国境口岸卫生许可证',value:5},{label:'预包装食品备案凭证',value:6},], form: { - type: 1, - isLongtime: 0, - isIdCardLongtime: 0, - zList: [] - } + type: 3, + //个人信息 + authenticationPersonalInfoDTO: { + handheldIdCardImgUrls: [], //手持身份证照片 + idCardFrontImgUrls: [], //身份证正面 + idCardBackImgUrls: [], //身份证反面 + cardType: 1, + name: '', + idNumber: '', + birthday: '', + idValidityStart: '', + idValidityEnd: null, + sex: 1, + occupation: '', + }, + //经营信息 + authenticationOperateInfoDTO: { + name: '', + tel: '', + email: '', + customerServiceTel: '', + settlementType: 1, + alipayName: '', + alipayAccount: '', + operateAddress: undefined, //区 + operateAddressDetail: '', + operateType: undefined, + categoryIds: [], //经营类目 + qualificationDTO: [], //经营信息资质集合 + doorHeadImgUrls: [], //门店头照片 + indoorSceneImgUrls: [], //门店内景照片 + cashierImgUrls: [], //收银台照片 + otherImgUrls: [], //补充信息照片 + } + }, + conpanyForm: { + companyName: '', + registerAddress: undefined, + registerAddressDetail: '', + businessScope: '', + uscc: '', + businessTermStart: '', + businessTermEnd: null, + usccImgUrls: [], //统一社会信用代码证 + otherImgUrls: [], //其他资质证明 + }, + isLongtime: 1, + isIdCardLongtime: 1, + selTime: [], + selTime2: [], } }, methods: { goNext() { if(this.isChecked == true) { this.stage = 2; - if(this.form.type == 3) { + if(this.form.type == 1) { this.activeTab = 2; } } else { diff --git a/src/views/IntShop/Setting/_shopInfo/index.vue b/src/views/IntShop/Setting/_shopInfo/index.vue index 29e4fba..423c16a 100644 --- a/src/views/IntShop/Setting/_shopInfo/index.vue +++ b/src/views/IntShop/Setting/_shopInfo/index.vue @@ -1,7 +1,7 @@