diff --git a/package.json b/package.json index 7bb17a2..a18b643 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "js-md5": "^0.8.3", "jsencrypt": "^3.0.0-rc.1", "jszip": "^3.7.1", + "lodash": "^4.17.21", "material-components-vue": "^1.2.0", "mavon-editor": "^2.9.1", "normalize.css": "7.0.0", diff --git a/src/api/consumable.js b/src/api/consumable.js index 8453a91..18c93ff 100644 --- a/src/api/consumable.js +++ b/src/api/consumable.js @@ -39,12 +39,19 @@ export function puttbConsType(data) { * @returns */ export function gettbConsInfo(params) { + // return request({ + // url: '/api/tbConsInfo', + // method: "get", + // params + // }); return request({ - url: '/api/tbConsInfo', + url: "/api/viewConInfoFlow", method: "get", - params - }); + params + }); } + + /** * 耗材入库 * @returns diff --git a/src/api/notifications.js b/src/api/notifications.js new file mode 100644 index 0000000..36cd25e --- /dev/null +++ b/src/api/notifications.js @@ -0,0 +1,42 @@ +import request from "@/utils/request"; + + +// 推送店铺消息开关 +export function shopState(data) { + return request({ + url: "/api/msg/shopState", + method: "put", + data + }); + } + +export function msgall(params) { + return request({ + url: "/api/msg/all", + method: "get", + params + }); +} + +export function msginfo(data) { + return request({ + url: '/api/msg/info', + method: 'put', + data + }) +} +export function state(params) { + return request({ + url: "/api/msg/state", + method: "get", + params + }); +} + +export function delmsg(ids) { + return request({ + url: '/api/msg', + method: 'delete', + data: ids + }) +} diff --git a/src/api/shop.js b/src/api/shop.js index d3845c8..ee36c3f 100644 --- a/src/api/shop.js +++ b/src/api/shop.js @@ -428,7 +428,14 @@ export function findActivate(params) { params }); } - +// 获取店铺会员二维码 +export function getwxacode(data) { + return request({ + url: `/shop/storage/getwxacode`, + method: "post", + data + }); +} /** * 商家用户列表 * @returns diff --git a/src/views/home/data_forms.vue b/src/views/home/data_forms.vue index f134562..f7fd002 100644 --- a/src/views/home/data_forms.vue +++ b/src/views/home/data_forms.vue @@ -214,7 +214,9 @@ export default { try { const res = await daycount({ startTime: this.query.createdAt[0], - endTime: this.query.createdAt[1] + endTime: this.query.createdAt[1], + cateId: this.query.cateId, + proName: this.query.proName }); this.payCountList = res; } catch (error) { diff --git a/src/views/home/data_record.vue b/src/views/home/data_record.vue index 4ac8cee..3a3c599 100644 --- a/src/views/home/data_record.vue +++ b/src/views/home/data_record.vue @@ -13,7 +13,8 @@ 自定义 + end-placeholder="结束日期" :clearable="false" :default-time="['00:00:00', '23:59:59']" + value-format="yyyyMMdd"> 查询 @@ -27,7 +28,6 @@ - @@ -50,9 +50,10 @@ - + @@ -63,9 +64,9 @@ layout="total, sizes, prev, pager, next, jumper"> - - - + + + @@ -74,6 +75,7 @@ + \ No newline at end of file diff --git a/src/views/invoicing/components/consumableList.vue b/src/views/invoicing/components/consumableList.vue index 62d8314..7560558 100644 --- a/src/views/invoicing/components/consumableList.vue +++ b/src/views/invoicing/components/consumableList.vue @@ -3,13 +3,13 @@ - + - + - + 查询 @@ -17,7 +17,8 @@
- + @@ -50,6 +51,8 @@ + \ No newline at end of file diff --git a/src/views/product/group/index.vue b/src/views/product/group/index.vue index 87634f1..65d3545 100644 --- a/src/views/product/group/index.vue +++ b/src/views/product/group/index.vue @@ -10,6 +10,16 @@ + + +