|
@@ -44,7 +44,7 @@
|
|
></el-input>
|
|
></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-row>
|
|
|
|
|
|
+ <el-row v-if="examId != 'add'">
|
|
<el-form-item
|
|
<el-form-item
|
|
label="考试编码"
|
|
label="考试编码"
|
|
placeholder="请输入考试编码"
|
|
placeholder="请输入考试编码"
|
|
@@ -1022,6 +1022,7 @@ export default {
|
|
});
|
|
});
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
|
|
+ this.form.code = this.form.name;
|
|
this.$httpWithMsg.post(url, this.form).then(response => {
|
|
this.$httpWithMsg.post(url, this.form).then(response => {
|
|
console.log(response);
|
|
console.log(response);
|
|
this.$notify({
|
|
this.$notify({
|
|
@@ -1058,4 +1059,4 @@ export default {
|
|
.input >>> .el-input__inner {
|
|
.input >>> .el-input__inner {
|
|
-webkit-appearance: button;
|
|
-webkit-appearance: button;
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|