Browse Source

’修改bug添加需求‘

master
j1ack 2 years ago
parent
commit
7a157826f0
  1. 10
      src/App.vue
  2. 4
      src/main.js
  3. 5
      src/utils/ruoyi.js
  4. 12
      src/views/carddealer/carddealerCard/index.vue
  5. 2
      src/views/carddealer/carddealerSms/index.vue
  6. 2
      src/views/carddealer/carddealerSms/indexIdentify.vue
  7. 2
      src/views/carddealer/carddealerSms/indexSuccess.vue
  8. 7
      src/views/carddealer/carddealerSmsTemp/index.vue
  9. 2
      src/views/dashboard/PanelGroup.vue
  10. 23
      src/views/order/TransferOrder/readyOrder.vue
  11. 13
      src/views/order/payOrder/wwc.vue
  12. 2
      src/views/staticsRecord/cardTimeStatistics.vue
  13. 2
      src/views/staticsRecord/mechantTimeStatistics.vue
  14. 2
      src/views/staticsRecord/merchantCardStat.vue
  15. BIN
      测试kakapay.zip

10
src/App.vue

@ -66,6 +66,10 @@ export default {
border-radius: 6px !important;
margin-left: 8px;
} */
/* 提示框字体颜色红色 */
.box-logout .el-message-box__message p {
color: red !important;
}
.el-collapse-item__arrow {
transform: rotate(270deg);
@ -465,10 +469,12 @@ body {
text-align: center;
}
.el-table__body tr.hover-row > td.el-table__cell, .el-table__body tr.hover-row.current-row > td.el-table__cell, .el-table__body tr.hover-row.el-table__row--striped > td.el-table__cell, .el-table__body tr.hover-row.el-table__row--striped.current-row > td.el-table__cell {
.el-table__body tr.hover-row>td.el-table__cell,
.el-table__body tr.hover-row.current-row>td.el-table__cell,
.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,
.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell {
background-color: rgba(0, 0, 0, 0) !important
}
</style>
<style scoped>
#app .theme-picker {

4
src/main.js

@ -33,7 +33,8 @@ import {
addSESDateRange,
calcRange,
download,
today
today,
BeiJingDate,
} from "@/utils/ruoyi";
@ -72,6 +73,7 @@ Vue.prototype.selectDictLabel = selectDictLabel
Vue.prototype.selectDictLabels = selectDictLabels
Vue.prototype.download = download
Vue.prototype.today = today
Vue.prototype.BeiJingDate = BeiJingDate
Vue.prototype.$md5 = md5;
Vue.prototype.handleTree = handleTree
Vue.prototype.msgSuccess = function (msg) {

5
src/utils/ruoyi.js

@ -37,6 +37,11 @@ export function calcRange(array) {
return range;
}
// 时区北京
export function BeiJingDate() {
return new Date(new Date().getTime()+(parseInt(new Date().getTimezoneOffset()/60) + 8)*3600*1000);
}
// 通用下载方法
export function download(fileName) {
window.location.href = baseURL + "/common/download?fileName=" + encodeURI(fileName) + "&delete=" + true;

12
src/views/carddealer/carddealerCard/index.vue

@ -175,7 +175,12 @@
<el-input v-model="form.singleMax" placeholder="" style="width:150px" @input="change" />
</el-form-item>
<el-form-item label="日限额" prop="">
<el-input v-model="form.dayReceiveMax" placeholder="" style="width:150px" @input="change" />
</el-form-item>
<el-form-item label="日收款笔数" prop="">
<el-input v-model="form.dayMaxNumber" placeholder="" style="width:150px" @input="change" />
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
@ -465,6 +470,8 @@ export default {
this.form = response.data;
this.form.singleMax = this.NumberDiv(this.form.singleMax, 100)
this.form.singleMin = this.NumberDiv(this.form.singleMin, 100)
this.form.dayReceiveMax = this.NumberDiv(this.form.dayReceiveMax, 100)
this.form.todayReceived = this.NumberDiv(this.form.todayReceived, 100)
this.open = true;
this.title = "修改卡商-银行卡";
});
@ -497,9 +504,12 @@ export default {
if (valid) {
let singleMax = this.NumberMul(this.form.singleMax, 100)
let singleMin = this.NumberMul(this.form.singleMin, 100)
let dayReceiveMax = this.NumberMul(this.form.dayReceiveMax, 100)
payShouCard.updateInfo({
singleMax: singleMax,
singleMin: singleMin,
dayMaxNumber: this.form.dayMaxNumber,
dayReceiveMax: dayReceiveMax,
id: this.form.id
}).then((res) => {
if (res.code === 200) {

2
src/views/carddealer/carddealerSms/index.vue

@ -73,7 +73,7 @@
<el-table-column :label="'识别状态'" align="center" prop="verifyStatus">
<template slot-scope="scope">
{{ scope.row.verifyStatus == 2 ? '识别失败短信列表' :
scope.row.verifyStatus == 1 ? '匹配失败短信列' : '匹配成功短信列表' }}
scope.row.verifyStatus == 1 && scope.row.orderNo? '匹配成功短信列表' : '匹配失败短信列表' }}
</template>
</el-table-column>
<el-table-column label="失败原因" align="center" prop="verifyRemarks" min-width="180" />

2
src/views/carddealer/carddealerSms/indexIdentify.vue

@ -73,7 +73,7 @@
<el-table-column :label="'识别状态'" align="center" prop="verifyStatus">
<template slot-scope="scope">
{{ scope.row.verifyStatus == 2 ? '识别失败短信列表' :
scope.row.verifyStatus == 1 ? '匹配失败短信列' : '匹配成功短信列表' }}
scope.row.verifyStatus == 1 && scope.row.orderNo? '匹配成功短信列表' : '匹配失败短信列表' }}
</template>
</el-table-column>
<el-table-column label="失败原因" align="center" prop="verifyRemarks" min-width="180" />

2
src/views/carddealer/carddealerSms/indexSuccess.vue

@ -72,7 +72,7 @@
<el-table-column :label="'识别状态'" align="center" prop="verifyStatus">
<template slot-scope="scope">
{{ scope.row.verifyStatus == 2 ? '识别失败短信列表' :
scope.row.verifyStatus == 1 ? '匹配失败短信列' : '匹配成功短信列表' }}
scope.row.verifyStatus == 1 && scope.row.orderNo? '匹配成功短信列表' : '匹配失败短信列表' }}
</template>
</el-table-column>
<el-table-column label="失败原因" align="center" prop="verifyRemarks" min-width="180" />

7
src/views/carddealer/carddealerSmsTemp/index.vue

@ -73,7 +73,7 @@
<template slot-scope="scope">
<el-button size="small" type="text" @click="handleUpdate(scope.row)" style="color: #006eff">修改</el-button>
<el-button size="small" type="text" @click="switchStatusChange(scope.row, 'status')" style="color: #006eff">
{{ scope.row.status == 1 ? '启用' : '禁用' }}
{{ scope.row.status == 1 ? '禁用' : '启用' }}
</el-button>
<el-button size="small" type="text" @click="handleDelete(scope.row)" style="color: #006eff">删除</el-button>
<el-button size="small" type="text" @click="handleCode(scope.row)" style="color: #006eff">测试</el-button>
@ -209,7 +209,7 @@ export default {
const id = row.id || this.ids;
getCarddealerSmsTemp(id).then((response) => {
this.form = response.data;
row.status == 1 ? this.form.status = 0 : this.form.status = 1
row.status == 1 ? this.form.status = 2 : this.form.status = 1
updateCarddealerSmsTemp(this.form).then((res) => {
if (res.code === 200) {
this.$message.success("编辑成功");
@ -278,7 +278,8 @@ export default {
//
toSubmit(){
paySes.test(this.form).then(response => {
this.form.msg=response.data.result
this.form.msg= JSON.stringify(response.data)
this.$forceUpdate()
}).catch((err)=>{
})

2
src/views/dashboard/PanelGroup.vue

@ -487,7 +487,7 @@ export default {
methods: {
//
addDate() {
let nowDate = new Date();
let nowDate = this.BeiJingDate()
let date = {
year: nowDate.getFullYear(),
month: nowDate.getMonth() + 1,

23
src/views/order/TransferOrder/readyOrder.vue

@ -909,6 +909,23 @@ export default {
/** 成功按钮操作 */
handleSuccess(row) {
const ids = row.orderNo || this.ids;
// row.payeeRealAmount > 0
if (row.payeeRealAmount > 0) {
this.$confirm(`该笔订单未全部完成,需要确认吗?`, "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
customClass: 'box-logout',
}).then(function () {
return payOutOrder.setPayOrderSuccess({
orderNo: ids,
isSuccess: 1,
});
}).then(() => {
this.getList();
this.msgSuccess("操作成功");
})
} else {
this.$confirm('是否确认订单编号为"' + ids + '"的数据项?', "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
@ -922,6 +939,8 @@ export default {
this.getList();
this.msgSuccess("操作成功");
})
}
},
/** 关闭按钮操作 */
handleOut(row) {
@ -978,6 +997,8 @@ export default {
};
</script>
<style>
.purpleTransfer {
background: #FDF7FF !important;
}
@ -1012,9 +1033,11 @@ export default {
.yellow {
color: #F49300 !important;
}
.green {
color: #67c23a !important;
}
::v-deep .el-table tbody tr:hover>td {
background-color: rgba(0, 0, 0, 0) !important
}

13
src/views/order/payOrder/wwc.vue

@ -45,8 +45,8 @@
</el-form-item>
<el-form-item label="付款人" prop="payerName">
<el-input size="medium" v-model="queryParams.payerName" placeholder="请输入付款人"
@keyup.enter.native="handleQuery" style="width: 180px; border-color: #e6f1ff" />
<el-input size="medium" v-model="queryParams.payerName" placeholder="请输入付款人" @keyup.enter.native="handleQuery"
style="width: 180px; border-color: #e6f1ff" />
</el-form-item>
<el-collapse>
@ -153,7 +153,7 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
<template slot-scope="scope">
<el-button size="small" type="text" @click="handleView(scope.row)" style="color: #006eff">详情</el-button>
<el-button size="small" type="text" @click="handleOver(scope.row)" style="color: #006eff">已收款</el-button>
<el-button size="small" type="text" @click="handleOver(scope.row)" style="color: #006eff" :disabled="scope.row.sameMark==1">已收款</el-button>
<!-- <el-button size="small" type="text" @click="handleNotify(scope.row)" style="color: #006eff">通知</el-button> -->
</template>
</el-table-column>
@ -490,6 +490,9 @@ export default {
},
methods: {
tableRowClassName({ row, rowIndex }) {
if (row.sameMark == 1) {
return "greyd6";
}
if (row.orderStatus == 3) {
return "redOrder";
}
@ -711,6 +714,10 @@ export default {
};
</script>
<style>
.greyd6 {
background: #d6d6d6 !important;
}
.yellowOrder {
background: #FEFEE5 !important;
}

2
src/views/staticsRecord/cardTimeStatistics.vue

@ -186,7 +186,7 @@ export default {
methods: {
//
addDate() {
let nowDate = new Date();
let nowDate = this.BeiJingDate()
let date = {
year: nowDate.getFullYear(),
month: nowDate.getMonth() + 1,

2
src/views/staticsRecord/mechantTimeStatistics.vue

@ -231,7 +231,7 @@ export default {
//
addDate() {
let nowDate = new Date();
let nowDate = this.BeiJingDate()
let date = {
year: nowDate.getFullYear(),
month: nowDate.getMonth() + 1,

2
src/views/staticsRecord/merchantCardStat.vue

@ -185,7 +185,7 @@ export default {
methods: {
//
addDate() {
let nowDate = new Date();
let nowDate = this.BeiJingDate()
let date = {
year: nowDate.getFullYear(),
month: nowDate.getMonth() + 1,

BIN
测试kakapay.zip

Binary file not shown.
Loading…
Cancel
Save