| | |
| | | } |
| | | |
| | | } |
| | | |
| | | inputValue = ""; |
| | | //==================获取招投标项目id================ |
| | | ParamIdStr = ''; // url 参数Id |
| | | getQueryVariable(variable) |
| | |
| | | |
| | | |
| | | this.departmentId = Datas[0].department__c; |
| | | // this.yyId = Datas[0].Hospital__c; |
| | | this.yyId = Datas[0].Hospital__c; |
| | | |
| | | // 20210914 战略科室修改 |
| | | this.depart_sels = Datas[0].department_selection__c; |
| | |
| | | |
| | | SearchFn(event){ |
| | | debugger; |
| | | console.log(this.inputValue,'搜索内容') |
| | | if (this.yyId != undefined && this.yyId != '') { |
| | | this.YYSelectedId = this.yyId; |
| | | } |
| | | |
| | | if ((this.XJBMValue == '' || this.XJBMValue == ' ') && (this.YYSelectedId == '' || this.YYSelectedId == ' ')) { |
| | | this.OnLoading(true); |
| | | GetNormalProductDataSearch({noStr:undefined,IdStr:this.ParamIdStr,hospital:this.YYSelectedId,hospitalArr:this.hisotryData,departments:this.depart_sels}).then(response=>{ |
| | | var datas = JSON.parse(response); |
| | | this.notselectdata = datas; |
| | | this.template.querySelector('[data-parent-id="table1"]').refreshdata(this.selectdata,this.notselectdata); |
| | | this.OnLoading(false); |
| | | }) |
| | | return ; |
| | | } |
| | | // if ((this.XJBMValue == '' || this.XJBMValue == ' ') |
| | | // // && (this.YYSelectedId == '' || this.YYSelectedId == ' ') |
| | | // ) { |
| | | // this.OnLoading(true); |
| | | // GetNormalProductDataSearch({noStr:undefined,inputText:this.inputValue,IdStr:this.ParamIdStr,hospital:this.YYSelectedId,hospitalArr:this.hisotryData,departments:this.depart_sels}).then(response=>{ |
| | | // var datas = JSON.parse(response); |
| | | // this.notselectdata = datas; |
| | | // this.template.querySelector('[data-parent-id="table1"]').refreshdata(this.selectdata,this.notselectdata); |
| | | // this.OnLoading(false); |
| | | // }) |
| | | // return ; |
| | | // } |
| | | this.OnLoading(true); |
| | | |
| | | GetNormalProductDataSearch({noStr:this.XJBMValue,IdStr:this.ParamIdStr,hospital:this.YYSelectedId,hospitalArr:this.hisotryData,departments:this.depart_sels}).then(response=>{ |
| | | GetNormalProductDataSearch({noStr:this.XJBMValue,IdStr:this.ParamIdStr,inputText:this.inputValue,hospital:this.YYSelectedId,hospitalArr:this.hisotryData,departments:this.depart_sels}).then(response=>{ |
| | | |
| | | var datas = JSON.parse(response); |
| | | this.notselectdata = datas; |
| | |
| | | } |
| | | }) |
| | | |
| | | GetNormalProductDataSearch({noStr:this.XJBMValue,IdStr:this.ParamIdStr,hospital:this.YYSelectedId,hospitalArr:this.hisotryData,departments:this.depart_sels}).then(response=>{ |
| | | GetNormalProductDataSearch({noStr:this.XJBMValue,IdStr:this.ParamIdStr,inputText:this.inputValue,hospital:this.YYSelectedId,hospitalArr:this.hisotryData,departments:this.depart_sels}).then(response=>{ |
| | | |
| | | var datas = JSON.parse(response); |
| | | this.notselectdata = datas; |
| | |
| | | this.YYSelectedId = event.detail.value; |
| | | |
| | | } |
| | | |
| | | onsearchchange2(e){ |
| | | this.inputValue = e.target.value |
| | | console.log(e,e.target.value,'xAAA') |
| | | } |
| | | //关联医院 |
| | | |
| | | |