oss上传功能改进

This commit is contained in:
zhh
2018-05-18 11:04:28 +08:00
parent 61d66f7caa
commit 8ad969b131
6 changed files with 15 additions and 26 deletions

View File

@@ -106,7 +106,7 @@ $(function() {
{field: 'email', title: '邮箱', sortable: true, halign: 'center'},
{field: 'address', title: '地址', sortable: true, halign: 'center'},
{field: 'remark', title: '备注', sortable: true, halign: 'center'},
{field: 'action', title: '操作', halign: 'center', align: 'center', formatter: 'actionFormatter', events: 'actionEvents', clickToSelect: false}
{field: 'host', title: '操作', halign: 'center', align: 'center', formatter: 'actionFormatter', events: 'actionEvents', clickToSelect: false}
]
}).on('all.bs.table', function (e, name, args) {
$('[data-toggle="tooltip"]').tooltip();
@@ -153,7 +153,7 @@ function createAction() {
confirm: {
text: '确认',
btnClass: 'waves-effect waves-button',
action: function () {
host: function () {
$.alert('确认');
}
},
@@ -190,7 +190,7 @@ function updateAction() {
confirm: {
text: '确认',
btnClass: 'waves-effect waves-button',
action: function () {
host: function () {
$.alert('确认');
}
},
@@ -228,7 +228,7 @@ function deleteAction() {
confirm: {
text: '确认',
btnClass: 'waves-effect waves-button',
action: function () {
host: function () {
var ids = new Array();
for (var i in rows) {
ids.push(rows[i].systemId);

View File

@@ -108,10 +108,10 @@
</a>
<ul class="dropdown-menu dm-icon pull-right">
<li class="hidden-xs">
<a class="waves-effect" data-ma-action="fullscreen" href="javascript:fullPage();"><i class="zmdi zmdi-fullscreen"></i> 全屏模式</a>
<a class="waves-effect" data-ma-host="fullscreen" href="javascript:fullPage();"><i class="zmdi zmdi-fullscreen"></i> 全屏模式</a>
</li>
<li>
<a class="waves-effect" data-ma-action="clear-localstorage" href="javascript:;"><i class="zmdi zmdi-delete"></i> 清除缓存</a>
<a class="waves-effect" data-ma-host="clear-localstorage" href="javascript:;"><i class="zmdi zmdi-delete"></i> 清除缓存</a>
</li>
<li>
<a class="waves-effect" href="javascript:;"><i class="zmdi zmdi-face"></i> 隐私管理</a>