总体调整数据列表页的表格最小宽度

This commit is contained in:
hdm 2023-01-09 10:04:49 +08:00
parent d90db0e412
commit deb941078c
32 changed files with 32 additions and 32 deletions

View File

@ -36,7 +36,7 @@
title: '文章列表',
defaultToolbar: false,
url: "/article/index/index", //数据接口
cellMinWidth: 360,
cellMinWidth: 80,
page: true, //开启分页
limit: 20,
cols: [

View File

@ -48,7 +48,7 @@
toolbar: '#toolbarDemo',
defaultToolbar: false,
url: "/article/index/list", //数据接口
cellMinWidth: 300,
cellMinWidth: 80,
page: true, //开启分页
limit: 20,
cols: [

View File

@ -40,7 +40,7 @@
elem: '#test',
title: '合同归档列表',
url: "/contract/index/archive", //数据接口
cellMinWidth: 320,
cellMinWidth: 80,
page: true, //开启分页
limit: 20,
cols: [

View File

@ -58,7 +58,7 @@
toolbar: '#toolbarDemo',
defaultToolbar:['filter', {title:'导出EXCEL',layEvent: 'LAYTABLE_EXCEL',icon: 'layui-icon-export'}],
url: "/contract/index/index", //数据接口
cellMinWidth: 320,
cellMinWidth: 80,
page: true, //开启分页
limit: 20,
cols: [

View File

@ -53,7 +53,7 @@
,toolbar: '#toolbarDemo'
,title:'销售机会列表'
,url: "/customer/chance/index"
,cellMinWidth: 240
,cellMinWidth: 80
,page: true //开启分页
,limit: 20
,cols: [[

View File

@ -25,7 +25,7 @@
,defaultToolbar:['filter', {title:'导出EXCEL',layEvent: 'LAYTABLE_EXCEL',icon: 'layui-icon-export'}]
,title:'联系人列表'
,url: "/customer/contact/index"
,cellMinWidth: 240
,cellMinWidth: 80
,page: true //开启分页
,limit: 20
,cols: [[

View File

@ -77,7 +77,7 @@
toolbar: '#toolbarDemo',
defaultToolbar:['filter', {title:'导出EXCEL',layEvent: 'LAYTABLE_EXCEL',icon: 'layui-icon-export'}],
url: "/customer/index/index", //数据接口
cellMinWidth: 240,
cellMinWidth: 80,
page: true, //开启分页
limit: 20,
cols: [

View File

@ -35,7 +35,7 @@
toolbar: '#toolbarDemo',
defaultToolbar: false,
url: "/customer/index/rush", //数据接口
cellMinWidth: 240,
cellMinWidth: 80,
page: false, //开启分页
limit: 10,
cols: [

View File

@ -56,7 +56,7 @@
defaultToolbar: false,
toolbar: '#toolbarDemo',
url: "/customer/index/sea", //数据接口
cellMinWidth: 240,
cellMinWidth: 80,
page: true, //开启分页
limit: 20,
cols: [

View File

@ -41,7 +41,7 @@
toolbar: '#toolbarDemo',
defaultToolbar: false,
url: "/customer/index/trash", //数据接口
cellMinWidth: 240,
cellMinWidth: 80,
page: true, //开启分页
limit: 20,
cols: [

View File

@ -15,7 +15,7 @@ function chance(){
parent.layui.chanceTable = table.render({
elem: '#chance',
title: '销售机会列表',
cellMinWidth:240,
cellMinWidth:80,
url: "/customer/api/get_chance",
where:{'customer_id':customer_id},
page: true, //开启分页

View File

@ -15,7 +15,7 @@ function contact(){
parent.layui.contactTable = table.render({
elem: '#contact',
title: '联系人列表',
cellMinWidth:180,
cellMinWidth:80,
url: "/customer/api/get_contact",
where:{'customer_id':customer_id},
page: true, //开启分页

View File

@ -15,7 +15,7 @@ function trace(){
parent.layui.traceTable = table.render({
elem: '#trace',
title: '跟进记录列表',
cellMinWidth:240,
cellMinWidth:80,
url: "/customer/api/get_trace",
where:{'customer_id':customer_id},
page: true, //开启分页

View File

@ -58,7 +58,7 @@
toolbar: '#toolbarDemo',
defaultToolbar:['filter', {title:'导出EXCEL',layEvent: 'LAYTABLE_EXCEL',icon: 'layui-icon-export'}],
url: "/finance/income/index", //数据接口
cellMinWidth: 320,
cellMinWidth: 80,
page: true, //开启分页
limit: 20,
cols: [

View File

@ -57,7 +57,7 @@
toolbar: '#toolbarDemo',
defaultToolbar:['filter', {title:'导出EXCEL',layEvent: 'LAYTABLE_EXCEL',icon: 'layui-icon-export'}],
url: "/finance/invoice/checkedlist", //数据接口
cellMinWidth: 300,
cellMinWidth: 80,
page: true, //开启分页
limit: 20,
cols: [

View File

@ -43,7 +43,7 @@
title: '发票列表',
url: "/finance/invoice/copy", //数据接口
page: true, //开启分页
cellMinWidth: 300,
cellMinWidth: 80,
limit: 20,
cols: [
[

View File

@ -61,7 +61,7 @@
defaultToolbar:['filter', {title:'导出EXCEL',layEvent: 'LAYTABLE_EXCEL',icon: 'layui-icon-export'}],
url: "/finance/invoice/index", //数据接口
page: true, //开启分页
cellMinWidth: 300,
cellMinWidth: 80,
limit: 20,
cols: [
[

View File

@ -38,7 +38,7 @@
defaultToolbar: false,
toolbar: '#toolbarDemo',
url: "/finance/invoice/list", //数据接口
cellMinWidth: 300,
cellMinWidth: 80,
page: true, //开启分页
limit: 20,
cols: [

View File

@ -25,7 +25,7 @@
,title:'报销类别列表'
,url: "/home/cate/expense_cate"
,page: false
,cellMinWidth: 120
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
,{field:'title',title: '类别名称'}

View File

@ -25,7 +25,7 @@
,title:'审批模块列表'
,url: "/home/cate/flow_type"
,page: false
,cellMinWidth: 120
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
,{field:'title',title: '名称',width:120}

View File

@ -28,7 +28,7 @@
toolbar: '#toolbarDemo',
defaultToolbar: false,
url: "/home/conf/index",
cellMinWidth: 360,
cellMinWidth: 80,
page: false, //开启分页
limit: 20,
cols: [

View File

@ -23,7 +23,7 @@
, elem: '#treeTable'
, idField: 'id'
, url: "/home/rule/index"
, cellMinWidth: 150
, cellMinWidth: 80
, treeId: 'id'//树形id字段名称
, treeUpId: 'pid'//树形父id字段名称
, treeShowName: 'title'//以树形式显示的字段

View File

@ -62,7 +62,7 @@
url: "/message/index/draft", //数据接口
page: true ,//开启分页
limit: 20,
cellMinWidth: 200, //全局定义常规单元格的最小宽度layui 2.2.1 新增
cellMinWidth: 80, //全局定义常规单元格的最小宽度layui 2.2.1 新增
cols: [[ //表头
{type:'checkbox',fixed:'left'},
{field: 'type_title', title: '接收人类型',width:100,align:'center'},

View File

@ -74,7 +74,7 @@
url: "/message/index/inbox", //数据接口
page: true ,//开启分页
limit: 20,
cellMinWidth: 200, //全局定义常规单元格的最小宽度layui 2.2.1 新增
cellMinWidth: 80, //全局定义常规单元格的最小宽度layui 2.2.1 新增
cols: [[ //表头
{type:'checkbox',fixed:'left'},
{field: 'msg_type', title: '消息类型',width:90,align:'center'},

View File

@ -63,7 +63,7 @@
url: "/message/index/sendbox", //数据接口
page: true ,//开启分页
limit: 20,
cellMinWidth: 200, //全局定义常规单元格的最小宽度layui 2.2.1 新增
cellMinWidth: 80, //全局定义常规单元格的最小宽度layui 2.2.1 新增
cols: [[ //表头
{type:'checkbox',fixed:'left'},
{field: 'type_title', title: '接收人类型',width:100,align:'center'},

View File

@ -24,7 +24,7 @@
,url: "/oa/approve/copy"
,page: true //开启分页
,limit: 20
,cellMinWidth: 60
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
,{field:'name',title: '申请人',width:90,align:'center'}

View File

@ -75,7 +75,7 @@
,url: "/oa/approve/index"
,page: true //开启分页
,limit: 20
,cellMinWidth: 60
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
,{field:'name',title: '申请人',width:90,align:'center'}

View File

@ -41,7 +41,7 @@
,url: "/oa/approve/list"
,page: true //开启分页
,limit: 20
,cellMinWidth: 60
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
,{field:'name',title: '申请人',width:90,align:'center'}

View File

@ -48,7 +48,7 @@
title: '文档列表',
toolbar: '#toolbarDemo',
defaultToolbar: false,
cellMinWidth: 240,
cellMinWidth: 80,
url: "/project/document/index",
page: true, //开启分页
limit: 20,

View File

@ -18,7 +18,7 @@ function project_document(){
elem: '#document',
title: '文档列表',
toolbar: '#toolbardocument',
cellMinWidth:240,
cellMinWidth:80,
url: "/project/document/index",
where:{'project_id':project_id},
page: true, //开启分页

View File

@ -12,7 +12,7 @@ function project_schedule(){
layui.scheduleTable = table.render({
elem: '#scheduleApi',
title: '工作记录列表',
cellMinWidth: 200,
cellMinWidth: 80,
url: "/oa/schedule/index", //数据接口
where: { 'tid': project_id },
page: true, //开启分页

View File

@ -18,7 +18,7 @@ function project_task(){
elem: '#task',
title: '任务列表',
toolbar: '#toolbartask',
cellMinWidth:200,
cellMinWidth:80,
url: "/project/task/index",
where:{'project_id':project_id},
page: true, //开启分页