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
dcd9fd69
Commit
dcd9fd69
authored
Dec 27, 2021
by
吴婷慧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建客户信息完成(保存接口暂未通)
parent
f76b3dc9
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
366 additions
and
53 deletions
+366
-53
index.html
public/index.html
+1
-1
base.js
src/api/apis_moudles/base.js
+2
-1
customer.js
src/api/apis_moudles/customer.js
+1
-0
base.js
src/api/funcs_modules/base.js
+6
-1
customer.js
src/api/funcs_modules/customer.js
+7
-2
reset.less
src/assets/style/reset.less
+44
-14
index.js
src/components/Antd/index.js
+23
-17
index.vue
src/views/customer/edit/index.vue
+282
-17
No files found.
public/index.html
View file @
dcd9fd69
...
...
@@ -8,7 +8,7 @@
<title><
%=
htmlWebpackPlugin
.
options
.
title
%
></title>
<script
type=
"text/javascript"
src=
"//at.alicdn.com/t/font_3020450_
mgm6gng7qr
.js"
src=
"//at.alicdn.com/t/font_3020450_
c8k1zo91rcb
.js"
></script>
</head>
<body>
...
...
src/api/apis_moudles/base.js
View file @
dcd9fd69
// 基础api
export
default
{
getUserInfo
:
`/getUserInfo`
,
//
getUserInfo: `/getUserInfo`,
corporateCodeList
:
"
/backstage/auth/corporateList
"
,
uploadImg
:
"
/common/upload
"
,
};
src/api/apis_moudles/customer.js
View file @
dcd9fd69
// 客户管理api
export
default
{
getCustomerList
:
"
/backstage/auth/patientList
"
,
updateCustomList
:
"
/backstage/auth/updatePatientPolicy
"
,
};
src/api/funcs_modules/base.js
View file @
dcd9fd69
...
...
@@ -13,5 +13,10 @@ const GETCORPORATECODE = (data) => {
return
req
.
post
(
apis
.
corporateCodeList
,
data
);
};
// 上传图片
const
UPLOADIMG
=
(
data
)
=>
{
return
req
.
post
(
apis
.
uploadImg
,
data
);
};
// 对象数组
export
default
{
GETUSERINFO
,
GETCORPORATECODE
};
export
default
{
GETUSERINFO
,
GETCORPORATECODE
,
UPLOADIMG
};
src/api/funcs_modules/customer.js
View file @
dcd9fd69
...
...
@@ -2,9 +2,14 @@
import
apis
from
"
../apis_moudles/
"
;
import
req
from
"
../request
"
;
//
对象数组
//
get custom list
const
GETCUSTOMERLIST
=
function
(
data
)
{
return
req
.
post
(
apis
.
getCustomerList
,
data
);
};
export
default
{
GETCUSTOMERLIST
};
// add or update custom data
const
UPDATECUSTOMDATA
=
function
(
data
)
{
return
req
.
post
(
apis
.
updateCustomList
,
data
);
};
export
default
{
GETCUSTOMERLIST
,
UPDATECUSTOMDATA
};
src/assets/style/reset.less
View file @
dcd9fd69
...
...
@@ -284,4 +284,34 @@ select {
.ant-pagination-item:not(.ant-pagination-item-active) {
display: none;
}
}
.ant-radio-group{
.ant-radio-button-wrapper{
.pa(8, 17, 8, 17);
.lh(20);
vertical-align: bottom;
border: none;
border-radius: 4px;
background-color: #F8FAFB;
&:before{
content: none;
}
&:hover{
color: #2B63FF;
}
}
.ant-radio-button-wrapper-checked{
border: none;
color: #2B63FF;
background-color: #F1F5FF;
&:before{
content: none;
}
&:hover{
border: none;
background-color: #F1F5FF;
color: #2B63FF;
}
}
}
\ No newline at end of file
src/components/Antd/index.js
View file @
dcd9fd69
import
Vue
from
"
vue
"
;
import
{
Button
,
Input
,
Select
,
DatePicker
,
notification
,
menu
,
dropdown
,
FormModel
,
Row
,
Col
,
menu
,
dropdown
,
Table
,
InputNumber
,
message
,
pagination
,
FormModel
,
Select
,
DatePicker
,
Input
,
InputNumber
,
Radio
,
upload
,
Button
,
notification
,
popconfirm
,
modal
,
}
from
"
ant-design-vue
"
;
export
default
()
=>
{
let
els
=
[
Button
,
Input
,
notification
,
Row
,
Col
,
menu
,
dropdown
,
Table
,
message
,
pagination
,
FormModel
,
Row
,
Col
,
Select
,
DatePicker
,
Table
,
Input
,
InputNumber
,
message
,
pagination
,
Radio
,
upload
,
Button
,
notification
,
popconfirm
,
modal
,
];
// 注册
els
.
forEach
((
item
)
=>
{
...
...
src/views/customer/edit/index.vue
View file @
dcd9fd69
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