姓名:{{ this.childName }}
出生日期:{{ this.childCsrq }}
@@ -39,16 +39,17 @@
-
@@ -58,7 +59,7 @@
-
@@ -68,7 +69,7 @@
@@ -158,13 +159,13 @@ import {
delAssessmentcontent,
addAssessmentcontent,
updateAssessmentcontent,
- exportAssessmentcontent,
+ exportAssessmentcontent
} from "@/api/benyi/assessmentcontent";
import { getChildByAssessment } from "@/api/benyi/child";
import {
addAssessmentchild,
- updateAssessmentchild,
+ updateAssessmentchild
} from "@/api/benyi/assessmentchild";
export default {
@@ -194,11 +195,11 @@ export default {
name: undefined,
iselement: undefined,
scope: undefined,
- sort: undefined,
+ sort: undefined
},
activeName: "健康",
checked: false,
- checkList: [],
+ checkList: []
};
},
created() {
@@ -210,7 +211,7 @@ export default {
},
methods: {
getChild(childId) {
- getChildByAssessment(childId).then((response) => {
+ getChildByAssessment(childId).then(response => {
// console.log(response);
if (response.code == "200") {
this.childName = response.data.name;
@@ -219,7 +220,7 @@ export default {
this.bjmc = response.data.bjmc;
this.classid = response.data.classid;
this.zbjsxm = response.data.zbjsmc;
- response.ByAssessmentchild.forEach((item) =>
+ response.ByAssessmentchild.forEach(item =>
this.checkList.push(item.contentid)
);
if (response.isAssessment == "0") {
@@ -236,7 +237,7 @@ export default {
/** 查询评估内容列表 */
getList() {
this.loading = true;
- listAssessmentcontent(this.queryParams).then((response) => {
+ listAssessmentcontent(this.queryParams).then(response => {
// console.log("rows:" + response.rows);
this.assessmentcontentList = response.rows;
this.loading = false;
@@ -257,16 +258,16 @@ export default {
// this.resetForm("form");
// },
/** 提交按钮 */
- submitForm: function () {
+ submitForm: function() {
this.$confirm("确认生成图表数据?生成后数据不能取消", "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
- callback: (action) => {
+ callback: action => {
if (action === "confirm") {
// console.log('按下 确定')
var items = "";
- this.checkList.forEach((item) => {
+ this.checkList.forEach(item => {
//当全选被选中的时候,循环遍历源数据,把数据的每一项加入到默认选中的数组去
items = items + item + ",";
});
@@ -281,7 +282,7 @@ export default {
this.form.type = "Y";
this.form.xn = this.trem;
this.form.scope = this.assessmentscope;
- addAssessmentchild(this.form).then((response) => {
+ addAssessmentchild(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("评估成功");
}
@@ -289,7 +290,7 @@ export default {
}
} else {
}
- },
+ }
});
},
handleClick(tab) {
@@ -302,8 +303,8 @@ export default {
// items = items + item + ",";
// });
// console.log(items);
- },
- },
+ }
+ }
};
\ No newline at end of file
+@media (max-width: 768.98px) {
+ .title span {
+ font-size: 12px;
+ }
+}
+
diff --git a/ruoyi-ui/src/views/benyi/assessmentstudy/index.vue b/ruoyi-ui/src/views/benyi/assessmentstudy/index.vue
index 3ef3510a3..3e1c5fb9c 100644
--- a/ruoyi-ui/src/views/benyi/assessmentstudy/index.vue
+++ b/ruoyi-ui/src/views/benyi/assessmentstudy/index.vue
@@ -1,6 +1,6 @@
-
+
-
-
{
+ treeselectstudy().then(response => {
this.treeOptions = response.data;
});
},
@@ -105,22 +103,22 @@ export default {
},
/**查询评估介绍 */
getNote() {
- listAssessmentintroduce(null).then((response) => {
+ listAssessmentintroduce(null).then(response => {
// console.log("评估介绍:" + response.rows[0].content);
this.note = response.rows[0].content;
});
},
/** 查询一日流程任务列表 */
getTaskList() {
- getAssessmentcontentbyparentid(this.queryParams.id).then((response) => {
+ getAssessmentcontentbyparentid(this.queryParams.id).then(response => {
var tmp = "";
- response.data.forEach((element) => {
+ response.data.forEach(element => {
tmp = tmp + element.sort + ". " + element.name + "";
});
this.note = tmp;
});
- },
- },
+ }
+ }
};
\ No newline at end of file
+.el-tree{
+ max-height: calc(100vh - 180px);
+ overflow-y: auto;
+}
+.el-card {
+ max-height: calc(100vh - 130px);
+ overflow-y: auto;
+}
+
diff --git a/ruoyi-ui/src/views/dashboard/BarChart.vue b/ruoyi-ui/src/views/dashboard/BarChart.vue
index f7885c126..8940512b7 100644
--- a/ruoyi-ui/src/views/dashboard/BarChart.vue
+++ b/ruoyi-ui/src/views/dashboard/BarChart.vue
@@ -1,147 +1,160 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/ruoyi-ui/src/views/index.vue b/ruoyi-ui/src/views/index.vue
index 6bf3d8414..2c866c9d7 100644
--- a/ruoyi-ui/src/views/index.vue
+++ b/ruoyi-ui/src/views/index.vue
@@ -13,7 +13,7 @@
-
+
@@ -88,6 +88,7 @@ export default {
background-color: rgb(240, 242, 245);
position: relative;
+
.el-card.is-always-shadow {
box-shadow: none;
border: 0;
@@ -95,7 +96,7 @@ export default {
.chart-wrapper {
background: #fff;
- padding: 16px 16px 0;
+ padding: 16px;
margin-bottom: 32px;
}
}
@@ -113,8 +114,14 @@ export default {
}
@media (max-width: 1024px) {
- .chart-wrapper {
+ .dashboard-editor-container .chart-wrapper {
padding: 8px;
}
}
+
+@media (max-width: 768.98px) {
+ .dashboard-editor-container {
+ padding: 10px;
+ }
+}