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

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

parent f76b3dc9
...@@ -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>
......
// 基础api // 基础api
export default { export default {
getUserInfo: `/getUserInfo`, // getUserInfo: `/getUserInfo`,
corporateCodeList: "/backstage/auth/corporateList", corporateCodeList: "/backstage/auth/corporateList",
uploadImg: "/common/upload",
}; };
// 客户管理api // 客户管理api
export default { export default {
getCustomerList: "/backstage/auth/patientList", getCustomerList: "/backstage/auth/patientList",
updateCustomList: "/backstage/auth/updatePatientPolicy",
}; };
...@@ -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 };
...@@ -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 };
...@@ -284,4 +284,34 @@ select { ...@@ -284,4 +284,34 @@ select {
.ant-pagination-item:not(.ant-pagination-item-active) { .ant-pagination-item:not(.ant-pagination-item-active) {
display: none; 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 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.
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