Browse Source

医健宝-充值密码

chenguo 6 days ago
parent
commit
fbf5811c88
2 changed files with 4 additions and 4 deletions
  1. 2 2
      src/api/hisStore/store.js
  2. 2 2
      src/views/hisStore/store/index.vue

+ 2 - 2
src/api/hisStore/store.js

@@ -53,8 +53,8 @@ export function delStore(storeId) {
 
 export function refreshPasWod(storeId) {
   return request({
-    url: '/store/his/store/refresh'+ storeId,
-    method: 'get'
+    url: '/store/his/store/refresh/'+ storeId,
+    method: 'put'
   })
 }
 

+ 2 - 2
src/views/hisStore/store/index.vue

@@ -1047,7 +1047,7 @@ export default {
     },
     handleRefresh(row) {
       const storeIds = row.storeId || this.ids;
-      this.$confirm('是否确认重置店铺管理编号为"' + storeIds + '"的密码为123456?', "警告", {
+      this.$confirm('是否确认重置店铺管理编号为"' + storeIds + '"的密码为XyzAbc~12 ', "警告", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning"
@@ -1055,7 +1055,7 @@ export default {
         return refreshPasWod(storeIds);
       }).then(() => {
         this.getList();
-        this.msgSuccess("删除成功");
+        this.msgSuccess("修改成功");
       }).catch(() => {
       });
     },