0902
This commit is contained in:
parent
b2ab6536f9
commit
f5cef4ca46
@ -6,82 +6,61 @@
|
||||
<title>乡镇街道综合办公平台</title>
|
||||
<link rel="stylesheet" href="assets/web/css/reset.css">
|
||||
<link rel="stylesheet" href="assets/web/css/style.css">
|
||||
<link rel="stylesheet" href="assets/web/css/index.css">
|
||||
</head>
|
||||
<body style="background: #f4f4f4">
|
||||
<div id="app">
|
||||
<div class="header assessment-header">
|
||||
<div class="banner">
|
||||
<img src="assets/web/images/assessment-banner1.png" alt="">
|
||||
<div class="header child-header">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
</div>
|
||||
</div>
|
||||
<div class="nav child">
|
||||
<ul class="clearFloat" v-cloak>
|
||||
<li>
|
||||
<div class="logo-nav">
|
||||
<div class="logo-nav-content">
|
||||
<div class="logo">
|
||||
<a href="indexweb">
|
||||
<div class="left fl">
|
||||
<span>首页</span>
|
||||
<p>乡镇街道综合办公平台</p>
|
||||
</div>
|
||||
<div class="right fr">
|
||||
<img src="assets/web/images/nav-icon1.png" alt="">
|
||||
</div>
|
||||
<img src="assets/web/images/logo.png" alt="">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="route/web/notice.html">
|
||||
<div class="left fl">
|
||||
<span>相关通知</span>
|
||||
<p>各部门通知公告</p>
|
||||
</div>
|
||||
<div class="right fr">
|
||||
<img src="assets/web/images/nav-icon2.png" alt="">
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="route/web/public.html?id=6f0ec363-49a9-4174-a48f-290b69495dfc">
|
||||
<div class="left fl">
|
||||
<span>四个清单</span>
|
||||
<p>四个清单</p>
|
||||
</div>
|
||||
<div class="right fr">
|
||||
<img src="assets/web/images/nav-icon3.png" alt="">
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="route/web/public.html?id=cdd5ffd5-ebd7-4901-afce-f2e98d506c97">
|
||||
<div class="left fl">
|
||||
<span>五项流程</span>
|
||||
<p>五项流程</p>
|
||||
</div>
|
||||
<div class="right fr">
|
||||
<img src="assets/web/images/nav-icon5.png" alt="">
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="route/web/public.html?id=c912f0ff-d1e6-4346-a0cd-c955ea559a0b">
|
||||
<div class="left fl">
|
||||
<span>六本台账</span>
|
||||
<p>六本台账</p>
|
||||
</div>
|
||||
<div class="right fr">
|
||||
<img src="assets/web/images/nav-icon3.png" alt="">
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<!-- <li>-->
|
||||
<!-- <a href="route/web/assessment.html">-->
|
||||
<!-- <div class="left fl">-->
|
||||
<!-- <span>记实考核</span>-->
|
||||
<!-- <p>各类记实考核</p>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="right fr">-->
|
||||
<!-- <img src="assets/web/images/nav-icon4.png" alt="">-->
|
||||
<!-- </div>-->
|
||||
<!-- </a>-->
|
||||
<!-- </li>-->
|
||||
</ul>
|
||||
</div>
|
||||
<div class="nav">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="indexweb">首页</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="route/web/news-list-column.html?pageId=04988903-8948-4645-9024-6c97f770c8d7">党纪法规</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript: void(0);">
|
||||
办公平台
|
||||
<div class="child">
|
||||
<span @click="goPublicPage('6f0ec363-49a9-4174-a48f-290b69495dfc')">四个清单</span>
|
||||
<span @click="goPublicPage('cdd5ffd5-ebd7-4901-afce-f2e98d506c97')">五项流程</span>
|
||||
<span @click="goPublicPage('c912f0ff-d1e6-4346-a0cd-c955ea559a0b')">六本台账</span>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="route/web/news-list.html?pageId=3c0d1478-f75a-42a6-9bb5-7fa30d854b9b">通知公告</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="route/web/news-list-column.html?pageId=68167be6-3dbd-49d3-a956-d07e3e4384e5">警示教育</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="route/web/news-list-column.html?pageId=79da7965-1bff-4471-babe-7874474cb418">学习园地</a>
|
||||
</li>
|
||||
<li>
|
||||
<!-- <a href="javascript: void(0);">管理员账户</a>-->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -153,7 +132,8 @@
|
||||
totalPage: 1,
|
||||
departmentId: ''
|
||||
},
|
||||
isLoading: false
|
||||
isLoading: false,
|
||||
weatherInfo: {}
|
||||
},
|
||||
methods: {
|
||||
getLeader: function () {
|
||||
@ -177,11 +157,36 @@
|
||||
this.page.page = page
|
||||
this.getLeader()
|
||||
}
|
||||
}
|
||||
},
|
||||
// 获取天气
|
||||
getWeahther: function () {
|
||||
var self = this
|
||||
top.restAjax.get(top.restAjax.path('api/weather/get-weather-now', []), {}, null, function(code, data) {
|
||||
self.weatherInfo = data
|
||||
}, function(code, data) {
|
||||
layer.msg(data.msg);
|
||||
}, function() {
|
||||
// loadLayerIndex = layer.load(0, {shade: false});
|
||||
}, function() {
|
||||
// layer.close(loadLayerIndex);
|
||||
});
|
||||
},
|
||||
// 获取日期
|
||||
getDate: function () {
|
||||
var myDate = new Date;
|
||||
var year = myDate.getFullYear(); //获取当前年
|
||||
var mon = myDate.getMonth() + 1; //获取当前月
|
||||
var date = myDate.getDate(); //获取当前日
|
||||
var week = myDate.getDay();
|
||||
var weeks = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
|
||||
this.today = year + "年" + mon + "月" + date + "日 " + weeks[week]
|
||||
},
|
||||
},
|
||||
mounted: function () {
|
||||
this.page.departmentId = restAjax.params(window.location.href).departmentId
|
||||
this.getLeader()
|
||||
this.getWeahther()
|
||||
this.getDate()
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user