|
@@ -118,7 +118,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <!-- 点击查看 -->
|
|
|
+ <!-- 点击查看数据来源 -->
|
|
|
<el-dialog
|
|
|
title=""
|
|
|
:visible.sync="diaIframe"
|
|
@@ -158,10 +158,11 @@
|
|
|
<div>认定平均分:{{ !evaScoDigCog ? 0 : evaScoDigCog }}</div>
|
|
|
<div>存在分差总人数:{{ evaScoDigPerC }}</div>
|
|
|
</div>
|
|
|
- <!-- <div class="diaScoreRight">
|
|
|
- <el-button size="small" type="primary">保存</el-button>
|
|
|
- <el-button size="small" type="primary">提交</el-button>
|
|
|
- </div> -->
|
|
|
+ <div class="diaScoreRight">
|
|
|
+ <el-button size="small" @click="allSubmit" type="primary"
|
|
|
+ >保存</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<el-table class="scoTab" :data="tableData" style="width: 100%">
|
|
|
<el-table-column type="index" align="center" label="序号" width="180">
|
|
@@ -173,7 +174,12 @@
|
|
|
width="180"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="tea" align="center" label="教研室">
|
|
|
+ <el-table-column
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
+ prop="tea"
|
|
|
+ align="center"
|
|
|
+ label="教研室"
|
|
|
+ >
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="score" align="center" label="分值">
|
|
|
</el-table-column>
|
|
@@ -187,7 +193,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="数据来源">
|
|
|
+ <el-table-column width="300px" align="center" label="数据来源">
|
|
|
<template slot-scope="scope">
|
|
|
<div v-if="!scope.row.orgData.length">/</div>
|
|
|
<div v-else style="padding-top: 10px;">
|
|
@@ -242,9 +248,6 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
- <!-- <span slot="footer" class="dialog-footer">
|
|
|
- <el-button @click="diaScore = false">关 闭</el-button>
|
|
|
- </span> -->
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -1315,86 +1318,122 @@ export default {
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
- // 分数提交
|
|
|
- Submit(val) {
|
|
|
- console.log("Submit", val);
|
|
|
- this.tableData.forEach(e => {
|
|
|
- if (e.id == val.id) {
|
|
|
- e.judge = 0;
|
|
|
- }
|
|
|
- });
|
|
|
+ // 获取基础页面数据
|
|
|
+ getPageBase() {
|
|
|
+ this.tabLoad = true;
|
|
|
+ let params = {
|
|
|
+ typ: this.pType,
|
|
|
+ org: this.org,
|
|
|
+ oid: this.oid
|
|
|
+ };
|
|
|
+ // console.log(params);
|
|
|
+ this.ajax
|
|
|
+ .get(this.$store.state.api + "selectTestExamineBase", params)
|
|
|
+ .then(res => {
|
|
|
+ this.tableJsonCon = JSON.parse(res.data[0][0].json);
|
|
|
|
|
|
- // return console.log(this.tableData);
|
|
|
+ this.handleData();
|
|
|
+ this.getData();
|
|
|
+ })
|
|
|
+ .catch(error => {
|
|
|
+ console.log(error);
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 获取首页数据计算审核进度,自评平均分,考核平均分
|
|
|
+ getData() {
|
|
|
+ let params = {
|
|
|
+ oid: this.oid,
|
|
|
+ org: this.org,
|
|
|
+ type: this.pType
|
|
|
+ };
|
|
|
+ this.ajax
|
|
|
+ .get(this.$store.state.api + "selectTestExamineAllData", params)
|
|
|
+ .then(res => {
|
|
|
+ // pum是判断审核进度的计数器
|
|
|
+ this.tableJsonCon.forEach(e => {
|
|
|
+ e.children.forEach(i => {
|
|
|
+ i.pum = 0;
|
|
|
+ });
|
|
|
+ });
|
|
|
|
|
|
- if (val.cogSco > val.score) {
|
|
|
- val.cogSco = val.score;
|
|
|
- }
|
|
|
+ if (!res.data[0].length) return (this.tabLoad = false);
|
|
|
|
|
|
- val.json.forEach(e => {
|
|
|
- e.children.forEach(i => {
|
|
|
- if (i.id == this.secondId) {
|
|
|
- i.sco2 = val.cogSco;
|
|
|
- i.cogSum = val.cogSummary;
|
|
|
- }
|
|
|
- });
|
|
|
- });
|
|
|
+ this.allData = res.data[0];
|
|
|
+ let data = res.data[0];
|
|
|
+ // 转json
|
|
|
+ data.forEach(e => {
|
|
|
+ e.json = JSON.parse(e.json);
|
|
|
+ });
|
|
|
+ // console.log("data", data);
|
|
|
|
|
|
- // console.log("valval", val.json);
|
|
|
+ this.tableJsonCon.forEach(a => {
|
|
|
+ data.forEach(b => {
|
|
|
+ b.json.forEach(c => {
|
|
|
+ if (a.id == c.id) {
|
|
|
+ a.children.forEach((d, index) => {
|
|
|
+ if (d.id == c.children[index].id) {
|
|
|
+ // console.log('c.children[index].sco1',c.children[index].sco1);
|
|
|
+ d.sco1 = d.sco1 * 1 + c.children[index].sco1 * 1;
|
|
|
+ d.sco2 = d.sco2 * 1 + c.children[index].sco2 * 1;
|
|
|
+ if (!!c.children[index].sco2 * 1) {
|
|
|
+ d.pum++;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ });
|
|
|
|
|
|
- let params = [
|
|
|
- {
|
|
|
- uid: this.userid,
|
|
|
- tid: val.id,
|
|
|
- json: JSON.stringify(val.json)
|
|
|
- }
|
|
|
- ];
|
|
|
- // return console.log(params);
|
|
|
- this.ajax
|
|
|
- .post(this.$store.state.api + "updateExamineCogData", params)
|
|
|
- .then(res => {
|
|
|
- // console.log("updateExamineCogData", res);
|
|
|
- this.getSecondData()
|
|
|
- // this.CopDigSco();
|
|
|
-
|
|
|
+ this.tableJsonCon.forEach(e => {
|
|
|
+ e.children.forEach(i => {
|
|
|
+ i.sco1 = (i.sco1 / this.allData.length).toFixed(2);
|
|
|
+ i.sco2 = (i.sco2 / this.allData.length).toFixed(2);
|
|
|
+ });
|
|
|
+ });
|
|
|
+ this.tabLoad = false;
|
|
|
})
|
|
|
.catch(error => {
|
|
|
console.log(error);
|
|
|
});
|
|
|
},
|
|
|
-
|
|
|
- // 概述提交
|
|
|
- Submit2(val) {
|
|
|
- // val.cogSco = !val.cogSco ? 0 : val.cogSco;
|
|
|
-
|
|
|
- val.json.forEach(e => {
|
|
|
- e.children.forEach(i => {
|
|
|
- if (i.id == this.secondId) {
|
|
|
- i.cogSum = val.cogSummary;
|
|
|
+ async handleData() {
|
|
|
+ for (const e of this.tableJsonCon) {
|
|
|
+ for (const k of e.children) {
|
|
|
+ if (k.testid.test.length > 0) {
|
|
|
+ k.testid.test = await this.computedTest(k.testid.test);
|
|
|
}
|
|
|
- });
|
|
|
- });
|
|
|
-
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ computedTest(val) {
|
|
|
let params = [
|
|
|
{
|
|
|
- uid: this.userid,
|
|
|
- tid: val.id,
|
|
|
- json: JSON.stringify(val.json)
|
|
|
+ uid: "",
|
|
|
+ testId: val.join(",")
|
|
|
}
|
|
|
];
|
|
|
- // return console.log(params);
|
|
|
- this.ajax
|
|
|
- .post(this.$store.state.api + "updateExamineCogData", params)
|
|
|
- .then(res => {
|
|
|
- // console.log("updateExamineCogData", res);
|
|
|
- // 计算评分弹框平均值等
|
|
|
- // this.CopDigSco();
|
|
|
- this.getSecondData()
|
|
|
+ return new Promise(resolve => {
|
|
|
+ this.ajax
|
|
|
+ .post(this.$store.state.api + "selectExamineTestName", params)
|
|
|
+ .then(res => {
|
|
|
+ // console.log("resresresres", res.data[0]);
|
|
|
+ // console.log(res.data[0]);
|
|
|
+ resolve(res.data[0]);
|
|
|
+ })
|
|
|
+ .catch(error => {
|
|
|
+ console.log(error);
|
|
|
+ });
|
|
|
+ });
|
|
|
+ },
|
|
|
|
|
|
- })
|
|
|
- .catch(error => {
|
|
|
- console.log(error);
|
|
|
- });
|
|
|
+ // 查看数据来源
|
|
|
+ lookPrize(val) {
|
|
|
+ this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${val}&oid=${this.oid}&org=${this.org}&type=2&role=0`;
|
|
|
+ // this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/test?userid=${this.userid}&oid=45facc0a-1211-11ec-80ad-005056b86db5&org=&role=0`;
|
|
|
+ this.diaIframe = true;
|
|
|
},
|
|
|
+ // ----------------------------首页操作与弹框操作分界线
|
|
|
// 查看评分
|
|
|
lookScore(val, oneName, twoName) {
|
|
|
this.evaScoDig = true;
|
|
@@ -1403,20 +1442,18 @@ export default {
|
|
|
|
|
|
this.tableData = [];
|
|
|
|
|
|
- // this.cogSco = "";
|
|
|
- // this.cogSummary = "";
|
|
|
-
|
|
|
this.secondId = val;
|
|
|
this.getSecondData();
|
|
|
this.diaScore = true;
|
|
|
},
|
|
|
+
|
|
|
+ // 弹框获取这个学校所有的提交表单
|
|
|
getSecondData() {
|
|
|
let params = {
|
|
|
oid: this.oid,
|
|
|
org: this.org,
|
|
|
type: this.pType
|
|
|
};
|
|
|
- // console.log(params);
|
|
|
this.ajax
|
|
|
.get(this.$store.state.api + "selectTestExamineSecondData", params)
|
|
|
.then(res => {
|
|
@@ -1427,13 +1464,13 @@ export default {
|
|
|
// console.log("selectTestExamineSecondData", data);
|
|
|
|
|
|
data.forEach(e => {
|
|
|
- e.evaSca = "";
|
|
|
- e.evaMed = "";
|
|
|
- e.orgData = [];
|
|
|
- e.cogSco = "";
|
|
|
- e.cogSummary = "";
|
|
|
- e.score = 0;
|
|
|
- e.judge = 0;
|
|
|
+ e.evaSca = ""; //自评分数
|
|
|
+ e.evaMed = ""; //自评概述
|
|
|
+ e.orgData = []; //数据来源
|
|
|
+ e.cogSco = ""; //认定分数
|
|
|
+ e.cogSummary = ""; //认定概述
|
|
|
+ e.score = 0; //分值
|
|
|
+ e.judge = 0; //是否填充为默认分数 1:默认等于自评分
|
|
|
e.json.forEach(i => {
|
|
|
i.children.forEach(k => {
|
|
|
if (k.id == this.secondId) {
|
|
@@ -1441,9 +1478,7 @@ export default {
|
|
|
e.evaMed = k.selfSummary;
|
|
|
e.orgData = k.testid.test;
|
|
|
e.score = k.score;
|
|
|
- // e.cogSco = k.sco2;
|
|
|
e.cogSummary = k.cogSum;
|
|
|
- // console.log("k.sco2", typeof k.sco2);
|
|
|
if (!!k.sco2) {
|
|
|
e.cogSco = k.sco2;
|
|
|
} else {
|
|
@@ -1454,10 +1489,8 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
});
|
|
|
- // console.log("data", data);
|
|
|
|
|
|
this.tableData = data;
|
|
|
- // console.log("this.tableData", this.tableData);
|
|
|
|
|
|
// 计算评分弹框平均值等
|
|
|
this.CopDigSco();
|
|
@@ -1470,11 +1503,11 @@ export default {
|
|
|
console.log(error);
|
|
|
});
|
|
|
},
|
|
|
- // 计算评分弹框平均值等
|
|
|
+ // 弹框计算评分弹框平均值等
|
|
|
CopDigSco() {
|
|
|
- this.evaScoDigSvg = 0;
|
|
|
- this.evaScoDigCog = 0;
|
|
|
- this.evaScoDigPerC = 0;
|
|
|
+ this.evaScoDigSvg = 0; //自评平均
|
|
|
+ this.evaScoDigCog = 0; //认定平均
|
|
|
+ this.evaScoDigPerC = 0; //存在分差人数
|
|
|
this.tableData.forEach(e => {
|
|
|
this.evaScoDigSvg += e.evaSca * 1;
|
|
|
this.evaScoDigCog += e.cogSco * 1;
|
|
@@ -1490,13 +1523,13 @@ export default {
|
|
|
2
|
|
|
);
|
|
|
},
|
|
|
+
|
|
|
+ // 弹框中处理数据来源
|
|
|
async handleScoData() {
|
|
|
for (const e of this.tableData) {
|
|
|
- // for (const k of e.children) {
|
|
|
if (e.orgData.length > 0) {
|
|
|
e.orgData = await this.computedScoTest(e.orgData, e.userid);
|
|
|
}
|
|
|
- // }
|
|
|
}
|
|
|
},
|
|
|
computedScoTest(val, uid) {
|
|
@@ -1518,69 +1551,8 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
- // 获取数据计算审核进度,自评平均分,考核平均分
|
|
|
- getData() {
|
|
|
- let params = {
|
|
|
- oid: this.oid,
|
|
|
- org: this.org,
|
|
|
- type: this.pType
|
|
|
- };
|
|
|
- // console.log(params);
|
|
|
- this.ajax
|
|
|
- .get(this.$store.state.api + "selectTestExamineAllData", params)
|
|
|
- .then(res => {
|
|
|
- // pum是判断审核进度的计数器
|
|
|
- this.tableJsonCon.forEach(e => {
|
|
|
- e.children.forEach(i => {
|
|
|
- i.pum = 0;
|
|
|
- });
|
|
|
- });
|
|
|
- // console.log("selectTestExamineAllData", res.data[0]);
|
|
|
- if (!res.data[0].length) return (this.tabLoad = false);
|
|
|
-
|
|
|
- this.allData = res.data[0];
|
|
|
- let data = res.data[0];
|
|
|
- // 转json
|
|
|
- data.forEach(e => {
|
|
|
- e.json = JSON.parse(e.json);
|
|
|
- });
|
|
|
- // console.log("data", data);
|
|
|
|
|
|
- this.tableJsonCon.forEach(a => {
|
|
|
- data.forEach(b => {
|
|
|
- b.json.forEach(c => {
|
|
|
- if (a.id == c.id) {
|
|
|
- a.children.forEach((d, index) => {
|
|
|
- if (d.id == c.children[index].id) {
|
|
|
- // console.log('c.children[index].sco1',c.children[index].sco1);
|
|
|
- d.sco1 = d.sco1 * 1 + c.children[index].sco1 * 1;
|
|
|
- d.sco2 = d.sco2 * 1 + c.children[index].sco2 * 1;
|
|
|
- if (!!c.children[index].sco2 * 1) {
|
|
|
- d.pum++;
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
- });
|
|
|
- });
|
|
|
-
|
|
|
- this.tableJsonCon.forEach(e => {
|
|
|
- e.children.forEach(i => {
|
|
|
- i.sco1 = (i.sco1 / this.allData.length).toFixed(2);
|
|
|
- i.sco2 = (i.sco2 / this.allData.length).toFixed(2);
|
|
|
- });
|
|
|
- });
|
|
|
- // console.log("this.tableJsonCon", this.tableJsonCon);
|
|
|
- this.tabLoad = false;
|
|
|
-
|
|
|
- // this.tableJsonCon.forEach(e => {});
|
|
|
- })
|
|
|
- .catch(error => {
|
|
|
- console.log(error);
|
|
|
- });
|
|
|
- },
|
|
|
- // 查看数据来源
|
|
|
+ // 弹框查看数据来源
|
|
|
lookUserPrize(val, cid) {
|
|
|
// return console.log(val);
|
|
|
// this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${val}&oid=${this.oid}&org=${this.org}&type=2&role=0&peopleId=${this.userid}`;
|
|
@@ -1589,65 +1561,140 @@ export default {
|
|
|
// this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/test?userid=${this.userid}&oid=45facc0a-1211-11ec-80ad-005056b86db5&org=&role=0`;
|
|
|
this.diaIframe = true;
|
|
|
},
|
|
|
- // 获取基础页面数据
|
|
|
- getPageBase() {
|
|
|
- this.tabLoad = true;
|
|
|
- let params = {
|
|
|
- typ: this.pType,
|
|
|
- org: this.org,
|
|
|
- oid: this.oid
|
|
|
- };
|
|
|
- // console.log(params);
|
|
|
+
|
|
|
+ //分数提交与概述提交不一个函数是因为:
|
|
|
+ // 认定分数默认等于自评分数,管理员点击到评分才会提交默认分数,点击概述则不会提交分数
|
|
|
+
|
|
|
+ // 分数提交
|
|
|
+ Submit(val) {
|
|
|
+ //#region
|
|
|
+ // 修改了将页面上的分数也改变颜色,(方式改变,无用了)
|
|
|
+ // this.tableData.forEach(e => {
|
|
|
+ // if (e.id == val.id) {
|
|
|
+ // e.judge = 0;
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ //#endregion
|
|
|
+ if (val.cogSco > val.score) {
|
|
|
+ val.cogSco = val.score;
|
|
|
+ }
|
|
|
+
|
|
|
+ val.json.forEach(e => {
|
|
|
+ e.children.forEach(i => {
|
|
|
+ if (i.id == this.secondId) {
|
|
|
+ i.sco2 = val.cogSco;
|
|
|
+ i.cogSum = val.cogSummary;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+
|
|
|
+ let params = [
|
|
|
+ {
|
|
|
+ uid: this.userid,
|
|
|
+ tid: val.id,
|
|
|
+ json: JSON.stringify(val.json)
|
|
|
+ }
|
|
|
+ ];
|
|
|
+ // return console.log(params);
|
|
|
this.ajax
|
|
|
- .get(this.$store.state.api + "selectTestExamineBase", params)
|
|
|
+ .post(this.$store.state.api + "updateExamineCogData", params)
|
|
|
.then(res => {
|
|
|
- // console.log("resresresres", res.data[0]);
|
|
|
- // console.log("selectTestExamineBase", res.data[0][0]);
|
|
|
+ this.getSecondData();
|
|
|
+ })
|
|
|
+ .catch(error => {
|
|
|
+ console.log(error);
|
|
|
+ });
|
|
|
+ },
|
|
|
|
|
|
- this.tableJsonCon = JSON.parse(res.data[0][0].json);
|
|
|
+ // 概述提交
|
|
|
+ Submit2(val) {
|
|
|
+ val.json.forEach(e => {
|
|
|
+ e.children.forEach(i => {
|
|
|
+ if (i.id == this.secondId) {
|
|
|
+ i.cogSum = val.cogSummary;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
|
|
|
- this.handleData();
|
|
|
- this.getData();
|
|
|
+ let params = [
|
|
|
+ {
|
|
|
+ uid: this.userid, //修改人id
|
|
|
+ tid: val.id,
|
|
|
+ json: JSON.stringify(val.json)
|
|
|
+ }
|
|
|
+ ];
|
|
|
+ // return console.log(params);
|
|
|
+ this.ajax
|
|
|
+ .post(this.$store.state.api + "updateExamineCogData", params)
|
|
|
+ .then(res => {
|
|
|
+ this.getSecondData();
|
|
|
})
|
|
|
.catch(error => {
|
|
|
console.log(error);
|
|
|
});
|
|
|
},
|
|
|
- async handleData() {
|
|
|
- for (const e of this.tableJsonCon) {
|
|
|
- for (const k of e.children) {
|
|
|
- if (k.testid.test.length > 0) {
|
|
|
- k.testid.test = await this.computedTest(k.testid.test);
|
|
|
+
|
|
|
+ // 一键保存:将默认分数什么一键提交
|
|
|
+ async allSubmit() {
|
|
|
+ this.$confirm("确认保存?", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: " info"
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ this.evaScoDig = true;
|
|
|
+ let promiseChain = Promise.resolve(); // 初始空Promise
|
|
|
+
|
|
|
+ for (const e of this.tableData) {
|
|
|
+ if (e.judge == 1) {
|
|
|
+ promiseChain = promiseChain.then(() => this.Submit3(e)); // 链式调用Promise
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
+ promiseChain.then(() => {
|
|
|
+ this.getSecondData(); // 循环结束后执行getSecondData函数
|
|
|
+ this.$message.success("已保存");
|
|
|
+ });
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.handleData();
|
|
|
+
|
|
|
+ this.$message({
|
|
|
+ type: "info",
|
|
|
+ message: "已取消保存"
|
|
|
+ });
|
|
|
+ });
|
|
|
},
|
|
|
- computedTest(val) {
|
|
|
+ Submit3(val) {
|
|
|
+ if (val.cogSco > val.score) {
|
|
|
+ val.cogSco = val.score;
|
|
|
+ }
|
|
|
+
|
|
|
+ val.json.forEach(e => {
|
|
|
+ e.children.forEach(i => {
|
|
|
+ if (i.id == this.secondId) {
|
|
|
+ i.sco2 = val.cogSco;
|
|
|
+ i.cogSum = val.cogSummary;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+
|
|
|
let params = [
|
|
|
{
|
|
|
- uid: "",
|
|
|
- testId: val.join(",")
|
|
|
+ uid: this.userid,
|
|
|
+ tid: val.id,
|
|
|
+ json: JSON.stringify(val.json)
|
|
|
}
|
|
|
];
|
|
|
- return new Promise(resolve => {
|
|
|
- this.ajax
|
|
|
- .post(this.$store.state.api + "selectExamineTestName", params)
|
|
|
- .then(res => {
|
|
|
- // console.log("resresresres", res.data[0]);
|
|
|
- // console.log(res.data[0]);
|
|
|
- resolve(res.data[0]);
|
|
|
- })
|
|
|
- .catch(error => {
|
|
|
- console.log(error);
|
|
|
- });
|
|
|
- });
|
|
|
- },
|
|
|
- // 查看数据来源
|
|
|
- lookPrize(val) {
|
|
|
- this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${val}&oid=${this.oid}&org=${this.org}&type=2&role=0`;
|
|
|
- // this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/test?userid=${this.userid}&oid=45facc0a-1211-11ec-80ad-005056b86db5&org=&role=0`;
|
|
|
- this.diaIframe = true;
|
|
|
+ // return console.log(params);
|
|
|
+ this.ajax
|
|
|
+ .post(this.$store.state.api + "updateExamineCogData", params)
|
|
|
+ .then(res => {})
|
|
|
+ .catch(error => {
|
|
|
+ console.log(error);
|
|
|
+ });
|
|
|
},
|
|
|
+
|
|
|
// 关闭弹框
|
|
|
handleClose(done) {
|
|
|
this.getPageBase();
|
|
@@ -1718,7 +1765,7 @@ input[type="number"] {
|
|
|
}
|
|
|
.diaScoreTop {
|
|
|
display: flex;
|
|
|
- justify-content: flex-start;
|
|
|
+ justify-content: space-between;
|
|
|
height: 60px;
|
|
|
}
|
|
|
|
|
@@ -1839,7 +1886,6 @@ input[type="number"] {
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
border-bottom: 1px #ccc solid;
|
|
|
-
|
|
|
}
|
|
|
.twoCon {
|
|
|
display: flex;
|