export default {
	//登录
	common: {
		login: {
			url: "/web/lgin/userLgin",
			auth: false,
			method: "POST",
		},
		applogin: {
			url: "/app/wechat/login",
			auth: false,
			method: "POST",
		},
		getInst: {
			url: "/web/weChat/forms/selectWeChatMenu",
			auth: true,
			method: "POST",
		},
		//医疗机构下拉
		getSpdInfo: {
			url: "/web/weChat/forms/getSpdInfo",
			auth: false,
			method: "POST",
		}
	},
	home: {
		getUserData: {
			url: "/web/lgin/getUserRoleInfo",
			auth: true,
			method: "GET",
		},
		//药品获取上方总数
		getMenuPartCnt: {
			url: "/web/weChat/spd/getMenuPartCnt",
			auth: true,
			method: "POST",
		},
	},
	//首页
	homePage: {
		//配送企业排名
		splerCosm: {
			url: "/web/weChat/forms/amtSplerCosm",
			auth: true,
			method: "POST",
		},
		//关键指标统计
		totalCosm: {
			url: "/web/weChat/forms/totalCosm",
			auth: true,
			method: "POST",
		},
		//流水金额和费用量
		totalAmtAndCnt: {
			url: "/web/weChat/forms/totalAmtAndCnt",
			auth: true,
			method: "POST",
		},
		//耗材spd各分类查询
		totalFwfAmt: {
			url: "/web/weChat/forms/totalFwfAmt",
			auth: true,
			method: "POST",
		},
		//耗材服务费逐月趋势
		statFwfCosm: {
			url: "/web/weChat/forms/statFwfCosm",
			auth: true,
			method: "POST",
		},
		//耗材总服务费和合作供应商
		mcsTotalFwf: {
			url: "/web/weChat/forms/mcsTotalFwf",
			auth: true,
			method: "POST",
		},
		//各个配送商服务费以及贡献度
		mcsSplerFwfBl: {
			url: "/web/weChat/forms/mcsSplerFwfBl",
			auth: true,
			method: "POST",
		},
		//耗材类型消耗金额占比
		amtCosm: {
			url: "/web/weChat/forms/amtCosm",
			auth: true,
			method: "POST",
		},
		//耗材消耗数量排名
		cntCosm: {
			url: "/web/weChat/forms/cntCosm",
			auth: true,
			method: "POST",
		},
		//各科室消耗排名
		deptCosm: {
			url: "/web/weChat/forms/deptCosm",
			auth: true,
			method: "POST",
		},
		//消耗数据统计
		statCosm: {
			url: "/web/weChat/forms/statCosm",
			auth: true,
			method: "POST",
		},
		//个人中心
		information: {
			url: "/app/wechat/select/information",
			auth: true,
			method: "POST",
		},
		//个人中心保存
		informationData: {
			url: "/app/wechat/save/information",
			auth: true,
			method: "POST",
		},
	},
	//采购订单受理
	orderTaking: {
		getData: {
			durgurl: "/web/purcOrd/getOrdPageSpler",
			mcsurl: '/web/purcOrd/getMcsOrdPageSpler',
			auth: true,
			method: "POST",
		},
		details: {
			durgurl: "/web/purcOrd/getDetlList",
			mcsurl: '/web/purcOrd/getMcsDetlList',
			auth: true,
			method: "POST",
		},
		subData: {
			durgurl: "/web/purcOrd/acpOrd",
			mcsurl: '/web/purcOrd/acpMcsOrd',
			auth: true,
			method: "POST",
		}
	},
	// 退货管理
	depTeturn: {
		getData: {
			durgurl: "/web/stroom/getRetnOrdPage",
			mcsurl: '/web/retnOrd/selectRetnOrdD',
			auth: true,
			method: "POST",
		},
		details: {
			durgurl: "/web/stroom/getDetlList",
			mcsurl: '/web/retnOrd/selectRetnDetl',
			auth: true,
			method: "POST",
		},
		submit: {
			durgurl: "/web/stroom/acpRetnOrd",
			mcsurl: "/web/retnOrd/acpRetnOrd",
			auth: true,
			method: "POST",
		}
	},
	//耗材订单出库
	orderOutbond: {
		awaitData: {
			url: "/web/purcOrd/getMcsOrdDck", // 待出库
			auth: true,
			method: "POST",
		},
		readyData: {
			url: "/web/delvOrd/getSplerMcsDelvOrdPage", // 已出库
			auth: true,
			method: "POST",
		},
		awaitDelData: {
			url: "/web/purcOrd/getMcsOrdDckDetl", // 待出库详情
			auth: true,
			method: "POST",
		},
		readyDelData: {
			url: "/web/delvOrd/getMcsDetlList", // 已出库详情
			auth: true,
			method: "POST",
		},
		//出库提交
		subMitData: {
			url: "/web/delvOrd/submitMcsDelvOrd", //待出库提交
			auth: true,
			method: "POST",
		}

	},
	//耗材订单查询
	mcsQueryOrder: {
		getData: {
			url: "/web/purcOrd/getPurcOrdWeChat",
			auth: true,
			method: "POST",
		},
		details: {
			url: "/web/purcOrd/getMcsDetlList",
			auth: true,
			method: "POST",
		},
		tabDetails: {
			url: "/web/delvOrd/getMcsDetlList",
			auth: true,
			method: "POST",
		}
	},
	//药品订单查询
	puhseOrder: {
		getData: {
			url: "/web/weChat/forms/getPurcOrdStas",
			auth: true,
			method: "POST",
		},
		details: {
			url: "/web/purcOrd/getDetlList",
			auth: true,
			method: "POST",
		},
		tabDetails: {
			url: "/web/delvOrd/getDetlListWithRetnCnt",
			auth: true,
			method: "POST",
		}
	},
	// 药品明细出库查询耗材
	outbondDetal: {
		getData: {
			url: "/web/purcOrd/getPurcOrdDrugList",
			auth: true,
			method: "POST",
		},
		submitData:{
			url: "/web/delvOrd/submitDelvOrd",
			auth: true,
			method: "POST", 
		}
	},
	//药品院端接口
	drugHospital: {
		//采购计划审批汇总查询
		getApprList: {
			url: "/web/weChat/spd/getApprList",
			auth: true,
			method: "POST",
		},
		//采购计划审批明细查询
		getApprDetlList: {
			url: "/web/weChat/spd/getApprDetlList",
			auth: true,
			method: "POST",
		},
		//采购计划审批通过/退回
		apprPurcPlan: {
			url: "/web/weChat/spd/apprPurcPlan",
			auth: true,
			method: "POST",
		},
		//采购计划汇总查询
		getPurcOrd: {
			url: "/web/weChat/spd/getPurcOrd",
			auth: true,
			method: "POST",
		},
		//采购计划明细查询
		getPurcOrdDetl: {
			url: "/web/weChat/spd/getPurcOrdDetl",
			auth: true,
			method: "POST",
		},
		//待验收汇总
		getDelvPage: {
			url: "/web/weChat/spd/getDelvPage",
			auth: true,
			method: "POST",
		},
		//待验收明细查询
		getDelvDetlList: {
			url: "/web/weChat/spd/getDelvDetlList",
			auth: true,
			method: "POST",
		},
		//验收按钮
		saveDetlStoIn: {
			url: "/web/weChat/spd/saveDetlStoIn",
			auth: true,
			method: "POST",
		},
		//已验收汇总
		getStoinPage: {
			url: "/web/weChat/spd/getStoinPage",
			auth: true,
			method: "POST",
		},
		//已验收明细查询
		getStoinDetlList: {
			url: "/web/weChat/spd/getStoinDetlList",
			auth: true,
			method: "POST",
		}
	}
}