Explorar o código

tab页面跳转去续方详情页面需要带上teamCode参数。
bug 4088 【PC端-长处方】续方咨询/续方订单-历史续方:查看审核中/开方失败的续方详情无法审核/调整处方。

raolu %!s(int64=7) %!d(string=hai) anos
pai
achega
c9645d08fd
Modificáronse 4 ficheiros con 13 adicións e 11 borrados
  1. 4 4
      js/api-service.js
  2. 1 1
      js/buz/prescription-list.js
  3. 4 2
      js/buz/prescription-tabs.js
  4. 4 4
      login.html

+ 4 - 4
js/api-service.js

@ -17,10 +17,10 @@
        imserver = "http://172.19.103.88:3000/api/v2";
        socketUrl = "http://172.19.103.88:3000";
        // server = "http://192.168.131.127:8060/"; //逸祥
        //      server = "http://192.168.131.24:8080/"; //仕杰
        //      imserver = "http://192.168.131.24:3000/api/v2"
        //      socketUrl = "http://192.168.131.24:3000";
//      server = "http://192.168.131.127:8060/"; //逸祥
//      server = "http://192.168.131.24:8080/"; //仕杰
//      imserver = "http://192.168.131.24:3000/api/v2"
//      socketUrl = "http://192.168.131.24:3000";
        loginUrl = "login.html";
        imgServer = "http://172.19.103.54/";

+ 1 - 1
js/buz/prescription-list.js

@ -90,7 +90,7 @@ function getList(isRefresh){
                    }
                }],
                onClickRow: function(row, $el){
                    document.location.href = "prescription-detail.html?code="+row.code;
                    document.location.href = "prescription-detail.html?code="+row.code+'&id='+teamCode;
                }
            })
            $("#prescriptTable").bootstrapTable(options);

+ 4 - 2
js/buz/prescription-tabs.js

@ -18,7 +18,7 @@ var links = [{
    name: '咨询',
    class: ''
},{
    url: 'prescription-detail.html?from=tab&code='+prescriptionCode,
    url: 'prescription-detail.html?from=tab&code='+prescriptionCode+'&id='+teamCode,
    name: '续方详情',
    class: ''
},{
@ -46,6 +46,8 @@ var links = [{
$(function(){
    if(!prescriptionCode){
        //没有续方的code,就从咨询中获取对应的code
        //这种情况下,患者的签约团队一定是医生所在的团队的id
        teamCode = docInfo.adminTeamCode;
        getPrescriptionInfo();
    }else{
        //有续方的code,通过code获得续方详情
@ -129,7 +131,7 @@ function updateLinkInfo(){
        name: '咨询',
        class: ''
    },{
        url: 'prescription-detail.html?from=tab&code='+prescriptionCode,
        url: 'prescription-detail.html?from=tab&code='+prescriptionCode+'&id='+teamCode,
        name: '续方详情',
        class: ''
    },{

+ 4 - 4
login.html

@ -352,8 +352,8 @@
					onfocusout: function(ele) {
						validator1.element(ele)
					},
				   rules: {
				      mobile1: {
				    rules: {
				        mobile1: {
							required: true,
							mobile: true,
						},
@ -366,8 +366,8 @@
					onfocusout: function(ele) {
						validator2.element(ele)
					},
				   rules: {
				      mobile2: {
				    rules: {
				        mobile2: {
							required: true,
							mobile: true,
						},