洋浦学校八大中心 德育管理前端

init
gongdi 3 years ago
parent 66397a2780
commit 836f022d7d

@ -7,7 +7,7 @@
export default { export default {
name: 'App', name: 'App',
mounted(){ mounted(){
document.title = "长春市高校疫情防控投诉举报平台"; document.title = "长春市高校疫情防控投诉举报平台";
} }
} }
</script> </script>

Binary file not shown.

After

Width:  |  Height:  |  Size: 657 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 462 KiB

After

Width:  |  Height:  |  Size: 466 KiB

@ -93,24 +93,22 @@
}], (result) => { }], (result) => {
if (result[0].status === 200) { if (result[0].status === 200) {
let data = result[0].data; let data = result[0].data;
if(data.code === 5000){
this.isLogining = false;
}
if (data.code === 2000) { if (data.code === 2000) {
//cookie //cookie
CookieTool.set("person_id", data.data.person_id); CookieTool.set("person_id", data.data.person_id);
CookieTool.set("identity_id", data.data.identity_id); CookieTool.set("identity_id", data.data.identity_id);
CookieTool.set("token", data.data.access_token); CookieTool.set("token", data.data.access_token);
//BaseConfig
//this.buildBaseInfo();
this.$router.push({ this.$router.push({
path:'/toReportList', path:'/toReportList',
name:'ReportList' name:'ReportList'
}).catch(err => err) }).catch(err => err)
//this.isLogining = false; }else{
} else {
this.isLogining = false; this.isLogining = false;
} }
} else { }else {
this.isLogining = false; this.isLogining = false;
} }
}) })

