From 09654ca55034608f68559fa7a3c2849dbbe3d02f Mon Sep 17 00:00:00 2001 From: Wangxubin Date: Thu, 2 Mar 2023 09:48:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E8=BF=91=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 3 +- src/api/storeManage.js | 20 + src/components/staffList/staff/index.vue | 2 +- src/login/components/superPassword.vue | 178 ++++ src/login/login.vue | 52 +- src/pages/branch/map/components/room/room.vue | 4 +- .../eashier/cardToStore/components/edit.vue | 2 +- src/pages/eashier/reatment/reatment.vue | 985 +++++++++++------- src/pages/eashier/service/passcode.vue | 2 +- src/pages/eashier/service/service.vue | 11 +- src/pages/promotion/components/suit.vue | 7 +- .../recpromotion/components/edit.vue | 29 + .../staffBrokerage/detail/index.vue | 1 + .../staffBrokerage/examine/index.vue | 1 + .../staffBrokerage/staffBrokerage.vue | 1 + 15 files changed, 886 insertions(+), 412 deletions(-) create mode 100644 src/login/components/superPassword.vue diff --git a/config/index.js b/config/index.js index 6c908b7..5a5e1cd 100644 --- a/config/index.js +++ b/config/index.js @@ -26,7 +26,8 @@ module.exports = { assetsPublicPath: "/", proxyTable: { "/api": { - target: "http://192.168.31.214:8084/", //设置你调用的接口域名和端口号 别忘了加http 本地 + // target: "http://192.168.31.214:8084/", //设置你调用的接口域名和端口号 别忘了加http 本地 + target: "http://192.168.31.177:8084/", //设置你调用的接口域名和端口号 别忘了加http 本地 //target: "http://192.168.31.209:8084/", //设置你调用的接口域名和端口号 别忘了加http 本地 // target: "http://192.168.31.201:8084/", //设置你调用的接口域名和端口号 别忘了加http 本地 // target: "http://139.9.185.131:8098/", //设置你调用的接口域名和端口号 别忘了加http 天懿达正式 diff --git a/src/api/storeManage.js b/src/api/storeManage.js index 595e36f..1dedf30 100644 --- a/src/api/storeManage.js +++ b/src/api/storeManage.js @@ -5,6 +5,8 @@ import { localPath } from "./api.js"; + + // 获取某门店参数 export function allStores(data){ return service({ @@ -14,6 +16,24 @@ export function allStores(data){ }) } +// 获取超级密码验证码 +export function getStoreId(data){ + return service({ + url: "/api" + '/demay/ssm/staffLogin/getDynamicPsw', + method: "post", + data + }) +} + +// 动态密码登录 +export function DynamicLoginNews(data){ + return service({ + url: "/api" + '/demay/ssm/staffLogin/DynamicLoginNews', + method: "post", + data + }) +} + // 同步总店数据 export function totalData(params){ return service({ diff --git a/src/components/staffList/staff/index.vue b/src/components/staffList/staff/index.vue index e9572b2..1b1bf53 100644 --- a/src/components/staffList/staff/index.vue +++ b/src/components/staffList/staff/index.vue @@ -16,7 +16,7 @@