Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
modeng-web
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
邢保振
modeng-web
Commits
6f7719ab
Commit
6f7719ab
authored
Dec 14, 2023
by
zhaoqingwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hotfix:#投放管理切换数据源
parent
02ad13aa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
index.vue
src/views/adsdesk/adsUser/index.vue
+4
-4
No files found.
src/views/adsdesk/adsUser/index.vue
View file @
6f7719ab
...
...
@@ -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
})
})
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment