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
ac6c6744
Commit
ac6c6744
authored
3 years ago
by
yanglilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'a'
parent
f953aba9
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
85 additions
and
31 deletions
+85
-31
info.js
src/api/apis_moudles/info.js
+1
-0
info.js
src/api/funcs_modules/info.js
+6
-0
index.vue
src/layout/index.vue
+1
-3
company.vue
src/views/info/company.vue
+4
-0
companyInfo.vue
src/views/info/components/companyInfo.vue
+73
-28
No files found.
src/api/apis_moudles/info.js
View file @
ac6c6744
...
...
@@ -8,6 +8,7 @@ export default {
/*-------------保险公司-----------------*/
payorList
:
"
/backstage/auth/payorList
"
,
//保险公司列表
createPayor
:
"
/backstage/auth/createPayor
"
,
//新增保险公司
payorDetail
:
"
/backstage/auth/payorDetail
"
,
//保险公司详情
payorUpdate
:
"
/backstage/auth/payorUpdate
"
,
//保险公司修改
payorDelete
:
"
/backstage/auth/payorDelete
"
,
//保险公司删除
...
...
This diff is collapsed.
Click to expand it.
src/api/funcs_modules/info.js
View file @
ac6c6744
...
...
@@ -34,6 +34,11 @@ const PAYORLIST = (data) => {
return
req
.
post
(
apis
.
payorList
,
data
);
};
//新增保险公司
const
CREATEPAY
=
(
data
)
=>
{
return
req
.
post
(
apis
.
createPayor
,
data
);
};
//保险公司详情
const
PAYORDETAIL
=
(
data
)
=>
{
return
req
.
post
(
apis
.
payorDetail
,
data
);
...
...
@@ -67,6 +72,7 @@ export default {
DOCTORCREATE
,
DOCTORUPDATE
,
PAYORLIST
,
CREATEPAY
,
PAYORDETAIL
,
PAYORUPDATE
,
PAYORDELETE
,
...
...
This diff is collapsed.
Click to expand it.
src/layout/index.vue
View file @
ac6c6744
...
...
@@ -12,9 +12,7 @@ export default {
computed
:
{},
watch
:
{},
methods
:
{},
mounted
()
{
},
mounted
()
{},
};
</
script
>
...
...
This diff is collapsed.
Click to expand it.
src/views/info/company.vue
View file @
ac6c6744
...
...
@@ -36,6 +36,8 @@
<!--分页-->
<BurtPagination
:pagination=
"pagination"
@
pageChange=
"getData"
/>
<!--详细信息-->
<companyInfo
/>
<!--折扣信息-->
<Discount
/>
</div>
...
...
@@ -44,6 +46,7 @@
<
script
>
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
Discount
from
"
./components/companyDiscount
"
;
import
companyInfo
from
"
./components/companyInfo
"
;
const
columns
=
[
{
title
:
"
序号
"
,
...
...
@@ -113,6 +116,7 @@ export default {
},
components
:
{
BurtPagination
,
companyInfo
,
Discount
},
created
()
{
...
...
This diff is collapsed.
Click to expand it.
src/views/info/components/companyInfo.vue
View file @
ac6c6744
<
template
>
<div
class=
"info-div"
>
<div
class=
"title-div"
>
下面的是写死为1001这条保险公司的-----详细信息
</div>
<a-form-model
ref=
"form"
layout=
"vertical"
>
<a-row
:gutter=
"30"
>
<a-col
:lg=
"6"
:sm=
"12"
>
...
...
@@ -17,16 +18,16 @@
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"国家"
>
<a-input
v-model=
"detailObj.
englishName
"
placeholder=
"国家"
/>
<a-input
v-model=
"detailObj.
country
"
placeholder=
"国家"
/>
</a-form-model-item>
</a-col>
</a-row>
<a-row
:gutter=
"30"
>
<a-col
:lg=
"3"
:sm=
"12"
>
<a-form-model-item
label=
"有效"
>
<a-select
v-model=
"detailObj.
payorId"
placeholder=
"请选择"
>
<a-select-option
value=
"1"
>
待核销
</a-select-option>
<a-select-option
value=
"2"
>
已核销
</a-select-option>
<a-select
v-model=
"detailObj.
status"
placeholder=
"请选择"
disabled
>
<a-select-option
value=
"1"
>
有效
</a-select-option>
<a-select-option
value=
"2"
>
无效
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
...
...
@@ -35,7 +36,7 @@
<a-col
:lg=
"12"
:sm=
"12"
>
<a-form-model-item
label=
"合同起始日期"
>
<a-date-picker
v-model=
"detailObj.
businessHours
"
v-model=
"detailObj.
startDate
"
format=
"YYYY年MM月DD日"
placeholder=
"选择日期"
/>
...
...
@@ -44,7 +45,7 @@
<a-col
:lg=
"12"
:sm=
"12"
>
<a-form-model-item
label=
"合同终止日期"
>
<a-date-picker
v-model=
"detailObj.
businessHours
"
v-model=
"detailObj.
endDate
"
format=
"YYYY年MM月DD日"
placeholder=
"选择日期"
/>
...
...
@@ -54,18 +55,21 @@
</a-col>
<a-col
:lg=
"10"
:sm=
"12"
>
<a-form-model-item
label=
"保险公司地址"
>
<a-input
v-model=
"detailObj.
telNo1
"
placeholder=
"保险公司地址"
/>
<a-input
v-model=
"detailObj.
address
"
placeholder=
"保险公司地址"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"网络联系人"
>
<a-input
v-model=
"detailObj.address"
placeholder=
"请输入联系人"
/>
<a-input
v-model=
"detailObj.contactPerson"
placeholder=
"请输入联系人"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"8"
:sm=
"12"
>
<a-form-model-item
label=
"理赔件邮寄地址"
>
<a-input
v-model=
"detailObj.
englishAddr
"
v-model=
"detailObj.
claimAddress
"
placeholder=
"理赔件邮寄地址"
/>
</a-form-model-item>
...
...
@@ -73,33 +77,30 @@
<a-col
:lg=
"4"
:sm=
"12"
>
<a-form-model-item
label=
"保险公司联系电话"
>
<a-input
v-model=
"detailObj.
englishAddr
"
v-model=
"detailObj.
contactPhone
"
placeholder=
"保险公司联系电话"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"客服电话"
>
<a-input
v-model=
"detailObj.
englishAddr
"
placeholder=
"客服电话"
/>
<a-input
v-model=
"detailObj.
customerTel
"
placeholder=
"客服电话"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"预授权电话"
>
<a-input
v-model=
"detailObj.
englishAddr
"
placeholder=
"预授权电话"
/>
<a-input
v-model=
"detailObj.
authorTel
"
placeholder=
"预授权电话"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"保险公司邮件地址"
>
<a-input
v-model=
"detailObj.englishAddr"
placeholder=
"保险公司邮件地址"
/>
<a-input
v-model=
"detailObj.email"
placeholder=
"保险公司邮件地址"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"客服邮件地址"
>
<a-input
v-model=
"detailObj.
englishAddr
"
v-model=
"detailObj.
customerEmail
"
placeholder=
"客服邮件地址"
/>
</a-form-model-item>
...
...
@@ -107,7 +108,7 @@
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"预授权邮件地址"
>
<a-input
v-model=
"detailObj.
englishAddr
"
v-model=
"detailObj.
authorEmail
"
placeholder=
"预授权邮件地址"
/>
</a-form-model-item>
...
...
@@ -115,7 +116,7 @@
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"理赔邮件地址"
>
<a-input
v-model=
"detailObj.
englishAddr
"
v-model=
"detailObj.
claimEmail
"
placeholder=
"理赔邮件地址"
/>
</a-form-model-item>
...
...
@@ -123,19 +124,32 @@
<a-col
:lg=
"8"
:sm=
"12"
>
<a-form-model-item
label=
"保险公司Protal链接"
>
<a-input
v-model=
"detailObj.
englishAddr
"
v-model=
"detailObj.
portalUrl
"
placeholder=
"保险公司Protal链接"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"4"
:sm=
"12"
>
<a-form-model-item
label=
"登录名"
>
<a-input
v-model=
"detailObj.
englishAddr
"
placeholder=
"登录名"
/>
<a-input
v-model=
"detailObj.
loginName
"
placeholder=
"登录名"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"密码"
>
<a-input
v-model=
"detailObj.englishAddr"
placeholder=
"密码"
/>
<a-input
type=
"password"
v-model=
"detailObj.loginPwd"
placeholder=
"密码"
/>
</a-form-model-item>
</a-col>
</a-row>
<a-row>
<a-col
:sm=
"24"
class=
"none-label"
>
<a-form-model-item
label=
"button"
>
<a-button
type=
"primary"
@
click=
"handlerSava"
>
<Icon
name=
"ssiadd"
:size=
"14"
/>
新建
</a-button>
</a-form-model-item>
</a-col>
</a-row>
...
...
@@ -145,22 +159,53 @@
<
script
>
export
default
{
data
()
{},
data
()
{
return
{
detailObj
:
{}
}
},
created
(){
this
.
getDetail
()
},
methods
:
{
//获取详细信息
getDetail
()
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
$apis
.
DOCTORUPDATE
().
then
((
res
)
=>
{
this
.
$apis
.
PAYORDETAIL
({
id
:
1001
,
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
detailObj
=
res
.
content
||
{};
resolve
();
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
reject
();
}
});
});
},
//新建保存
handlerSava
(){
this
.
$apis
.
CREATEPAY
({
...
this
.
detailObj
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
新建成功
"
);
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
}
},
};
</
script
>
<
style
lang=
"less"
scoped
>
.info-div{
margin-top: 16px;
}
.title-div {
line-height: 56px;
color: #252631;
}
</
style
>
This diff is collapsed.
Click to expand it.
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