Browse Source

首页标题添加省略,我的信息调整

newMaster
1747191978@qq.com 4 months ago
parent
commit
99d9a9c9b3
  1. 71
      acupuncture-前台/src/views/index.vue
  2. 6
      acupuncture-前台/src/views/system/user/profile/index.vue
  3. 71
      acupuncture-后台/src/views/index.vue
  4. 4
      acupuncture-后台/src/views/system/user/profile/index.vue

71
acupuncture-前台/src/views/index.vue

@ -3,19 +3,31 @@
<div></div>
<div>
<el-card shadow="always">
<search @picker-change="pickerChage" title="患者信息统计" type="1"></search>
<search
@picker-change="pickerChage"
title="患者信息统计"
type="1"
></search>
</el-card>
<patient ref="patient"></patient>
</div>
<div>
<el-card shadow="always">
<search @picker-change="pickerChage" title="诊疗信息统计" type="2"></search>
<search
@picker-change="pickerChage"
title="诊疗信息统计"
type="2"
></search>
</el-card>
<JM ref="JM"></JM>
</div>
<div>
<el-card shadow="always">
<search @picker-change="pickerChage" title="治疗类型统计" type="3"></search>
<search
@picker-change="pickerChage"
title="治疗类型统计"
type="3"
></search>
</el-card>
<XGZL ref="XGZL"></XGZL>
</div>
@ -29,23 +41,20 @@
</template>
<script>
import {
getCodeImg,
firstAidTest
} from "@/api/login";
import search from "@/views/indexCom/query";
import patient from "@/views/indexCom/patient";
import JM from "@/views/indexCom/JM";
import XGZL from "@/views/indexCom/XGZL";
import follow from "@/views/indexCom/follow";
export default {
import { getCodeImg, firstAidTest } from "@/api/login";
import search from "@/views/indexCom/query";
import patient from "@/views/indexCom/patient";
import JM from "@/views/indexCom/JM";
import XGZL from "@/views/indexCom/XGZL";
import follow from "@/views/indexCom/follow";
export default {
name: "Index",
components: {
search,
patient,
JM,
XGZL,
follow
follow,
},
data() {
return {};
@ -65,7 +74,7 @@
},
methods: {
resize() {
console.log(111)
console.log(111);
// this.$refs.patient.getRenew();
// this.$refs.JM.getRenew();
// this.$refs.XGZL.getRenew();
@ -118,16 +127,24 @@
},
},
},
};
};
</script>
<style scoped lang="scss">
.home {
.header-title {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.home {
background: #f3f5f9;
min-height: 100vh;
}
}
.home {
.home {
blockquote {
padding: 10px 20px;
margin: 0 0 20px;
@ -151,11 +168,7 @@
margin: 0;
}
font-family: "open sans",
"Helvetica Neue",
Helvetica,
Arial,
sans-serif;
font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
color: #676a6c;
overflow-x: hidden;
@ -193,14 +206,14 @@
padding-inline-start: 40px;
}
}
}
}
</style>
<style scoped>
>>>.el-card {
>>> .el-card {
margin-bottom: 16px;
}
}
>>>.el-card__body {
>>> .el-card__body {
padding: 10px 20px;
}
}
</style>

6
acupuncture-前台/src/views/system/user/profile/index.vue

@ -2,7 +2,7 @@
<div class="app-container">
<el-row :gutter="20">
<el-col :span="6" :xs="24" style="height: 400px; border-radius: 4px">
<el-card class="box-card">
<el-card style="height: 410px" class="box-card">
<div slot="header" class="clearfix">
<span>个人信息</span>
</div>
@ -23,10 +23,6 @@
<svg-icon icon-class="phone" />手机号码
<div class="pull-right">{{ user.phonenumber }}</div>
</li>
<li class="list-group-item">
<svg-icon icon-class="email" />用户邮箱
<div class="pull-right">{{ user.email }}</div>
</li>
<li class="list-group-item">
<svg-icon icon-class="tree" />所属部门
<div class="pull-right" v-if="user.dept">

71
acupuncture-后台/src/views/index.vue

@ -3,19 +3,31 @@
<div></div>
<div>
<el-card shadow="always">
<search @picker-change="pickerChage" title="患者信息统计" type="1"></search>
<search
@picker-change="pickerChage"
title="患者信息统计"
type="1"
></search>
</el-card>
<patient ref="patient"></patient>
</div>
<div>
<el-card shadow="always">
<search @picker-change="pickerChage" title="诊疗信息统计" type="2"></search>
<search
@picker-change="pickerChage"
title="诊疗信息统计"
type="2"
></search>
</el-card>
<JM ref="JM"></JM>
</div>
<div>
<el-card shadow="always">
<search @picker-change="pickerChage" title="治疗类型统计" type="3"></search>
<search
@picker-change="pickerChage"
title="治疗类型统计"
type="3"
></search>
</el-card>
<XGZL ref="XGZL"></XGZL>
</div>
@ -29,23 +41,20 @@
</template>
<script>
import {
getCodeImg,
firstAidTest
} from "@/api/login";
import search from "@/views/indexCom/query";
import patient from "@/views/indexCom/patient";
import JM from "@/views/indexCom/JM";
import XGZL from "@/views/indexCom/XGZL";
import follow from "@/views/indexCom/follow";
export default {
import { getCodeImg, firstAidTest } from "@/api/login";
import search from "@/views/indexCom/query";
import patient from "@/views/indexCom/patient";
import JM from "@/views/indexCom/JM";
import XGZL from "@/views/indexCom/XGZL";
import follow from "@/views/indexCom/follow";
export default {
name: "Index",
components: {
search,
patient,
JM,
XGZL,
follow
follow,
},
data() {
return {};
@ -65,7 +74,7 @@
},
methods: {
resize() {
console.log(111)
console.log(111);
this.$refs.patient.getRenew();
this.$refs.JM.getRenew();
this.$refs.XGZL.getRenew();
@ -118,16 +127,24 @@
},
},
},
};
};
</script>
<style scoped lang="scss">
.home {
.header-title {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.home {
background: #f3f5f9;
min-height: 100vh;
}
}
.home {
.home {
blockquote {
padding: 10px 20px;
margin: 0 0 20px;
@ -151,11 +168,7 @@
margin: 0;
}
font-family: "open sans",
"Helvetica Neue",
Helvetica,
Arial,
sans-serif;
font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
color: #676a6c;
overflow-x: hidden;
@ -193,14 +206,14 @@
padding-inline-start: 40px;
}
}
}
}
</style>
<style scoped>
>>>.el-card {
>>> .el-card {
margin-bottom: 16px;
}
}
>>>.el-card__body {
>>> .el-card__body {
padding: 10px 20px;
}
}
</style>

4
acupuncture-后台/src/views/system/user/profile/index.vue

@ -31,10 +31,10 @@
<svg-icon icon-class="peoples" />所属角色
<div class="pull-right">{{ roleGroup }}</div>
</li>
<li class="list-group-item">
<!-- <li class="list-group-item">
<svg-icon icon-class="date" />创建日期
<div class="pull-right">{{ user.createTime }}</div>
</li>
</li> -->
</ul>
</div>
</el-card>

Loading…
Cancel
Save