Compare commits

..

No commits in common. "5775bab1ab6876ae30bd29bcf177e5d0dfce9843" and "d33e18ff5297d780e61f58a1aa604ea85f47fe55" have entirely different histories.

2 changed files with 4 additions and 15 deletions

View File

@ -288,8 +288,8 @@ export default {
"删除后将无法继续扫码访问,且正在参与答题的用户将会被终止答题测试",
"确定要删除该测试吗?",
{
confirmButtonText: "确定",
cancelButtonText: "取消",
confirmButtonText: "取消",
cancelButtonText: "确定",
type: "提示",
}
)
@ -297,7 +297,7 @@ export default {
that.deletgenerateTest(obj);
ElMessage({
type: "delet",
message: "已删除",
message: "已停用",
});
})
.catch(() => {

View File

@ -610,9 +610,7 @@ export default {
this.generateTestIf = true;
},
//
determineGenerateTest() {
let that=this
this.generateTestData.projectId=this.projectData.id
determineGenerateTest() {
this.generateTestData.coverImg = this.imgData;
if (this.generateTestData.isAllowWhiteList) {
this.generateTestData.isAllowWhiteList = "1";
@ -622,18 +620,9 @@ export default {
this.generateTestIf=false
this.axios
.post("hysc/test/addTest", this.generateTestData)
.then(function (data) {
console.log(data,"12q3123");
that.axios
.post("/hysc/test/addTestTopic", {
projectId:that.projectData.id,
testId: data.data.data.id
})
.then(function (data) {
console.log(data);
})
})
.catch(function (error) {
console.log(error);
});