style(crud): 统一操作列宽度并调整内容左对齐
- 将全站 Avue CRUD 操作列宽度统一修改为 180px,替换原有不同宽度配置 - 修正部分页面菜单宽度从 160、220、250、300、350 等多值变为统一 180 - 新增全局样式,实现操作列内容左对齐,解决内置右对齐不统一问题 - 统一所有“删 除”按钮文本为“删除”,提升文案一致性 - 根据 cargo-type 参考,精简全站操作列宽度,提升界面紧凑度和一致性 - 说明风险:部分按钮较多页面可能出现换行或溢出,需单独处理
This commit is contained in:
@@ -147,7 +147,7 @@ export const option = {
|
||||
viewBtn: true,
|
||||
grid: true,
|
||||
selection: true,
|
||||
menuWidth: 250,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '数据源',
|
||||
|
||||
@@ -28,18 +28,18 @@ export default {
|
||||
a: '全部',
|
||||
},
|
||||
form: {
|
||||
printBtn: '打 印',
|
||||
mockBtn: '模 拟',
|
||||
submitBtn: '提 交',
|
||||
emptyBtn: '清 空',
|
||||
printBtn: '打印',
|
||||
mockBtn: '模拟',
|
||||
submitBtn: '提交',
|
||||
emptyBtn: '清空',
|
||||
},
|
||||
crud: {
|
||||
filter: {
|
||||
addBtn: '新增条件',
|
||||
clearBtn: '清空数据',
|
||||
resetBtn: '重置',
|
||||
cancelBtn: '取 消',
|
||||
submitBtn: '确 定',
|
||||
cancelBtn: '取消',
|
||||
submitBtn: '确定',
|
||||
},
|
||||
column: {
|
||||
name: '列名',
|
||||
@@ -52,30 +52,30 @@ export default {
|
||||
},
|
||||
tipStartTitle: '当前表格已选择',
|
||||
tipEndTitle: '项',
|
||||
editTitle: '编 辑',
|
||||
copyTitle: '复 制',
|
||||
addTitle: '新 增',
|
||||
viewTitle: '查 看',
|
||||
editTitle: '编辑',
|
||||
copyTitle: '复制',
|
||||
addTitle: '新增',
|
||||
viewTitle: '查看',
|
||||
filterTitle: '过滤条件',
|
||||
showTitle: '列显隐',
|
||||
menu: '操作',
|
||||
addBtn: '新 增',
|
||||
show: '显 示',
|
||||
hide: '隐 藏',
|
||||
open: '展 开',
|
||||
shrink: '收 起',
|
||||
printBtn: '打 印',
|
||||
excelBtn: '导 出',
|
||||
updateBtn: '修 改',
|
||||
cancelBtn: '取 消',
|
||||
searchBtn: '搜 索',
|
||||
emptyBtn: '清 空',
|
||||
menuBtn: '功 能',
|
||||
saveBtn: '保 存',
|
||||
viewBtn: '查 看',
|
||||
editBtn: '编 辑',
|
||||
copyBtn: '复 制',
|
||||
delBtn: '删 除',
|
||||
addBtn: '新增',
|
||||
show: '显示',
|
||||
hide: '隐藏',
|
||||
open: '展开',
|
||||
shrink: '收起',
|
||||
printBtn: '打印',
|
||||
excelBtn: '导出',
|
||||
updateBtn: '修改',
|
||||
cancelBtn: '取消',
|
||||
searchBtn: '搜索',
|
||||
emptyBtn: '清空',
|
||||
menuBtn: '功能',
|
||||
saveBtn: '保存',
|
||||
viewBtn: '查看',
|
||||
editBtn: '编辑',
|
||||
copyBtn: '复制',
|
||||
delBtn: '删除',
|
||||
},
|
||||
login: {
|
||||
title: '登录 ',
|
||||
|
||||
@@ -82,7 +82,7 @@ app.use(Avue, {
|
||||
searchLabelWidth: 160,
|
||||
searchMenuSpan: 24,
|
||||
searchMenuPosition: 'right',
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
},
|
||||
labelPosition: 'right',
|
||||
labelWidth: 'auto',
|
||||
|
||||
@@ -48,7 +48,7 @@ export const getCargoTypeOption = ctx => ({
|
||||
editBtn: false,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '类型',
|
||||
|
||||
@@ -204,7 +204,7 @@ export const createCrudOption = columns => ({
|
||||
delBtn: false,
|
||||
dialogClickModal: false,
|
||||
menuFixed: 'right',
|
||||
menuWidth: 240,
|
||||
menuWidth: 180,
|
||||
column: columns,
|
||||
});
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ export default {
|
||||
selection: true,
|
||||
grid: true,
|
||||
labelWidth: 'auto',
|
||||
menuWidth: 350,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 1200,
|
||||
dialogClickModal: false,
|
||||
tabs: true,
|
||||
|
||||
@@ -13,7 +13,7 @@ export default {
|
||||
selection: true,
|
||||
grid: true,
|
||||
labelWidth: 'auto',
|
||||
menuWidth: 350,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -22,7 +22,7 @@ export const authLockOption = {
|
||||
viewBtn: false,
|
||||
editBtn: false,
|
||||
delBtn: false,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
dialogType: 'drawer',
|
||||
dialogWidth: 800,
|
||||
dialogClickModal: false,
|
||||
|
||||
@@ -21,7 +21,7 @@ export const authLogOption = {
|
||||
editBtn: false,
|
||||
delBtn: false,
|
||||
menu: true,
|
||||
menuWidth: 100,
|
||||
menuWidth: 180,
|
||||
dialogType: 'drawer',
|
||||
dialogWidth: 800,
|
||||
dialogClickModal: false,
|
||||
|
||||
@@ -11,7 +11,7 @@ export const optionParent = {
|
||||
index: true,
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
menuWidth: 250,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 880,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
@@ -104,7 +104,7 @@ export const optionChild = {
|
||||
index: true,
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
menuWidth: 300,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 880,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
|
||||
@@ -11,7 +11,7 @@ export const optionParent = {
|
||||
index: true,
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
menuWidth: 250,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 880,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
@@ -105,7 +105,7 @@ export const optionChild = {
|
||||
index: true,
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
menuWidth: 300,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 880,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
|
||||
@@ -365,7 +365,7 @@ export const platformOption = {
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
editBtnText: '配置',
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ export const codeOption = {
|
||||
index: true,
|
||||
selection: true,
|
||||
labelWidth: 'auto',
|
||||
menuWidth: 350,
|
||||
menuWidth: 180,
|
||||
viewBtn: true,
|
||||
dialogClickModal: false,
|
||||
tabs: true,
|
||||
|
||||
@@ -14,7 +14,7 @@ export default {
|
||||
selection: true,
|
||||
labelWidth: 'auto',
|
||||
searchLabelWidth: 160,
|
||||
menuWidth: 320,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ export default {
|
||||
selection: true,
|
||||
labelWidth: 'auto',
|
||||
searchLabelWidth: 160,
|
||||
menuWidth: 320,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 500,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
|
||||
@@ -14,7 +14,7 @@ export const option = {
|
||||
editBtn: false,
|
||||
delBtn: false,
|
||||
viewBtn: false,
|
||||
menuWidth: 210,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{ label: '船舶名', prop: 'shipName', search: true, searchOrder: 5, slot: true, width: 130 },
|
||||
|
||||
@@ -52,7 +52,7 @@ export const option = {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '车船类型',
|
||||
|
||||
@@ -51,7 +51,7 @@ export const option = {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '车船类型',
|
||||
|
||||
@@ -41,7 +41,7 @@ export const option = {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
menuFixed: 'right',
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -49,7 +49,7 @@ export const option = {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '车船类型',
|
||||
|
||||
@@ -37,7 +37,7 @@ export const option = {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
menuFixed: 'right',
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -38,7 +38,7 @@ export const option = {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
menuFixed: 'right',
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -49,7 +49,7 @@ export const option = {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
menuFixed: 'right',
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -42,7 +42,7 @@ export const option = {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '车牌号',
|
||||
|
||||
@@ -29,7 +29,7 @@ export const option = {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
menuFixed: 'right',
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -60,7 +60,7 @@ export const option = {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '车船类型',
|
||||
|
||||
@@ -462,6 +462,11 @@
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
// 全站统一:操作列内容左对齐(Avue 内置菜单默认右对齐)
|
||||
.avue-crud .el-table td .cell.avue-crud__menu {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.avue-crud__pagination .el-pagination,
|
||||
.empty-pagination .el-pagination,
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
plain
|
||||
v-if="userInfo.authority.includes('admin')"
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #status="{ row }">
|
||||
@@ -327,7 +327,7 @@ export default {
|
||||
height: 'auto',
|
||||
calcHeight: 32,
|
||||
dialogWidth: 700,
|
||||
menuWidth: 350,
|
||||
menuWidth: 180,
|
||||
tip: false,
|
||||
searchShow: true,
|
||||
searchMenuSpan: 24,
|
||||
@@ -506,7 +506,7 @@ export default {
|
||||
editBtn: false,
|
||||
addBtn: false,
|
||||
delBtn: false,
|
||||
menuWidth: 100,
|
||||
menuWidth: 180,
|
||||
dialogType: 'drawer',
|
||||
dialogWidth: 800,
|
||||
column: [
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
>
|
||||
<template #menu-left>
|
||||
<el-button type="danger" icon="el-icon-delete" plain @click="handleDeleteList"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu-right>
|
||||
@@ -114,7 +114,7 @@
|
||||
>
|
||||
<template #menu-left>
|
||||
<el-button type="danger" icon="el-icon-delete" plain @click="handleDeleteScope"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #scopeType="{ row }">
|
||||
@@ -167,7 +167,7 @@ export default {
|
||||
selection: true,
|
||||
labelWidth: 'auto',
|
||||
searchLabelWidth: 160,
|
||||
menuWidth: 250,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 900,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
@@ -278,7 +278,7 @@ export default {
|
||||
editBtn: false,
|
||||
addBtn: false,
|
||||
delBtn: false,
|
||||
menuWidth: 200,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
@@ -339,7 +339,7 @@ export default {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
labelWidth: 'auto',
|
||||
menuWidth: 250,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 900,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
>
|
||||
<template #menu-left>
|
||||
<el-button type="danger" icon="el-icon-delete" plain @click="handleDeleteList"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu-right>
|
||||
@@ -114,7 +114,7 @@
|
||||
>
|
||||
<template #menu-left>
|
||||
<el-button type="danger" icon="el-icon-delete" plain @click="handleDeleteScope"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #scopeType="{ row }">
|
||||
@@ -168,7 +168,7 @@ export default {
|
||||
selection: true,
|
||||
labelWidth: 'auto',
|
||||
searchLabelWidth: 160,
|
||||
menuWidth: 250,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 900,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
@@ -315,7 +315,7 @@ export default {
|
||||
editBtn: false,
|
||||
addBtn: false,
|
||||
delBtn: false,
|
||||
menuWidth: 200,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
@@ -378,7 +378,7 @@ export default {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
labelWidth: 'auto',
|
||||
menuWidth: 250,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 900,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
plain
|
||||
v-if="userInfo.authority.includes('administrator')"
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #limitPattern="{ row }">
|
||||
@@ -218,7 +218,7 @@ export default {
|
||||
index: true,
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
menuWidth: 350,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
@@ -373,7 +373,7 @@ export default {
|
||||
editBtn: false,
|
||||
addBtn: false,
|
||||
delBtn: false,
|
||||
menuWidth: 100,
|
||||
menuWidth: 180,
|
||||
dialogType: 'drawer',
|
||||
dialogWidth: 800,
|
||||
column: [
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
v-if="permission.role_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
<el-button
|
||||
icon="el-icon-setting"
|
||||
@@ -253,7 +253,7 @@ export default {
|
||||
viewBtn: true,
|
||||
labelWidth: 'auto',
|
||||
searchLabelWidth: 160,
|
||||
menuWidth: 350,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 600,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
|
||||
@@ -216,7 +216,7 @@ export default {
|
||||
editBtn: false,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '编码',
|
||||
|
||||
@@ -174,7 +174,7 @@ export default {
|
||||
editBtn: false,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 170,
|
||||
menuWidth: 180,
|
||||
menuFixed: 'right',
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -105,7 +105,7 @@ export default {
|
||||
editBtn: false,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '中文名称',
|
||||
|
||||
@@ -95,7 +95,7 @@ export default {
|
||||
editBtn: false,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '费用类型',
|
||||
|
||||
@@ -314,7 +314,7 @@ export default {
|
||||
editBtn: false,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '类型',
|
||||
|
||||
@@ -215,7 +215,7 @@ export default {
|
||||
editBtn: false,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '编码',
|
||||
|
||||
@@ -99,7 +99,7 @@ export default {
|
||||
editBtn: false,
|
||||
addBtn: false,
|
||||
delBtn: false,
|
||||
menuWidth: 120,
|
||||
menuWidth: 180,
|
||||
labelWidth: 'auto',
|
||||
dialogType: 'drawer',
|
||||
column: [
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
plain
|
||||
v-if="permission.notice_delete"
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #category="{ row }">
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
plain
|
||||
v-if="permission.notice_delete"
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #category="{ row }">
|
||||
|
||||
@@ -73,7 +73,7 @@ export default {
|
||||
addBtn: false,
|
||||
viewBtn: false,
|
||||
dialogWidth: 900,
|
||||
menuWidth: 100,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -162,7 +162,7 @@ export default {
|
||||
viewBtn: false,
|
||||
delBtn: false,
|
||||
dialogWidth: 900,
|
||||
menuWidth: 250,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
v-if="permission.flow_model_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
@@ -219,7 +219,7 @@ export default {
|
||||
viewBtn: false,
|
||||
delBtn: false,
|
||||
dialogWidth: 900,
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
size: 'default',
|
||||
searchSize: 'default',
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
plain
|
||||
v-if="permission.jobinfo_delete"
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
<el-button type="info" plain icon="el-icon-sort" @click="handleSync"
|
||||
>数 据 同 步
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
plain
|
||||
v-if="permission.jobserver_delete"
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
<el-button type="info" plain icon="el-icon-sort" @click="handleSync"
|
||||
>数 据 同 步
|
||||
|
||||
@@ -51,7 +51,7 @@ export default {
|
||||
editBtn: false,
|
||||
addBtn: false,
|
||||
delBtn: false,
|
||||
menuWidth: 120,
|
||||
menuWidth: 180,
|
||||
dialogType: 'drawer',
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -51,7 +51,7 @@ export default {
|
||||
editBtn: false,
|
||||
addBtn: false,
|
||||
delBtn: false,
|
||||
menuWidth: 120,
|
||||
menuWidth: 180,
|
||||
dialogType: 'drawer',
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -51,7 +51,7 @@ export default {
|
||||
editBtn: false,
|
||||
addBtn: false,
|
||||
delBtn: false,
|
||||
menuWidth: 120,
|
||||
menuWidth: 180,
|
||||
dialogType: 'drawer',
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
>
|
||||
<template #menu-left>
|
||||
<el-button type="danger" icon="el-icon-delete" plain @click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
plain
|
||||
v-if="permission.attach_delete"
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
plain
|
||||
v-if="permission.oss_delete"
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
@@ -95,7 +95,7 @@ export default {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
grid: true,
|
||||
menuWidth: 350,
|
||||
menuWidth: 180,
|
||||
labelWidth: 'auto',
|
||||
dialogWidth: 880,
|
||||
dialogClickModal: false,
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
plain
|
||||
v-if="permission.sms_delete"
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
@@ -95,7 +95,7 @@ export default {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
grid: true,
|
||||
menuWidth: 350,
|
||||
menuWidth: 180,
|
||||
labelWidth: 'auto',
|
||||
dialogWidth: 880,
|
||||
dialogClickModal: false,
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
plain
|
||||
v-if="permission.client_delete"
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
</avue-crud>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
v-if="permission.dept_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
@@ -82,7 +82,7 @@ export default {
|
||||
index: true,
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
menuWidth: 320,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 800,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
v-if="permission.dict_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
@@ -76,7 +76,7 @@
|
||||
v-if="permission.dict_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
v-if="permission.dictbiz_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
@@ -76,7 +76,7 @@
|
||||
v-if="permission.dict_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
v-if="permission.menu_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
@@ -89,7 +89,7 @@ export default {
|
||||
index: true,
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
menuWidth: 320,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete"
|
||||
plain
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</div>
|
||||
<!-- 头部右侧按钮模块 -->
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
plain
|
||||
v-if="permission.post_delete"
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #category="{ row }">
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
v-if="permission.tenant_delete && !recycleMode"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@@ -58,7 +58,7 @@
|
||||
icon="el-icon-close"
|
||||
v-if="userInfo.authority.includes('administrator') && recycleMode"
|
||||
@click="handleRecycleRemove"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@@ -240,7 +240,7 @@ export default {
|
||||
selection: true,
|
||||
addBtn: false,
|
||||
viewBtn: true,
|
||||
menuWidth: 380,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 900,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
>
|
||||
<template #menu-left>
|
||||
<el-button type="danger" icon="el-icon-delete" plain @click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #shardingConfig-form="{}">
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
@on-load="onLoad"
|
||||
>
|
||||
<template #menu-left>
|
||||
<el-button type="danger" icon="el-icon-delete" plain @click="handleDelete">删 除</el-button>
|
||||
<el-button type="danger" icon="el-icon-delete" plain @click="handleDelete">删除</el-button>
|
||||
</template>
|
||||
<template #menuId-form>
|
||||
<el-row
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
plain
|
||||
v-if="permission.topmenu_delete"
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
<el-button
|
||||
icon="el-icon-setting"
|
||||
@@ -173,7 +173,7 @@ export default {
|
||||
index: true,
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
menuWidth: 300,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 900,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
icon="el-icon-delete"
|
||||
v-if="permission.user_delete && !auditMode"
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@@ -131,7 +131,7 @@
|
||||
icon="el-icon-view"
|
||||
v-if="this.permission.user_view"
|
||||
@click.stop="$refs.crud.rowView(row, index)"
|
||||
>查 看
|
||||
>查看
|
||||
</el-button>
|
||||
<el-button
|
||||
text
|
||||
@@ -139,7 +139,7 @@
|
||||
icon="el-icon-edit"
|
||||
v-if="this.permission.user_edit"
|
||||
@click.stop="$refs.crud.rowEdit(row, index)"
|
||||
>编 辑
|
||||
>编辑
|
||||
</el-button>
|
||||
<el-dropdown @command="command => handleDropdownCommand(command, row, index)">
|
||||
<el-button text type="primary" icon="el-icon-setting">更 多 </el-button>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
v-if="permission.code_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
<el-tooltip
|
||||
class="item"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
>
|
||||
<template #menu-left>
|
||||
<el-button type="danger" icon="el-icon-delete" plain @click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
plain
|
||||
v-if="permission.datasource_delete"
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
</avue-crud>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
>
|
||||
<template #menu-left>
|
||||
<el-button type="danger" icon="el-icon-delete" plain @click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
>
|
||||
<template #menu-left>
|
||||
<el-button type="danger" icon="el-icon-delete" plain @click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="{ row }">
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
v-if="permission.dict_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #isSealed="{ row }">
|
||||
@@ -74,7 +74,7 @@ export default {
|
||||
index: true,
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
menuWidth: 300,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 880,
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
v-if="permission.dict_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #isSealed="{ row }">
|
||||
@@ -67,7 +67,7 @@
|
||||
v-if="permission.dict_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #isSealed="{ row }">
|
||||
@@ -119,7 +119,7 @@ export default {
|
||||
index: true,
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
menuWidth: 300,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 880,
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
v-if="permission.dict_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #isSealed="{ row }">
|
||||
@@ -71,7 +71,7 @@
|
||||
v-if="permission.dict_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #isSealed="{ row }">
|
||||
@@ -124,7 +124,7 @@ export default {
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
height: 300,
|
||||
menuWidth: 300,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 880,
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
v-if="permission.dict_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #isSealed="{ row }">
|
||||
@@ -84,7 +84,7 @@
|
||||
v-if="permission.dict_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
v-if="permission.dict_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #isSealed="{ row }">
|
||||
@@ -84,7 +84,7 @@
|
||||
v-if="permission.dict_delete"
|
||||
plain
|
||||
@click="handleDelete"
|
||||
>删 除
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
|
||||
@@ -425,7 +425,7 @@ export default {
|
||||
editBtn: false,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 300,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '评定表名称',
|
||||
|
||||
@@ -804,7 +804,7 @@ export default {
|
||||
editBtn: false,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 420,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{ label: '客商编号', prop: 'customerCode', slot: true, search: true, minWidth: 140 },
|
||||
{ label: '客商简称', prop: 'shortName', search: true, minWidth: 150 },
|
||||
|
||||
@@ -172,7 +172,7 @@ export default {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '车船类型',
|
||||
|
||||
@@ -170,7 +170,7 @@ export default {
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 220,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '车船类型',
|
||||
|
||||
@@ -113,7 +113,7 @@ export default {
|
||||
viewBtn: false,
|
||||
delBtn: false,
|
||||
dialogWidth: 900,
|
||||
menuWidth: 250,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -105,7 +105,7 @@ export default {
|
||||
viewBtn: false,
|
||||
delBtn: false,
|
||||
dialogWidth: 900,
|
||||
menuWidth: 200,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
viewBtn: false,
|
||||
delBtn: false,
|
||||
dialogWidth: 900,
|
||||
menuWidth: 200,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -120,7 +120,7 @@ export default {
|
||||
addBtn: false,
|
||||
viewBtn: false,
|
||||
delBtn: false,
|
||||
menuWidth: 200,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 900,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
|
||||
@@ -113,7 +113,7 @@ export default {
|
||||
viewBtn: false,
|
||||
delBtn: false,
|
||||
dialogWidth: 900,
|
||||
menuWidth: 250,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user