Commit 461b4d33 authored by 张洋's avatar 张洋

修改

parent 9c3895aa
Pipeline #72691 passed with stage
...@@ -1528,9 +1528,9 @@ export default { ...@@ -1528,9 +1528,9 @@ export default {
(this.activeBtn == 4 && (this.zhyyVal == 22 || this.zhyyVal == 23)) (this.activeBtn == 4 && (this.zhyyVal == 22 || this.zhyyVal == 23))
) { ) {
if (this.activeBtn == 2 || this.activeBtn == 3) { if (this.activeBtn == 2 || this.activeBtn == 3) {
if (this.jkwds.length == 0) { // if (this.jkwds.length == 0) {
this.$message.error("请上传接口文档"); // this.$message.error("请上传接口文档");
} else { // } else {
if ( if (
this.activeBtn == 2 || this.activeBtn == 2 ||
(this.activeBtn == 4 && this.zhyyVal == 22) (this.activeBtn == 4 && this.zhyyVal == 22)
...@@ -1556,7 +1556,7 @@ export default { ...@@ -1556,7 +1556,7 @@ export default {
} else if (this.responseRules != 0) { } else if (this.responseRules != 0) {
this.$message.error("请完善返回参数信息中的字段名称"); this.$message.error("请完善返回参数信息中的字段名称");
} }
} // }
} }
} else { } else {
let requestData = this.$refs.fwcs_sjfw_qqcs.getTableData(); let requestData = this.$refs.fwcs_sjfw_qqcs.getTableData();
...@@ -1788,13 +1788,13 @@ export default { ...@@ -1788,13 +1788,13 @@ export default {
registePt() { registePt() {
this.$refs.form.validate((valid) => { this.$refs.form.validate((valid) => {
if (valid) { if (valid) {
if ( // if (
(this.activeBtn == 0 && this.jkwds.length == 0) || // (this.activeBtn == 0 && this.jkwds.length == 0) ||
(this.activeBtn == 2 && this.jkwds.length == 0) || // (this.activeBtn == 2 && this.jkwds.length == 0) ||
(this.activeBtn == 3 && this.jkwds.length == 0) // (this.activeBtn == 3 && this.jkwds.length == 0)
) { // ) {
this.$message.error("请上传接口文档"); // this.$message.error("请上传接口文档");
} else { // } else {
if (this.cover.length != 0) { if (this.cover.length != 0) {
let contentType = ""; let contentType = "";
if ( if (
...@@ -1874,7 +1874,7 @@ export default { ...@@ -1874,7 +1874,7 @@ export default {
} else { } else {
this.$message.error("请上传服务封面"); this.$message.error("请上传服务封面");
} }
} // }
} else { } else {
this.$message.error("请完善服务基本信息"); this.$message.error("请完善服务基本信息");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment