Преглед изворни кода

就诊事件查询接口增加filter参数,以便于限定某个医院(比如,县人民医院:filter:org_code=49229004X)

yezehua пре 6 година
родитељ
комит
07298c659b
3 измењених фајлова са 6 додато и 3 уклоњено
  1. 2 1
      html/profile/html/index_0.html
  2. 2 1
      html/profile/html/index_1.html
  3. 2 1
      html/profile/html/index_2.html

+ 2 - 1
html/profile/html/index_0.html

@ -46,7 +46,8 @@
	function redirect() {
	function redirect() {
		var state = encodeURIComponent(JSON.stringify({
		var state = encodeURIComponent(JSON.stringify({
			itemIndex: 0,
			itemIndex: 0,
			target: target
			target: target,
			filter: "org_code=49229004X"
		}))
		}))
		redirectUrl = profileServer+'/gateway/authentication/oauth/sso?response_type=token&client_id=P7dIRS0FvX&state='
		redirectUrl = profileServer+'/gateway/authentication/oauth/sso?response_type=token&client_id=P7dIRS0FvX&state='
						+state+'&scope=read&redirect_uri='+profileServer+'/profile/app/mprofile/html/signin.html?idCardNo='+idCard+'&user=tourists'
						+state+'&scope=read&redirect_uri='+profileServer+'/profile/app/mprofile/html/signin.html?idCardNo='+idCard+'&user=tourists'

+ 2 - 1
html/profile/html/index_1.html

@ -46,7 +46,8 @@
	function redirect() {
	function redirect() {
		var state = encodeURIComponent(JSON.stringify({
		var state = encodeURIComponent(JSON.stringify({
			itemIndex: 1,
			itemIndex: 1,
			target: target
			target: target,
			filter: "org_code=49229004X"
		}))
		}))
		redirectUrl = profileServer+'/gateway/authentication/oauth/sso?response_type=token&client_id=P7dIRS0FvX&state='
		redirectUrl = profileServer+'/gateway/authentication/oauth/sso?response_type=token&client_id=P7dIRS0FvX&state='
						+state+'&scope=read&redirect_uri='+profileServer+'/profile/app/mprofile/html/signin.html?idCardNo='+idCard+'&user=tourists'
						+state+'&scope=read&redirect_uri='+profileServer+'/profile/app/mprofile/html/signin.html?idCardNo='+idCard+'&user=tourists'

+ 2 - 1
html/profile/html/index_2.html

@ -46,7 +46,8 @@
	function redirect() {
	function redirect() {
		var state = encodeURIComponent(JSON.stringify({
		var state = encodeURIComponent(JSON.stringify({
			itemIndex: 2,
			itemIndex: 2,
			target: target
			target: target,
			filter: "org_code=49229004X"
		}))
		}))
		redirectUrl = profileServer+'/gateway/authentication/oauth/sso?response_type=token&client_id=P7dIRS0FvX&state='
		redirectUrl = profileServer+'/gateway/authentication/oauth/sso?response_type=token&client_id=P7dIRS0FvX&state='
						+state+'&scope=read&redirect_uri='+profileServer+'/profile/app/mprofile/html/signin.html?idCardNo='+idCard+'&user=tourists'
						+state+'&scope=read&redirect_uri='+profileServer+'/profile/app/mprofile/html/signin.html?idCardNo='+idCard+'&user=tourists'