|
@@ -112,6 +112,7 @@
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</div>
|
|
</div>
|
|
|
|
+ <lable-dlg :showRegularDlg.sync="showRegularDlg" :dataRegular.sync="dataRegular" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -119,9 +120,10 @@
|
|
import Sortable from "sortablejs";
|
|
import Sortable from "sortablejs";
|
|
import mPage from "@/components/mPage.vue";
|
|
import mPage from "@/components/mPage.vue";
|
|
import { raiInterface } from "@/api/api.js";
|
|
import { raiInterface } from "@/api/api.js";
|
|
|
|
+import LableDlg from "./components/lableDlg.vue";
|
|
export default {
|
|
export default {
|
|
name: "",
|
|
name: "",
|
|
- components: { mPage },
|
|
|
|
|
|
+ components: { mPage, LableDlg },
|
|
props: {},
|
|
props: {},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -157,6 +159,8 @@ export default {
|
|
optionsIndustries: [],
|
|
optionsIndustries: [],
|
|
optionsSubject: [],
|
|
optionsSubject: [],
|
|
dlgTitle: "添加",
|
|
dlgTitle: "添加",
|
|
|
|
+ showRegularDlg: false,
|
|
|
|
+ dataRegular: {},
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {},
|
|
computed: {},
|
|
@@ -186,13 +190,29 @@ export default {
|
|
const res = await raiInterface.getLableTagListCustom();
|
|
const res = await raiInterface.getLableTagListCustom();
|
|
if (res.Ret === 200) {
|
|
if (res.Ret === 200) {
|
|
this.lableList = res.Data || [];
|
|
this.lableList = res.Data || [];
|
|
|
|
+ this.lableList.push({
|
|
|
|
+ TagId: 540,
|
|
|
|
+ TagName: "热门活动",
|
|
|
|
+ ArticleTypes: "",
|
|
|
|
+ ActivityTypes: "专家电话会,分析师电话会",
|
|
|
|
+ Industries: "热门活动",
|
|
|
|
+ SubjectNames: "",
|
|
|
|
+ Sort: 9,
|
|
|
|
+ ModifyTime: "2023-10-30 13:45:54",
|
|
|
|
+ CreateTime: "2023-10-23 10:05:24",
|
|
|
|
+ OnlineTime: "2023-10-23 10:05:24",
|
|
|
|
+ OfflineTime: "",
|
|
|
|
+ Status: 1,
|
|
|
|
+ Pv: 0,
|
|
|
|
+ Uv: 0,
|
|
|
|
+ });
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
// 获取活动类型
|
|
// 获取活动类型
|
|
async activityType() {
|
|
async activityType() {
|
|
const res = await raiInterface.getActivityType({
|
|
const res = await raiInterface.getActivityType({
|
|
- IsGetAll:true,
|
|
|
|
|
|
+ IsGetAll: true,
|
|
});
|
|
});
|
|
if (res.Ret === 200) {
|
|
if (res.Ret === 200) {
|
|
this.optionsActivity = res.Data.List;
|
|
this.optionsActivity = res.Data.List;
|
|
@@ -286,6 +306,11 @@ export default {
|
|
},
|
|
},
|
|
// 添加或者编辑标签
|
|
// 添加或者编辑标签
|
|
addOfEitdHandler(type, item) {
|
|
addOfEitdHandler(type, item) {
|
|
|
|
+ if (item && item.TagName === "热门活动") {
|
|
|
|
+ this.dataRegular = item;
|
|
|
|
+ this.showRegularDlg = true;
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
this.dlgTitle = type;
|
|
this.dlgTitle = type;
|
|
if (item) {
|
|
if (item) {
|
|
const { TagName, ArticleTypes, ActivityTypes, Industries, SubjectNames, TagId } = item;
|
|
const { TagName, ArticleTypes, ActivityTypes, Industries, SubjectNames, TagId } = item;
|