| | |
| | | this.doPopupByPublic(config); |
| | | }, |
| | | |
| | | onShowLinkPharmacy() { |
| | | var me = this; |
| | | var row = me.selectTabObj.selectedrow; |
| | | |
| | | var config = { |
| | | totab: false, //true: 以Tab导航的方式打开 |
| | | width: "950px", |
| | | height: "300px", |
| | | icon: "icon-product", |
| | | text: row.hospital_name + "-关联院外店", |
| | | id: "popup_linkpharmacy_list" + row.id + "browse",//totab: true时需设置,用于判断是否已打开此页面 |
| | | url: "module/md/page/terminal/page/popup/popup_linkpharmacy_list.html", |
| | | data: row, |
| | | delta: {}, |
| | | filter: "hospital_id='"+ row.hospital_id +"'", |
| | | sceneCode: 'browse',//"edit", //"add"//"browse", |
| | | callback: function(obj, callback) { |
| | | if (callback) { |
| | | callback(); |
| | | } |
| | | } |
| | | }; |
| | | me.doPopupByPublic(config); |
| | | }, |
| | | |
| | | } |
| | | }); |
| | | }; |
| | |
| | | |
| | | <div style="float: right;"> |
| | | <el-button-group style="margin-left: 3px"> |
| | | <el-button v-show="cbuttons_r.linkpharmacy" @click="onShowLinkPharmacy">关联院外店</el-button> |
| | | <el-button v-show="cbuttons_r.downloadTemplate" @click="DownloadTemplate">模板下载</el-button> |
| | | <el-tooltip class="item" effect="dark" :content="buttonsconfig.clearandappend.tooltip" placement="top-start"> |
| | | <el-button v-show="cbuttons_r.import" @click="onPopupByUploadFile":icon="buttonsconfig.clearandappend.icon">{{buttonsconfig.clearandappend.name}}</el-button> |