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
3 years ago
by
吴婷慧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建客户信息完成(保存接口暂未通)
parent
f76b3dc9
Changes
8
Expand all
Hide 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 @@
...
@@ -8,7 +8,7 @@
<title><
%=
htmlWebpackPlugin
.
options
.
title
%
></title>
<title><
%=
htmlWebpackPlugin
.
options
.
title
%
></title>
<script
<script
type=
"text/javascript"
type=
"text/javascript"
src=
"//at.alicdn.com/t/font_3020450_
mgm6gng7qr
.js"
src=
"//at.alicdn.com/t/font_3020450_
c8k1zo91rcb
.js"
></script>
></script>
</head>
</head>
<body>
<body>
...
...
This diff is collapsed.
Click to expand it.
src/api/apis_moudles/base.js
View file @
dcd9fd69
// 基础api
// 基础api
export
default
{
export
default
{
getUserInfo
:
`/getUserInfo`
,
//
getUserInfo: `/getUserInfo`,
corporateCodeList
:
"
/backstage/auth/corporateList
"
,
corporateCodeList
:
"
/backstage/auth/corporateList
"
,
uploadImg
:
"
/common/upload
"
,
};
};
This diff is collapsed.
Click to expand it.
src/api/apis_moudles/customer.js
View file @
dcd9fd69
// 客户管理api
// 客户管理api
export
default
{
export
default
{
getCustomerList
:
"
/backstage/auth/patientList
"
,
getCustomerList
:
"
/backstage/auth/patientList
"
,
updateCustomList
:
"
/backstage/auth/updatePatientPolicy
"
,
};
};
This diff is collapsed.
Click to expand it.
src/api/funcs_modules/base.js
View file @
dcd9fd69
...
@@ -13,5 +13,10 @@ const GETCORPORATECODE = (data) => {
...
@@ -13,5 +13,10 @@ const GETCORPORATECODE = (data) => {
return
req
.
post
(
apis
.
corporateCodeList
,
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
};
This diff is collapsed.
Click to expand it.
src/api/funcs_modules/customer.js
View file @
dcd9fd69
...
@@ -2,9 +2,14 @@
...
@@ -2,9 +2,14 @@
import
apis
from
"
../apis_moudles/
"
;
import
apis
from
"
../apis_moudles/
"
;
import
req
from
"
../request
"
;
import
req
from
"
../request
"
;
//
对象数组
//
get custom list
const
GETCUSTOMERLIST
=
function
(
data
)
{
const
GETCUSTOMERLIST
=
function
(
data
)
{
return
req
.
post
(
apis
.
getCustomerList
,
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
};
This diff is collapsed.
Click to expand it.
src/assets/style/reset.less
View file @
dcd9fd69
...
@@ -268,20 +268,50 @@ select {
...
@@ -268,20 +268,50 @@ select {
}
}
.custom-info {
.custom-info {
.ant-pagination-item-active {
.ant-pagination-item-active {
.fs(16);
.fs(16);
border: none;
border: none;
// vertical-align: baseline;
// vertical-align: baseline;
}
.ant-pagination-item-link {
.fs(16);
.lh(22);
.pa(7, 15, 7, 15);
display: inline-block;
background-color: #f8fafb;
border: none;
}
.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;
}
}
.ant-pagination-item-link {
&:hover{
.fs(16);
color: #2B63FF;
.lh(22);
}
.pa(7, 15, 7, 15);
}
display: inline-block;
.ant-radio-button-wrapper-checked{
background-color: #f8fafb;
border: none;
border: none;
color: #2B63FF;
background-color: #F1F5FF;
&:before{
content: none;
}
}
.ant-pagination-item:not(.ant-pagination-item-active) {
&:hover{
display: none;
border: none;
background-color: #F1F5FF;
color: #2B63FF;
}
}
}
}
\ No newline at end of file
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/components/Antd/index.js
View file @
dcd9fd69
import
Vue
from
"
vue
"
;
import
Vue
from
"
vue
"
;
import
{
import
{
Button
,
Input
,
Select
,
DatePicker
,
notification
,
menu
,
dropdown
,
FormModel
,
Row
,
Row
,
Col
,
Col
,
menu
,
dropdown
,
Table
,
Table
,
InputNumber
,
message
,
message
,
pagination
,
pagination
,
FormModel
,
Select
,
DatePicker
,
Input
,
InputNumber
,
Radio
,
upload
,
Button
,
notification
,
popconfirm
,
popconfirm
,
modal
,
}
from
"
ant-design-vue
"
;
}
from
"
ant-design-vue
"
;
export
default
()
=>
{
export
default
()
=>
{
let
els
=
[
let
els
=
[
Button
,
Row
,
Input
,
Col
,
notification
,
menu
,
menu
,
dropdown
,
dropdown
,
Table
,
message
,
pagination
,
FormModel
,
FormModel
,
Row
,
Col
,
Select
,
Select
,
DatePicker
,
DatePicker
,
Table
,
Input
,
InputNumber
,
InputNumber
,
message
,
Radio
,
pagination
,
upload
,
Button
,
notification
,
popconfirm
,
popconfirm
,
modal
,
];
];
// 注册
// 注册
els
.
forEach
((
item
)
=>
{
els
.
forEach
((
item
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
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