From 2278ff7c0401f7f97e168a0943192357c1999cbf Mon Sep 17 00:00:00 2001
From: tom <tom.he@highdatas.com>
Date: 星期六, 03 八月 2024 13:50:15 +0800
Subject: [PATCH] Merge branch 'master' of http://highdatas.com:9000/r/promotion/promotion_html

---
 module/md/page/customer/page/evaluation_management.html |   42 +++++++++++++++++++++++++++++++++++++++---
 1 files changed, 39 insertions(+), 3 deletions(-)

diff --git a/module/md/page/customer/page/evaluation_management.html b/module/md/page/customer/page/evaluation_management.html
index 8e083f9..14af912 100644
--- a/module/md/page/customer/page/evaluation_management.html
+++ b/module/md/page/customer/page/evaluation_management.html
@@ -2,7 +2,7 @@
 <html>
 	<head>
 		<meta charset="utf-8"><meta http-equiv="Expires" content="0"><meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Cache-control" content="no-cache"><meta http-equiv="Cache" content="no-cache">
-		<title>缁忛攢鍟嗘寚鏍�</title>
+		<title>鎺ㄥ箍鍟嗚瘎浼�</title>
 		
 		<script type="text/javascript">
 			var pageVue = null;
@@ -80,6 +80,8 @@
 							// },
 						],
 						dataRequestObj: {},
+						
+						isShowTab: false,
 					},
 					created() {},
 					
@@ -242,7 +244,7 @@
 										return bo_
 									},
 									onclick: function(obj) {
-										me.openCustomer('browse',obj.selectedList[0])
+										me.openCustomerHistory('browse',obj.selectedList[0])
 									}
                                 }
                             ]
@@ -270,6 +272,40 @@
 								text: "鎺ㄥ箍鍟嗚瘎浼颁俊鎭�" + (row.customer_code ? ("-" + row.customer_code) : ""),
 								id: "evaluation_management_edit" + row.id + sceneCode,
 								url: "module/md/page/customer/page/evaluation_management_edit.html",
+								data: row,
+								delta: {},
+								sceneCode: sceneCode,//"refuseedit",//"approval", //"add"//"browse",
+								callback: function(obj, callback) {
+									me.onQuery();
+									if (callback) {
+										callback();
+									}
+								}
+							};
+							me.doPopupByPublic(config);
+						},
+						openCustomerHistory(sceneCode, obj) {
+							let me = this;
+							var row = {}
+							if (sceneCode == "edit" || sceneCode == "browse") {
+								row = me.selectTabObj.selectedrow;
+								if(!row){
+									Root.message({
+										type: 'warning',
+										message: '璇烽�夋嫨涓�鏉℃暟鎹�'
+									});
+									return;
+								}
+							}
+							
+							var config = {
+								totab: false, //true: 浠ab瀵艰埅鐨勬柟寮忔墦寮�
+								width: "1100px",
+								height: "520px",
+								icon: "icon-product",
+								text: "鎺ㄥ箍鍟嗚瘎浼拌褰�" + (row.customer_code ? ("-" + row.customer_code) : ""),
+								id: "evaluation_management_edit" + row.id + sceneCode,
+								url: "module/md/page/customer/page/evaluation_history.html",
 								data: row,
 								delta: {},
 								sceneCode: sceneCode,//"refuseedit",//"approval", //"add"//"browse",
@@ -317,7 +353,7 @@
 						</el-button-group>
 					</div>
 				</div>
-				<div>
+				<div v-show="isShowTab">
 					<el-tabs v-model="activeTabName" @tab-click="handleClick">
 						<el-tab-pane v-for="(tab, k) in tabs" :label="tab.name" :name="tab.code" :key="k"></el-tab-pane>
 					</el-tabs>

--
Gitblit v1.8.0