Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
38a6c0a5
Commit
38a6c0a5
authored
Feb 11, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
32e68306
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
7 deletions
+30
-7
scmAccountManagement.vue
src/components/platformModule/scmAccountManagement.vue
+30
-7
No files found.
src/components/platformModule/scmAccountManagement.vue
View file @
38a6c0a5
...
...
@@ -94,7 +94,7 @@
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
/>
<input
type=
"button"
@
click=
"outerVisible = true,dialogTitle='新增账号信息'"
class=
"normalBtn"
<input
type=
"button"
@
click=
"outerVisible = true,dialogTitle='新增账号信息'
,clearData()
"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
/>
</li>
</ul>
...
...
@@ -122,7 +122,7 @@
icon=
"el-icon-edit"
circle
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"重置密码"
placement=
"top-start"
>
<el-button
type=
"primary"
icon=
"iconfont icon-zhongzhi1"
circle
></el-button>
<el-button
type=
"primary"
icon=
"iconfont icon-zhongzhi1"
circle
@
click=
"resetPwd(item.Id)"
></el-button>
</el-tooltip>
</td>
</tr>
...
...
@@ -154,8 +154,8 @@
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible =false"
>
取消
</button>
<button
class=
"normalBtn"
type=
"button"
@
click=
"saveSCMAccount()"
>
保存
</button>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible =false
,clearData()
"
>
取消
</button>
<button
class=
"normalBtn"
@
click=
"saveSCMAccount()"
>
保存
</button>
</div>
</el-dialog>
</div>
...
...
@@ -194,11 +194,12 @@
methods
:
{
//保存信息
saveSCMAccount
()
{
this
.
apipost
(
'scm_post_SetSCM
Hotel
Service'
,
this
.
addMsg
,
res
=>
{
this
.
apipost
(
'scm_post_SetSCM
Account
Service'
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
outerVisible
=
false
;
this
.
outerVisible
=
false
;
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
getList
()
this
.
getList
();
this
.
clearData
();
}
else
{
...
...
@@ -234,6 +235,28 @@
this
.
addMsg
=
res
.
data
.
data
;
}
},
err
=>
{})
},
//重置密码
resetPwd
(
id
)
{
var
that
=
this
;
this
.
Confirm
(
"是否要重置密码?"
,
function
()
{
var
msg
=
{
Id
:
id
};
that
.
apipost
(
"scm_post_ResetPwdService"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
'重置成功!'
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
data
);
}
},
null
);
});
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
...
...
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