@ -2,12 +2,12 @@
<div class="report-info-content"> <div class="report-info-content">
<div class="title-box"> <div class="title-box">
<div class="auto-style"> <div class="auto-style">
<span>长春市高校疫情防控投诉举报平台</span> <span>长春市高校疫情防控投诉举报平台</span>
<span class="light-style" @click="toAdmin"></span> <span class="light-style" @click="toAdmin"></span>
</div> </div>
</div> </div>
<div class="banner-box"> <div class="banner-box">
<img src="../../assets/images/banner.png" style="width: 100%;height: 100%"/> <img src="../../assets/images/banner01.png" style="width: 100%"/>
</div> </div>
<div class="report-content-style"> <div class="report-content-style">
<a-spin :spinning="loading"> <a-spin :spinning="loading">
@ -18,14 +18,14 @@
</a-form-item> </a-form-item>
<a-form-item label="手机号码" :validate-status="rules.phoneNum.status" :help="rules.phoneNum.help"> <a-form-item label="手机号码" :validate-status="rules.phoneNum.status" :help="rules.phoneNum.help">
<a-input v-model="phoneNum" @change="checkPhoneNum()"/> <a-input v-model="phoneNum" @change="checkPhoneNum()"/>
<span v-show="smsFlag" style="color: #00b7ee;font-family:'Microsoft YaHei';cursor: pointer;text-decoration: underline;position: absolute;right: -90px" <span v-show="smsFlag" style="color: #00b7ee;font-family:'Microsoft YaHei';cursor: pointer;text-decoration: underline;position: absolute;right: -90px;height: 32px;line-height: 32px;bottom: -5px"
@click="getCode">获取验证码</span> @click="getCode">获取验证码</span>
<span v-show="!smsFlag" style="position: absolute;right: -100px" class="count">{{count}}s</span> <span v-show="!smsFlag" style="position: absolute;right: -100px" class="count">{{count}}s</span>
</a-form-item> </a-form-item>
<a-form-item label="验证码" :validate-status="rules.verificationCode.status" <a-form-item label="验证码" :validate-status="rules.verificationCode.status"
:help="rules.verificationCode.help"> :help="rules.verificationCode.help">
<a-input v-model="verificationCode" @change="checkVerificationCode()"/> <a-input v-model="verificationCode" @change="checkVerificationCode()"/>
<a-icon :class="codeCheck?'code_success':''" style="position: absolute;right: -30px;top:2px;font-size: 20px" type="check-circle" theme="filled" /> <!--<a-icon :class="codeCheck?'code_success':''" style="position: absolute;right: -30px;top:2px;font-size: 20px" type="check-circle" theme="filled" />-->
</a-form-item> </a-form-item>
<a-form-item :wrapperCol="textAreaWrapperCol" label="高校名称" :validate-status="rules.colleges.status" :help="rules.colleges.help"> <a-form-item :wrapperCol="textAreaWrapperCol" label="高校名称" :validate-status="rules.colleges.status" :help="rules.colleges.help">
<a-select :value="collegeId" @change="collegeChange"> <a-select :value="collegeId" @change="collegeChange">
@ -95,7 +95,7 @@
smsFlag: true,// smsFlag: true,//
count:"", count:"",
timer:null, timer:null,
codeCheck:false, //codeCheck:false,
loading:false loading:false
} }
}, },
@ -206,11 +206,11 @@
this.rules.verificationCode.help = "请输入验证码!"; this.rules.verificationCode.help = "请输入验证码!";
return false; return false;
} else { } else {
if(this.verificationCode.trim().length === 6){ // if(this.verificationCode.trim().length === 6){
this.codeCheck = true; // this.codeCheck = true;
}else { // }else {
this.codeCheck = false; // this.codeCheck = false;
} // }
this.rules.verificationCode.status = "success"; this.rules.verificationCode.status = "success";
this.rules.verificationCode.help = ""; this.rules.verificationCode.help = "";
return true; return true;
@ -338,7 +338,7 @@
} }
.banner-box { .banner-box {
width: 100%; width: 100%;
height: 400px; /*height: 400px;*/
min-width: 1200px; min-width: 1200px;
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;

@ -3,7 +3,7 @@
<div class="list-container"></div> <div class="list-container"></div>
<div class="container-box"> <div class="container-box">
<div class="banner-box"> <div class="banner-box">
<span class="system-title-style">长春市高校疫情防控投诉举报平台 <span class="system-title-style">长春市高校疫情防控投诉举报平台
<span class="common-style" style="font-size: 16px"><a-icon type="right"/>后台管理</span></span> <span class="common-style" style="font-size: 16px"><a-icon type="right"/>后台管理</span></span>
<span class="light-style" @click="back"><a-icon type="double-left"/> 返回</span> <span class="light-style" @click="back"><a-icon type="double-left"/> 返回</span>
</div> </div>
@ -46,7 +46,7 @@
</span> </span>
</a-table> </a-table>
<div v-if="totalPage > 1" class="page-change-style"> <div v-if="totalPage > 1" class="page-change-style">
<a-button class="search-button" type="primary" @click="toFirstPage"></a-button> <a-button class="search-button" @click="toFirstPage"></a-button>
<a-button class="search-button" :disabled="pageNumber === 1?true:false" @click="toPrevPage"> <a-button class="search-button" :disabled="pageNumber === 1?true:false" @click="toPrevPage">
</a-button> </a-button>
<a-button class="search-button" :disabled="pageNumber === totalPage?true:false" @click="toNextPage"> <a-button class="search-button" :disabled="pageNumber === totalPage?true:false" @click="toNextPage">
@ -213,6 +213,14 @@
} }
}, },
onSearch: function () { onSearch: function () {
if(this.startDate > this.endDate){
Modal.warning({
title: "提示",
content: "开始日期不能大于截至日期",
centered: true
});
return;
}
this.getAccusationInfoList(); this.getAccusationInfoList();
}, },
getAccusationInfoList: function () { getAccusationInfoList: function () {
@ -294,10 +302,6 @@
closeModalInfo: function () { closeModalInfo: function () {
this.infoId = ""; this.infoId = "";
this.infoShow = false; this.infoShow = false;
},
//
onChange: function () {
}, },
toFirstPage: function () { toFirstPage: function () {
this.pageNumber = 1; this.pageNumber = 1;

@ -36,7 +36,8 @@
mounted() { mounted() {
this.calculateData() this.calculateData()
// //
this.calulateCenterData() this.systemCenterList = _.cloneDeep(systemCenterConfig)
//this.calulateCenterData()
}, },
methods: { methods: {
accessSubsystem: function (system) { accessSubsystem: function (system) {

@ -152,12 +152,12 @@
background-color: white; background-color: white;
display: flex; display: flex;
.ant-layout { .ant-layout {
width: 100% !important;
.ant-layout-header { .ant-layout-header {
color: #31a8fa; color: #31a8fa;
} }
} }
} }
</style> </style>
Loading…
Cancel
Save