投票实况

This commit is contained in:
shijingjing
2022-10-21 17:22:38 +08:00
parent a83b4746f9
commit 0d3d163aec
4 changed files with 172 additions and 11 deletions

View File

@@ -9,6 +9,7 @@
<script>
import electionList from "./components/electionList.vue";
import electionAdd from "./components/electionAdd.vue";
import Statistics from "./components/Statistics.vue";
export default {
name: "AppGeneralElection",
@@ -17,7 +18,7 @@ export default {
instance: Function,
dict: Object,
},
components: {electionAdd, electionList},
components: {electionAdd, electionList,Statistics},
data() {
return {
component: "electionList",
@@ -32,6 +33,11 @@ export default {
this.params = data.params;
}
if (data.type === "Statistics") {
this.component = "Statistics";
this.params = data.params;
}
if (data.type === "electionList") {
this.component = "electionList";
this.params = data.params;
@@ -44,9 +50,6 @@ export default {
}
},
},
created() {
// this.dict.load("portalUserStatus", "enterpriseStatus", "userEnterpriseStatus","enterpriseType")
}
}
</script>