diff --git a/web/src/views/system/config/components/formContent.vue b/web/src/views/system/config/components/formContent.vue index 6ba9b4c..b1f6eb1 100644 --- a/web/src/views/system/config/components/formContent.vue +++ b/web/src/views/system/config/components/formContent.vue @@ -396,6 +396,7 @@ export default { const tableLength = tableData.length if (tableLength === 0) { const { row } = $table.insert() + console.log(row) } else { const errMap = await $table.validate().catch(errMap => errMap) if (errMap) { diff --git a/web/src/views/system/dept/crud.js b/web/src/views/system/dept/crud.js index a82106a..ab6311f 100644 --- a/web/src/views/system/dept/crud.js +++ b/web/src/views/system/dept/crud.js @@ -102,7 +102,7 @@ export const crudOptions = (vm) => { title: '上级部门', key: 'parent', type: 'tree-selector', - minWidth:200, + minWidth: 200, dict: { isTree: true, label: 'name', @@ -127,7 +127,7 @@ export const crudOptions = (vm) => { key: 'name', sortable: true, treeNode: true, // 设置为树形列 - minWidth:180, + minWidth: 180, search: { disabled: false, component: { @@ -159,7 +159,7 @@ export const crudOptions = (vm) => { title: '部门标识', key: 'key', sortable: true, - minWidth:100, + minWidth: 100, form: { component: { props: { @@ -176,7 +176,7 @@ export const crudOptions = (vm) => { title: '负责人', key: 'owner', sortable: true, - minWidth:100, + minWidth: 100, form: { component: { span: 12, @@ -191,7 +191,7 @@ export const crudOptions = (vm) => { title: '联系电话', key: 'phone', sortable: true, - minWidth:100, + minWidth: 100, form: { component: { span: 12, @@ -206,7 +206,7 @@ export const crudOptions = (vm) => { title: '邮箱', key: 'email', sortable: true, - minWidth:100, + minWidth: 100, form: { component: { span: 12, diff --git a/web/src/views/system/dictionary/crud.js b/web/src/views/system/dictionary/crud.js index 8eaa4dd..5a6cf03 100644 --- a/web/src/views/system/dictionary/crud.js +++ b/web/src/views/system/dictionary/crud.js @@ -92,7 +92,7 @@ export const crudOptions = (vm) => { { title: '字典名称', key: 'label', - minWidth:100, + minWidth: 100, search: { disabled: false, component: { @@ -121,7 +121,7 @@ export const crudOptions = (vm) => { { title: '字典编号', key: 'value', - minWidth:100, + minWidth: 100, search: { disabled: true, component: { diff --git a/web/src/views/system/log/loginLog/crud.js b/web/src/views/system/log/loginLog/crud.js index 94dd3ab..a9f00b4 100644 --- a/web/src/views/system/log/loginLog/crud.js +++ b/web/src/views/system/log/loginLog/crud.js @@ -8,7 +8,7 @@ export const crudOptions = (vm) => { // rowKey: true, // 必须设置,true or false rowId: 'id', height: '100%', // 表格高度100%, 使用toolbar必须设置 - highlightCurrentRow: false, + highlightCurrentRow: false }, rowHandle: { fixed: 'right', diff --git a/web/src/views/system/role/crud.js b/web/src/views/system/role/crud.js index 18d35c0..d68c760 100644 --- a/web/src/views/system/role/crud.js +++ b/web/src/views/system/role/crud.js @@ -96,7 +96,7 @@ export const crudOptions = (vm) => { title: '角色名称', key: 'name', sortable: true, - minWidth:120, + minWidth: 120, search: { disabled: false, component: { @@ -126,7 +126,7 @@ export const crudOptions = (vm) => { title: '权限标识', key: 'key', sortable: true, - minWidth:100, + minWidth: 100, form: { rules: [ // 表单校验规则 { required: true, message: '权限标识必填项' } @@ -159,7 +159,7 @@ export const crudOptions = (vm) => { key: 'admin', sortable: true, type: 'radio', - minWidth:120, + minWidth: 120, dict: { data: vm.dictionary('button_whether_bool') }, @@ -181,7 +181,7 @@ export const crudOptions = (vm) => { disabled: false }, type: 'radio', - minWidth:100, + minWidth: 100, dict: { data: vm.dictionary('button_status_bool') }, diff --git a/web/src/views/system/user/crud.js b/web/src/views/system/user/crud.js index d87fb69..709d317 100644 --- a/web/src/views/system/user/crud.js +++ b/web/src/views/system/user/crud.js @@ -1,5 +1,4 @@ import { request } from '@/api/service' -import util from '@/libs/util' export const crudOptions = (vm) => { // util.filterParams(vm, ['dept_name', 'role_info{name}', 'dept_name_all'])