liuyifan лет назад: 5
Родитель
Сommit
858508d762

+ 13 - 11
CallCenterWeb.UI/registrationManagement/registrationList/js/registrationList.js

@@ -79,7 +79,9 @@ function formatterRegisterDirection(val, row) {
79 79
 //登记信息
80 80
 function formatterOperating(val, row) {
81 81
     return '<ul class="tool_downs">' +
82
-		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_edit_' + row.F_ID + '" onclick="btn_edit(\'' + row.F_ID + '\')" title="编辑">编辑</a></li>' +
82
+        '<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_edit_' + row.F_ID + '" onclick="btn_edit(\'' + row.F_ID + '\')" title="编辑">编辑</a></li>' +
83
+        '<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_transfer_' + row.F_ID + '" onclick="btn_transfer(\'' + row.F_ID + '\')" title="转移">转移</a></li>' +
84
+		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_print_' + row.F_ID + '" onclick="btn_print(\'' + row.F_ID + '\')" title="打印">打印</a></li>' +
83 85
 		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_delete_' + row.F_ID + '" onclick="btn_delete(\'' + row.F_ID + '\')" title="删除">删除</a></li>' +
84 86
 		'</ul>';
85 87
 }
@@ -108,6 +110,16 @@ function btn_edit(id) {
108 110
     });
109 111
 }
110 112
 
113
+function btn_print(id) {
114
+    layer.open({
115
+        type: 2,
116
+        title: '打印登记信息',
117
+        maxmin: true, //开启最大化最小化按钮
118
+        area: ['80%', '80%'],
119
+        content: 'print.html?ids=' + id
120
+    });
121
+}
122
+
111 123
 function btn_register_details(id) {
112 124
     layer.open({
113 125
         type: 2,
@@ -128,16 +140,6 @@ function btn_transfer(id) {
128 140
     });
129 141
 }
130 142
 
131
-// function btn_receive(id) {
132
-//     layer.open({
133
-//         type: 2,
134
-//         title: '接收登记',
135
-//         maxmin: true, //开启最大化最小化按钮
136
-//         area: ['50%', '50%'],
137
-//         content: 'receive.html?ids=' + id
138
-//     });
139
-// }
140
-
141 143
 function btn_receive (id) {
142 144
     var laye = layer.confirm('您确定要接收吗?', {
143 145
         btn: ['确定', '取消'] //可以无限个按钮

+ 1 - 1
CallCenterWeb.UI/registrationManagement/registrationList/registrationListTransfer.html

@@ -110,7 +110,7 @@
110 110
                             <th data-field="CreateByName" data-align="center">创建人</th>
111 111
 							<th data-field="F_Remark" data-align="center">备注</th>
112 112
 							<th data-field="F_CreateOn" data-align="center">创建时间</th>
113
-							<th data-field="" data-align="center" data-formatter="formatterOperatingTransfer">操作</th>
113
+							<!-- <th data-field="" data-align="center" data-formatter="formatterOperatingTransfer">操作</th> -->
114 114
 						</tr>
115 115
 					</thead>
116 116
 				</table>