9b7e125f
monkeyhouyi
属地页面
|
1
2
3
4
|
<template>
<div class="HomePage">
<Header />
<div class="content">
|
477ec56f
monkeyhouyi
权限
|
5
|
<div class="navs">
|
4f6550f1
monkeyhouyi
消息提醒弹框页面样式
|
6
|
<Menu />
|
477ec56f
monkeyhouyi
权限
|
7
|
</div>
|
9b7e125f
monkeyhouyi
属地页面
|
8
9
10
11
|
<div class="table-box">
<div class="search">
<div class="ipt-box">
<el-input
|
65aeaaa1
monkeyhouyi
样式修改
|
12
|
placeholder="请输入应用名称,运营主体名称进行查询"
|
9b7e125f
monkeyhouyi
属地页面
|
13
|
v-model="searchKeyword"
|
bae8b004
monkeyhouyi
1
|
14
|
@input="iptKayWord"
|
9b7e125f
monkeyhouyi
属地页面
|
15
|
></el-input>
|
4f6550f1
monkeyhouyi
消息提醒弹框页面样式
|
16
17
18
19
20
21
|
<el-button
type="primary"
@click="toSearchInfoList"
style="height: 32px"
>搜索</el-button
>
|
9b7e125f
monkeyhouyi
属地页面
|
22
|
</div>
|
ecc43230
monkeyhouyi
优化首页,应用管理
|
23
|
<infoForm type="add" @reInit="toSearchInfoList">
|
9b7e125f
monkeyhouyi
属地页面
|
24
25
|
<el-button type="success">新增</el-button>
</infoForm>
|
9b7e125f
monkeyhouyi
属地页面
|
26
27
|
</div>
<div class="info">
|
006cc67a
monkeyhouyi
巡查上报
|
28
|
<router-view ref="info"></router-view>
|
9b7e125f
monkeyhouyi
属地页面
|
29
30
31
|
</div>
</div>
<div class="news">
|
4f6550f1
monkeyhouyi
消息提醒弹框页面样式
|
32
|
<News />
|
9b7e125f
monkeyhouyi
属地页面
|
33
34
35
36
37
38
|
</div>
</div>
</div>
</template>
<script>
|
0e2463be
monkeyhouyi
系统修改记录
|
39
|
import Header from "./components/Header";
|
4f6550f1
monkeyhouyi
消息提醒弹框页面样式
|
40
41
|
import News from "./components/news/index.vue";
import Menu from "./components/Menu.vue";
|
bae8b004
monkeyhouyi
1
|
42
|
import { mapState } from 'vuex';
|
9b7e125f
monkeyhouyi
属地页面
|
43
44
45
46
|
export default {
name: "HomePage",
components: {
Header,
|
4f6550f1
monkeyhouyi
消息提醒弹框页面样式
|
47
48
|
News,
Menu,
|
9b7e125f
monkeyhouyi
属地页面
|
49
50
51
|
},
data() {
return {
|
bae8b004
monkeyhouyi
1
|
52
|
searchKeyword: '',
|
9b7e125f
monkeyhouyi
属地页面
|
53
54
|
};
},
|
006cc67a
monkeyhouyi
巡查上报
|
55
56
57
|
created() {
},
mounted() {
|
006cc67a
monkeyhouyi
巡查上报
|
58
|
},
|
0af91599
monkeyhouyi
弹框请求优化
|
59
60
61
62
63
64
65
|
watch: {
// $route: {
// handler: function (route) {
// this.navList = this.$router.options.routes;
// },
// immediate: true,
// },
|
9b7e125f
monkeyhouyi
属地页面
|
66
|
},
|
bae8b004
monkeyhouyi
1
|
67
68
69
70
71
|
computed: {
...mapState({
searchKey: state => state.searchKey,
}),
},
|
9b7e125f
monkeyhouyi
属地页面
|
72
|
methods: {
|
bae8b004
monkeyhouyi
1
|
73
74
75
|
iptKayWord(val) {
this.$store.commit('SET_SEARCHKEY', val);
},
|
9b7e125f
monkeyhouyi
属地页面
|
76
|
toSearchInfoList() {
|
bae8b004
monkeyhouyi
1
|
77
78
79
80
|
let keyword = this.$store.state.meta.searchKey;
if(this.$route.path == '/baseSystemInfo/index.vue') {
this.$refs.info.search();
} else {
|
006cc67a
monkeyhouyi
巡查上报
|
81
82
|
this.$router.push({
path: "/baseSystemInfo/index.vue",
|
006cc67a
monkeyhouyi
巡查上报
|
83
|
});
|
bae8b004
monkeyhouyi
1
|
84
|
}
|
9b7e125f
monkeyhouyi
属地页面
|
85
86
87
88
89
90
|
},
},
};
</script>
<style scoped lang="scss">
|
477ec56f
monkeyhouyi
权限
|
91
|
@import "./homePage.scss";
|
9b7e125f
monkeyhouyi
属地页面
|
92
|
</style>
|