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
765db1c4
Commit
765db1c4
authored
Feb 23, 2022
by
yanglilong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'yanglilong' of git.ssish.com:sunhailiang/bims into test
parents
ffe58fce
177ba1e5
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
556 additions
and
238 deletions
+556
-238
info.js
src/api/apis_moudles/info.js
+6
-0
info.js
src/api/funcs_modules/info.js
+23
-1
index.js
src/components/Antd/index.js
+2
-0
companyInfo.vue
src/views/info/components/companyInfo.vue
+0
-5
infoDoctor.vue
src/views/info/components/infoDoctor.vue
+248
-0
infoSpecial.vue
src/views/info/components/infoSpecial.vue
+192
-0
index.vue
src/views/info/index.vue
+28
-224
collectionDetail.vue
src/views/verification/collectionDetail.vue
+5
-5
indexDetail.vue
src/views/verification/indexDetail.vue
+52
-3
No files found.
src/api/apis_moudles/info.js
View file @
765db1c4
...
...
@@ -19,4 +19,10 @@ export default {
payorAddDiscount
:
"
/backstage/auth/payorAddDiscount
"
,
//新增折扣信息
payorAddDiscountBenefit
:
"
/backstage/auth/payorAddDiscountBenefit
"
,
//编辑折扣信息
payorDiscountDelete
:
"
/backstage/auth/payorDiscountDelete
"
,
//删除折扣信息
/*-------------科室信息-----------------*/
specialtyCreate
:
"
/backstage/auth/specialtyCreate
"
,
//新增科室
specialtyUpdate
:
"
/backstage/auth/specialtyUpdate
"
,
//修改科室
specialtyListPage
:
"
/backstage/auth/specialtyListPage
"
,
//科室列表
specialtyDelete
:
"
/backstage/auth/specialtyDelete
"
,
//科室删除
};
src/api/funcs_modules/info.js
View file @
765db1c4
...
...
@@ -72,6 +72,24 @@ const PAYORDISCOUNTDELETE = (data) => {
return
req
.
post
(
apis
.
payorDiscountDelete
,
data
);
};
/*-------------科室信息-----------------*/
//创建科室
const
SPECIALTYCREATE
=
(
data
)
=>
{
return
req
.
post
(
apis
.
specialtyCreate
,
data
);
};
//修改科室
const
SPECIALTYUPDATE
=
(
data
)
=>
{
return
req
.
post
(
apis
.
specialtyUpdate
,
data
);
};
//科室列表
const
SPECIALTYLISTPAGE
=
(
data
)
=>
{
return
req
.
post
(
apis
.
specialtyListPage
,
data
);
};
//科室删除
const
SPECIALTYDELETE
=
(
data
)
=>
{
return
req
.
post
(
apis
.
specialtyDelete
,
data
);
};
// 对象数组
export
default
{
PROVIDERDETAIL
,
...
...
@@ -87,5 +105,9 @@ export default {
PAYORDELETE
,
PAYORADDDISCOUNT
,
PAYORADDDISCOUNTBENEFIT
,
PAYORDISCOUNTDELETE
PAYORDISCOUNTDELETE
,
SPECIALTYCREATE
,
SPECIALTYUPDATE
,
SPECIALTYLISTPAGE
,
SPECIALTYDELETE
};
src/components/Antd/index.js
View file @
765db1c4
...
...
@@ -21,6 +21,7 @@ import {
modal
,
Spin
,
Collapse
,
Tabs
}
from
"
ant-design-vue
"
;
export
default
()
=>
{
...
...
@@ -46,6 +47,7 @@ export default () => {
modal
,
Spin
,
Collapse
,
Tabs
];
// 注册
els
.
forEach
((
item
)
=>
{
...
...
src/views/info/components/companyInfo.vue
View file @
765db1c4
...
...
@@ -13,11 +13,6 @@
<a-input
v-model=
"detailObj.englishName"
placeholder=
"保险公司英文名称"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"保险公司Code"
>
<a-input
v-model=
"detailObj.payorCode"
placeholder=
"保险公司Code"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"国家"
>
<a-select
v-model=
"detailObj.country"
placeholder=
"请选择"
showSearch
>
...
...
src/views/info/components/infoDoctor.vue
0 → 100644
View file @
765db1c4
<
template
>
<div
class=
"info-doctor"
>
<a-table
:columns=
"columns"
:data-source=
"dataList"
:scroll=
"
{ x: 'max-content' }" :pagination="false">
<template
slot=
"specialtyList"
slot-scope=
"text, record"
>
<span>
{{
filterSpecialty
(
record
.
specialtyList
)
}}
</span>
</
template
>
<
template
slot=
"operation"
slot-scope=
"text, record, index"
>
<a-button
type=
"link"
@
click.stop=
"editEvt(record)"
>
修改
</a-button>
<a-button
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button>
</
template
>
</a-table>
<!--分页-->
<BurtPagination
:pagination=
"pagination"
@
pageChange=
"getDoctorList"
/>
<a-modal
title=
"编辑"
:visible=
"dialogShow"
width=
"60%"
:maskClosable=
"false"
okText=
"确定"
cancelText=
"取消"
@
ok=
"handleEditOK"
@
cancel=
"dialogShow = false"
>
<a-form-model
ref=
"editForm"
:model=
"editFormObj"
:rules=
"editRules"
>
<a-row
:gutter=
"30"
>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"工号"
prop=
"doctorCode"
>
<a-input
type=
"number"
:min=
"0"
v-model.trim=
"editFormObj.doctorCode"
placeholder=
"工号"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"医生姓名"
prop=
"doctorDesc"
>
<a-input
v-model.trim=
"editFormObj.doctorDesc"
placeholder=
"医生姓名"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"医生英文名"
prop=
"doctorDescLang1"
>
<a-input
v-model.trim=
"editFormObj.doctorDescLang1"
placeholder=
"医生英文名"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"国家"
prop=
"country"
>
<a-select
v-model=
"editFormObj.country"
placeholder=
"请选择"
showSearch
allowClear
>
<a-select-option
v-for=
"(item) in countyList"
:value=
"item.descCh"
:key=
"item.id"
>
{{item.descCh}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"语言"
prop=
"language"
>
<a-select
v-model=
"editFormObj.language"
placeholder=
"请选择"
showSearch
allowClear
>
<a-select-option
v-for=
"(item) in languageList"
:value=
"item.descCh"
:key=
"item.id"
>
{{item.descCh}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"科室"
prop=
"specialtyList"
>
<a-select
v-model=
"editFormObj.specialtyList"
placeholder=
"请选择"
mode=
"multiple"
showSearch
allowClear
>
<a-select-option
:value=
"item.id"
v-for=
"item in specialtyList"
:key=
"item.id"
>
{{ item.specialtyDesc }}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</a-modal>
</div>
</template>
<
script
>
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
const
columns
=
[
{
title
:
"
序号
"
,
dataIndex
:
"
id
"
,
ellipsis
:
true
,
width
:
150
},
{
title
:
"
工号
"
,
dataIndex
:
"
doctorCode
"
,
ellipsis
:
true
,
width
:
95
},
{
title
:
"
医生姓名
"
,
dataIndex
:
"
doctorDesc
"
,
ellipsis
:
true
,
width
:
125
},
{
title
:
"
医生英文名
"
,
dataIndex
:
"
doctorDescLang1
"
,
ellipsis
:
true
,
width
:
135
,},
{
title
:
"
科室
"
,
dataIndex
:
"
specialtyList
"
,
ellipsis
:
true
,
scopedSlots
:
{
customRender
:
"
specialtyList
"
},
width
:
155
,},
{
title
:
"
国籍
"
,
dataIndex
:
"
country
"
,
ellipsis
:
true
,
width
:
110
,
},
{
title
:
"
语言
"
,
dataIndex
:
"
language
"
,
ellipsis
:
true
,
width
:
120
},
{
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
200px
"
,
align
:
"
center
"
,
},
];
export
default
{
props
:
{
detailObj
:
{
default
:
{}
}
},
data
(){
return
{
dialogShow
:
false
,
columns
,
dataList
:
[],
pagination
:
{
pageNum
:
1
,
pageSize
:
10
,
total
:
0
,
},
specialtyList
:
[],
//科室列表
specialtyObj
:
{},
//科室对象
countyList
:
[],
languageList
:
[],
editFormObj
:
{
id
:
""
,
doctorCode
:
''
,
doctorDesc
:
''
,
doctorDescLang1
:
''
,
country
:
''
,
language
:
''
,
specialtyList
:
[],
},
editRules
:
{
specialtyList
:
[
{
required
:
true
,
message
:
"
请选择
"
,
trigger
:
"
change
"
},
],
},
}
},
components
:
{
BurtPagination
,
},
async
created
()
{
this
.
getSpecialtyList
();
this
.
getDoctorList
();
this
.
getRefcdByRefgrp
();
},
methods
:
{
filterSpecialty
(
val
)
{
let
txt
=
(
val
||
[]).
map
((
item
)
=>
{
return
this
.
specialtyObj
[
item
]
||
""
;
});
return
txt
.
join
(
"
,
"
);
},
//获取科室
getSpecialtyList
()
{
this
.
$apis
.
GETSPECIALTYLIST
().
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
specialtyList
=
res
.
content
||
[];
(
res
.
content
||
[]).
forEach
((
item
)
=>
{
this
.
specialtyObj
[
item
.
id
]
=
item
.
specialtyDesc
;
});
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
getRefcdByRefgrp
()
{
// 获取国家列表
this
.
$apis
.
GETREFCDBYREFGRP
({
modid
:
"
CI
"
,
refgrp
:
"
COUNTRY_MAPPING
"
}).
then
((
res
)
=>
{
this
.
countyList
=
res
.
content
||
[];
});
// 获取语言列表
this
.
$apis
.
GETREFCDBYREFGRP
({
modid
:
"
CI
"
,
refgrp
:
"
LANGUAGE_TYPE
"
}).
then
((
res
)
=>
{
this
.
languageList
=
res
.
content
||
[];
});
},
//获取医生列表
getDoctorList
()
{
this
.
$apis
.
DOCTORLIST
({
providerId
:
this
.
detailObj
.
id
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
let
content
=
res
.
content
||
{};
this
.
pagination
.
total
=
content
.
total
||
0
;
this
.
dataList
=
(
content
.
list
||
[]).
map
((
item
)
=>
{
let
specialtyList
=
(
item
.
specialtyList
||
[]).
map
(
(
innerItem
)
=>
{
return
innerItem
.
specialtyId
;
}
);
return
{
...
item
,
specialtyList
:
specialtyList
||
[],
};
});
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
editEvt
(
record
)
{
this
.
editFormObj
=
{
id
:
record
.
id
||
""
,
doctorCode
:
record
.
doctorCode
||
""
,
doctorDesc
:
record
.
doctorDesc
||
""
,
doctorDescLang1
:
record
.
doctorDescLang1
||
""
,
country
:
record
.
country
||
""
,
language
:
record
.
language
||
""
,
specialtyList
:
record
.
specialtyList
||
[],
};
this
.
dialogShow
=
true
;
},
//编辑保存
handleEditOK
()
{
this
.
$refs
.
editForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$apis
.
DOCTORUPDATE
({
...
this
.
editFormObj
,
specialtyList
:
this
.
editFormObj
.
specialtyList
.
map
((
item
)
=>
{
return
{
specialtyId
:
item
,
};
}),
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
编辑成功
"
);
this
.
dialogShow
=
false
;
this
.
getDoctorList
();
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
}
});
},
//删除医生
delRecord
(
index
)
{
this
.
$modal
.
confirm
({
title
:
"
删除
"
,
content
:
"
确定删除该条记录?
"
,
okText
:
"
确定
"
,
cancelText
:
"
取消
"
,
onOk
:
()
=>
{
this
.
$apis
.
DOCTORDELETE
({
id
:
this
.
dataList
[
index
].
id
,
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
删除成功
"
);
this
.
dataList
.
splice
(
index
,
1
);
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
});
},
}
}
</
script
>
<
style
lang=
"less"
scoped
>
</
style
>
\ No newline at end of file
src/views/info/components/infoSpecial.vue
0 → 100644
View file @
765db1c4
<
template
>
<div
class=
"info-special"
>
<div
class=
"btn-div"
>
<a-button
type=
"primary"
@
click=
"addNewEvt(
{})">
<Icon
name=
"ssiadd"
:size=
"14"
/>
新建科室
</a-button>
</div>
<a-table
:columns=
"columns"
:data-source=
"dataList"
:scroll=
"
{ x: 'max-content' }" :pagination="false">
<template
slot=
"coverageMasterList"
slot-scope=
"text"
>
<span>
{{
filterCoverage
(
text
)
}}
</span>
</
template
>
<
template
slot=
"operation"
slot-scope=
"text, record, index"
>
<a-button
type=
"link"
@
click.stop=
"addNewEvt(record)"
>
修改
</a-button>
<a-button
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button>
</
template
>
</a-table>
<!--分页-->
<BurtPagination
:pagination=
"pagination"
/>
<a-modal
:title=
"editFormObj.id?'编辑':'新建'"
:visible=
"dialogShow"
width=
"700px"
:maskClosable=
"false"
okText=
"确定"
cancelText=
"取消"
@
ok=
"handleEditOK"
@
cancel=
"dialogShow = false"
>
<a-form-model
ref=
"editForm"
:model=
"editFormObj"
:rules=
"editRules"
>
<a-row
:gutter=
"30"
>
<a-col
:lg=
"12"
:xs=
"24"
>
<a-form-model-item
label=
"科室名称"
prop=
"specialtyDesc"
>
<a-input
v-model.trim=
"editFormObj.specialtyDesc"
placeholder=
"科室名称"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:xs=
"24"
>
<a-form-model-item
label=
"科室编号"
prop=
"specialtyCode"
>
<a-input
v-model.trim=
"editFormObj.specialtyCode"
placeholder=
"科室编号"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"责任列表"
prop=
"coverageCode"
>
<a-select
v-model=
"editFormObj.coverageCode"
placeholder=
"请选择责任"
search
allowClear
mode=
"multiple"
>
<a-select-option
v-for=
"item in coverageCode"
:key=
"item.coverageCode"
:vlaue=
"item.coverageCode"
>
{{ item.coverageDesc }}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</a-modal>
</div>
</template>
<
script
>
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
const
columns
=
[
{
title
:
"
序号
"
,
dataIndex
:
"
id
"
,
ellipsis
:
true
,
width
:
150
},
{
title
:
"
科室名称
"
,
dataIndex
:
"
specialtyDesc
"
,
ellipsis
:
true
,
width
:
150
},
{
title
:
"
科室编号
"
,
dataIndex
:
"
specialtyCode
"
,
ellipsis
:
true
,
width
:
150
},
{
title
:
"
责任
"
,
dataIndex
:
"
coverageMasterList
"
,
ellipsis
:
true
,
scopedSlots
:
{
customRender
:
"
coverageMasterList
"
},
width
:
155
,},
{
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
200px
"
,
align
:
"
center
"
,
},
];
export
default
{
data
(){
return
{
dialogShow
:
false
,
columns
,
dataList
:
[],
pagination
:
{
pageNum
:
1
,
pageSize
:
10
,
total
:
0
,
},
coverageCode
:
[],
//责任列表
editFormObj
:
{
id
:
''
,
specialtyDesc
:
''
,
specialtyCode
:
''
,
coverageCode
:
[]
},
editRules
:
{
specialtyDesc
:
[{
required
:
true
,
message
:
"
请输入科室名称
"
,
trigger
:
"
blur
"
},
],
specialtyCode
:
[{
required
:
true
,
message
:
"
请输入科室编号
"
,
trigger
:
"
blur
"
},
],
coverageCode
:
[{
required
:
true
,
message
:
"
请选择
"
,
trigger
:
"
change
"
},
],
}
}
},
components
:
{
BurtPagination
},
created
(){
this
.
getData
()
this
.
getCoverageCode
();
},
methods
:
{
filterCoverage
(
val
)
{
let
txt
=
(
val
||
[]).
map
((
item
)
=>
{
return
item
.
coverageDesc
||
""
;
});
return
txt
.
join
(
"
,
"
);
},
getData
(){
this
.
$apis
.
SPECIALTYLISTPAGE
({
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
let
content
=
res
.
content
||
{};
this
.
pagination
.
total
=
content
.
total
||
0
;
this
.
dataList
=
(
content
.
list
||
[]).
map
((
item
)
=>
{
let
coverageCode
=
(
item
.
coverageMasterList
||
[]).
map
(
item
=>
item
.
coverageCode
);
return
{
...
item
,
coverageCode
};
});
console
.
log
(
this
.
dataList
,
111
)
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
//获取责任列表
getCoverageCode
()
{
this
.
$apis
.
GETCOVERAGECODE
().
then
((
res
)
=>
{
this
.
coverageCode
=
res
.
content
||
[];
});
},
addNewEvt
(
record
){
this
.
dialogShow
=
true
;
this
.
$nextTick
(()
=>
{
this
.
$refs
.
editForm
.
resetFields
();
this
.
editFormObj
=
{
id
:
record
.
id
||
""
,
specialtyDesc
:
record
.
specialtyDesc
||
""
,
specialtyCode
:
record
.
specialtyCode
||
""
,
coverageCode
:
record
.
coverageCode
||
[],
};
})
},
//新建/编辑
handleEditOK
()
{
this
.
$refs
.
editForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
let
api
=
this
.
editFormObj
.
id
?
'
SPECIALTYUPDATE
'
:
'
SPECIALTYCREATE
'
;
this
.
$apis
[
api
]({
...
this
.
editFormObj
,
coverageMasterList
:
this
.
editFormObj
.
coverageCode
.
map
(
item
=>
{
return
{
coverageCode
:
item
}
})
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
this
.
editFormObj
.
id
?
"
编辑成功
"
:
'
新建成功
'
);
this
.
dialogShow
=
false
;
this
.
getData
();
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
}
});
},
//删除科室
delRecord
(
index
)
{
this
.
$modal
.
confirm
({
title
:
"
删除
"
,
content
:
"
确定删除该条记录?
"
,
okText
:
"
确定
"
,
cancelText
:
"
取消
"
,
onOk
:
()
=>
{
this
.
$apis
.
SPECIALTYDELETE
({
id
:
this
.
dataList
[
index
].
id
,
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
删除成功
"
);
this
.
dataList
.
splice
(
index
,
1
);
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
});
},
}
}
</
script
>
<
style
lang=
"less"
scoped
>
.btn-div{
margin-bottom: 10px;
}
</
style
>
\ No newline at end of file
src/views/info/index.vue
View file @
765db1c4
<
template
>
<div
class=
"white_bg burt-container"
>
<div
class=
"title-div"
>
申请日期
</div>
<a-form-model
ref=
"form"
layout=
"vertical"
:model=
"detailObj"
:rules=
"formRules"
>
<a-row
:gutter=
"30"
>
<a-col
:lg=
"8"
:sm=
"12"
>
...
...
@@ -98,163 +97,55 @@
<a-button
type=
"primary"
>
上传价目表文件
</a-button>
</a-upload>
</div>
-->
<div
class=
"title-div"
>
医生信息
</div>
<a-table
:columns=
"columns"
:data-source=
"dataList"
:scroll=
"
{ x: 'max-content' }" :pagination="false">
<template
slot=
"specialtyList"
slot-scope=
"text, record"
>
<span>
{{
filterSpecialty
(
record
.
specialtyList
)
}}
</span>
</
template
>
<
template
slot=
"operation"
slot-scope=
"text, record, index"
>
<a-button
type=
"link"
@
click.stop=
"editEvt(record)"
>
修改
</a-button>
<a-button
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button>
</
template
>
</a-table>
<!--分页-->
<BurtPagination
:pagination=
"pagination"
@
pageChange=
"getDoctorList"
/>
<a-modal
title=
"编辑"
:visible=
"dialogShow"
width=
"60%"
:maskClosable=
"false"
okText=
"确定"
cancelText=
"取消"
@
ok=
"handleEditOK"
@
cancel=
"dialogShow = false"
>
<a-form-model
ref=
"editForm"
:model=
"editFormObj"
:rules=
"editRules"
>
<a-row
:gutter=
"30"
>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"工号"
prop=
"doctorCode"
>
<a-input
type=
"number"
:min=
"0"
v-model.trim=
"editFormObj.doctorCode"
placeholder=
"工号"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"医生姓名"
prop=
"doctorDesc"
>
<a-input
v-model.trim=
"editFormObj.doctorDesc"
placeholder=
"医生姓名"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"医生英文名"
prop=
"doctorDescLang1"
>
<a-input
v-model.trim=
"editFormObj.doctorDescLang1"
placeholder=
"医生英文名"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"国家"
prop=
"country"
>
<a-select
v-model=
"editFormObj.country"
placeholder=
"请选择"
showSearch
allowClear
>
<a-select-option
v-for=
"(item) in countyList"
:value=
"item.descCh"
:key=
"item.id"
>
{{item.descCh}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"语言"
prop=
"language"
>
<a-select
v-model=
"editFormObj.language"
placeholder=
"请选择"
showSearch
allowClear
>
<a-select-option
v-for=
"(item) in languageList"
:value=
"item.descCh"
:key=
"item.id"
>
{{item.descCh}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"科室"
prop=
"specialtyList"
>
<a-select
v-model=
"editFormObj.specialtyList"
placeholder=
"请选择"
mode=
"multiple"
showSearch
allowClear
>
<a-select-option
:value=
"item.id"
v-for=
"item in specialtyList"
:key=
"item.id"
>
{{ item.specialtyDesc }}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</a-modal>
<a-tabs
type=
"card"
v-model=
"activeKey"
@
change=
"paneChange"
>
<a-tab-pane
v-for=
"pane in panes"
:key=
"pane.key"
:tab=
"pane.title"
>
<component
v-if=
"detailObj.id && pane.show"
:detailObj=
"detailObj"
:is=
"pane.content"
></component>
</a-tab-pane>
</a-tabs>
</div>
</
template
>
<
script
>
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
const
columns
=
[
{
title
:
"
序号
"
,
dataIndex
:
"
id
"
,
ellipsis
:
true
,
width
:
150
},
{
title
:
"
工号
"
,
dataIndex
:
"
doctorCode
"
,
ellipsis
:
true
,
width
:
95
},
{
title
:
"
医生姓名
"
,
dataIndex
:
"
doctorDesc
"
,
ellipsis
:
true
,
width
:
125
},
{
title
:
"
医生英文名
"
,
dataIndex
:
"
doctorDescLang1
"
,
ellipsis
:
true
,
width
:
135
,},
{
title
:
"
科室
"
,
dataIndex
:
"
specialtyList
"
,
ellipsis
:
true
,
scopedSlots
:
{
customRender
:
"
specialtyList
"
},
width
:
155
,},
{
title
:
"
国籍
"
,
dataIndex
:
"
country
"
,
ellipsis
:
true
,
width
:
110
,
},
{
title
:
"
语言
"
,
dataIndex
:
"
language
"
,
ellipsis
:
true
,
width
:
120
},
{
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
200px
"
,
align
:
"
center
"
,
},
];
import
InfoDoctor
from
'
./components/infoDoctor
'
;
import
InfoSpecial
from
'
./components/infoSpecial
'
;
export
default
{
data
()
{
return
{
dialogShow
:
false
,
columns
,
dataList
:
[],
detailObj
:
{},
//详细信息
pagination
:
{
pageNum
:
1
,
pageSize
:
10
,
total
:
0
,
},
specialtyList
:
[],
//科室列表
specialtyObj
:
{},
//科室对象
countyList
:
[],
languageList
:
[],
formRules
:
{
longName
:
[{
required
:
true
,
message
:
"
请输入医疗机构名称
"
,
trigger
:
"
blur
"
}],
englishName
:
[{
required
:
true
,
message
:
"
请输入医疗机构英文名
"
,
trigger
:
"
blur
"
}],
telNo1
:
[{
required
:
true
,
message
:
"
请输入联系电话
"
,
trigger
:
"
blur
"
}],
address
:
[{
required
:
true
,
message
:
"
请输入诊所地址(中文)
"
,
trigger
:
"
blur
"
}]
},
editFormObj
:
{
id
:
""
,
doctorCode
:
''
,
doctorDesc
:
''
,
doctorDescLang1
:
'
'
,
country
:
'
'
,
language
:
''
,
specialtyList
:
[],
}
,
editRules
:
{
specialtyList
:
[
{
required
:
true
,
message
:
"
请选择
"
,
trigger
:
"
change
"
},
]
,
},
activeKey
:
'
0
'
,
panes
:
[
{
title
:
"
医生信息
"
,
key
:
'
0
'
,
content
:
'
InfoDoctor
'
,
show
:
true
},{
title
:
"
科室管理
"
,
key
:
'
1
'
,
content
:
'
InfoSpecial
'
,
show
:
false
}
,
]
};
},
components
:
{
BurtPagination
,
InfoDoctor
,
InfoSpecial
},
async
created
()
{
this
.
getSpecialtyList
();
await
this
.
getDetail
();
this
.
getDoctorList
();
this
.
getRefcdByRefgrp
();
this
.
getDetail
();
},
methods
:
{
filterSpecialty
(
val
)
{
let
txt
=
(
val
||
[]).
map
((
item
)
=>
{
return
this
.
specialtyObj
[
item
]
||
""
;
});
return
txt
.
join
(
"
,
"
);
},
handlerSearch
()
{
this
.
pagination
.
pageNum
=
1
;
this
.
getData
();
},
getRefcdByRefgrp
()
{
// 获取国家列表
this
.
$apis
.
GETREFCDBYREFGRP
({
modid
:
"
CI
"
,
refgrp
:
"
COUNTRY_MAPPING
"
}).
then
((
res
)
=>
{
this
.
countyList
=
res
.
content
||
[];
});
// 获取语言列表
this
.
$apis
.
GETREFCDBYREFGRP
({
modid
:
"
CI
"
,
refgrp
:
"
LANGUAGE_TYPE
"
}).
then
((
res
)
=>
{
this
.
languageList
=
res
.
content
||
[];
});
},
//获取科室
getSpecialtyList
()
{
this
.
$apis
.
GETSPECIALTYLIST
().
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
specialtyList
=
res
.
content
||
[];
(
res
.
content
||
[]).
forEach
((
item
)
=>
{
this
.
specialtyObj
[
item
.
id
]
=
item
.
specialtyDesc
;
});
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
paneChange
(){
this
.
panes
.
forEach
((
item
)
=>
{
item
.
show
=
false
;
});
this
.
panes
[
Number
(
this
.
activeKey
)].
show
=
true
;
},
//获取详细信息
getDetail
()
{
...
...
@@ -270,34 +161,6 @@ export default {
});
});
},
//获取医生列表
getDoctorList
()
{
this
.
$apis
.
DOCTORLIST
({
providerId
:
this
.
detailObj
.
id
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
let
content
=
res
.
content
||
{};
this
.
pagination
.
total
=
content
.
total
||
0
;
this
.
dataList
=
(
content
.
list
||
[]).
map
((
item
)
=>
{
let
specialtyList
=
(
item
.
specialtyList
||
[]).
map
(
(
innerItem
)
=>
{
return
innerItem
.
specialtyId
;
}
);
return
{
...
item
,
specialtyList
:
specialtyList
||
[],
};
});
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
//保存
saveEvt
(){
this
.
$refs
.
form
.
validate
((
valid
)
=>
{
...
...
@@ -313,66 +176,7 @@ export default {
}
});
},
editEvt
(
record
)
{
this
.
editFormObj
=
{
id
:
record
.
id
||
""
,
doctorCode
:
record
.
doctorCode
||
""
,
doctorDesc
:
record
.
doctorDesc
||
""
,
doctorDescLang1
:
record
.
doctorDescLang1
||
""
,
country
:
record
.
country
||
""
,
language
:
record
.
language
||
""
,
specialtyList
:
record
.
specialtyList
||
[],
};
this
.
dialogShow
=
true
;
},
//编辑保存
handleEditOK
()
{
this
.
$refs
.
editForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$apis
.
DOCTORUPDATE
({
...
this
.
editFormObj
,
specialtyList
:
this
.
editFormObj
.
specialtyList
.
map
((
item
)
=>
{
return
{
specialtyId
:
item
,
};
}),
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
编辑成功
"
);
this
.
dialogShow
=
false
;
this
.
getDoctorList
();
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
}
});
},
//删除医生
delRecord
(
index
)
{
this
.
$modal
.
confirm
({
title
:
"
删除
"
,
content
:
"
确定删除该条记录?
"
,
okText
:
"
确定
"
,
cancelText
:
"
取消
"
,
onOk
:
()
=>
{
this
.
$apis
.
DOCTORDELETE
({
id
:
this
.
dataList
[
index
].
id
,
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
删除成功
"
);
this
.
dataList
.
splice
(
index
,
1
);
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
});
},
},
};
</
script
>
...
...
src/views/verification/collectionDetail.vue
View file @
765db1c4
...
...
@@ -84,18 +84,18 @@
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"
eob
核销时间"
prop=
"eobBackDate"
>
<a-form-model-item
label=
"
EOB
核销时间"
prop=
"eobBackDate"
>
<a-date-picker
format=
"YYYY年MM月DD日"
v-model=
"editFormObj.eobBackDate"
placeholder=
"选择日期"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:xs=
"24"
>
<a-form-model-item
label=
"
eob
回款(人民币)"
prop=
"eobBackMoneyCny"
>
<a-input
v-model.trim=
"editFormObj.eobBackMoneyCny"
placeholder=
"
eob
回款(人民币)"
/>
<a-form-model-item
label=
"
EOB
回款(人民币)"
prop=
"eobBackMoneyCny"
>
<a-input
v-model.trim=
"editFormObj.eobBackMoneyCny"
placeholder=
"
EOB
回款(人民币)"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:xs=
"24"
>
<a-form-model-item
label=
"
eob
回款(美元)"
prop=
"eobBackMoneyUsd"
>
<a-input
v-model.trim=
"editFormObj.eobBackMoneyUsd"
placeholder=
"
eob
回款(美元)"
/>
<a-form-model-item
label=
"
EOB
回款(美元)"
prop=
"eobBackMoneyUsd"
>
<a-input
v-model.trim=
"editFormObj.eobBackMoneyUsd"
placeholder=
"
EOB
回款(美元)"
/>
</a-form-model-item>
</a-col>
</a-row>
...
...
src/views/verification/indexDetail.vue
View file @
765db1c4
...
...
@@ -46,7 +46,17 @@
<a-input
v-model=
"form.eobRemark"
placeholder=
"请输入备注"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
class=
"none-label"
>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"EOB文件"
>
<a-upload
name=
"file"
:multiple=
"false"
:showUploadList=
"true"
:fileList=
"form.eobFile"
:customRequest=
"uploadEvt"
:remove=
"removeFile"
>
<a-button
type=
"primary"
>
<Icon
name=
"ssiupload"
:size=
"18"
/>
上传EOB文件
</a-button>
</a-upload>
</a-form-model-item>
</a-col>
<a-col
:lg=
"24"
:sm=
"24"
class=
"none-label"
>
<a-form-model-item
label=
"button"
>
<!--
<a-button
type=
"primary"
>
导出
</a-button>
-->
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"addNewEvt"
>
...
...
@@ -151,7 +161,8 @@ export default {
eobAmountCny
:
''
,
eobAmountUsd
:
''
,
eobSts
:
''
,
eobRemark
:
''
eobRemark
:
''
,
eobFile
:
[]
},
dataList
:
[],
isEditNewEob
:
false
,
//是否在新建EOB
...
...
@@ -182,7 +193,20 @@ export default {
this
.
_getCompanyOptions
();
if
(
this
.
eobNo
){
let
EobDataDetail
=
localStorage
.
getItem
(
'
EobDataDetail
'
);
this
.
form
=
EobDataDetail
?
JSON
.
parse
(
EobDataDetail
):
{};
let
dataDetail
=
EobDataDetail
?
JSON
.
parse
(
EobDataDetail
):
{};
if
(
dataDetail
.
eobFile
){
dataDetail
.
eobFile
=
[
{
uid
:
Math
.
random
()
*
10000
,
name
:
dataDetail
.
eobFile
.
slice
(
dataDetail
.
eobFile
.
lastIndexOf
(
'
/
'
)
+
1
),
status
:
'
done
'
,
url
:
dataDetail
.
eobFile
,
}
]
}
else
{
dataDetail
.
eobFile
=
[];
}
this
.
form
=
dataDetail
;
this
.
getData
();
}
},
...
...
@@ -323,6 +347,7 @@ export default {
})
let
formData
=
{
...
this
.
form
,
eobFile
:
this
.
form
.
eobFile
.
length
>
0
?
this
.
form
.
eobFile
[
0
].
url
:
''
,
eobReceiptList
:
eobReceiptList
,
eobDate
:
this
.
form
.
eobDate
?
moment
(
this
.
form
.
eobDate
).
format
(
'
YYYY-MM-DD 00:00:00
'
):
''
,
eobNo
:
this
.
eobNo
...
...
@@ -342,6 +367,30 @@ export default {
}
});
})
},
removeFile
(){
return
new
Promise
((
resolve
)
=>
{
this
.
form
.
eobFile
=
[];
resolve
();
});
},
//上传
uploadEvt
(
fileData
){
let
formData
=
new
FormData
();
formData
.
append
(
"
file
"
,
fileData
.
file
);
this
.
$apis
.
UPLOADIMG
(
formData
)
.
then
((
res
)
=>
{
fileData
.
onSuccess
();
let
fileList
=
[
{
uid
:
Math
.
random
()
*
10000
,
name
:
res
.
title
,
status
:
'
done
'
,
url
:
res
.
url
,
}
]
this
.
form
.
eobFile
=
fileList
;
})
}
},
};
...
...
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