|
@@ -561,7 +561,7 @@ const TagCreateForm = Form.create({ name: 'form_in_modal' })(
|
|
|
columns: [
|
|
|
{ title: "id", data: "_id", type: "text", editor: {}, hide: true },
|
|
|
{ title: "终端", data: "OriginType", type: "dropdown",
|
|
|
- source:{url:"/web/Mem_Terminaldoc/getterms"} , editor: {}, query: true },
|
|
|
+ source:{url:APIV4+"/terminaldoc/getterms/"} , editor: {}, query: true },
|
|
|
{ title: "电话", data: "AConsigneePhone2", type: "text",editor: {}, query: true },
|
|
|
{ title: "姓名", data: "Consignee", type: "text",
|
|
|
onclick:function(value,col,data){
|
|
@@ -580,7 +580,7 @@ const TagCreateForm = Form.create({ name: 'form_in_modal' })(
|
|
|
},
|
|
|
editor: {}, query: false },
|
|
|
{ title: "性别", data: "Sex", type: "dropdown",
|
|
|
- source:{url:"/web/Mem_Terminaldoc/getgender"},
|
|
|
+ source:{url:APIV4+"/terminaldoc/getgender"},
|
|
|
onclick:function(value,col,data){
|
|
|
request({
|
|
|
url: "/web/Mem_memberinformation/EditMemberBase",
|
|
@@ -747,10 +747,10 @@ class BirdGridmem_prescriptionPage extends React.Component {
|
|
|
}
|
|
|
|
|
|
getMemberInfo(MemberPhone,self){
|
|
|
- var membersql={query:MemberPhone};
|
|
|
+ var membersql={"MemberPhone":MemberPhone};
|
|
|
//var membersql={"query":"select * from mem_memberbase_p where MemUsualPhone = '13761709889'"};
|
|
|
request({
|
|
|
- url: APIV3+"/web/Mem_memberinformation/index",
|
|
|
+ url: APIV4+"/memberexts/index",
|
|
|
method: "post",
|
|
|
data:membersql,
|
|
|
}).then(function (result) {
|
|
@@ -783,7 +783,7 @@ class BirdGridmem_prescriptionPage extends React.Component {
|
|
|
getMemberTags(MemberPhone,self){
|
|
|
var membersql = {query: MemberPhone};
|
|
|
request({
|
|
|
- url: APIV3+"/web/mem_tag/TagByMemberPhone",
|
|
|
+ url: APIV4+"/memberexts/TagByMemberPhone",
|
|
|
method: "post",
|
|
|
data:membersql,
|
|
|
}).then(function (result) {
|
|
@@ -1110,7 +1110,7 @@ class BirdGridmem_prescriptionPage extends React.Component {
|
|
|
name: '性别',
|
|
|
key: 'Gender',
|
|
|
fieldType: 'dropdown',
|
|
|
- source:{url:"/web/Mem_Terminaldoc/getgender"},
|
|
|
+ source:{url:APIV4+"/terminaldoc/getgender"},
|
|
|
colSpan:2,
|
|
|
},
|
|
|
{
|
|
@@ -1163,7 +1163,7 @@ class BirdGridmem_prescriptionPage extends React.Component {
|
|
|
name: '性别',
|
|
|
key: 'PatientGender',
|
|
|
fieldType: 'dropdown',
|
|
|
- source:{url:"/web/Mem_Terminaldoc/getgender"},
|
|
|
+ source:{url:APIV4+"/terminaldoc/getgender"},
|
|
|
colSpan:2,
|
|
|
},
|
|
|
{
|
|
@@ -1221,7 +1221,7 @@ class BirdGridmem_prescriptionPage extends React.Component {
|
|
|
let gridOptions1 = {
|
|
|
title: "处方列表",
|
|
|
url: {
|
|
|
- read: "/web/mem_prescription/index"
|
|
|
+ read: APIV4+"/prescription/index"
|
|
|
},
|
|
|
//checkable: true,
|
|
|
filterRules:[{field:"MemPhone",operate:"equal",value:MemberPhone}],
|
|
@@ -1242,7 +1242,7 @@ class BirdGridmem_prescriptionPage extends React.Component {
|
|
|
let gridOptions2 = {
|
|
|
title: "用药列表",
|
|
|
url: {
|
|
|
- read: "/web/mem_prescriptionproduct/index"
|
|
|
+ read: APIV4+"/prescriptionproduct/index"
|
|
|
},
|
|
|
//checkable: true,
|
|
|
filterRules:[{field:"MemPhone",operate:"equal",value:MemberPhone}],
|
|
@@ -1268,7 +1268,7 @@ class BirdGridmem_prescriptionPage extends React.Component {
|
|
|
let gridOptions3 = {
|
|
|
title: "订单列表",
|
|
|
url: {
|
|
|
- read: "/web/Mem_PurchaseHistory/OrderList"
|
|
|
+ read: APIV4+"/purchaseHistory/orderList"
|
|
|
},
|
|
|
primaryKey:"id",
|
|
|
filterRules:[{field:"MemPhone",operate:"equal",value:MemberPhone}],
|
|
@@ -1278,9 +1278,9 @@ class BirdGridmem_prescriptionPage extends React.Component {
|
|
|
{ title: "订单时间", data: "OrderTime", type: "text", editor: {}, isRequired: true },
|
|
|
{ title: "订单金额", data: "Sum", type: "text", editor: {}, isRequired: true },
|
|
|
{ title: "下单平台", data: "SourcePlatforms", type: "dropdown", editor: {},
|
|
|
- source:{url:"/web/Mem_Terminaldoc/getSourcePlatForms"}, isRequired: true },
|
|
|
+ source:{url:APIV4+"/terminaldoc/getSourcePlatForms"}, isRequired: true },
|
|
|
{ title: "下单终端", data: "OriginType", type: "dropdown",
|
|
|
- source:{url:"/web/Mem_Terminaldoc/getterms"}, editor: {}, isRequired: true },
|
|
|
+ source:{url:APIV4+"/terminaldoc/getterms"}, editor: {}, isRequired: true },
|
|
|
{
|
|
|
title: "操作", type: "command", actions: [{
|
|
|
name: '详情',
|
|
@@ -1295,7 +1295,7 @@ class BirdGridmem_prescriptionPage extends React.Component {
|
|
|
title: "商品列表",
|
|
|
url: {
|
|
|
//read: "/web/Mem_PurchaseHistory/DrugsList"
|
|
|
- read: "/web/mem_orderproducts/OrderproductsList"
|
|
|
+ read: APIV4+"/purchaseHistory/orderproductsList"
|
|
|
},
|
|
|
primaryKey:"id",
|
|
|
filterRules:[{field:"MemberPhone",operate:"equal",value:MemberPhone}],
|
|
@@ -1323,7 +1323,7 @@ class BirdGridmem_prescriptionPage extends React.Component {
|
|
|
title: "好友列表",
|
|
|
url: {
|
|
|
//read: "/web/Mem_PurchaseHistory/DrugsList"
|
|
|
- read: "/web/ES_MemFriends/MemberFriends"
|
|
|
+ read: APIV4+"/memFriends/memberFriends"
|
|
|
},
|
|
|
primaryKey:"id",
|
|
|
filterRules:[{field:"MemberPhone",operate:"endswith",value:MemberPhone}],
|
|
@@ -1334,7 +1334,7 @@ class BirdGridmem_prescriptionPage extends React.Component {
|
|
|
{ title: "手机号", data: "MemberFriendsPhone", type: "text", editor: {}, isRequired: true },
|
|
|
{ title: "关系", data: "MemberRelatBrief", type: "text", editor: {}, isRequired: true },
|
|
|
{ title: "来源", data: "MemberSource", type: "dropdown",
|
|
|
- source:{url:"/web/Mem_Terminaldoc/getterms"},editor: {}, isRequired: true },
|
|
|
+ source:{url:APIV4+"/terminaldoc/getterms"},editor: {}, isRequired: true },
|
|
|
{
|
|
|
title: "操作选项", type: "command", actions: []
|
|
|
}
|
|
@@ -1346,7 +1346,7 @@ class BirdGridmem_prescriptionPage extends React.Component {
|
|
|
let gridOptions6 = {
|
|
|
title: "平台列表",
|
|
|
url: {
|
|
|
- read: "/web/Mem_memberterminal/doclist"
|
|
|
+ read: APIV4+"/memberterminal/doclist"
|
|
|
},
|
|
|
//checkable: true,
|
|
|
primaryKey:"id",
|
|
@@ -1354,7 +1354,7 @@ class BirdGridmem_prescriptionPage extends React.Component {
|
|
|
columns: [
|
|
|
{ title: "id", data: "_id", type: "text", editor: {}, isRequired: true },
|
|
|
{ title: "平台", data: "TerminalCode", type: "dropdown",
|
|
|
- source:{url:"/web/Mem_Terminaldoc/getterms"},editor: {}, isRequired: true },
|
|
|
+ source:{url:APIV4+"/terminaldoc/getterms"},editor: {}, isRequired: true },
|
|
|
{
|
|
|
title: "操作选项", type: "command", actions: []
|
|
|
}
|
|
@@ -1385,7 +1385,7 @@ class BirdGridmem_prescriptionPage extends React.Component {
|
|
|
name: '性别',
|
|
|
key: 'MemberGender',
|
|
|
fieldType: 'dropdown',
|
|
|
- source:{url:"/web/Mem_Terminaldoc/getgender"},
|
|
|
+ source:{url:APIV4+"/terminaldoc/getgender"},
|
|
|
colSpan:2,
|
|
|
},
|
|
|
{
|