|
@@ -1,237 +1,313 @@
|
1
|
1
|
<!DOCTYPE html>
|
2
|
2
|
<html>
|
3
|
3
|
<head>
|
4
|
|
-<title>标的物审批</title>
|
5
|
|
-<meta charset="UTF-8">
|
6
|
|
-<link rel="stylesheet" href="https://yun.eqbidding.com/extjs/extjs6.0/classic/theme-crisp/resources/theme-crisp-all.css"></link>
|
7
|
|
-<script src="https://yun.eqbidding.com/extjs/extjs6.0/ext-all.js"></script>
|
8
|
|
-<script src="https://yun.eqbidding.com/extjs/extjs6.0/classic/locale/locale-zh_CN.js"></script>
|
9
|
|
-<script type="text/javascript" src="/web-cp-all/resource/js/app.js"></script>
|
10
|
|
-<script type="text/javascript" src="/web-cp-all/resource/js/time/time.js"></script>
|
11
|
|
-<script type="text/javascript" src="select.js"></script>
|
12
|
|
-<script type="text/javascript">
|
13
|
|
- var verify_id;
|
|
4
|
+ <title>标的物审批</title>
|
|
5
|
+ <meta charset="UTF-8">
|
|
6
|
+ <link rel="stylesheet" href="https://yun.eqbidding.com/extjs/extjs6.0/classic/theme-crisp/resources/theme-crisp-all.css"></link>
|
|
7
|
+ <script src="https://yun.eqbidding.com/extjs/extjs6.0/ext-all.js"></script>
|
|
8
|
+ <script src="https://yun.eqbidding.com/extjs/extjs6.0/classic/locale/locale-zh_CN.js"></script>
|
|
9
|
+ <script type="text/javascript" src="/web-cp-all/resource/js/app.js"></script>
|
|
10
|
+ <script type="text/javascript" src="/web-cp-all/resource/js/time/time.js"></script>
|
|
11
|
+ <script type="text/javascript" src="select.js"></script>
|
|
12
|
+ <script type="text/javascript">
|
|
13
|
+ var verify_id;
|
14
|
14
|
|
15
|
|
- //初始化列表数据
|
16
|
|
- dataStore = Ext.create('Ext.data.Store', {
|
17
|
|
- remoteSort : true,
|
18
|
|
- autoLoad : true,
|
19
|
|
- pageSize : 20,
|
20
|
|
- sorters : {
|
21
|
|
- property : 'created',
|
22
|
|
- direction : 'DESC'
|
23
|
|
- },
|
24
|
|
- proxy : {
|
25
|
|
- type : "ajax",
|
26
|
|
- url : "/web-cp-all/cp/pm/verify/list_data_pm",
|
27
|
|
- reader : {
|
28
|
|
- type : 'json',
|
29
|
|
- root : 'list',
|
30
|
|
- totalProperty : 'page.totalRow'
|
31
|
|
- }
|
32
|
|
- },
|
33
|
|
- listeners : {
|
34
|
|
- 'beforeload' : function(store, op, options) {
|
35
|
|
- var params = searchFormPanel.getForm().getValues();
|
36
|
|
- Ext.apply(dataStore.proxy.extraParams, params);
|
37
|
|
- }
|
38
|
|
- }
|
39
|
|
- }); //#dataStore
|
40
|
|
-console.log(dataStore);
|
41
|
|
- var searchFormPanel = Ext.create('Ext.form.Panel', {
|
42
|
|
- frame : true,
|
43
|
|
- title : "搜索条件",
|
44
|
|
- style : {
|
45
|
|
- marginBottom : '5px'
|
46
|
|
- },
|
47
|
|
- bodyStyle : {
|
48
|
|
- padding : '10px'
|
49
|
|
- },
|
50
|
|
- buttonAlign : "center",
|
51
|
|
- collapsible : true,
|
52
|
|
- defaultType : "textfield",
|
53
|
|
- items : [ {
|
54
|
|
- xtype : "container",
|
55
|
|
- layout : "hbox",
|
56
|
|
- items : [ {
|
57
|
|
- xtype : "textfield",
|
58
|
|
- fieldLabel : "标的物名称",
|
59
|
|
- name : "srh.notice_title"
|
60
|
|
- }]
|
61
|
|
- } ],
|
62
|
|
- buttons : [ {
|
63
|
|
- text : "搜索",
|
64
|
|
- icon : jcapp.getIcon("magnifier.png"),
|
65
|
|
- handler : function() {
|
66
|
|
- dataStore.load({
|
67
|
|
- //params:params()
|
68
|
|
- });
|
69
|
|
- dataStore.sync();
|
70
|
|
- }
|
71
|
|
- }, {
|
72
|
|
- text : "重置",
|
73
|
|
- icon : jcapp.getIcon("arrow_refresh.png"),
|
74
|
|
- handler : function() {
|
75
|
|
- this.up('form').getForm().reset();
|
76
|
|
- dataStore.load({});
|
77
|
|
- dataStore.sync();
|
78
|
|
- }
|
79
|
|
- } ]
|
80
|
|
- }); //#searchFormPanel
|
81
|
|
-
|
82
|
|
- var listGridPanel = Ext.create('Ext.grid.Panel', {
|
83
|
|
- title : '标的物列表',
|
84
|
|
- dockedItems : [ {
|
85
|
|
- xtype : 'pagingtoolbar',
|
86
|
|
- store : dataStore,
|
87
|
|
- dock : 'bottom',
|
88
|
|
- displayInfo : true
|
89
|
|
- } ],
|
90
|
|
- store : dataStore,
|
91
|
|
- columns : [
|
92
|
|
- {
|
93
|
|
- text : 'kid',
|
94
|
|
- name : 'kid',
|
95
|
|
- hidden : true
|
96
|
|
- },{
|
97
|
|
- text : '标的物名称',
|
98
|
|
- dataIndex : 'item_name',
|
99
|
|
- flex : 1,
|
100
|
|
- align : 'center'
|
101
|
|
- },{
|
102
|
|
- text : '标的物类型',
|
103
|
|
- dataIndex : 'bid_type',
|
104
|
|
- flex : 1,
|
105
|
|
- align : 'center'
|
106
|
|
- },{
|
107
|
|
- text : '拍卖方式',
|
108
|
|
- dataIndex : 'auction_way',
|
109
|
|
- flex : 1,
|
110
|
|
- align : 'center'
|
111
|
|
- },{
|
112
|
|
- text : '联系人',
|
113
|
|
- dataIndex : 'auctioneer',
|
114
|
|
- flex : 1,
|
115
|
|
- align : 'center'
|
116
|
|
- },{
|
117
|
|
- text : '审批状态',
|
118
|
|
- dataIndex : 'verify_status',
|
119
|
|
- flex : 0.4,
|
120
|
|
- align : 'center'
|
121
|
|
- },{
|
122
|
|
- text : '创建时间',
|
123
|
|
- dataIndex : 'created',
|
124
|
|
- flex : 1,
|
125
|
|
- align : 'center'
|
126
|
|
- },{
|
127
|
|
- xtype : "actioncolumn",
|
128
|
|
- align : "center",
|
129
|
|
- text : '操作',
|
130
|
|
- flex : 1,
|
131
|
|
- items : [
|
132
|
|
- {
|
133
|
|
- xtype : 'button',
|
134
|
|
- tooltip : '通过',
|
135
|
|
- renderer : function(value, row, column, rowIndex, data, table){
|
136
|
|
- return "审核通过";
|
137
|
|
- },
|
138
|
|
- icon : jcapp.getIcon("user_tick.png"),
|
139
|
|
- handler : function(grid, rowIndex, colIndex) {
|
140
|
|
- var rec = grid.getStore().getAt(rowIndex);
|
141
|
|
- myPass(rec.get('kid'),'审核通过');
|
142
|
|
- }
|
143
|
|
- },{
|
144
|
|
- xtype:"container"
|
145
|
|
- },{
|
146
|
|
- xtype : 'button',
|
147
|
|
- tooltip : '不通过',
|
148
|
|
- icon : jcapp.getIcon("user_cross.png"),
|
149
|
|
- handler : function(grid, rowIndex, colIndex) {
|
150
|
|
- var rec = grid.getStore().getAt(rowIndex);
|
151
|
|
- myNotPass(rec.get('kid'),'未通过');
|
152
|
|
- }
|
153
|
|
- },{
|
154
|
|
- xtype:"container"
|
155
|
|
- },{
|
156
|
|
- xtype : 'button',
|
157
|
|
- tooltip : '查看详情',
|
158
|
|
- icon : jcapp.getIcon("user_magnify.png"),
|
159
|
|
- handler : function(grid, rowIndex, colIndex) {
|
160
|
|
- var rec = grid.getStore().getAt(rowIndex);
|
161
|
|
- var kid = rec.get('kid');
|
162
|
|
- details(kid);
|
163
|
|
- }
|
164
|
|
- },{
|
165
|
|
- xtype:"container"
|
166
|
|
- },{
|
167
|
|
- xtype : 'button',
|
168
|
|
- tooltip : '查看标的物上传图片',
|
169
|
|
- icon : jcapp.getIcon("vcard.png"),
|
170
|
|
- handler : function(grid, rowIndex, colIndex) {
|
171
|
|
- var rec = grid.getStore().getAt(rowIndex);
|
172
|
|
- var bid_file_id = rec.get('bid_file_id');
|
173
|
|
-
|
174
|
|
- if(bid_file_id == undefined){
|
175
|
|
- Ext.Msg.alert("提示", "没有相关信息!");
|
176
|
|
- }else{
|
177
|
|
- var array = bid_file_id.split(",");
|
178
|
|
- var nums = [];
|
179
|
|
- for(var i = 0 ; i < array.length ;i++){
|
180
|
|
- nums.push(parseInt(array[i]));
|
181
|
|
- window.open(getServerHttp()+"/img_pm/img/"+array[i]);
|
182
|
|
- }
|
183
|
|
- }
|
184
|
|
- }
|
185
|
|
- }
|
186
|
|
- ]
|
187
|
|
- }
|
188
|
|
- ],
|
189
|
|
- viewConfig:{
|
190
|
|
- enableTextSelection:true
|
191
|
|
- }
|
192
|
|
- });
|
193
|
|
-
|
194
|
|
- Ext.onReady(function() {
|
195
|
|
- searchFormPanel.render(Ext.getBody());
|
196
|
|
- listGridPanel.render(Ext.getBody());
|
197
|
|
- });
|
198
|
|
-
|
199
|
|
- function myPass(kid,verify_status){
|
200
|
|
- Ext.Msg.confirm("提示:", "是否通过该标的物的审核?", function(e) {
|
201
|
|
- if (e == "yes") {
|
202
|
|
- Ext.Ajax.request({
|
203
|
|
- url : "/web-cp-all/cp/pm/verify/pm_verify?kid=" + kid + "&verify_status=" + verify_status,
|
204
|
|
- success : function(response) {
|
205
|
|
- Ext.Msg.alert("操作","通过成功");
|
206
|
|
- dataStore.load();
|
207
|
|
- },
|
208
|
|
- failure : function(response) {
|
209
|
|
- Ext.Msg.alert("提示", "操作失败!");
|
210
|
|
- }
|
211
|
|
- });
|
212
|
|
- }
|
213
|
|
- });
|
214
|
|
- }
|
215
|
|
-
|
216
|
|
- function myNotPass(kid,verify_status){
|
217
|
|
- Ext.Msg.confirm("提示:", "是否拒绝该标的物的审核?", function(e) {
|
218
|
|
- if (e == "yes") {
|
219
|
|
- Ext.Ajax.request({
|
220
|
|
- url : "/web-cp-all/cp/pm/verify/pm_verify?kid=" + kid + "&verify_status=" + verify_status,
|
221
|
|
- success : function(response) {
|
222
|
|
- Ext.Msg.alert("操作","拒绝成功");
|
223
|
|
- dataStore.load();
|
224
|
|
- },
|
225
|
|
- failure : function(response) {
|
226
|
|
- Ext.Msg.alert("提示", "操作失败!");
|
227
|
|
- }
|
228
|
|
- });
|
229
|
|
- }
|
230
|
|
- });
|
231
|
|
- }
|
232
|
|
-
|
233
|
|
-
|
234
|
|
-</script>
|
|
15
|
+ //初始化列表数据
|
|
16
|
+ dataStore = Ext.create('Ext.data.Store', {
|
|
17
|
+ remoteSort : true,
|
|
18
|
+ autoLoad : true,
|
|
19
|
+ pageSize : 20,
|
|
20
|
+ sorters : {
|
|
21
|
+ property : 'created',
|
|
22
|
+ direction : 'DESC'
|
|
23
|
+ },
|
|
24
|
+ proxy : {
|
|
25
|
+ type : "ajax",
|
|
26
|
+ url : "/web-cp-all/cp/pm/verify/list_data_pm",
|
|
27
|
+ reader : {
|
|
28
|
+ type : 'json',
|
|
29
|
+ root : 'list',
|
|
30
|
+ totalProperty : 'page.totalRow'
|
|
31
|
+ }
|
|
32
|
+ },
|
|
33
|
+ listeners : {
|
|
34
|
+ 'beforeload' : function(store, op, options) {
|
|
35
|
+ var params = searchFormPanel.getForm().getValues();
|
|
36
|
+ Ext.apply(dataStore.proxy.extraParams, params);
|
|
37
|
+ }
|
|
38
|
+ }
|
|
39
|
+ }); //#dataStore
|
|
40
|
+ console.log(dataStore);
|
|
41
|
+ var searchFormPanel = Ext.create('Ext.form.Panel', {
|
|
42
|
+ frame : true,
|
|
43
|
+ title : "搜索条件",
|
|
44
|
+ style : {
|
|
45
|
+ marginBottom : '5px'
|
|
46
|
+ },
|
|
47
|
+ bodyStyle : {
|
|
48
|
+ padding : '10px'
|
|
49
|
+ },
|
|
50
|
+ buttonAlign : "center",
|
|
51
|
+ collapsible : true,
|
|
52
|
+ defaultType : "textfield",
|
|
53
|
+ items : [ {
|
|
54
|
+ xtype : "container",
|
|
55
|
+ layout : "hbox",
|
|
56
|
+ items : [ {
|
|
57
|
+ xtype : "textfield",
|
|
58
|
+ fieldLabel : "标的物名称",
|
|
59
|
+ name : "srh.notice_title"
|
|
60
|
+ }]
|
|
61
|
+ } ],
|
|
62
|
+ buttons : [ {
|
|
63
|
+ text : "搜索",
|
|
64
|
+ icon : jcapp.getIcon("magnifier.png"),
|
|
65
|
+ handler : function() {
|
|
66
|
+ dataStore.load({
|
|
67
|
+ //params:params()
|
|
68
|
+ });
|
|
69
|
+ dataStore.sync();
|
|
70
|
+ }
|
|
71
|
+ }, {
|
|
72
|
+ text : "重置",
|
|
73
|
+ icon : jcapp.getIcon("arrow_refresh.png"),
|
|
74
|
+ handler : function() {
|
|
75
|
+ this.up('form').getForm().reset();
|
|
76
|
+ dataStore.load({});
|
|
77
|
+ dataStore.sync();
|
|
78
|
+ }
|
|
79
|
+ } ]
|
|
80
|
+ }); //#searchFormPanel
|
|
81
|
+
|
|
82
|
+ var listGridPanel = Ext.create('Ext.grid.Panel', {
|
|
83
|
+ title : '标的物列表',
|
|
84
|
+ dockedItems : [ {
|
|
85
|
+ xtype : 'pagingtoolbar',
|
|
86
|
+ store : dataStore,
|
|
87
|
+ dock : 'bottom',
|
|
88
|
+ displayInfo : true
|
|
89
|
+ } ],
|
|
90
|
+ store : dataStore,
|
|
91
|
+ columns : [
|
|
92
|
+ {
|
|
93
|
+ text : 'kid',
|
|
94
|
+ name : 'kid',
|
|
95
|
+ hidden : true
|
|
96
|
+ },{
|
|
97
|
+ text : '标的物名称',
|
|
98
|
+ dataIndex : 'item_name',
|
|
99
|
+ flex : 1,
|
|
100
|
+ align : 'center'
|
|
101
|
+ },{
|
|
102
|
+ text : '标的物类型',
|
|
103
|
+ dataIndex : 'bid_type',
|
|
104
|
+ flex : 1,
|
|
105
|
+ align : 'center'
|
|
106
|
+ },{
|
|
107
|
+ text : '拍卖方式',
|
|
108
|
+ dataIndex : 'auction_way',
|
|
109
|
+ flex : 1,
|
|
110
|
+ align : 'center'
|
|
111
|
+ },{
|
|
112
|
+ text : '联系人',
|
|
113
|
+ dataIndex : 'auctioneer',
|
|
114
|
+ flex : 1,
|
|
115
|
+ align : 'center'
|
|
116
|
+ },{
|
|
117
|
+ text : '审批状态',
|
|
118
|
+ dataIndex : 'verify_status',
|
|
119
|
+ flex : 0.4,
|
|
120
|
+ align : 'center'
|
|
121
|
+ },{
|
|
122
|
+ text : '创建时间',
|
|
123
|
+ dataIndex : 'created',
|
|
124
|
+ flex : 1,
|
|
125
|
+ align : 'center'
|
|
126
|
+ },{
|
|
127
|
+ xtype : "actioncolumn",
|
|
128
|
+ align : "center",
|
|
129
|
+ text : '操作',
|
|
130
|
+ flex : 1,
|
|
131
|
+ items : [
|
|
132
|
+ {
|
|
133
|
+ xtype : 'button',
|
|
134
|
+ tooltip : '通过',
|
|
135
|
+ renderer : function(value, row, column, rowIndex, data, table){
|
|
136
|
+ return "审核通过";
|
|
137
|
+ },
|
|
138
|
+ icon : jcapp.getIcon("user_tick.png"),
|
|
139
|
+ handler : function(grid, rowIndex, colIndex) {
|
|
140
|
+ var rec = grid.getStore().getAt(rowIndex);
|
|
141
|
+ myPass(rec.get('kid'),'审核通过');
|
|
142
|
+ }
|
|
143
|
+ },{
|
|
144
|
+ xtype:"container"
|
|
145
|
+ },{
|
|
146
|
+ xtype : 'button',
|
|
147
|
+ tooltip : '不通过',
|
|
148
|
+ icon : jcapp.getIcon("user_cross.png"),
|
|
149
|
+ handler : function(grid, rowIndex, colIndex) {
|
|
150
|
+ var rec = grid.getStore().getAt(rowIndex);
|
|
151
|
+ myNotPass(rec.get('kid'),'未通过');
|
|
152
|
+ }
|
|
153
|
+ },{
|
|
154
|
+ xtype:"container"
|
|
155
|
+ },{
|
|
156
|
+ xtype : 'button',
|
|
157
|
+ tooltip : '查看详情',
|
|
158
|
+ icon : jcapp.getIcon("user_magnify.png"),
|
|
159
|
+ handler : function(grid, rowIndex, colIndex) {
|
|
160
|
+ var rec = grid.getStore().getAt(rowIndex);
|
|
161
|
+ var kid = rec.get('kid');
|
|
162
|
+ details(kid);
|
|
163
|
+ }
|
|
164
|
+ },{
|
|
165
|
+ xtype:"container"
|
|
166
|
+ },{
|
|
167
|
+ xtype : 'button',
|
|
168
|
+ tooltip : '查看标的物上传图片',
|
|
169
|
+ icon : jcapp.getIcon("vcard.png"),
|
|
170
|
+ handler : function(grid, rowIndex, colIndex) {
|
|
171
|
+ var rec = grid.getStore().getAt(rowIndex);
|
|
172
|
+ var bid_file_id = rec.get('bid_file_id');
|
|
173
|
+
|
|
174
|
+ if(bid_file_id == undefined){
|
|
175
|
+ Ext.Msg.alert("提示", "没有相关信息!");
|
|
176
|
+ }else{
|
|
177
|
+ /*var array = bid_file_id.split(",");
|
|
178
|
+ var nums = [];
|
|
179
|
+ for(var i = 0 ; i < array.length ;i++){
|
|
180
|
+ nums.push(parseInt(array[i]));
|
|
181
|
+ window.open(getServerHttp()+"/img_pm/img/"+array[i]);
|
|
182
|
+ }*/
|
|
183
|
+ enlarge(bid_file_id);
|
|
184
|
+ }
|
|
185
|
+ }
|
|
186
|
+ }
|
|
187
|
+ ]
|
|
188
|
+ }
|
|
189
|
+ ],
|
|
190
|
+ viewConfig:{
|
|
191
|
+ enableTextSelection:true
|
|
192
|
+ }
|
|
193
|
+ });
|
|
194
|
+
|
|
195
|
+ Ext.onReady(function() {
|
|
196
|
+ searchFormPanel.render(Ext.getBody());
|
|
197
|
+ listGridPanel.render(Ext.getBody());
|
|
198
|
+ });
|
|
199
|
+
|
|
200
|
+ function myPass(kid,verify_status){
|
|
201
|
+ Ext.Msg.confirm("提示:", "是否通过该标的物的审核?", function(e) {
|
|
202
|
+ if (e == "yes") {
|
|
203
|
+ Ext.Ajax.request({
|
|
204
|
+ url : "/web-cp-all/cp/pm/verify/pm_verify?kid=" + kid + "&verify_status=" + verify_status,
|
|
205
|
+ success : function(response) {
|
|
206
|
+ Ext.Msg.alert("操作","通过成功");
|
|
207
|
+ dataStore.load();
|
|
208
|
+ },
|
|
209
|
+ failure : function(response) {
|
|
210
|
+ Ext.Msg.alert("提示", "操作失败!");
|
|
211
|
+ }
|
|
212
|
+ });
|
|
213
|
+ }
|
|
214
|
+ });
|
|
215
|
+ }
|
|
216
|
+
|
|
217
|
+ function myNotPass(kid,verify_status){
|
|
218
|
+ Ext.Msg.confirm("提示:", "是否拒绝该标的物的审核?", function(e) {
|
|
219
|
+ if (e == "yes") {
|
|
220
|
+ Ext.Ajax.request({
|
|
221
|
+ url : "/web-cp-all/cp/pm/verify/pm_verify?kid=" + kid + "&verify_status=" + verify_status,
|
|
222
|
+ success : function(response) {
|
|
223
|
+ Ext.Msg.alert("操作","拒绝成功");
|
|
224
|
+ dataStore.load();
|
|
225
|
+ },
|
|
226
|
+ failure : function(response) {
|
|
227
|
+ Ext.Msg.alert("提示", "操作失败!");
|
|
228
|
+ }
|
|
229
|
+ });
|
|
230
|
+ }
|
|
231
|
+ });
|
|
232
|
+ }
|
|
233
|
+
|
|
234
|
+ var imgIndex = 0;
|
|
235
|
+ var operationIndex = ''; //up 上一页 down 下一页
|
|
236
|
+ var imgSize = 0;
|
|
237
|
+ function enlarge(bid_file_id){
|
|
238
|
+ var array = bid_file_id.split(",");
|
|
239
|
+ var html = '<div style="width:100%;height:100%;">' ;
|
|
240
|
+ imgSize = array.length-1;
|
|
241
|
+ for(var i = 0 ; i < array.length ;i++){
|
|
242
|
+ var str = getServerHttp()+"/img_pm/img/"+array[i];
|
|
243
|
+ html += '<img id="videoSource'+i+'" style="width:100%;height:100%;display:none;" src="'+str+'" />' ;
|
|
244
|
+ }
|
|
245
|
+ html += '<div>';
|
|
246
|
+ songPlayer.show();
|
|
247
|
+ Ext.getCmp("playerPanel").body.update(html);
|
|
248
|
+ showIndex();
|
|
249
|
+ }
|
|
250
|
+ function showIndex(){
|
|
251
|
+ if(operationIndex == 'down'){
|
|
252
|
+ if(imgIndex == imgSize){
|
|
253
|
+ Ext.Msg.alert("操作","最后一张无法下一页");
|
|
254
|
+ return;
|
|
255
|
+ }
|
|
256
|
+ document.getElementById("videoSource"+imgIndex).style.display="none";
|
|
257
|
+ imgIndex++;
|
|
258
|
+ console.log(imgIndex);
|
|
259
|
+ document.getElementById("videoSource"+imgIndex).style.display="block";
|
|
260
|
+ }else if(operationIndex == 'up'){
|
|
261
|
+ if(imgIndex == 0){
|
|
262
|
+ Ext.Msg.alert("操作","第一张无法上一页");
|
|
263
|
+ return;
|
|
264
|
+ }
|
|
265
|
+ document.getElementById("videoSource"+imgIndex).style.display="none";
|
|
266
|
+ imgIndex--;
|
|
267
|
+ console.log(imgIndex);
|
|
268
|
+ document.getElementById("videoSource"+imgIndex).style.display="block";
|
|
269
|
+ }else{
|
|
270
|
+ document.getElementById("videoSource"+imgIndex).style.display="block";
|
|
271
|
+ }
|
|
272
|
+ }
|
|
273
|
+ var playerForm=new Ext.Panel({
|
|
274
|
+ xtype : 'panel',
|
|
275
|
+ id : 'playerPanel',
|
|
276
|
+ width:600,
|
|
277
|
+ height:600,
|
|
278
|
+ html:""
|
|
279
|
+ })
|
|
280
|
+ var songPlayer = new Ext.Window({
|
|
281
|
+ layout : 'fit',
|
|
282
|
+ width:600,
|
|
283
|
+ height:600,
|
|
284
|
+ modal : true,
|
|
285
|
+ frame: true,
|
|
286
|
+ closable : false,
|
|
287
|
+ items : [playerForm] ,
|
|
288
|
+ buttons: [{
|
|
289
|
+ text: '上一页',
|
|
290
|
+ handler: function() {
|
|
291
|
+ operationIndex = 'up';
|
|
292
|
+ showIndex();
|
|
293
|
+ }
|
|
294
|
+ },{
|
|
295
|
+ text: '下一页',
|
|
296
|
+ handler: function() {
|
|
297
|
+ operationIndex = 'down';
|
|
298
|
+ showIndex();
|
|
299
|
+ }
|
|
300
|
+ },{
|
|
301
|
+ text: '关闭',
|
|
302
|
+ handler: function() {
|
|
303
|
+ Ext.getCmp('playerPanel').html ="";
|
|
304
|
+ Ext.getCmp("playerPanel").body.update("");
|
|
305
|
+ songPlayer.hide();
|
|
306
|
+ }
|
|
307
|
+ }]
|
|
308
|
+ });
|
|
309
|
+
|
|
310
|
+ </script>
|
235
|
311
|
</head>
|
236
|
312
|
<body>
|
237
|
313
|
</body>
|