|
|
|
@ -144,6 +144,7 @@ export default {
|
|
|
|
|
termsData: [],
|
|
|
|
|
termsLoading: true,
|
|
|
|
|
activityName: "",
|
|
|
|
|
activityNameTitle: "",
|
|
|
|
|
protocolMap: {
|
|
|
|
|
65280: "国网I1",
|
|
|
|
|
65296: "陕西",
|
|
|
|
@ -173,6 +174,7 @@ export default {
|
|
|
|
|
this.copyToClipboard(columnData.join("\n"));
|
|
|
|
|
console.log(columnData);
|
|
|
|
|
this.activityForm.cmdidArr = columnData.join("\n");
|
|
|
|
|
this.activityForm.title = this.activityNameTitle;
|
|
|
|
|
},
|
|
|
|
|
copyToClipboard(text) {
|
|
|
|
|
const textArea = document.createElement("textarea");
|
|
|
|
@ -226,6 +228,7 @@ export default {
|
|
|
|
|
.then((res) => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
this.termsLoading = false;
|
|
|
|
|
this.activityNameTitle = res.data.activity.title;
|
|
|
|
|
this.activityName =
|
|
|
|
|
res.data.activity.title + "(" + res.data.terms.length + ")";
|
|
|
|
|
this.termsData = res.data.terms;
|
|
|
|
|