将 所有列表中的

{ type: 'seq', width: 30 }, // 序号
修改为
{ type: 'seq', width: 'auto' }, // 序号
This commit is contained in:
zxx 2023-06-30 14:47:28 +08:00
parent a4142b4b55
commit 48bfa2b9c7
58 changed files with 60 additions and 59 deletions

View File

@ -161,7 +161,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
{ slots: { default: 'logo' }, width: 120, sortable: true, title: '公司Logo', showHeaderOverflow: true }, // logo { slots: { default: 'logo' }, width: 120, sortable: true, title: '公司Logo', showHeaderOverflow: true }, // logo
{ field: 'title', sortable: true, title: '公司名称', width: 250 }, // { field: 'title', sortable: true, title: '公司名称', width: 250 }, //
// auth_stop_date // auth_stop_date

View File

@ -345,7 +345,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },

View File

@ -106,7 +106,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },

View File

@ -100,7 +100,7 @@ export default {
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },

View File

@ -332,7 +332,7 @@ export default {
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },

View File

@ -247,7 +247,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },

View File

@ -198,7 +198,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },

View File

@ -88,7 +88,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },

View File

@ -130,7 +130,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },

View File

@ -148,7 +148,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -148,7 +148,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -106,7 +106,7 @@ export default {
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -159,7 +159,7 @@ export default {
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -30,7 +30,7 @@
</vxe-toolbar> </vxe-toolbar>
<!-- 表格区 --> <!-- 表格区 -->
<div class="gridPanel"> <div class="gridPanel">
<vxe-grid ref='xGrid' v-bind="gridOptions"> <vxe-grid ref='xGrid' v-bind="gridOptions" column-width="auto">
<!-- =============================== 表格列 自动生成 Start =============================== --> <!-- =============================== 表格列 自动生成 Start =============================== -->
@ -158,7 +158,7 @@ export default {
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // + { type: 'checkbox', width: 50 }, // +
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================
@ -347,6 +347,7 @@ export default {
</style> </style>
<style> <style>
.oplinks svg { .oplinks svg {
width: 22px; width: 22px;
height: 22px; height: 22px;

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -163,7 +163,7 @@ export default {
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -159,7 +159,7 @@ export default {
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -159,7 +159,7 @@ export default {
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -164,7 +164,7 @@ export default {
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -159,7 +159,7 @@ export default {
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -165,7 +165,7 @@ export default {
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -157,7 +157,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -229,7 +229,7 @@ export default {
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ title: '操作', slots: { default: 'op' }, width: 120 }, { title: '操作', slots: { default: 'op' }, width: 120 },
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -227,7 +227,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -227,7 +227,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -227,7 +227,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -227,7 +227,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -227,7 +227,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -227,7 +227,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -227,7 +227,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -237,7 +237,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -237,7 +237,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -237,7 +237,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -237,7 +237,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -237,7 +237,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -237,7 +237,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -237,7 +237,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================

View File

@ -149,7 +149,7 @@ export default {
// //
columns: [ columns: [
{ type: 'checkbox', width: 50 }, // { type: 'checkbox', width: 50 }, //
{ type: 'seq', width: 30 }, // { type: 'seq', width: 'auto' }, //
// =============================== Start =============================== // =============================== Start ===============================