Commit b43233a9 authored by hanshaozhuang's avatar hanshaozhuang

feat(全局):格式化代码

parent 0074cc23
...@@ -15,6 +15,6 @@ src/api/monitor ...@@ -15,6 +15,6 @@ src/api/monitor
src/views/tool/* src/views/tool/*
src/utils src/utils
src/components src/components
src/layout/components/Settings src/layout/*
src/views/system/role/index.vue src/views/system/role/index.vue
packages/* packages/*
...@@ -28,7 +28,10 @@ import { updateUserProfile } from '@/api/system/user' ...@@ -28,7 +28,10 @@ import { updateUserProfile } from '@/api/system/user'
export default { export default {
props: { props: {
user: { user: {
type: Object type: Object,
default: () => {
return {}
}
} }
}, },
data() { data() {
......
...@@ -88,7 +88,9 @@ ...@@ -88,7 +88,9 @@
class-name="small-padding fixed-width" class-name="small-padding fixed-width"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="text" @click="handleDetail(scope.row)">查看任务详情</el-button> <el-button size="mini" type="text" @click="handleDetail(scope.row)"
>查看任务详情</el-button
>
<el-button size="mini" type="text" plain>查看审查记录</el-button> <el-button size="mini" type="text" plain>查看审查记录</el-button>
<el-button size="mini" type="text" plain>查看审查报告</el-button> <el-button size="mini" type="text" plain>查看审查报告</el-button>
<el-button size="mini" type="text" plain>查看企业留档文件</el-button> <el-button size="mini" type="text" plain>查看企业留档文件</el-button>
......
...@@ -88,18 +88,12 @@ ...@@ -88,18 +88,12 @@
class-name="small-padding fixed-width" class-name="small-padding fixed-width"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button plain size="mini" type="text" @click="goDetail(scope.row)"
plain
size="mini"
type="text"
@click="goDetail(scope.row)"
>查看任务详情</el-button >查看任务详情</el-button
> >
<el-button size="mini" type="text" plain>查看审查记录</el-button> <el-button size="mini" type="text" plain>查看审查记录</el-button>
<el-button size="mini" type="text" plain>查看审查报告</el-button> <el-button size="mini" type="text" plain>查看审查报告</el-button>
<el-button size="mini" type="text" plain <el-button size="mini" type="text" plain>查看企业留档文件</el-button>
>查看企业留档文件</el-button
>
<div style="margin-top: 10px"> <div style="margin-top: 10px">
<el-button size="mini" type="text" plain <el-button size="mini" type="text" plain
>查看车型检验记录</el-button >查看车型检验记录</el-button
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment