Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bims
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
孙海亮
bims
Commits
1e4d0c11
Commit
1e4d0c11
authored
Mar 02, 2022
by
yanglilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
daed2143
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
2 deletions
+29
-2
index.html
public/index.html
+1
-1
pre-auth.js
src/api/apis_moudles/pre-auth.js
+1
-0
pre-auth.js
src/api/funcs_modules/pre-auth.js
+6
-0
add.vue
src/views/pre-auth/add.vue
+21
-1
No files found.
public/index.html
View file @
1e4d0c11
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<title><
%=
webpackConfig
.
name
%
></title>
<title><
%=
webpackConfig
.
name
%
></title>
<script
<script
type=
"text/javascript"
type=
"text/javascript"
src=
"//at.alicdn.com/t/font_3020450_
a9xwff5f4ug
.js"
src=
"//at.alicdn.com/t/font_3020450_
3jdbh13fsoi
.js"
></script>
></script>
</head>
</head>
<body>
<body>
...
...
src/api/apis_moudles/pre-auth.js
View file @
1e4d0c11
...
@@ -11,4 +11,5 @@ export default {
...
@@ -11,4 +11,5 @@ export default {
authorizeDelete
:
"
/backstage/auth/authorizeDelete
"
,
//预授权删除
authorizeDelete
:
"
/backstage/auth/authorizeDelete
"
,
//预授权删除
authorizeUseList
:
"
/backstage/auth/authorizeUseList
"
,
//预授权使用列表
authorizeUseList
:
"
/backstage/auth/authorizeUseList
"
,
//预授权使用列表
authorizeUseAdd
:
"
/backstage/auth/authorizeUseAdd
"
,
//新增预授权使用
authorizeUseAdd
:
"
/backstage/auth/authorizeUseAdd
"
,
//新增预授权使用
authorizeSendEmail
:
"
/backstage/auth/authorizeSendEmail
"
,
//预授权邮件
};
};
src/api/funcs_modules/pre-auth.js
View file @
1e4d0c11
...
@@ -52,6 +52,11 @@ const AUTHORIZEUSEADD = function (data) {
...
@@ -52,6 +52,11 @@ const AUTHORIZEUSEADD = function (data) {
return
req
.
post
(
apis
.
authorizeUseAdd
,
data
);
return
req
.
post
(
apis
.
authorizeUseAdd
,
data
);
};
};
//预授权邮件
const
AUTHORIZESENDEMAIL
=
function
(
data
)
{
return
req
.
post
(
apis
.
authorizeSendEmail
,
data
);
};
// 对象数组
// 对象数组
export
default
{
export
default
{
PATIENTLISTNOPAGE
,
PATIENTLISTNOPAGE
,
...
@@ -64,4 +69,5 @@ export default {
...
@@ -64,4 +69,5 @@ export default {
AUTHORIZEDELETE
,
AUTHORIZEDELETE
,
AUTHORIZEUSELIST
,
AUTHORIZEUSELIST
,
AUTHORIZEUSEADD
,
AUTHORIZEUSEADD
,
AUTHORIZESENDEMAIL
,
};
};
src/views/pre-auth/add.vue
View file @
1e4d0c11
...
@@ -156,6 +156,10 @@
...
@@ -156,6 +156,10 @@
<a-button
type=
"primary"
@
click=
"saveEvt"
:loading=
"loading"
>
<a-button
type=
"primary"
@
click=
"saveEvt"
:loading=
"loading"
>
<Icon
:name=
"id?'ssibaocun':'ssiadd'"
:size=
"14"
/>
{{
id
?
'
保存预授权
'
:
'
新建预授权
'
}}
<Icon
:name=
"id?'ssibaocun':'ssiadd'"
:size=
"14"
/>
{{
id
?
'
保存预授权
'
:
'
新建预授权
'
}}
</a-button>
</a-button>
<a-button
type=
"primary"
class=
"mar-left10"
v-if=
"id"
:loading=
"loading2"
@
click=
"sendEmailEvt"
>
<Icon
name=
"ssiemail"
:size=
"14"
/>
邮件发送
</a-button>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
</a-row>
</a-row>
...
@@ -175,6 +179,7 @@ export default{
...
@@ -175,6 +179,7 @@ export default{
this
.
getPatienList
=
debounce
(
this
.
getPatienList
,
800
);
this
.
getPatienList
=
debounce
(
this
.
getPatienList
,
800
);
return
{
return
{
loading
:
false
,
loading
:
false
,
loading2
:
false
,
MoneyUnitOptions
,
MoneyUnitOptions
,
ApplyStatusOptions
,
ApplyStatusOptions
,
id
:
''
,
//预授权id
id
:
''
,
//预授权id
...
@@ -436,6 +441,21 @@ export default{
...
@@ -436,6 +441,21 @@ export default{
this
.
$message
.
warning
(
res
.
returnMsg
);
this
.
$message
.
warning
(
res
.
returnMsg
);
}
}
})
})
},
//发送邮件
sendEmailEvt
(){
this
.
loading2
=
true
;
this
.
$apis
.
AUTHORIZESENDEMAIL
({
id
:
this
.
id
})
.
then
((
res
)
=>
{
this
.
loading2
=
false
;
if
(
res
.
returnCode
==
'
0000
'
){
this
.
$message
.
success
(
'
发送成功
'
);
}
else
{
this
.
$message
.
warning
(
res
.
returnMsg
);
}
})
}
}
}
}
}
}
...
...
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