mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-10-29 08:58:22 +08:00
refactor(view): 清理十八页冗余的受控显式声明
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
$(function(){
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
toolbar: [],
|
||||
defaultToolbar: ['filter'],
|
||||
cols: [[
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
$(function(){
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
toolbar: [],
|
||||
defaultToolbar: ['filter'],
|
||||
cols: [[
|
||||
|
||||
@@ -15,7 +15,6 @@ $(function () {
|
||||
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
toolbar: [],
|
||||
cols: [[
|
||||
{field: 'request_time', title: '请求时间', width: 170, sort: true, search: 'range', templet: formatRequestTime},
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
$(function(){
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
toolbar: [],
|
||||
cols: [[
|
||||
{field: 'id', title: 'ID', width: 80, sort: true},
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
$(function(){
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
toolbar: ['add', 'delete'],
|
||||
cols: [[
|
||||
{type: 'checkbox'},
|
||||
|
||||
@@ -3,7 +3,6 @@ $(function () {
|
||||
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
cols: [[
|
||||
{ type: "checkbox" },
|
||||
{ field: 'id', width: 80, title: 'ID' },
|
||||
|
||||
@@ -3,7 +3,6 @@ $(function () {
|
||||
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
totalRow: true,
|
||||
cols: [[
|
||||
{ type: "checkbox" },
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
$(function () {
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
cols: [[
|
||||
{ type: 'checkbox' },
|
||||
{ field: 'id', title: 'id' },
|
||||
|
||||
@@ -2,7 +2,6 @@ $(function () {
|
||||
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
// 多形态视图官方示例:table(默认首选)+ 名片(Vue 自定义模板)。
|
||||
// layoutList 条目 >1 时工具栏自动出现"视图"切换按钮;tplVueId 指向
|
||||
// index.html 中的 <script type="text/x-template" id="usercardTpl">
|
||||
|
||||
@@ -9,7 +9,6 @@ $(function () {
|
||||
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
// 把 role_id 带入分页请求,后端 assignUsers($id) 据此计算 FIND_IN_SET(has_role)
|
||||
where: { id: $('#roleId').val() },
|
||||
cols: [[
|
||||
|
||||
@@ -2,7 +2,6 @@ $(function () {
|
||||
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
cols: [[
|
||||
{ type: "checkbox" },
|
||||
{ field: 'id', width: 80, title: 'ID' },
|
||||
|
||||
@@ -2,7 +2,6 @@ $(function(){
|
||||
ua.table.render({
|
||||
toolbar: ['refresh'],
|
||||
init: init,
|
||||
controlled: true,
|
||||
cols: [[
|
||||
{type: 'checkbox'},
|
||||
{field: 'id', title: 'ID'},
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
$(function(){
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
toolbar: ['refresh', 'add', 'delete'],
|
||||
cols: [[
|
||||
{type: 'checkbox'},
|
||||
|
||||
@@ -30,7 +30,6 @@ $(function(){
|
||||
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
toolbar: ['refresh', 'delete'],
|
||||
defaultToolbar: ['filter'],
|
||||
cols: [[
|
||||
|
||||
@@ -2,7 +2,6 @@ $(function () {
|
||||
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
cols: [[
|
||||
{type: "checkbox"},
|
||||
{field: 'id', width: 80, title: 'ID'},
|
||||
|
||||
@@ -228,7 +228,6 @@ $(function(){
|
||||
init: init,
|
||||
toolbar: ['refresh', 'export'],
|
||||
cols: cols,
|
||||
controlled: true,
|
||||
});
|
||||
|
||||
ua.listen();
|
||||
|
||||
@@ -58,7 +58,6 @@ $(function(){
|
||||
init: init,
|
||||
toolbar: ['refresh'],
|
||||
defaultToolbar: ['filter'],
|
||||
controlled: true,
|
||||
cols: [[
|
||||
{type: 'checkbox'},
|
||||
{field: 'id', title: 'ID', width: 80, sort: true},
|
||||
|
||||
@@ -2,7 +2,6 @@ $(function () {
|
||||
|
||||
ua.table.render({
|
||||
init: init,
|
||||
controlled: true,
|
||||
cols: [[
|
||||
{ type: "checkbox" },
|
||||
{ field: 'id', width: 80, title: 'ID' },
|
||||
|
||||
Reference in New Issue
Block a user