Browse Source

布局修改

master
mch 3 years ago
parent
commit
b67b550f0e
  1. 1
      src/App.vue
  2. BIN
      src/assets/images/currentuser2.png
  3. 12
      src/views/Home.vue
  4. 3
      src/views/basic-dictionary/Sex.vue
  5. 5
      src/views/common-settings/ItemType.vue
  6. 11
      src/views/user-list/AuditLog.vue

1
src/App.vue

@ -11,6 +11,7 @@
<style lang="scss"> <style lang="scss">
.publiccss{ .publiccss{
font-size: 18px; font-size: 18px;
font-weight: 700;
} }
* { * {
margin: 0; margin: 0;

BIN
src/assets/images/currentuser2.png

After

Width: 356  |  Height: 394  |  Size: 10 KiB

12
src/views/Home.vue

@ -377,10 +377,9 @@
<!-- --> <!-- -->
<div class="btn"> <div class="btn">
<img <img
src="@/assets/images/currentuser.png"
src="@/assets/images/currentuser2.png"
alt="" alt=""
class="currentuser" class="currentuser"
style="background-color:red;"
/> />
当前用户:{{ user }} 当前用户:{{ user }}
<!-- <i class="el-icon-arrow-down el-icon--right"></i> --> <!-- <i class="el-icon-arrow-down el-icon--right"></i> -->
@ -766,7 +765,7 @@ export default {
right: 2%; right: 2%;
top: 10px; top: 10px;
color: #000; color: #000;
background-color: #2bca84;
font-size: 18px;
z-index: 99; z-index: 99;
} }
.registrationimgimges { .registrationimgimges {
@ -860,7 +859,10 @@ export default {
/* justify-content: space-between; */ /* justify-content: space-between; */
flex-flow: 1; flex-flow: 1;
} }
::v-deep .el-card__body {
height: 90vh;
overflow-y: auto;
}
.maintitle { .maintitle {
font-size: 20px; font-size: 20px;
font-weight: 700; font-weight: 700;
@ -870,7 +872,7 @@ export default {
.el-header { .el-header {
height: 70px; height: 70px;
} }
.operateimg{
.operateimg {
position: relative; position: relative;
left: 0; left: 0;
top: 5px; top: 5px;

3
src/views/basic-dictionary/Sex.vue

@ -1,7 +1,7 @@
<template> <template>
<div class="box"> <div class="box">
<div style="width: 95%"> <div style="width: 95%">
<el-card>
<el-card style="">
<div class="publiccss">性别</div> <div class="publiccss">性别</div>
<el-table <el-table
:data="tableData" :data="tableData"
@ -260,6 +260,7 @@ export default {
<style scoped> <style scoped>
.box { .box {
display: flex; display: flex;
} }
.cancelorconfirm { .cancelorconfirm {
display: flex; display: flex;

5
src/views/common-settings/ItemType.vue

@ -67,7 +67,8 @@
<el-cascader <el-cascader
:options="options" :options="options"
:props="{ checkStrictly: true }" :props="{ checkStrictly: true }"
clearable></el-cascader>
clearable
></el-cascader>
<el-form <el-form
:model="form" :model="form"
label-width="80px" label-width="80px"
@ -399,7 +400,7 @@ export default {
}, },
// //
rowick(row) { rowick(row) {
console.log(row,'11111');
console.log(row, "11111");
}, },
getlist() { getlist() {
projectlist(this.pages).then((res) => { projectlist(this.pages).then((res) => {

11
src/views/user-list/AuditLog.vue

@ -2,7 +2,11 @@
<div> <div>
<el-card> <el-card>
<div class="publiccss">安全日志</div> <div class="publiccss">安全日志</div>
<el-table :data="tableData" style="width: 100%;margin-top:20px" height="700">
<el-table
:data="tableData"
style="width: 100%; margin-top: 20px"
height="700"
>
<el-table-column prop="userName" label="用户名" width="80"> <el-table-column prop="userName" label="用户名" width="80">
</el-table-column> </el-table-column>
<el-table-column prop="httpStatusCode" label="状态" width="80"> <el-table-column prop="httpStatusCode" label="状态" width="80">
@ -29,7 +33,10 @@
</el-table-column> </el-table-column>
<el-table-column label="操作"> <el-table-column label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" @click="inquireabout(scope.row)"
<el-button
type=""
@click="inquireabout(scope.row)"
style="width: 100px"
>查看</el-button >查看</el-button
> >
</template> </template>

Loading…
Cancel
Save