|
@@ -347,7 +347,7 @@ export default {
|
|
|
} else {
|
|
} else {
|
|
|
res.data.keyword = [];
|
|
res.data.keyword = [];
|
|
|
}
|
|
}
|
|
|
- res.data.showInPanel = (res.data.showInPanel == 0);
|
|
|
|
|
|
|
+ res.data.showInPanel = (res.data.showInPanel == 1);
|
|
|
this.formData = res.data
|
|
this.formData = res.data
|
|
|
|
|
|
|
|
});
|
|
});
|
|
@@ -357,7 +357,7 @@ export default {
|
|
|
if (valid) {
|
|
if (valid) {
|
|
|
var data = JSON.parse(JSON.stringify(this.formData));
|
|
var data = JSON.parse(JSON.stringify(this.formData));
|
|
|
data.addStep = 1;
|
|
data.addStep = 1;
|
|
|
- data.showInPanel = (data.showInPanel ? 0 : 1);
|
|
|
|
|
|
|
+ data.showInPanel = (data.showInPanel ? 1 : 0);
|
|
|
data.keyword = data.keyword.join();
|
|
data.keyword = data.keyword.join();
|
|
|
this.isLoading = true;
|
|
this.isLoading = true;
|
|
|
this.$http.post({
|
|
this.$http.post({
|
|
@@ -382,7 +382,7 @@ export default {
|
|
|
if (valid) {
|
|
if (valid) {
|
|
|
var data = JSON.parse(JSON.stringify(this.formData));
|
|
var data = JSON.parse(JSON.stringify(this.formData));
|
|
|
data.addStep++;
|
|
data.addStep++;
|
|
|
- data.showInPanel = (data.showInPanel ? 0 : 1);
|
|
|
|
|
|
|
+ data.showInPanel = (data.showInPanel ? 1 : 0);
|
|
|
data.keyword = data.keyword.join();
|
|
data.keyword = data.keyword.join();
|
|
|
this.isLoading = true;
|
|
this.isLoading = true;
|
|
|
this.$http.post({
|
|
this.$http.post({
|