|
@@ -18,7 +18,7 @@
|
|
|
<text class="content">{{ studentName }}</text>
|
|
<text class="content">{{ studentName }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="ite">证件号 </text>
|
|
|
|
|
|
|
+ <text class="ite">学号 </text>
|
|
|
<text class="content">{{ studentNo }}</text>
|
|
<text class="content">{{ studentNo }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="item">
|
|
<view class="item">
|
|
@@ -71,32 +71,34 @@
|
|
|
<view class="pop-up" v-show="showSearch">
|
|
<view class="pop-up" v-show="showSearch">
|
|
|
<view class="top">
|
|
<view class="top">
|
|
|
<text>代缴人信息</text>
|
|
<text>代缴人信息</text>
|
|
|
- <image
|
|
|
|
|
- src="../../static/images/close.png"
|
|
|
|
|
- mode="scaleToFill"
|
|
|
|
|
- @click="close1"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <view class="close" @click="close1">
|
|
|
|
|
+ <image
|
|
|
|
|
+ src="../../static/images/close.png"
|
|
|
|
|
+ mode="scaleToFill"
|
|
|
|
|
+ @click="close1"
|
|
|
|
|
+ />
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="name">
|
|
<view class="name">
|
|
|
<text>姓 名</text>
|
|
<text>姓 名</text>
|
|
|
<input
|
|
<input
|
|
|
- v-model="studentName"
|
|
|
|
|
|
|
+ v-model="SeaStudentName"
|
|
|
type="text"
|
|
type="text"
|
|
|
placeholder="请输入姓名"
|
|
placeholder="请输入姓名"
|
|
|
placeholder-style="color:rgba(0, 0, 0, 0.29);"
|
|
placeholder-style="color:rgba(0, 0, 0, 0.29);"
|
|
|
/>
|
|
/>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="studentNo">
|
|
<view class="studentNo">
|
|
|
- <text>身份证</text>
|
|
|
|
|
|
|
+ <text>学 号</text>
|
|
|
<input
|
|
<input
|
|
|
- v-model="studentNo"
|
|
|
|
|
|
|
+ v-model="SeaStudentNo"
|
|
|
type="text"
|
|
type="text"
|
|
|
- placeholder="请输入身份证"
|
|
|
|
|
|
|
+ placeholder="请输入学号"
|
|
|
placeholder-style="color:rgba(0, 0, 0, 0.29);"
|
|
placeholder-style="color:rgba(0, 0, 0, 0.29);"
|
|
|
/>
|
|
/>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="remark">
|
|
<view class="remark">
|
|
|
- 说明:新生输入身份证号码代替学号,老生输入学号
|
|
|
|
|
|
|
+ 备注:新生输入身份证号码代替学号,老生输入学号
|
|
|
</view>
|
|
</view>
|
|
|
<view class="confirm">
|
|
<view class="confirm">
|
|
|
<button hover-class="button-hover" @click="close1">取消</button>
|
|
<button hover-class="button-hover" @click="close1">取消</button>
|
|
@@ -108,11 +110,13 @@
|
|
|
<view class="leaveMess" v-show="showLeaveMess">
|
|
<view class="leaveMess" v-show="showLeaveMess">
|
|
|
<view class="top">
|
|
<view class="top">
|
|
|
<text>信息反馈</text>
|
|
<text>信息反馈</text>
|
|
|
- <image
|
|
|
|
|
- src="../../static/images/close.png"
|
|
|
|
|
- mode="scaleToFill"
|
|
|
|
|
- @click="close2"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <view class="close" @click="close2">
|
|
|
|
|
+ <image
|
|
|
|
|
+ src="../../static/images/close.png"
|
|
|
|
|
+ mode="scaleToFill"
|
|
|
|
|
+ @click="close2"
|
|
|
|
|
+ />
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="name">
|
|
<view class="name">
|
|
|
<text>姓 名 :</text>
|
|
<text>姓 名 :</text>
|
|
@@ -120,6 +124,7 @@
|
|
|
type="text"
|
|
type="text"
|
|
|
placeholder="请输入姓名"
|
|
placeholder="请输入姓名"
|
|
|
v-model="feedbackPersonName"
|
|
v-model="feedbackPersonName"
|
|
|
|
|
+ placeholder-style="color: #B3B3B3;"
|
|
|
/>
|
|
/>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="tel">
|
|
<view class="tel">
|
|
@@ -128,6 +133,7 @@
|
|
|
type="text"
|
|
type="text"
|
|
|
placeholder="请输入联系人手机号码"
|
|
placeholder="请输入联系人手机号码"
|
|
|
v-model="feedbackPersonPhone"
|
|
v-model="feedbackPersonPhone"
|
|
|
|
|
+ placeholder-style="color: #B3B3B3;"
|
|
|
/>
|
|
/>
|
|
|
</view>
|
|
</view>
|
|
|
<text class="title">反馈信息 :</text>
|
|
<text class="title">反馈信息 :</text>
|
|
@@ -150,6 +156,8 @@ export default {
|
|
|
showSearch: false,
|
|
showSearch: false,
|
|
|
studentName: "",
|
|
studentName: "",
|
|
|
studentNo: "",
|
|
studentNo: "",
|
|
|
|
|
+ SeaStudentNo: "",
|
|
|
|
|
+ SeaStudentName: "",
|
|
|
majorName: "",
|
|
majorName: "",
|
|
|
className: "",
|
|
className: "",
|
|
|
years: "",
|
|
years: "",
|
|
@@ -176,7 +184,7 @@ export default {
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
|
- // this.loginFilter(); //获取用户cardNumber
|
|
|
|
|
|
|
+ this.loginFilter(); //获取用户cardNumber
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
toSearch() {
|
|
toSearch() {
|
|
@@ -444,56 +452,65 @@ export default {
|
|
|
|
|
|
|
|
//代缴费
|
|
//代缴费
|
|
|
searchDetailMess() {
|
|
searchDetailMess() {
|
|
|
- let that = this;
|
|
|
|
|
- let cardNumber = localStorage.getItem("cardNumber");
|
|
|
|
|
- let url =
|
|
|
|
|
- that.homeUrl +
|
|
|
|
|
- `/tuitionpayment/payableinfo/payableInfo/${that.studentNo}/${that.studentName}`;
|
|
|
|
|
- uni.request({
|
|
|
|
|
- url: url,
|
|
|
|
|
- header: {
|
|
|
|
|
- card_number: cardNumber,
|
|
|
|
|
- Accept: "application/json",
|
|
|
|
|
- "Content-Type": "application/x-www-form-urlencoded;charset=utf-8",
|
|
|
|
|
- "X-Requested-With": "XMLHttpRequest",
|
|
|
|
|
- },
|
|
|
|
|
- method: "GET",
|
|
|
|
|
- sslVerify: true,
|
|
|
|
|
- success: ({ data, statusCode, header }) => {
|
|
|
|
|
- if (!data.success) {
|
|
|
|
|
- uni.showToast({
|
|
|
|
|
- title: data.message,
|
|
|
|
|
- icon: "error",
|
|
|
|
|
- mask: true,
|
|
|
|
|
- duration: 1000,
|
|
|
|
|
- });
|
|
|
|
|
- } else {
|
|
|
|
|
- uni.showToast({
|
|
|
|
|
- title: "信息查询中",
|
|
|
|
|
- icon: "loading",
|
|
|
|
|
- mask: true,
|
|
|
|
|
- duration: 500,
|
|
|
|
|
- });
|
|
|
|
|
- that.showSearch = !that.showSearch;
|
|
|
|
|
- let res = data.data;
|
|
|
|
|
- that.studentName = res.studentName;
|
|
|
|
|
- that.studentNo = res.studentNo;
|
|
|
|
|
- that.years = res.years;
|
|
|
|
|
- that.majorName = res.majorName;
|
|
|
|
|
- that.className = res.className;
|
|
|
|
|
- that.realPayAmount = res.realPayAmount;
|
|
|
|
|
- that.getPayDetail(res.payItemDetail);
|
|
|
|
|
- if (res.pay) {
|
|
|
|
|
- that.payStatu1 = false;
|
|
|
|
|
- that.payStatu2 = true;
|
|
|
|
|
|
|
+ if (!this.SeaStudentNo || !this.SeaStudentName) {
|
|
|
|
|
+ uni.showToast({
|
|
|
|
|
+ title: "学号或姓名不能为空",
|
|
|
|
|
+ icon: "error",
|
|
|
|
|
+ mask: true,
|
|
|
|
|
+ duration: 1000,
|
|
|
|
|
+ });
|
|
|
|
|
+ } else {
|
|
|
|
|
+ let that = this;
|
|
|
|
|
+ let cardNumber = localStorage.getItem("cardNumber");
|
|
|
|
|
+ let url =
|
|
|
|
|
+ that.homeUrl +
|
|
|
|
|
+ `/tuitionpayment/payableinfo/payableInfo/${that.SeaStudentNo}/${that.SeaStudentName}`;
|
|
|
|
|
+ uni.request({
|
|
|
|
|
+ url: url,
|
|
|
|
|
+ header: {
|
|
|
|
|
+ card_number: cardNumber,
|
|
|
|
|
+ Accept: "application/json",
|
|
|
|
|
+ "Content-Type": "application/x-www-form-urlencoded;charset=utf-8",
|
|
|
|
|
+ "X-Requested-With": "XMLHttpRequest",
|
|
|
|
|
+ },
|
|
|
|
|
+ method: "GET",
|
|
|
|
|
+ sslVerify: true,
|
|
|
|
|
+ success: ({ data, statusCode, header }) => {
|
|
|
|
|
+ if (!data.success) {
|
|
|
|
|
+ uni.showToast({
|
|
|
|
|
+ title: data.message,
|
|
|
|
|
+ icon: "error",
|
|
|
|
|
+ mask: true,
|
|
|
|
|
+ duration: 1000,
|
|
|
|
|
+ });
|
|
|
} else {
|
|
} else {
|
|
|
- that.payStatu1 = true;
|
|
|
|
|
- that.payStatu2 = false;
|
|
|
|
|
|
|
+ uni.showToast({
|
|
|
|
|
+ title: "信息查询中",
|
|
|
|
|
+ icon: "loading",
|
|
|
|
|
+ mask: true,
|
|
|
|
|
+ duration: 500,
|
|
|
|
|
+ });
|
|
|
|
|
+ that.showSearch = !that.showSearch;
|
|
|
|
|
+ let res = data.data;
|
|
|
|
|
+ that.studentName = res.studentName;
|
|
|
|
|
+ that.studentNo = res.studentNo;
|
|
|
|
|
+ that.years = res.years;
|
|
|
|
|
+ that.majorName = res.majorName;
|
|
|
|
|
+ that.className = res.className;
|
|
|
|
|
+ that.realPayAmount = res.realPayAmount;
|
|
|
|
|
+ that.getPayDetail(res.payItemDetail);
|
|
|
|
|
+ if (res.pay) {
|
|
|
|
|
+ that.payStatu1 = false;
|
|
|
|
|
+ that.payStatu2 = true;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ that.payStatu1 = true;
|
|
|
|
|
+ that.payStatu2 = false;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- fail: (error) => {},
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ fail: (error) => {},
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
//提交反馈信息
|
|
//提交反馈信息
|