|
@@ -10,7 +10,7 @@
|
|
>
|
|
>
|
|
<div slot="title">
|
|
<div slot="title">
|
|
<div label-width="150px" class="demo-ruleForm">
|
|
<div label-width="150px" class="demo-ruleForm">
|
|
- <p v-if="isView" class="dig_title">人员配置</p>
|
|
|
|
|
|
+ <p v-if="isView" class="dig_title">个人报告查看</p>
|
|
<p v-if="!isView" class="dig_title">编辑计划</p>
|
|
<p v-if="!isView" class="dig_title">编辑计划</p>
|
|
<div slot=""></div>
|
|
<div slot=""></div>
|
|
<div slot="footer"></div>
|
|
<div slot="footer"></div>
|
|
@@ -42,7 +42,14 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="createTime"
|
|
prop="createTime"
|
|
- label="创建时间"
|
|
|
|
|
|
+ label="计划创建时间"
|
|
|
|
+ align="center"
|
|
|
|
+ width=""
|
|
|
|
+ >
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ prop="completedTime"
|
|
|
|
+ label="测试完成时间"
|
|
align="center"
|
|
align="center"
|
|
width=""
|
|
width=""
|
|
>
|
|
>
|
|
@@ -51,7 +58,7 @@
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div class="detail_button_out" v-if="scope.row.isComplete == '1'">
|
|
<div class="detail_button_out" v-if="scope.row.isComplete == '1'">
|
|
<div class="detail_button" @click="queryRport(scope.row)">
|
|
<div class="detail_button" @click="queryRport(scope.row)">
|
|
- <img style="width: 20px" src="../assets/img/table/search.png" />
|
|
|
|
|
|
+ <img style="width: 15px" src="../assets/img/table/search.png" />
|
|
<span>查看报告</span>
|
|
<span>查看报告</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -90,7 +97,10 @@
|
|
<div slot=""></div>
|
|
<div slot=""></div>
|
|
<div slot="footer"></div>
|
|
<div slot="footer"></div>
|
|
|
|
|
|
- <div class="table-content">
|
|
|
|
|
|
+ <div
|
|
|
|
+ class="table-content"
|
|
|
|
+ style="display: flex; justify-content: space-around"
|
|
|
|
+ >
|
|
<!-- 修改文本 -->
|
|
<!-- 修改文本 -->
|
|
<!-- <el-radio-group v-model="radio1" ref="radio_group" @input="radioChange">
|
|
<!-- <el-radio-group v-model="radio1" ref="radio_group" @input="radioChange">
|
|
<el-radio
|
|
<el-radio
|
|
@@ -101,6 +111,8 @@
|
|
></el-radio>
|
|
></el-radio>
|
|
</el-radio-group> -->
|
|
</el-radio-group> -->
|
|
<el-button
|
|
<el-button
|
|
|
|
+ type="success"
|
|
|
|
+ style="border-radius: 20px"
|
|
v-for="item in topPicList"
|
|
v-for="item in topPicList"
|
|
:key="item.name"
|
|
:key="item.name"
|
|
@click="radioClick(item)"
|
|
@click="radioClick(item)"
|
|
@@ -118,7 +130,7 @@
|
|
<el-dialog
|
|
<el-dialog
|
|
:visible.sync="userVisible"
|
|
:visible.sync="userVisible"
|
|
append-to-body
|
|
append-to-body
|
|
- width="81%"
|
|
|
|
|
|
+ width="82%"
|
|
style="border-radius: 40px"
|
|
style="border-radius: 40px"
|
|
>
|
|
>
|
|
<div slot="title" style="border-radius: 40px">
|
|
<div slot="title" style="border-radius: 40px">
|
|
@@ -132,6 +144,7 @@
|
|
<div class="report_info_user">
|
|
<div class="report_info_user">
|
|
<span class="info">姓名: {{ proDataLin.userName }}</span>
|
|
<span class="info">姓名: {{ proDataLin.userName }}</span>
|
|
<span class="info">学号: {{ proDataLin.userNo }}</span>
|
|
<span class="info">学号: {{ proDataLin.userNo }}</span>
|
|
|
|
+ <span class="info">测试用时: {{ useTime }}</span>
|
|
<span class="info"
|
|
<span class="info"
|
|
>所属组织结构: <span style="color: #00bf78">{{
|
|
>所属组织结构: <span style="color: #00bf78">{{
|
|
orgName
|
|
orgName
|
|
@@ -148,13 +161,17 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="totol_result_des" v-if="reportData.length > 0">
|
|
<div class="totol_result_des" v-if="reportData.length > 0">
|
|
- 结论:{{ reportData[reportData.length - 1].dimensionSymptom }},{{
|
|
|
|
- reportData[reportData.length - 1].dimensionImprovement
|
|
|
|
|
|
+ 结论:{{ reportData[0].dimensionSymptom }},{{
|
|
|
|
+ reportData[0].dimensionImprovement
|
|
}}
|
|
}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="out_p">
|
|
<div class="out_p">
|
|
- <div v-show="currentFlag!='SHAPE_RANDOM'" class="echrts_sty" ref="echarts_ld"></div>
|
|
|
|
|
|
+ <div
|
|
|
|
+ v-show="currentFlag != 'SHAPE_RANDOM'"
|
|
|
|
+ class="echrts_sty"
|
|
|
|
+ ref="echarts_ld"
|
|
|
|
+ ></div>
|
|
<div class="report_echarts_out">
|
|
<div class="report_echarts_out">
|
|
<!-- justify-content: space-around; -->
|
|
<!-- justify-content: space-around; -->
|
|
<div
|
|
<div
|
|
@@ -170,7 +187,9 @@
|
|
>
|
|
>
|
|
<div
|
|
<div
|
|
class="progress_out"
|
|
class="progress_out"
|
|
- :style="{width:currentFlag!='SHAPE_RANDOM'?'100%':'50%'}"
|
|
|
|
|
|
+ :style="{
|
|
|
|
+ width: currentFlag != 'SHAPE_RANDOM' ? '100%' : '50%',
|
|
|
|
+ }"
|
|
v-for="(item, index) in echarts_name_list"
|
|
v-for="(item, index) in echarts_name_list"
|
|
:key="index"
|
|
:key="index"
|
|
>
|
|
>
|
|
@@ -204,22 +223,46 @@
|
|
<div class="des_zhishu">
|
|
<div class="des_zhishu">
|
|
{{ item.dimensionName }}
|
|
{{ item.dimensionName }}
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- class="report_des_out"
|
|
|
|
-
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="report_des_out">
|
|
<div class="score">
|
|
<div class="score">
|
|
- 分数:{{ item.dimensionScore
|
|
|
|
- }}<span
|
|
|
|
|
|
+ 分数:
|
|
|
|
+ <span v-if="item.dimensionSymptom == '重度'||item.dimensionSymptom == '高风险'" style="color: red">
|
|
|
|
+ {{ item.dimensionScore }}</span
|
|
|
|
+ >
|
|
|
|
+ <span v-if="item.dimensionSymptom == '无症状或轻度'||item.dimensionSymptom == '无或轻风险'">
|
|
|
|
+ {{ item.dimensionScore }}</span
|
|
|
|
+ >
|
|
|
|
+ <span
|
|
|
|
+ v-if="item.dimensionSymptom == '中度' ||item.dimensionSymptom == '中风险'"
|
|
|
|
+ style="color: #efb17a"
|
|
|
|
+ >
|
|
|
|
+ {{ item.dimensionScore }}</span
|
|
|
|
+ >
|
|
|
|
+ <span
|
|
style="
|
|
style="
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
color: rgb(153, 153, 153);
|
|
color: rgb(153, 153, 153);
|
|
letter-spacing: 0px;
|
|
letter-spacing: 0px;
|
|
"
|
|
"
|
|
- > 满分(100)</span
|
|
|
|
|
|
+ > (满分100)</span
|
|
>
|
|
>
|
|
</div>
|
|
</div>
|
|
- <div class="score">结论:{{ item.dimensionSymptom }}</div>
|
|
|
|
|
|
+
|
|
|
|
+ <div class="score">结论:
|
|
|
|
+ <span v-if="item.dimensionSymptom == '重度'||item.dimensionSymptom == '高风险'" style="color: red">
|
|
|
|
+ {{ item.dimensionSymptom }}</span
|
|
|
|
+ >
|
|
|
|
+ <span v-if="item.dimensionSymptom == '无症状或轻度'||item.dimensionSymptom == '无或轻风险'">
|
|
|
|
+ {{ item.dimensionSymptom }}</span
|
|
|
|
+ >
|
|
|
|
+ <span
|
|
|
|
+ v-if="item.dimensionSymptom == '中度' ||item.dimensionSymptom == '中风险'"
|
|
|
|
+ style="color: #efb17a"
|
|
|
|
+ >
|
|
|
|
+ {{ item.dimensionSymptom }}</span
|
|
|
|
+ >
|
|
|
|
+
|
|
|
|
+ </div>
|
|
<!-- <div class="score">分析:</div> -->
|
|
<!-- <div class="score">分析:</div> -->
|
|
<div class="scoreAsy">
|
|
<div class="scoreAsy">
|
|
<span class="scoreAsyTitle">分析:</span
|
|
<span class="scoreAsyTitle">分析:</span
|
|
@@ -310,7 +353,8 @@ export default {
|
|
//该用户的需要做的题目的列表
|
|
//该用户的需要做的题目的列表
|
|
topPicList: [],
|
|
topPicList: [],
|
|
radio1: "",
|
|
radio1: "",
|
|
- currentFlag:''
|
|
|
|
|
|
+ currentFlag: "",
|
|
|
|
+ useTime: "",
|
|
};
|
|
};
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
@@ -318,8 +362,7 @@ export default {
|
|
this.userInfo = JSON.parse(oSessionStorage.getItem("userInfo"));
|
|
this.userInfo = JSON.parse(oSessionStorage.getItem("userInfo"));
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- isRadioFun(val) {
|
|
|
|
- },
|
|
|
|
|
|
+ isRadioFun(val) {},
|
|
forMatCom(val) {
|
|
forMatCom(val) {
|
|
if (val.isComplete == "0") {
|
|
if (val.isComplete == "0") {
|
|
return "未完成";
|
|
return "未完成";
|
|
@@ -353,7 +396,7 @@ export default {
|
|
userNo: this.proDataLin.userNo,
|
|
userNo: this.proDataLin.userNo,
|
|
flag: val.flag,
|
|
flag: val.flag,
|
|
};
|
|
};
|
|
- this.currentFlag = val.flag
|
|
|
|
|
|
+ this.currentFlag = val.flag;
|
|
this.userVisible = true;
|
|
this.userVisible = true;
|
|
this.reportDetail(params);
|
|
this.reportDetail(params);
|
|
},
|
|
},
|
|
@@ -362,13 +405,13 @@ export default {
|
|
this.$http.get(url, {}, (res) => {
|
|
this.$http.get(url, {}, (res) => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
// this.reportData = res.data;
|
|
// this.reportData = res.data;
|
|
- this.reportDataAll = res.data.filter((item) => {
|
|
|
|
|
|
+ this.reportDataAll = res.data.dimensionScore.filter((item) => {
|
|
return item.dimensionName != "总分";
|
|
return item.dimensionName != "总分";
|
|
});
|
|
});
|
|
|
|
+ this.useTime = res.data.usedTime;
|
|
|
|
+ this.orgName = res.data.dimensionScore[0].orgName;
|
|
|
|
|
|
- this.orgName = res.data[0].orgName;
|
|
|
|
-
|
|
|
|
- this.reportData = res.data;
|
|
|
|
|
|
+ this.reportData = res.data.dimensionScore;
|
|
// let a =[res.data[0].]
|
|
// let a =[res.data[0].]
|
|
//修改文本
|
|
//修改文本
|
|
|
|
|
|
@@ -475,6 +518,8 @@ export default {
|
|
let url = `/plan/findAllByUserNo?pageSize=${this.pageSize}&pageNum=${this.pageNum}&userNo=${this.proDataLin.userNo}`;
|
|
let url = `/plan/findAllByUserNo?pageSize=${this.pageSize}&pageNum=${this.pageNum}&userNo=${this.proDataLin.userNo}`;
|
|
this.$http.get(url, {}, (res) => {
|
|
this.$http.get(url, {}, (res) => {
|
|
if (res && res.code == 200) {
|
|
if (res && res.code == 200) {
|
|
|
|
+ debugger
|
|
|
|
+
|
|
this.tableData = res.data.content;
|
|
this.tableData = res.data.content;
|
|
this.total = res.data.totalElements;
|
|
this.total = res.data.totalElements;
|
|
} else {
|
|
} else {
|
|
@@ -639,13 +684,13 @@ input[aria-hidden="true"] {
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
-.out /deep/.el-dialog {
|
|
|
|
- border-radius: 20px !important;
|
|
|
|
- // background-color: #f7f7f7 !important;
|
|
|
|
-}
|
|
|
|
-.out/deep/ .el-dialog__header {
|
|
|
|
- padding: 0px 0px 0px !important;
|
|
|
|
-}
|
|
|
|
|
|
+// .out /deep/.el-dialog {
|
|
|
|
+// border-radius: 20px !important;
|
|
|
|
+// // background-color: #f7f7f7 !important;
|
|
|
|
+// }
|
|
|
|
+// .out/deep/ .el-dialog__header {
|
|
|
|
+// padding: 0px 0px 0px !important;
|
|
|
|
+// }
|
|
|
|
|
|
.progress_out/deep/ .el-progress-bar__inner {
|
|
.progress_out/deep/ .el-progress-bar__inner {
|
|
background-image: linear-gradient(to right, #ff4e00, #ffffff);
|
|
background-image: linear-gradient(to right, #ff4e00, #ffffff);
|
|
@@ -656,11 +701,11 @@ input[aria-hidden="true"] {
|
|
line-height: 40px;
|
|
line-height: 40px;
|
|
width: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
-.dig_update /deep/.el-dialog {
|
|
|
|
- border-radius: 20px !important;
|
|
|
|
- box-shadow: none !important;
|
|
|
|
- background: transparent !important;
|
|
|
|
-}
|
|
|
|
|
|
+// .dig_update /deep/.el-dialog {
|
|
|
|
+// border-radius: 20px !important;
|
|
|
|
+// box-shadow: none !important;
|
|
|
|
+// background: transparent !important;
|
|
|
|
+// }
|
|
.demo-ruleForm /deep/ .el-form-item {
|
|
.demo-ruleForm /deep/ .el-form-item {
|
|
// margin-right: 10px;
|
|
// margin-right: 10px;
|
|
vertical-align: top;
|
|
vertical-align: top;
|
|
@@ -854,6 +899,7 @@ input[aria-hidden="true"] {
|
|
font-size: 20px;
|
|
font-size: 20px;
|
|
.info {
|
|
.info {
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
|
|
+ font-size: 18px;
|
|
}
|
|
}
|
|
// font-weight: 700;
|
|
// font-weight: 700;
|
|
}
|
|
}
|