hd недель назад: 4
Родитель
Сommit
e1e2dbc4e6

+ 1 - 6
app/rehabilitation/js/rehabilitation_management.js

@ -115,7 +115,6 @@
        })
      },
      gotoSc: function () {
        console.log(this.planInfo, 'sadddddddddddddddddd')
        top.layer.open({
          type: 2,
          area: ['820px', '648px'],
@ -131,7 +130,6 @@
      },
      getList: function () {
        var vm = this
        console.log('211111111111111111111111', vm.planInfo)
        rehaAPI
          .getList({
            doctor: docInfo.code,
@ -147,7 +145,6 @@
          })
          .then(function (res) {
            vm.scList = res.data
            console.log(res, 'dasssssssssssssssssss')
          })
      },
      // 刷新
@ -327,7 +324,7 @@
      },
      viewDetail: function (planids, type, item) {
        var vm = this
        console.log(planids, type, item, 'dsaaaaaaa')
        
        if (!planids) {
          layer.msg('无服务项', { icon: 5 })
          return
@ -400,7 +397,6 @@
      },
      changeStatus: function (val) {
        this.status = val.code
        console.log('this.status', this.status)
      },
      changeTask: function (val) {
        this.searchTask = val.code
@ -767,7 +763,6 @@
        })
      },
      viewServerItemsDetail: function (o) {
        console.log('o', o)
        if (o.code == '2') {
          showInfoMessage('请从“消息-患者消息列表”中查看患者的康复咨询记录')

+ 4 - 1
app/rehabilitation/js/service_item_content.js

@ -130,7 +130,7 @@ methods:{
		this.curDetailId = o.planDetaiId
	},
	clickItem:function(service){
		console.log(httpData.disease=='3');
		console.log(httpData);
		
		var vm=this
		var age=service.age=='0'?'':service.age
@ -500,6 +500,9 @@ methods:{
	previewImg: function(url){
		var src = httpRequest.getImgUrl(url);
		imgShow("#outerdiv", "#innerdiv", "#bigimg", src);
	},
	openFollowRecordForm(){
		
	}
},
filters:{

+ 23 - 16
component/rehabilitation/server-items-detail.js

@ -197,6 +197,7 @@ Vue.component('server-items-detail', {
      tabStatus: 1,
      title: '',
      docInfo: JSON.parse(window.localStorage.getItem('wlyyAgent')),
      docInfo1 : JSON.parse(window.localStorage.getItem('docInfo')),
      upImgs: [],
      upImgArr: [],
      imgData: {
@ -219,7 +220,7 @@ Vue.component('server-items-detail', {
      if (this.islimit) {
        this.goToLoadData(true)
      }
    }
    },
  },
  mounted: function () {
    _vm = this
@ -228,6 +229,7 @@ Vue.component('server-items-detail', {
  methods: {
    initData: function () {
      var vm = this
      this.planDetaiId = this.plandetailid
      this.getServiceItem()
    },
@ -244,6 +246,7 @@ Vue.component('server-items-detail', {
          top.layer.close(loadding)
          if (res.status == 200) {
            vm.service = res.data
            var isZK = vm.docInfo.doctorType == 1 ? true : false
            vm.service.isZK = isZK
            if (vm.service.isMyTask == 1) {
@ -269,6 +272,8 @@ Vue.component('server-items-detail', {
              vm.tabStatus = 2
              vm.selectByPlanDetaiId()
            }
            vm.getList()
            vm.selectByGuidance()
            vm.$forceUpdate()
          } else {
@ -980,23 +985,25 @@ Vue.component('server-items-detail', {
    },
    getList: function () {
      var vm = this
      console.log('211111111111111111111111', vm.planInfo)
      
      var params = {
        doctor: vm.docInfo1.code,
        diseaseType: vm.service.disease,
        type: '',
        patientName: '',
        patientCode: vm.patientcode,
        isDanger: '',
        pageNo: 1,
        pageSize: 1,
        filterType: 1,
        isAscvd: vm.service.disease == '3' ? 1 : ''
      }
      
      rehaAPI
        .getList({
          doctor: docInfo.code,
          diseaseType: vm.service.disease,
          type: '',
          patientName: '',
          patientCode: this.patientCode,
          isDanger: '',
          pageNo: 1,
          pageSize: 1,
          filterType: 1,
          isAscvd: vm.planInfo.disease == '3' ? 1 : ''
        })
        .getList(params)
        .then(function (res) {
          vm.scList = res.data
          console.log(res, 'dasssssssssssssssssss')
        })
    },
    viewDetail: function (planids, type, recordId) {
@ -1029,6 +1036,7 @@ Vue.component('server-items-detail', {
        })
        return
      }
      layer.open({
        // 康复计划的所有服务项
        type: 2,
@ -1081,7 +1089,6 @@ Vue.component('server-items-detail', {
      imgShow('#outerdiv', '#innerdiv', '#bigimg', url)
    },
    toDoorDialog() {
      // console.log("server");
      top.layer.open({
        type: 2,
        area: ['850px', '700px'],