diff --git a/src/pages/achievement/ass/index.vue b/src/pages/achievement/ass/index.vue
index e6f9822..54b85c0 100644
--- a/src/pages/achievement/ass/index.vue
+++ b/src/pages/achievement/ass/index.vue
@@ -196,7 +196,10 @@ export default {
type: "warning"
})
.then(() => {
- this.$post(`${this.api.deleteReport}?reportId=${row.reportId}&recordId=${row.recordId}`).then(res => {
+ let ids = this.multipleSelection.map(item => {
+ return item.reportId;
+ });
+ this.$post(`${this.api.deleteExperimentalReport}`,ids).then(res => {
util.successMsg("删除成功");
this.getData();
}).catch(res => {
diff --git a/src/pages/achievement/show/index.vue b/src/pages/achievement/show/index.vue
index 6f78d13..dbf1af7 100644
--- a/src/pages/achievement/show/index.vue
+++ b/src/pages/achievement/show/index.vue
@@ -54,35 +54,46 @@
实验数据
-
+
{{ scope.$index + 1 }}
-
+
-
+
{{index+1}}. {{item.name}}
-
+
-
-
{{index+1}}. {{item.ruleAnswer}}
+
+
+ {{index+1}}. {{item.ruleAnswer}}
+
+
+
+
-
+
-
-
{{index+1}}. {{item.ruleAnswer}}
+
+
+ {{index+1}}. {{item.userAnswer}}
+
+
+
+
-
+
+
@@ -142,6 +153,7 @@ export default {
autograph: "1",
pages: 1,
ipVisible: false,
+ project:false,
fileList: [{ name: "food.jpeg", url: "https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100" }, {
name: "food2.jpeg",
url: "https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100"
@@ -160,6 +172,7 @@ export default {
])
},
mounted() {
+
this.getData();
},
methods: {
@@ -173,6 +186,16 @@ export default {
let expData = res.userScores;
let form = this.form;
let score = form.score;
+ for(var i=0;i {
@@ -183,7 +206,6 @@ export default {
});
form.score = score;
}
-
this.expData = expData;
}
this.infoData.push({
@@ -212,7 +234,16 @@ export default {
let expData = res.userScores;
let form = this.form;
let score = form.score;
-
+ for(var i=0;i {
@@ -345,12 +376,11 @@ export default {
/deep/ .info-table {
margin-bottom: 40px;
border: 0;
-
th {
background-color: #fff !important;
-
.cell {
color: #444;
+ line-height: 35px;
}
}
@@ -385,11 +415,19 @@ export default {
background-color: #e1eaff !important;
.cell {
+ line-height: 35px;
color: #555555;
}
}
}
-
+/deep/ pre, code, kbd, samp{
+ font-family: 'PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif;
+ word-wrap: break-word;
+ white-space: pre-wrap;
+}
+/deep/ pre{
+ white-space: pre-wrap;
+}
/deep/ .cell {
font-size: 12px;
}
@@ -455,4 +493,16 @@ export default {
padding-top: 20px;
border-top: 1px dashed #ccc;
}
+pre {
+ white-space: pre-wrap; /* css-3 */
+ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
+ white-space: pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+ word-break:break-all;
+ overflow:hidden;
+ font-size: 12px;
+ font-weight:400;
+ font-family:'PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif
+}
\ No newline at end of file
diff --git a/src/pages/achievement/vir/index.vue b/src/pages/achievement/vir/index.vue
index 36ce388..35352e3 100644
--- a/src/pages/achievement/vir/index.vue
+++ b/src/pages/achievement/vir/index.vue
@@ -152,7 +152,7 @@ export default {
this.$confirm("确定要删除吗?", "提示", {
type: "warning"
}).then(() => {
- this.$post(this.api.deleteExperimentalReport, [row.projectId]).then(res => {
+ this.$post(this.api.deleteExperimentalReport, [row.reportId]).then(res => {
util.successMsg("删除成功");
this.getData();
}).catch(res => {
@@ -166,7 +166,7 @@ export default {
type: "warning"
}).then(() => {
let ids = this.multipleSelection.map(item => {
- return item.projectId;
+ return item.reportId;
});
this.$post(this.api.deleteExperimentalReport, ids).then(res => {
this.multipleSelection = [];
diff --git a/src/pages/assessment/list/index.vue b/src/pages/assessment/list/index.vue
index 65d17ba..c534c07 100644
--- a/src/pages/assessment/list/index.vue
+++ b/src/pages/assessment/list/index.vue
@@ -90,7 +90,7 @@
-
+
{{ status[scope.row.status] }}
diff --git a/src/pages/project/list/index.vue b/src/pages/project/list/index.vue
index f8d7b7a..2e1175a 100644
--- a/src/pages/project/list/index.vue
+++ b/src/pages/project/list/index.vue
@@ -90,15 +90,15 @@
编辑
删除
复制
-
-
-
-
-
-
-
-
-
+
diff --git a/src/pages/system/list/staff.vue b/src/pages/system/list/staff.vue
index f95cec4..59c35ee 100644
--- a/src/pages/system/list/staff.vue
+++ b/src/pages/system/list/staff.vue
@@ -68,15 +68,18 @@
-
-
-
-
-
+
+
+
+
+
+
@@ -471,10 +474,15 @@ export default {
}
},
roleRemove(value) { // 处理移除角色
- let index = this.teacherForm.roleAndDeptList.findIndex(i => i.roleName === value);
- if (index !== -1) {
- this.teacherForm.roleAndDeptList.splice(index, 1);
+ let list = [];
+ for(var i=0;i {
diff --git a/src/styles/common.scss b/src/styles/common.scss
index 5dab496..7a9d882 100644
--- a/src/styles/common.scss
+++ b/src/styles/common.scss
@@ -138,6 +138,7 @@
.cell {
font-size: 14px;
+ line-height: 35px;
}
th {