diff --git a/epmet-oper-web/.vscode/settings.json b/epmet-oper-web/.vscode/settings.json new file mode 100644 index 0000000..fbbfd4c --- /dev/null +++ b/epmet-oper-web/.vscode/settings.json @@ -0,0 +1,43 @@ +{ + "workbench.colorTheme": "One Monokai", + "window.zoomLevel": 1, + "terminal.integrated.fontWeightBold": "normal", + "workbench.iconTheme": "material-icon-theme", + // vscode默认启用了根据文件类型自动设置tabsize的选项 + "editor.detectIndentation": false, + // 重新设定tabsize + "editor.tabSize": 2, + // #每次保存的时候自动格式化 + "editor.formatOnSave": false, + // #每次保存的时候将代码按eslint格式进行修复 + "eslint.autoFixOnSave": true, + // 添加 vue 支持 + "eslint.validate": [ + "javascript", + "javascriptreact", + { + "language": "vue", + "autoFix": true + } + ], + // #去掉代码结尾的分号 + "prettier.semi": false, + // #使用带引号替代双引号 + "prettier.singleQuote": true, + // #让函数(名)和后面的括号之间加个空格 + "javascript.format.insertSpaceBeforeFunctionParenthesis": true, + // #这个按用户自身习惯选择 + "vetur.format.defaultFormatter.html": "js-beautify-html", + // #让vue中的js按编辑器自带的ts格式进行格式化 + "vetur.format.defaultFormatter.js": "vscode-typescript", + "vetur.format.defaultFormatterOptions": { + "js-beautify-html": { + "wrap_attributes": "force-aligned" + // #vue组件中html代码格式化样式 + } + }, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + }, + "git.enableSmartCommit": true +} \ No newline at end of file diff --git a/epmet-oper-web/public/index.html b/epmet-oper-web/public/index.html index c6dd54e..14b63b2 100644 --- a/epmet-oper-web/public/index.html +++ b/epmet-oper-web/public/index.html @@ -29,8 +29,8 @@ <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> - + <% } %> <% if (process.env.VUE_APP_NODE_ENV === 'prod:sit') { %> diff --git a/epmet-oper-web/src/views/modules/customer-manage/customer-manage.vue b/epmet-oper-web/src/views/modules/customer-manage/customer-manage.vue index 0357bdf..aff0ca8 100644 --- a/epmet-oper-web/src/views/modules/customer-manage/customer-manage.vue +++ b/epmet-oper-web/src/views/modules/customer-manage/customer-manage.vue @@ -1,6 +1,13 @@ - 新增 + 新增 - + @cell-dblclick="handleRowContext" + > + - + - - + + - 根级组织设置 - 管理员设置 - 详情 + 根级组织设置 + 管理员设置 + 详情 - - + + - + 客户信息 - + - + - + + + - + - - + + - - - - + + + + 下一步 - + 根级组织信息 - - - - - - - + + + + + + + + + - - - + + + - + - + 下一步 - - 管理员信息 - + + 管理员信息 + - + - + + + - + - - - + + + - + - + + + - + 完成 @@ -117,7 +228,10 @@ - +