Commit f8796251 authored by 黄奎's avatar 黄奎

页面验证修改

parent 09b12cf8
......@@ -77,23 +77,12 @@
</td>
</tr>
<tr v-if="!orders || orders.length==0">
<td
colspan="9"
style="color:gray;border:none;padding:50px 0;text-align:center"
>暂时还没有报名单,赶紧行动起来吧</td>
<td colspan="9" style="color:gray;border:none;padding:50px 0;text-align:center">暂时还没有报名单,赶紧行动起来吧</td>
</tr>
</tbody>
</table>
</div>
<el-pagination
background
@current-change="handleCurrentChange"
:current-page.sync="queryCommonData.pageIndex"
layout="total,prev, pager, next, jumper"
:page-size="queryCommonData.pageSize"
:total="queryCommonData.total"
v-if="queryCommonData.total>6"
></el-pagination>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryCommonData.pageIndex" layout="total,prev, pager, next, jumper" :page-size="queryCommonData.pageSize" :total="queryCommonData.total" v-if="queryCommonData.total>6"></el-pagination>
</div>
<!-- 未认款 -->
<el-row :gutter="20">
......@@ -126,10 +115,7 @@
<td class="bold red">{{item.Remitter}}</td>
</tr>
<tr v-if="!rList || rList.length==0">
<td
colspan="8"
style="color:gray;border:none;padding:50px 0;text-align:center"
>暂无数据</td>
<td colspan="8" style="color:gray;border:none;padding:50px 0;text-align:center">暂无数据</td>
</tr>
</tbody>
</table>
......@@ -145,16 +131,8 @@
<div class="imbox" style="padding-top:60px; margin-top: 20px;">
<div class="title">公告通知</div>
<div class="tab">
<span
class="item"
:class="{'active':choseNoticeType==0}"
@click="changeNoticeType(0)"
>公告</span>
<span
class="item"
:class="{'active':choseNoticeType==1}"
@click="changeNoticeType(1)"
>通知</span>
<span class="item" :class="{'active':choseNoticeType==0}" @click="changeNoticeType(0)">公告</span>
<span class="item" :class="{'active':choseNoticeType==1}" @click="changeNoticeType(1)">通知</span>
</div>
<gonggao v-show="choseNoticeType==0"></gonggao>
<notice v-show="choseNoticeType==1"></notice>
......@@ -225,9 +203,7 @@ export default {
result: null,
orders: [],
pageLoading: false,
RLoading:false,
RLoading: false
};
},
components: {
......@@ -243,30 +219,26 @@ export default {
newpersonal,
tousu
},
filters:{
PNumber(val){
if(val){
return val.substr(0, 4) + "****" + val.substr(-4,4)
filters: {
PNumber(val) {
if (val) {
return val.substr(0, 4) + "****" + val.substr(-4, 4);
}
},
MoneyMu(val){
if(val){
val=val.toFixed(2);
MoneyMu(val) {
if (val) {
val = val.toFixed(2);
let arr = val.split(".");
let length = arr[0].length;
if(length<3){
if (length < 3) {
return val;
} else {
let str = "*************************";
return val.substr(0, 2) + str.substr(0, length - 2) + ".**";
}
else{
let str="*************************";
return val.substr(0, 2)+str.substr(0, length-2)+".**";
}
}else{
} else {
return val;
}
}
},
mounted() {
......@@ -280,34 +252,39 @@ export default {
const { href } = this.$router.resolve({ path: "/Maninfo" });
window.open(href, "_blank");
},
openRank(){
const { href } = this.$router.resolve({ path: "/saleRnkBefore"});
openRank() {
const { href } = this.$router.resolve({ path: "/saleRnkBefore" });
window.open(href, "_blank");
},
getList(){
let msg={
pageIndex:1,
pageSize:6,
StartTime:"",
EndTime:"",
BankAccountId:"",
Remitter:"",
SIncome:"",
EIncome:"",
SRefund:"",
ERefund:"",
AccountName:"",
Type:-1,
getList() {
let msg = {
pageIndex: 1,
pageSize: 6,
StartTime: "",
EndTime: "",
BankAccountId: "",
Remitter: "",
SIncome: "",
EIncome: "",
SRefund: "",
ERefund: "",
AccountName: "",
Type: -1
};
this.RLoading=true;
this.apipost('Financial_post_GetFinanceRemittanceClaimPageList', msg, res => {
this.RLoading=false;
if(res.data.resultCode == 1) {
this.RLoading = true;
this.apipost(
"Financial_post_GetFinanceRemittanceClaimPageList",
msg,
res => {
this.RLoading = false;
if (res.data.resultCode == 1) {
this.rList = res.data.data.pageData;
} else {
this.Error(res.data.message);
}
}, err => {})
},
err => {}
);
},
handleCurrentChange(index) {
this.queryCommonData.pageIndex = index;
......@@ -319,12 +296,11 @@ export default {
init() {
this.apipost("customerIndex_post_GetPersonalCenter", {}, r => {
this.result = r.data.data;
if(this.result)
{
this.result.totalFinancePrice=0;
this.result.financeWeekList.forEach(x=>{
this.result.totalFinancePrice+=x.preferPrice
})
if (this.result) {
this.result.totalFinancePrice = 0;
this.result.financeWeekList.forEach(x => {
this.result.totalFinancePrice += x.preferPrice;
});
}
});
},
......@@ -344,7 +320,10 @@ export default {
let query = {
id
};
const { href } = this.$router.resolve({ path: "/groupTourOrder", query });
const { href } = this.$router.resolve({
path: "/groupTourOrder",
query
});
window.open(href, "_blank");
},
openAllOrders(id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment