Browse Source

’合并

git commit -m ’合并
master
j1ack 2 years ago
parent
commit
b41d6874c5
  1. 23
      src/views/carddealer/carddealer/index.vue
  2. 9
      src/views/order/carddealerOrder/readyOrder.vue
  3. BIN
      正式kakapay.zip
  4. BIN
      测试kakapay.zip

23
src/views/carddealer/carddealer/index.vue

@ -339,7 +339,7 @@
<script> <script>
import { listCarddealer, getCarddealer, delCarddealer, addCarddealer, updateCarddealer, exportCarddealer } from "@/api/carddealer/carddealer"; import { listCarddealer, getCarddealer, delCarddealer, addCarddealer, updateCarddealer, exportCarddealer } from "@/api/carddealer/carddealer";
import { payCard } from "@/api/form"; import { payCard, payAgentUser } from "@/api/form";
import { common_api } from "@/api/form"; import { common_api } from "@/api/form";
import pkCouponScopeRangeStoreList from "./pkCouponScopeRangeStoreList"; import pkCouponScopeRangeStoreList from "./pkCouponScopeRangeStoreList";
import cardMerchantOrderRefreshMixin from "@/api/cardMerchantOrderRefresh.mixin"; import cardMerchantOrderRefreshMixin from "@/api/cardMerchantOrderRefresh.mixin";
@ -674,7 +674,8 @@ export default {
this.form.transferFreeAudit = Number(response.data.transferFreeAudit) this.form.transferFreeAudit = Number(response.data.transferFreeAudit)
this.openControl = true; this.openControl = true;
this.title = "风控"; this.title = "风控";
this.resetGoogleSecret() // this.resetGoogleSecret()
this.payAgentUserGoogle(row);
}); });
}, },
// //
@ -755,6 +756,21 @@ export default {
this.startTimer(this.queryParams) this.startTimer(this.queryParams)
}); });
}, },
//
payAgentUserGoogle(row) {
payAgentUser
.getGoogleCaptcha({
userId: row.id
})
.then((response) => {
this.form.totpSecret = response.data.googleCaptcha
this.form.googleSecret = response.data.googleCaptcha
this.$forceUpdate()
})
.catch(() => {
loading.close();
});
},
// //
handleView(row) { handleView(row) {
this.reset(); this.reset();
@ -1016,8 +1032,6 @@ export default {
}) })
} }
}); });
}, },
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
@ -1027,7 +1041,6 @@ export default {
} else { } else {
this.queryParams.beginTime = null this.queryParams.beginTime = null
this.queryParams.endTime = null this.queryParams.endTime = null
} }
const queryParams = this.queryParams; const queryParams = this.queryParams;
this.$confirm('是否确认导出所有码商数据项?', "警告", { this.$confirm('是否确认导出所有码商数据项?', "警告", {

9
src/views/order/carddealerOrder/readyOrder.vue

@ -501,14 +501,17 @@ export default {
}, },
init() { init() {
common_api.carddealerChannelAll().then((response) => { // common_api.carddealerChannelAll().then((response) => {
this.carddealerCon = response.data; // this.carddealerCon = response.data;
}); // });
}, },
// //
handleToOther(row) { handleToOther(row) {
this.reset() this.reset()
const id = row.orderNo; const id = row.orderNo;
common_api.carddealerWithdrawOrderAll().then((response) => {
this.carddealerCon = response.data
});
getTransferOrder(id).then((response) => { getTransferOrder(id).then((response) => {
this.detailInfoList = response.data; this.detailInfoList = response.data;
this.detailInfoList.applicableAmount = this.NumberDiv(this.detailInfoList.applicableAmount, 100) this.detailInfoList.applicableAmount = this.NumberDiv(this.detailInfoList.applicableAmount, 100)

BIN
正式kakapay.zip

Binary file not shown.

BIN
测试kakapay.zip

Binary file not shown.
Loading…
Cancel
Save