submitSuccessfully.js 584 Bytes
Newer Older
zujiaozhang committed
1 2
define(['zepto', 'medtap', 'mui'], function($, medtap, mui) {
  var submitSuccessfully = {
zujiaozhang committed
3
     // 问卷id
4
    followUpId: medtap.getRequest('followUpId'),
zujiaozhang committed
5 6
    // 修改人员id
    adminId: medtap.getRequest('adminId')||'',
zujiaozhang committed
7
    init:function(){
zujiaozhang committed
8 9 10
      if(submitSuccessfully.adminId!=''){
        $('.tip_contact_service').hide()
      }
zujiaozhang committed
11
      $('.tip_contact_service').on('tap',function(){
zujiaozhang committed
12
        medtap.pushWindow('../pages/myQuestionnaireList.html?followUpId='+submitSuccessfully.followUpId+'&adminId='+submitSuccessfully.adminId)
zujiaozhang committed
13 14 15 16
      })
    }
  }
  submitSuccessfully.init()
17
})