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",
		}

	},
	home: {
		getUserData: {
			url: "/web/lgin/getUserRoleInfo",
			auth: true,
			method: "GET",
		},
	},
	//首页
	homePage: {
		//配送企业排名
		splerCosm: {
			url: "/web/weChat/forms/amtSplerCosm",
			auth: true,
			method: "POST",
		},
		//关键指标统计
		totalCosm: {
			url: "/web/weChat/forms/totalCosm",
			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", 
		}
	}
}