From e1ec4e662636af70085e9148c9672e5951d3d568 Mon Sep 17 00:00:00 2001
From: zhangyanpeng <bob.zhang@highdatas.com>
Date: 星期五, 02 八月 2024 14:31:57 +0800
Subject: [PATCH] 新增拜访

---
 module/md/page/terminal/page/hospital_list.html |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)

diff --git a/module/md/page/terminal/page/hospital_list.html b/module/md/page/terminal/page/hospital_list.html
index a94d4b8..c611ae3 100644
--- a/module/md/page/terminal/page/hospital_list.html
+++ b/module/md/page/terminal/page/hospital_list.html
@@ -964,7 +964,32 @@
 							};
 							this.doPopupByPublic(config);
 						},
-												
+						
+						onShowLinkPharmacy() {
+							var me = this;
+							var row = me.selectTabObj.selectedrow;
+						
+							var config = {
+								totab: false, //true: 浠ab瀵艰埅鐨勬柟寮忔墦寮�
+								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);
+						},
+						
 					}
 				});
 			};
@@ -995,6 +1020,7 @@
 
 					<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>

--
Gitblit v1.8.0