|
|
@@ -22,13 +22,13 @@
|
|
22
|
22
|
height: 610px;
|
|
23
|
23
|
}
|
|
24
|
24
|
|
|
25
|
|
- .boxCon table th {
|
|
26
|
|
- width: 20%;
|
|
27
|
|
- }
|
|
|
25
|
+ .boxCon table th {
|
|
|
26
|
+ width: 20%;
|
|
|
27
|
+ }
|
|
28
|
28
|
|
|
29
|
|
- .boxCon table td textarea {
|
|
30
|
|
- width: 100%;
|
|
31
|
|
- }
|
|
|
29
|
+ .boxCon table td textarea {
|
|
|
30
|
+ width: 100%;
|
|
|
31
|
+ }
|
|
32
|
32
|
|
|
33
|
33
|
|
|
34
|
34
|
.treeTable {
|
|
|
@@ -110,6 +110,7 @@
|
|
110
|
110
|
<th data-field="F_Title" data-align="left">标题</th>
|
|
111
|
111
|
<th data-field="F_Description" data-align="left" data-formatter="oper">内容</th>
|
|
112
|
112
|
<th data-field="F_KeyWords" data-align="center">关键字</th>
|
|
|
113
|
+ <th data-field="F_CreateName" data-align="center">创建人</th>
|
|
113
|
114
|
<th data-field="F_CreateOn" data-align="center">创建时间</th>
|
|
114
|
115
|
</tr>
|
|
115
|
116
|
</thead>
|
|
|
@@ -201,29 +202,29 @@
|
|
201
|
202
|
var changes = $.map($('#table1').bootstrapTable('getSelections'), function (row) {
|
|
202
|
203
|
return row.F_RepositoryId;
|
|
203
|
204
|
});
|
|
204
|
|
- if ((changes.length <= 0 ) || (changes.length > 1)) {
|
|
|
205
|
+ if ((changes.length <= 0) || (changes.length > 1)) {
|
|
205
|
206
|
layer.confirm('请选择查一行查看!', {
|
|
206
|
207
|
btn: ['确定']
|
|
207
|
208
|
});
|
|
208
|
209
|
return;
|
|
209
|
210
|
} else {
|
|
210
|
211
|
//iframe窗
|
|
211
|
|
- layer.open({
|
|
212
|
|
- type: 2,
|
|
213
|
|
- title: '查看知识库',
|
|
214
|
|
- shadeClose: true, //是否开启点击遮罩关闭
|
|
215
|
|
- shade: 0.4, //遮罩
|
|
216
|
|
- maxmin: true, //开启最大化最小化按钮
|
|
217
|
|
- id: 'LAY_layuipro',//防止重复弹出
|
|
218
|
|
- moveType: 1,//拖拽类型 默认的拖拽风格正如你所见到的,会有个过度的透明框。但是如果你不喜欢,你可以设定moveType: 1切换到传统的拖拽模式
|
|
219
|
|
- moveOut: true, //拖拽到窗口外
|
|
220
|
|
- //resize: true,//是否允许拉伸
|
|
221
|
|
- area: ['70%', '50%'],
|
|
222
|
|
- content: 'addModel.html?changeGetid='+ changes +''
|
|
223
|
|
- });
|
|
|
212
|
+ layer.open({
|
|
|
213
|
+ type: 2,
|
|
|
214
|
+ title: '查看知识库',
|
|
|
215
|
+ shadeClose: true, //是否开启点击遮罩关闭
|
|
|
216
|
+ shade: 0.4, //遮罩
|
|
|
217
|
+ maxmin: true, //开启最大化最小化按钮
|
|
|
218
|
+ id: 'LAY_layuipro',//防止重复弹出
|
|
|
219
|
+ moveType: 1,//拖拽类型 默认的拖拽风格正如你所见到的,会有个过度的透明框。但是如果你不喜欢,你可以设定moveType: 1切换到传统的拖拽模式
|
|
|
220
|
+ moveOut: true, //拖拽到窗口外
|
|
|
221
|
+ //resize: true,//是否允许拉伸
|
|
|
222
|
+ area: ['70%', '50%'],
|
|
|
223
|
+ content: 'addModel.html?changeGetid=' + changes + ''
|
|
|
224
|
+ });
|
|
224
|
225
|
}
|
|
225
|
226
|
})
|
|
226
|
|
-
|
|
|
227
|
+
|
|
227
|
228
|
//***********************添加功能结束=============================
|
|
228
|
229
|
initTable();
|
|
229
|
230
|
function initTable(token, id, keyWord) {
|