Browse Source

1.0优化

zhang 4 years ago
parent
commit
2a4513e1ab

+ 1 - 1
src/components/fankuijilu/fankuijilu.css

@@ -151,7 +151,7 @@
 .el-pagination>>>.number,
 .el-pagination>>>.more {
 	margin: 0 5px;
-	width: 40px;
+	width: 48px;
 	height: 40px;
 	line-height: 40px;
 	border: 1px solid #626262;

+ 1 - 1
src/components/orderList/orderList.css

@@ -172,7 +172,7 @@
 .el-pagination>>>.number,
 .el-pagination>>>.more {
 	margin: 0 5px;
-	width: 40px;
+	width: 48px;
 	height: 40px;
 	line-height: 40px;
 	border: 1px solid #626262;

+ 3 - 2
src/components/orderList/orderList.vue

@@ -298,14 +298,14 @@
             list.id = res.data.data.page.list[i].payerIdentify
             list.stuName = res.data.data.page.list[i].studentName
             list.class = res.data.data.page.list[i].className
-            list.money = res.data.data.page.list[i].orderAmount
+            // list.money = res.data.data.page.list[i].orderAmount
             if(res.data.data.page.list[i].payMethod == 1){
               list.method = "建行支付"
             }else if(res.data.data.page.list[i].payMethod == 2){
               list.method = "农商行支付"
             }
             // this.all_money = (this.all_money + list.money).toFixed(2)
-            this.all_money = this.all_money + list.money
+            // this.all_money = this.all_money + list.money
 
             list.time = res.data.data.page.list[i].finishTime
             if (res.data.data.page.list[i].status == 2) {
@@ -315,6 +315,7 @@
             }
             this.tableData.push(list)
           }
+          this.all_money = res.data.data.total
           // console.log(this.tableData)
         }).catch(err => {
           console.log(err)

+ 2 - 2
src/components/payNameList/payNameList.css

@@ -51,7 +51,7 @@
 }
 
 >>>.first-right-btn {
-  width: 110px;
+  width: 150px;
   height: 46px;
   font-size: 18px;
   border-radius: 5px;
@@ -160,7 +160,7 @@
 .el-pagination>>>.number,
 .el-pagination>>>.more {
   margin: 0 5px;
-  width: 40px;
+  width: 48px;
   height: 40px;
   line-height: 40px;
   border: 1px solid #626262;

+ 6 - 4
src/components/payNameList/payNameList.vue

@@ -218,10 +218,12 @@
             this.loading = false
             this.editdialogUpLoad = false
             this.$message.success('文件上传成功!')
-            let _this = this
-            setTimeout(() => {
-              _this.$router.go(0)
-            }, 1500)
+            this.tableData = []
+            this.getTableData(this.$Api.paylist)
+            // let _this = this
+            // setTimeout(() => {
+            //   _this.$router.go(0)
+            // }, 1500)
             // this.$message.success('文件上传成功!')
           })
           .catch(err => {

+ 1 - 1
src/components/wrongOrder/wrongOrder.css

@@ -144,7 +144,7 @@
 .el-pagination>>>.number,
 .el-pagination>>>.more {
 	margin: 0 5px;
-	width: 40px;
+	width: 48px;
 	height: 40px;
 	line-height: 40px;
 	border: 1px solid #626262;