|
@@ -61,9 +61,17 @@ export default {
|
|
|
return str;
|
|
|
},
|
|
|
},
|
|
|
- watch: {},
|
|
|
+ watch: {
|
|
|
+ showRegularDlg: {
|
|
|
+ handler(newVal) {
|
|
|
+ if (newVal) {
|
|
|
+ newVal && this.getInitList();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
created() {},
|
|
|
- mounted() {},
|
|
|
+ async mounted() {},
|
|
|
methods: {
|
|
|
handleClose() {
|
|
|
this.querySearchList = [];
|
|
@@ -122,6 +130,17 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ async getInitList() {
|
|
|
+ const res = await raiInterface.tagHot_activityList();
|
|
|
+ if (res.Ret === 200 && res.Data.List.length > 0) {
|
|
|
+ res.Data.List.forEach((item) => {
|
|
|
+ this.addDataList.push({
|
|
|
+ name: item.ActivityName + "," + item.ActivityTime,
|
|
|
+ id: item.ActivityId,
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|