From e130e13ef0cc4a827aa2c8d9e47d619a4cea40d0 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 10 十一月 2020 10:53:53 +0800 Subject: [PATCH] 订单筛选改变 --- js/admin-creat.js | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/js/admin-creat.js b/js/admin-creat.js index 8592513..b75d176 100644 --- a/js/admin-creat.js +++ b/js/admin-creat.js @@ -127,7 +127,8 @@ // 绛涢�夐」 screen: { show: false, // 鏄惁鏄剧ず - list: [], // 鍙�夊垪琛� + list: [], // 鍙�夊垪琛� + btns:[],//鎸夐挳鍒楄〃 touch: function () {}, // 浜嬩欢瑙﹀彂 // 灞曞紑 / 鏀惰捣 鐐瑰嚮 action_show: function () { $(".admin-header-screen").toggleClass("displayNone"); }, @@ -147,7 +148,10 @@ // 鑾峰彇褰撳墠缁撴灉 var thisScreen = vm_header.resultGet(); vm_header.screen.touch(thisScreen.screen); - }, + }, + action_btnClick:function(item){ + item.actionClick(); + } }, }, // 棰濆鏂规硶 @@ -292,7 +296,8 @@ */ if (typeof(objC.show)!="undefined") { vm_header.screen.show = objC.show; } if (typeof(objC.list)!="undefined") { vm_header.screen.list = objC.list; } - if (typeof(objC.touch)!="undefined") { vm_header.screen.touch = objC.touch; } + if (typeof(objC.touch)!="undefined") { vm_header.screen.touch = objC.touch; } + if (typeof(objC.btns)!="undefined") { vm_header.screen.btns = objC.btns; } }, }, -- Gitblit v1.8.0