Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
省
省二结算
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
任鸿志
省二结算
Commits
1a4989e8
Commit
1a4989e8
authored
Jul 11, 2025
by
任鸿志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(yibaomanager): 新增单边退款功能并更新相关接口
- 新增单边退款页面和相关 API 接口 - 更新环境变量中的 API 地址 - 在权限列表和路由中添加单边退款相关项
parent
944da45c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
179 additions
and
2 deletions
+179
-2
.env.development
.env.development
+1
-1
all.js
src/api/all.js
+2
-0
mz.js
src/api/mz.js
+15
-0
permission.js
src/permission.js
+1
-1
index.js
src/router/index.js
+15
-0
permission.js
src/store/modules/permission.js
+9
-0
unilateralRefund.vue
src/views/jiesuan/unilateralRefund.vue
+136
-0
No files found.
.env.development
View file @
1a4989e8
...
@@ -11,7 +11,7 @@ VUE_APP_BASE_API = ''
...
@@ -11,7 +11,7 @@ VUE_APP_BASE_API = ''
# VUE_APP_BASE_URL = 'http://10.10.40.69:9903'
# VUE_APP_BASE_URL = 'http://10.10.40.69:9903'
VUE_APP_BASE_URL_change = 'http://10.10.8.230:6200/fancy'
VUE_APP_BASE_URL_change = 'http://10.10.8.230:6200/fancy'
# VUE_APP_BASE_URL = 'http://127.0.0.1:9902'
# VUE_APP_BASE_URL = 'http://127.0.0.1:9902'
VUE_APP_BASE_URL = 'http://10.10.9.219:
99
02'
VUE_APP_BASE_URL = 'http://10.10.9.219:
88
02'
# VUE_APP_BASE_URL = 'http://10.10.9.219:9902'
# VUE_APP_BASE_URL = 'http://10.10.9.219:9902'
VUE_APP_BASE_URL_SFC = 'http://10.10.9.219:8802'
VUE_APP_BASE_URL_SFC = 'http://10.10.9.219:8802'
# VUE_APP_BASE_URL_SFC = 'http://127.0.0.1:9902'
# VUE_APP_BASE_URL_SFC = 'http://127.0.0.1:9902'
...
...
src/api/all.js
View file @
1a4989e8
...
@@ -213,6 +213,8 @@ export const api = {
...
@@ -213,6 +213,8 @@ export const api = {
basic
:
'
/api/dir/departments/basic
'
,
//获取科室信息
basic
:
'
/api/dir/departments/basic
'
,
//获取科室信息
},
},
mz
:{
mz
:{
destroy_yd_gz
:
'
api/dw/destroy_yd_gz/destroy
'
,
destroy_ewm_gz
:
'
api/dw/destroy_ewm_gz/destroy
'
,
jhsubmit
:
'
/api/plug_sign/submit
'
,
jhsubmit
:
'
/api/plug_sign/submit
'
,
pdxx
:
'
/api/patient/mz
'
,
pdxx
:
'
/api/patient/mz
'
,
mzxx
:
'
/api/dw/query_bassic_info
'
,
mzxx
:
'
/api/dw/query_bassic_info
'
,
...
...
src/api/mz.js
View file @
1a4989e8
...
@@ -237,4 +237,19 @@ export function selfFundedSettle (data) {
...
@@ -237,4 +237,19 @@ export function selfFundedSettle (data) {
method
:
'
DELETE
'
,
method
:
'
DELETE
'
,
params
:
data
params
:
data
})
})
}
export
function
destroy_yd_gz
(
data
)
{
return
request
({
url
:
Vue
.
prototype
.
$api
.
mz
.
destroy_yd_gz
,
method
:
'
post
'
,
params
:
data
})
}
export
function
destroy_ewm_gz
(
data
)
{
return
request
({
url
:
Vue
.
prototype
.
$api
.
mz
.
destroy_ewm_gz
,
method
:
'
post
'
,
params
:
data
})
}
}
\ No newline at end of file
src/permission.js
View file @
1a4989e8
...
@@ -7,7 +7,7 @@ import store from './store'
...
@@ -7,7 +7,7 @@ import store from './store'
import
Cookies
from
'
js-cookie
'
import
Cookies
from
'
js-cookie
'
NProgress
.
configure
({
showSpinner
:
false
})
NProgress
.
configure
({
showSpinner
:
false
})
const
whiteList
=
[
'
/login
'
,
'
/register
'
,
'
/401
'
,
'
/staff/profile
'
,
'
/yibaomanager/outpatient
'
,
'
/yibaomanager/outpatientTwo
'
,
'
/yibaomanager/outpatientTwoSFC
'
,
'
/yibaomanager/refound
'
,
'
/yibaomanager/refoundSFC
'
,
'
/yibaomanager/patientInfo
'
,
'
/yibaomanager/dwText
'
,
'
/yibaomanager/outpatientCharging
'
,
'
/yibaomanager/outpatientYfang
'
]
const
whiteList
=
[
'
/login
'
,
'
/register
'
,
'
/401
'
,
'
/staff/profile
'
,
'
/yibaomanager/outpatient
'
,
'
/yibaomanager/outpatientTwo
'
,
'
/yibaomanager/outpatientTwoSFC
'
,
'
/yibaomanager/refound
'
,
'
/yibaomanager/refoundSFC
'
,
'
/yibaomanager/patientInfo
'
,
'
/yibaomanager/dwText
'
,
'
/yibaomanager/outpatientCharging
'
,
'
/yibaomanager/outpatientYfang
'
,
'
/yibaomanager/unilateralRefund
'
]
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
NProgress
.
start
()
NProgress
.
start
()
var
reg
=
new
RegExp
(
'
(^|&)
'
+
'
token
'
+
'
=([^&]*)(&|$)
'
)
var
reg
=
new
RegExp
(
'
(^|&)
'
+
'
token
'
+
'
=([^&]*)(&|$)
'
)
...
...
src/router/index.js
View file @
1a4989e8
...
@@ -226,6 +226,21 @@ export const constantRoutes = [
...
@@ -226,6 +226,21 @@ export const constantRoutes = [
meta
:
{
title
:
"
查询患者余额
"
,
icon
:
"
user
"
}
meta
:
{
title
:
"
查询患者余额
"
,
icon
:
"
user
"
}
}
}
]
]
},
{
path
:
"
/yibaomanager
"
,
component
:
Layout
,
hidden
:
true
,
redirect
:
"
noredirect
"
,
children
:
[
{
path
:
"
unilateralRefund
"
,
component
:
resolve
=>
require
([
"
@/views/jiesuan/unilateralRefund
"
],
resolve
),
name
:
"
Profile
"
,
meta
:
{
title
:
"
单边退款
"
,
icon
:
"
user
"
}
}
]
},
},
{
{
path
:
"
/yibaomanager
"
,
path
:
"
/yibaomanager
"
,
...
...
src/store/modules/permission.js
View file @
1a4989e8
...
@@ -133,6 +133,15 @@ const permission = {
...
@@ -133,6 +133,15 @@ const permission = {
name
:
"
Refund_1
"
,
name
:
"
Refund_1
"
,
path
:
"
/yibaomanager
"
,
path
:
"
/yibaomanager
"
,
type
:
1
,
type
:
1
,
},
{
alwaysShow
:
false
,
children
:
[{
path
:
"
unilateralRefund
"
,
component
:
"
jiesuan/unilateralRefund
"
,
type
:
2
,
name
:
"
Refund
"
,
meta
:
{
title
:
"
单边退款
"
,
icon
:
"
el-icon-monitor
"
}
}],
component
:
"
Layout
"
,
meta
:
{
title
:
"
单边退款
"
,
icon
:
"
el-icon-monitor
"
},
name
:
"
Refund_1
"
,
path
:
"
/yibaomanager
"
,
type
:
1
,
},
},
{
{
alwaysShow
:
false
,
alwaysShow
:
false
,
...
...
src/views/jiesuan/unilateralRefund.vue
0 → 100644
View file @
1a4989e8
<
template
>
<div
class=
"app-container"
v-loading=
"allLoading"
>
<el-card
class=
"userInfo_box"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"异地个账撤销"
name=
"1"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"100px"
>
<el-form-item
label=
"地纬账号"
>
<el-input
v-model=
"form.dw_user"
></el-input>
</el-form-item>
<el-form-item
label=
"订单号"
>
<el-input
v-model=
"form.order_id"
></el-input>
</el-form-item>
<el-form-item
label=
"社保机构编号"
>
<el-input
v-model=
"form.social_code"
></el-input>
</el-form-item>
<el-form-item
label=
"身份证号"
>
<el-input
v-model=
"form.id_card"
></el-input>
</el-form-item>
<el-form-item
label=
"退款金额"
>
<el-input
v-model=
"form.refund_money"
></el-input>
</el-form-item>
<el-form-item
label=
"姓名"
>
<el-input
v-model=
"form.name"
></el-input>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
确定
</el-button>
<el-button>
取消
</el-button>
</el-form-item>
</el-form>
</el-tab-pane>
<el-tab-pane
label=
"二维码个账撤销"
name=
"2"
>
<el-form
ref=
"formEWM"
:model=
"formEWM"
label-width=
"100px"
>
<el-form-item
label=
"地纬账号"
>
<el-input
v-model=
"formEWM.dw_user"
></el-input>
</el-form-item>
<el-form-item
label=
"二维码"
>
<el-input
v-model=
"formEWM.ewm"
></el-input>
</el-form-item>
<el-form-item
label=
"结算号ID"
>
<el-input
v-model=
"formEWM.jsh_id"
></el-input>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmitEWM"
>
确定
</el-button>
<el-button>
取消
</el-button>
</el-form-item>
</el-form>
</el-tab-pane>
</el-tabs>
</el-card>
<!-- 读卡弹窗 -->
</div>
</
template
>
<
script
>
import
{
destroy_ewm_gz
,
destroy_yd_gz
}
from
'
@/api/mz
'
export
default
{
name
:
'
Outpatient
'
,
components
:
{
},
data
()
{
return
{
allLoading
:
false
,
activeName
:
'
1
'
,
form
:
{
name
:
''
,
refund_money
:
''
,
id_card
:
''
,
social_code
:
''
,
order_id
:
''
,
dw_user
:
''
,
},
formEWM
:
{
jsh_id
:
''
,
ewm
:
''
,
dw_user
:
''
,
},
}
},
mounted
()
{},
created
()
{},
methods
:
{
handleClick
(
tab
,
event
)
{
console
.
log
(
tab
,
event
)
},
onSubmit
()
{
this
.
allLoading
=
true
destroy_yd_gz
(
this
.
form
)
.
then
(
response
=>
{
this
.
$message
({
message
:
'
成功撤销!
'
,
type
:
'
success
'
,
})
})
.
catch
(
e
=>
{
this
.
$message
({
message
:
e
.
message
,
type
:
'
error
'
,
})
})
.
finally
(()
=>
{
this
.
allLoading
=
false
})
console
.
log
(
'
submit!
'
)
},
onSubmitEWM
()
{
this
.
allLoading
=
true
destroy_ewm_gz
(
this
.
formEWM
)
.
then
(
response
=>
{
this
.
$message
({
message
:
'
成功撤销!
'
,
type
:
'
success
'
,
})
})
.
catch
(
e
=>
{
this
.
$message
({
message
:
e
.
message
,
type
:
'
error
'
,
})
})
.
finally
(()
=>
{
this
.
allLoading
=
false
})
console
.
log
(
'
submit!
'
)
},
},
}
</
script
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
></
style
>
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