refactor(view): 清理十八页冗余的受控显式声明

This commit is contained in:
augushong
2026-09-14 16:35:15 +00:00
parent 119c601063
commit d4367060b8
18 changed files with 0 additions and 18 deletions

View File

@@ -1,7 +1,6 @@
$(function(){
ua.table.render({
init: init,
controlled: true,
toolbar: [],
defaultToolbar: ['filter'],
cols: [[

View File

@@ -1,7 +1,6 @@
$(function(){
ua.table.render({
init: init,
controlled: true,
toolbar: [],
defaultToolbar: ['filter'],
cols: [[

View File

@@ -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},

View File

@@ -1,7 +1,6 @@
$(function(){
ua.table.render({
init: init,
controlled: true,
toolbar: [],
cols: [[
{field: 'id', title: 'ID', width: 80, sort: true},

View File

@@ -1,7 +1,6 @@
$(function(){
ua.table.render({
init: init,
controlled: true,
toolbar: ['add', 'delete'],
cols: [[
{type: 'checkbox'},

View File

@@ -3,7 +3,6 @@ $(function () {
ua.table.render({
init: init,
controlled: true,
cols: [[
{ type: "checkbox" },
{ field: 'id', width: 80, title: 'ID' },

View File

@@ -3,7 +3,6 @@ $(function () {
ua.table.render({
init: init,
controlled: true,
totalRow: true,
cols: [[
{ type: "checkbox" },

View File

@@ -1,7 +1,6 @@
$(function () {
ua.table.render({
init: init,
controlled: true,
cols: [[
{ type: 'checkbox' },
{ field: 'id', title: 'id' },

View File

@@ -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">

View File

@@ -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: [[

View File

@@ -2,7 +2,6 @@ $(function () {
ua.table.render({
init: init,
controlled: true,
cols: [[
{ type: "checkbox" },
{ field: 'id', width: 80, title: 'ID' },

View File

@@ -2,7 +2,6 @@ $(function(){
ua.table.render({
toolbar: ['refresh'],
init: init,
controlled: true,
cols: [[
{type: 'checkbox'},
{field: 'id', title: 'ID'},

View File

@@ -1,7 +1,6 @@
$(function(){
ua.table.render({
init: init,
controlled: true,
toolbar: ['refresh', 'add', 'delete'],
cols: [[
{type: 'checkbox'},

View File

@@ -30,7 +30,6 @@ $(function(){
ua.table.render({
init: init,
controlled: true,
toolbar: ['refresh', 'delete'],
defaultToolbar: ['filter'],
cols: [[

View File

@@ -2,7 +2,6 @@ $(function () {
ua.table.render({
init: init,
controlled: true,
cols: [[
{type: "checkbox"},
{field: 'id', width: 80, title: 'ID'},

View File

@@ -228,7 +228,6 @@ $(function(){
init: init,
toolbar: ['refresh', 'export'],
cols: cols,
controlled: true,
});
ua.listen();

View File

@@ -58,7 +58,6 @@ $(function(){
init: init,
toolbar: ['refresh'],
defaultToolbar: ['filter'],
controlled: true,
cols: [[
{type: 'checkbox'},
{field: 'id', title: 'ID', width: 80, sort: true},

View File

@@ -2,7 +2,6 @@ $(function () {
ua.table.render({
init: init,
controlled: true,
cols: [[
{ type: "checkbox" },
{ field: 'id', width: 80, title: 'ID' },