|
|
@@ -0,0 +1,193 @@
|
|
|
+<template>
|
|
|
+ <div>
|
|
|
+ <div class="content doThing-query">
|
|
|
+ <form action="" target="frameFile">
|
|
|
+ <mt-search v-model="msg" cancel-text="取消" placeholder="请输入要搜索的事项名称关键字" @keyup.enter.native="searchData"
|
|
|
+ show>
|
|
|
+ <div class="doThing-query-box">
|
|
|
+ <div class="doThing-query-item border-whole">
|
|
|
+ <div class="border-bottom"><div class="doThing-query-title">网络预约出租车驾驶员从业资格认证</div></div>
|
|
|
+ <div class="doThing-query-content">
|
|
|
+ <p class="clearfix">
|
|
|
+ <div class="doThing-left doThing-hint fl">办事部门:<span style="color: #000">市交通局</span></div>
|
|
|
+ <div class="doThing-left doThing-hint fl">承诺期限:<span style="color: #000">7天</span></div>
|
|
|
+ </p>
|
|
|
+ <p class="clearfix"><div class="fl doThing-hint doThing-hint-left">联系电话:</div><div class="fl doThing-hint-right">0578-88888888</div></p>
|
|
|
+ <p class="clearfix"><div class="fl doThing-hint doThing-hint-left">用户类型:</div><div class="fl doThing-hint-right">个人用户</div></p>
|
|
|
+ <p class="clearfix"><div class="fl doThing-hint doThing-hint-left">联系电话:</div><div class="fl doThing-hint-right">未通过</div></p>
|
|
|
+ <p class="clearfix"><div class="fl doThing-hint doThing-hint-left">原因:</div><div class="fl doThing-hint-right">证明材料缺失或不正确</div></p>
|
|
|
+ <p class="doThing-btn">
|
|
|
+ <mt-button type="primary" size="small" @click="jumpPage"> 重新申请 </mt-button>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <commonBlankPage></commonBlankPage>
|
|
|
+ <div class="footer-hint">
|
|
|
+ <p>本服务由浙江政务服务网、丽水市数据管理中心提供</p>
|
|
|
+ <p>服务咨询热线: <span class="blur-spot">0578-12345</span></p>
|
|
|
+ </div>
|
|
|
+ </mt-search>
|
|
|
+ </form>
|
|
|
+ <iframe name='frameFile' style="display: none;"></iframe>
|
|
|
+ </div>
|
|
|
+ <navButton active="doThing-query"></navButton>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+ var self;
|
|
|
+ var api = require('api/admin-api');
|
|
|
+ var utils = require('utils/utils');
|
|
|
+ var navButton = require('components/nav-bottom');
|
|
|
+ var commonBlankPage = require('components/common-blank-page');
|
|
|
+ module.exports = {
|
|
|
+ data: function () {
|
|
|
+ return {
|
|
|
+ msg: '',
|
|
|
+ anyData: true, //有无证明列表
|
|
|
+ title: '目前可申请的电子证明',
|
|
|
+ titleObj: {'nom': '目前可申请的电子证明', 'kin': '目前可申请的亲情电子证明'},
|
|
|
+ obj: '',
|
|
|
+ certifyList: [],
|
|
|
+ hotCertify: [],
|
|
|
+ certifyListCopy: [{title: '123'}, {title: '321'}]
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ created: function () {
|
|
|
+ self = this;
|
|
|
+ self.obj = self.$route.query.obj;
|
|
|
+ self.title = self.titleObj[self.obj];
|
|
|
+ },
|
|
|
+
|
|
|
+ mounted: function () {
|
|
|
+// getCategoryList();
|
|
|
+ },
|
|
|
+
|
|
|
+ methods: {
|
|
|
+ searchData: function () {
|
|
|
+ self.certifyListCopy = [];
|
|
|
+ for (var i = 0; i < self.certifyList.length; i++) {
|
|
|
+ if (self.certifyList[i].name.indexOf(self.msg) !== -1) {
|
|
|
+ self.certifyListCopy.push(self.certifyList[i]);
|
|
|
+ }
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+ if (!self.certifyListCopy.length) {
|
|
|
+ commonBlankPage.methods.setShowStatus(true);
|
|
|
+ commonBlankPage.methods.setContentType('NEWS');
|
|
|
+ } else {
|
|
|
+ commonBlankPage.methods.setShowStatus(false);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ jumpPage: function () {
|
|
|
+ self.$router.push('exam-extraMarks');
|
|
|
+ }
|
|
|
+ },
|
|
|
+ components: {
|
|
|
+ commonBlankPage: commonBlankPage,
|
|
|
+ navButton: navButton
|
|
|
+ }
|
|
|
+ };
|
|
|
+
|
|
|
+ function getCategoryList() {
|
|
|
+ self.$indicator.open('加载中...');
|
|
|
+ footerShow();
|
|
|
+ api.getCategoryList(function (data) {
|
|
|
+ self.$indicator.close();
|
|
|
+ if (data && data.length) {
|
|
|
+ console.log(data)
|
|
|
+ self.certifyList = data;
|
|
|
+ self.certifyListCopy = self.certifyList;
|
|
|
+ } else {
|
|
|
+ self.anyData = false;
|
|
|
+ commonBlankPage.methods.setShowStatus(true);
|
|
|
+ commonBlankPage.methods.setContentType('MSG');
|
|
|
+ }
|
|
|
+ }, function (code, msg) {
|
|
|
+ self.$indicator.close();
|
|
|
+ self.$messagebox.alert(msg);
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+ //解决安卓footer Bug
|
|
|
+ function footerShow() {
|
|
|
+ var windheight = window.innerHeight;
|
|
|
+ var bottomx = document.getElementById('bottomx'); //底部导航
|
|
|
+ window.onresize = (function () {
|
|
|
+ var docheight = window.innerHeight;
|
|
|
+ if (docheight < windheight) {
|
|
|
+ bottomx.style.position = 'fixed';
|
|
|
+ } else {
|
|
|
+ bottomx.style.position = 'static';
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+ .content {
|
|
|
+ height: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+
|
|
|
+ .prove-right-icon img {
|
|
|
+ position: relative;
|
|
|
+ top: 1.7rem;
|
|
|
+ }
|
|
|
+
|
|
|
+ .prove-items p:first-child {
|
|
|
+ margin-top: .3rem;
|
|
|
+ }
|
|
|
+
|
|
|
+ .blur-spot {
|
|
|
+ color: #1492ff
|
|
|
+ }
|
|
|
+
|
|
|
+ .doThing-query-box {
|
|
|
+ padding-top: 1rem;
|
|
|
+ }
|
|
|
+
|
|
|
+ .doThing-query-item {
|
|
|
+ font-size: .65rem;
|
|
|
+ margin: 0 .4rem 1rem;
|
|
|
+ }
|
|
|
+
|
|
|
+ .doThing-query-title {
|
|
|
+ font-size: .75rem;
|
|
|
+ line-height: 2rem;
|
|
|
+ font-weight: 600;
|
|
|
+ background: url('../assets/images/star.png') left center no-repeat;
|
|
|
+ background-size: 1.2rem;
|
|
|
+ padding-left: 1.3rem;
|
|
|
+ margin-left: .2rem;
|
|
|
+ }
|
|
|
+
|
|
|
+ .doThing-query-content {
|
|
|
+ padding: .5rem .4rem;
|
|
|
+ }
|
|
|
+ .doThing-hint {
|
|
|
+ color: #A3A3A3;
|
|
|
+ }
|
|
|
+ .doThing-left {
|
|
|
+ width: 48%;
|
|
|
+ }
|
|
|
+ .doThing-query-content div {
|
|
|
+ height: 1.1rem;
|
|
|
+ line-height: 1.1rem;
|
|
|
+ }
|
|
|
+
|
|
|
+ .doThing-hint-left {
|
|
|
+ width: 3.3rem;
|
|
|
+ text-align: right;
|
|
|
+ }
|
|
|
+ .doThing-hint-right {
|
|
|
+ width: 68%;
|
|
|
+ }
|
|
|
+ .doThing-btn {
|
|
|
+ font-size: .7rem;
|
|
|
+ text-align: center;
|
|
|
+ padding-top: 1.5rem;
|
|
|
+ }
|
|
|
+</style>
|