Commit dcd9fd69 authored by 吴婷慧's avatar 吴婷慧

新建客户信息完成(保存接口暂未通)

parent f76b3dc9
......@@ -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>
......
// 基础api
export default {
getUserInfo: `/getUserInfo`,
// getUserInfo: `/getUserInfo`,
corporateCodeList: "/backstage/auth/corporateList",
uploadImg: "/common/upload",
};
// 客户管理api
export default {
getCustomerList: "/backstage/auth/patientList",
updateCustomList: "/backstage/auth/updatePatientPolicy",
};
......@@ -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 };
......@@ -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 };
......@@ -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
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) => {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment