Commit 6f7719ab by zhaoqingwei

hotfix:#投放管理切换数据源

parent 02ad13aa
......@@ -145,7 +145,7 @@ import {ref, reactive} from "vue";
//用户列表
import {listUser} from "@/api/adsdesk/user/user";
//
//import {autoLogin} from "@/api/operation/simulateLogin";
import {autoLogin} from "@/api/operation/simulateLogin";
const {proxy} = getCurrentInstance();
const {ads_user_role, ads_customer_type} = proxy.useDict("ads_user_role", "ads_customer_type");
......@@ -204,9 +204,9 @@ function handleCustomerDetail(id) {
}
function handleSimulateLogin(row) {
const {name, email, customerId, id: userId, role: userRole} = row
proxy.$modal.confirm('您将使用指定用户[' + name + '(' + email + ')]模拟登录系统查看数据. 谨记不要进行修改提交等影响数据的操作!').then(function () {
autoLogin({customerId, userId})
const {userName, userNick,userId} = row
proxy.$modal.confirm('您将使用指定用户[' + userNick + '(' + userName + ')]模拟登录系统查看数据. 谨记不要进行修改提交等影响数据的操作!').then(function () {
autoLogin({userId,userName,userNick})
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment