diff --git a/package.json b/package.json
index 712be0e..fc91142 100644
--- a/package.json
+++ b/package.json
@@ -55,6 +55,7 @@
"screenfull": "5.0.2",
"sortablejs": "1.10.2",
"vue": "2.6.12",
+ "vue-clipboard2": "^0.3.3",
"vue-count-to": "1.0.13",
"vue-cropper": "0.5.5",
"vue-meta": "2.4.0",
diff --git a/src/api/form.js b/src/api/form.js
index 50435bb..a3863b0 100644
--- a/src/api/form.js
+++ b/src/api/form.js
@@ -11,6 +11,20 @@ import {
*
*/
export const common_api = {
+ // 查询所有代理商
+ selectAgentListAll: () => {
+ return request({
+ url: '/system/user/selectAgentListAll',
+ method: 'get',
+ })
+ },
+ // 所有国家
+ getAllNation: () => {
+ return request({
+ url: '/pay/getAllNation',
+ method: 'get',
+ })
+ },
// 查询支付类型列表
payTypeAll: () => {
return request({
@@ -238,6 +252,17 @@ export const payAgentUser = {
})
},
+ // 分配用户代理商
+ assignAgents: (data) => {
+ return request({
+ url: '/system/user/assignAgents?'+qs.stringify(data),
+ method: 'post',
+ headers: {
+ Authorization: "Bearer " + getToken(),
+ },
+ })
+},
+
}
@@ -276,7 +301,6 @@ export const card_order_list = {
},
})
},
-
// 补发异步通知
reissueNotice: (data) => {
return request({
@@ -522,6 +546,13 @@ export const platform_payment_list = {
* 资金清算模块
*/
export const payMoneyCalcu = {
+ // 人工修改余额接口
+ updateBalance: (data) => {
+ return request({
+ url: '/order/updateBalance?' + qs.stringify(data),
+ method: 'post',
+ })
+ },
// 获取资金管理金额
amountCount: (query) => {
return request({
@@ -1295,45 +1326,15 @@ export const payBankPaymentFormList = {
/**
- * 用户列表
+ * 余额修改记录
*/
-export const pkUserInfo = {
- // 获取用户列表
+export const pkUpdateBalanceRecord = {
+ // 获取余额修改记录列表
listInfo: (query) => {
return request({
- url: '/test/user/list',
+ url: '/order/getUpdateBalanceRecord',
method: 'get',
params: query
})
},
- // 更新用户
- updateInfo: (data) => {
- return request({
- url: '/test/user/update',
- method: 'put',
- data: data
- })
- },
- // 获取用户详细
- getInfo: (id) => {
- return request({
- url: '/test/user/' + id,
- method: 'get'
- })
- },
- // 新增用户
- addInfo: (data) => {
- return request({
- url: '/test/user/save',
- method: 'post',
- data: data
- })
- },
- // 删除用户信息
- delInfo: (id) => {
- return request({
- url: '/test/user/' + id,
- method: 'delete'
- })
- },
}
diff --git a/src/main.js b/src/main.js
index c63d23a..7ee43ad 100644
--- a/src/main.js
+++ b/src/main.js
@@ -37,7 +37,9 @@ import DictTag from '@/components/DictTag'
import VueMeta from 'vue-meta'
// 字典数据组件
import DictData from '@/components/DictData'
+import VueClipboard from 'vue-clipboard2'
+Vue.use(VueClipboard)
// 全局方法挂载
Vue.prototype.getDicts = getDicts
Vue.prototype.getConfigKey = getConfigKey
diff --git a/src/utils/request.js b/src/utils/request.js
index bd88a61..43e36b9 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -67,7 +67,8 @@ service.interceptors.request.use(config => {
if (s_data === requestObj.data && requestObj.time - s_time < interval && s_url === requestObj.url) {
const message = '数据正在处理,请勿重复提交';
console.warn(`[${s_url}]: ` + message)
- // return Promise.reject(new Error(message))
+ // new Error(message)
+ return Promise.reject()
} else {
cache.session.setJSON('sessionObj', requestObj)
}
diff --git a/src/utils/ruoyi.js b/src/utils/ruoyi.js
index 59556ef..4d1b386 100644
--- a/src/utils/ruoyi.js
+++ b/src/utils/ruoyi.js
@@ -1,6 +1,21 @@
/**
* 通用js方法封装处理
* Copyright (c) 2019 ruoyi
+ *
+ *
+ *
+ *
+ *
+ * pay_channel_name,key_id, user_id, store_id, order_no, out_trade_no,
+ * transaction_id, tran_amt, pay_amt, pay_type, channel_type, pay_time, order_status,
+ * rate, channel_rate, mch_id, mch_name, notify_url, back_url, store_no, bank_code,
+ * bank_id, card_type, product_name, product_desc, qrcode_img, qrcode_url, user_key, source_type, attach,
+ * version, charset, sign_type, create_time, update_time, order_msg, media_type
+ * name, mobile,store_settle_time,store_settle,
+ real_amt,rate_amt,poundage_rate,poundage_amt,
+ store_name,store_type,type_name pay_type_name,
+ channel_name pay_channel_name
+ *
*/
const baseURL = process.env.VUE_APP_BASE_API
@@ -29,17 +44,17 @@ export function download(fileName) {
//获取当前年月日
export function today() {
- let nowDate = new Date();
- let date = {
- year: nowDate.getFullYear(),
- month: nowDate.getMonth() + 1,
- date: nowDate.getDate(),
- }
- if (date.date <= 9) {
- return date.year + '-' + 0 + date.month + '-' + 0 + date.date;
- } else {
- return date.year + '-' + 0 + date.month + '-' + date.date;
- }
+ let nowDate = new Date();
+ let date = {
+ year: nowDate.getFullYear(),
+ month: nowDate.getMonth() + 1,
+ date: nowDate.getDate(),
+ }
+ if (date.date <= 9) {
+ return date.year + '-' + 0 + date.month + '-' + 0 + date.date;
+ } else {
+ return date.year + '-' + 0 + date.month + '-' + date.date;
+ }
}
diff --git a/src/views/monitor/job/index.vue b/src/views/monitor/job/index.vue
index 3a46288..d251bae 100644
--- a/src/views/monitor/job/index.vue
+++ b/src/views/monitor/job/index.vue
@@ -6,7 +6,50 @@
定时任务
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
日志
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
+
diff --git a/src/views/monitor/logininfor/index.vue b/src/views/monitor/logininfor/index.vue
index 326a455..645d3f0 100644
--- a/src/views/monitor/logininfor/index.vue
+++ b/src/views/monitor/logininfor/index.vue
@@ -7,54 +7,13 @@
登陆日志
-
- 删除
-
-
- 清空
-
-
- 解锁
-
-
- 导出
-
+
-
+
- 搜索
- 重置
-
+
+
+ 搜索
+ 重置
+
+
+
+
+ 删除
+
+
+ 清空
+
+
+ 解锁
+
+
+ 导出
+
+
+
+
+
diff --git a/src/views/monitor/operlog/index.vue b/src/views/monitor/operlog/index.vue
index 092933c..0d8e8f5 100644
--- a/src/views/monitor/operlog/index.vue
+++ b/src/views/monitor/operlog/index.vue
@@ -1,165 +1,112 @@
-
+
-
- 删除
-
-
- 清空
-
-
- 导出
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.operTime) }}
-
-
-
-
- 详细
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+ 删除
+
+
+ 清空
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.operTime) }}
+
+
+
+
+ 详细
+
+
+
+
+
{{ form.title }} / {{ typeFormat(form) }}
- {{ form.operName }} / {{ form.operIp }} / {{ form.operLocation }}
+ {{ form.operName }} / {{ form.operIp }} / {{ form.operLocation }}
{{ form.operUrl }}
@@ -220,7 +167,7 @@ export default {
// 日期范围
dateRange: [],
// 默认排序
- defaultSort: {prop: 'operTime', order: 'descending'},
+ defaultSort: { prop: 'operTime', order: 'descending' },
// 表单参数
form: {},
// 查询参数
@@ -241,11 +188,11 @@ export default {
/** 查询登录日志 */
getList() {
this.loading = true;
- list(this.addDateRange(this.queryParams, this.dateRange)).then( response => {
- this.list = response.rows;
- this.total = response.total;
- this.loading = false;
- }
+ list(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
+ this.list = response.rows;
+ this.total = response.total;
+ this.loading = false;
+ }
);
},
// 操作日志类型字典翻译
@@ -283,21 +230,21 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const operIds = row.operId || this.ids;
- this.$modal.confirm('是否确认删除日志编号为"' + operIds + '"的数据项?').then(function() {
+ this.$modal.confirm('是否确认删除日志编号为"' + operIds + '"的数据项?').then(function () {
return delOperlog(operIds);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
- }).catch(() => {});
+ }).catch(() => { });
},
/** 清空按钮操作 */
handleClean() {
- this.$modal.confirm('是否确认清空所有操作日志数据项?').then(function() {
+ this.$modal.confirm('是否确认清空所有操作日志数据项?').then(function () {
return cleanOperlog();
}).then(() => {
this.getList();
this.$modal.msgSuccess("清空成功");
- }).catch(() => {});
+ }).catch(() => { });
},
/** 导出按钮操作 */
handleExport() {
diff --git a/src/views/pay/payAgentUser/payAgentUserList.vue b/src/views/pay/payAgentUser/payAgentUserList.vue
index 132ab60..f1341a9 100644
--- a/src/views/pay/payAgentUser/payAgentUserList.vue
+++ b/src/views/pay/payAgentUser/payAgentUserList.vue
@@ -6,12 +6,8 @@
商户代理管理
-
- 新增代理
-
- 新增商户
-
-
+
+
@@ -44,8 +40,23 @@
range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" :unlink-panels="true">
- 搜索
- 重置
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增代理
+
+ 新增商户
+
+
+
+
@@ -60,12 +71,8 @@
-
+
+
@@ -119,6 +126,9 @@
+
+
+
@@ -141,16 +151,25 @@
+
+
新增下级代理
+ style="color: #006EFF;" v-if="scope.row.userType != 'store'"
+ v-hasPermi="['system:user:saveStoreOragent']">新增下级代理
新增下级商户
+ @click="handleAdd('新增商户', 'store', scope.row)" v-if="scope.row.userType != 'store'"
+ v-hasPermi="['system:user:saveStoreOragent']">新增下级商户
+
+ 分配代理商
- 查看密钥
- 详情
+
+ 查看密钥
+ 详情
通道
+
+
+
+
+
+
+
@@ -219,16 +245,15 @@
- 更新密钥
+ 更新密钥
-
+
-
-
+
出金费率类型:
@@ -105,6 +94,43 @@
+
+
+
+ {{ val.name }}
+
+
+
+
+ %
+
+
+
+
+ 元
+
+
+
+
+
+ 元
+
+
+ +
+
+
+
+ %
+
+
+
+
+
+
出金费率:
@@ -164,6 +190,11 @@ export default {
radio: {},
// 代理2(1)
input: {},
+ // 代理出金
+ inputOutRate: {},
+ inputOutMoney: {},
+ inputOutMoneyCombo: {},
+ inputOutRateCombo: {},
// 入金费率
rateInput: {},
// 按单笔收
@@ -172,6 +203,7 @@ export default {
singleRate: {},
singleMoneyCombo: {},
singleRateCombo: {},
+
infoList: [],
val: '',
};
@@ -191,8 +223,51 @@ export default {
var dataIns = [];
var dataOuts = [];
var dataAgents = [];
+ var agentOuts = [];
// 处理值
for (var i = 0; i < this.infoList.length; i++) {
+
+ // 代理出金
+ for (var j = 0; j < this.infoList[i].parentOutList.length; j++) {
+ if (eval('this.$refs.radio' + i)[0].value == 'combo') {
+ agentOuts.push({
+ id: this.infoList[i].parentOutList[j].parentStorePayOutId?this.infoList[i].parentOutList[j].parentStorePayOutId:0,
+ storeRate: this.inputOutMoneyCombo[this.infoList[i].payType + this.infoList[i].parentOutList[j].name],
+ storeRate1: this.NumberDiv(this.inputOutRateCombo[this.infoList[i].payType + this.infoList[i].parentOutList[j].name], 100),
+ type: eval('this.$refs.radio' + i)[0].value,
+ userId: this.infoList[i].parentOutList[j].parentUserId,
+ storeId: this.infoList[i].storeId < 0 ? null : this.infoList[i].storeId,
+ storeNo: !this.infoList[i].storeNo ? '' : this.infoList[i].storeNo,
+ payType: !this.infoList[i].payConfig.payType ? '' : this.infoList[i].payConfig.payType,
+ });
+ }
+ if (eval('this.$refs.radio' + i)[0].value == 'single') {
+ agentOuts.push({
+ id: this.infoList[i].parentOutList[j].parentStorePayOutId?this.infoList[i].parentOutList[j].parentStorePayOutId:0,
+ storeRate: this.inputOutMoney[this.infoList[i].payType + this.infoList[i].parentOutList[j].name],
+ type: eval('this.$refs.radio' + i)[0].value,
+ userId: this.infoList[i].parentOutList[j].parentUserId,
+ storeId: this.infoList[i].storeId < 0 ? null : this.infoList[i].storeId,
+ storeNo: !this.infoList[i].storeNo ? '' : this.infoList[i].storeNo,
+ payType: !this.infoList[i].payConfig.payType ? '' : this.infoList[i].payConfig.payType,
+ });
+ }
+ if (eval('this.$refs.radio' + i)[0].value == 'rate') {
+ agentOuts.push({
+ id: this.infoList[i].parentOutList[j].parentStorePayOutId?this.infoList[i].parentOutList[j].parentStorePayOutId:0,
+ storeRate: this.inputOutRate[this.infoList[i].payType + this.infoList[i].parentOutList[j].name],
+ type: eval('this.$refs.radio' + i)[0].value,
+ userId: this.infoList[i].parentOutList[j].parentUserId,
+ storeId: this.infoList[i].storeId < 0 ? null : this.infoList[i].storeId,
+ storeNo: !this.infoList[i].storeNo ? '' : this.infoList[i].storeNo,
+ payType: !this.infoList[i].payConfig.payType ? '' : this.infoList[i].payConfig.payType,
+ });
+ }
+ }
+
+
+
+
if (eval('this.$refs.radio' + i)[0].value == 'combo') {
var storeRateOut1 = this.NumberDiv(eval('this.$refs.singleRateCombo' + i)[0].value, 100)
dataOuts.push({
@@ -205,6 +280,7 @@ export default {
storeNo: !this.infoList[i].storeNo ? '' : this.infoList[i].storeNo,
payType: !this.infoList[i].payConfig.payType ? '' : this.infoList[i].payConfig.payType,
});
+
}
if (eval('this.$refs.radio' + i)[0].value == 'single') {
dataOuts.push({
@@ -238,13 +314,15 @@ export default {
dataAgents.push({
id: parent.parentStorePayInId < 1 ? null : parent.parentStorePayInId,
userId: parent.parentUserId,
- storeRate: eval('this.$refs.refName' + i)[o].value,
+ storeRate: this.input[this.infoList[i].payType + this.infoList[i].parentList[o].name],
storeId: this.infoList[i].storeId < 0 ? null : this.infoList[i].storeId,
storeNo: !this.infoList[i].storeNo ? '' : this.infoList[i].storeNo,
payType: !this.infoList[i].payConfig.payType ? '' : this.infoList[i].payConfig.payType,
});
}
}
+ // console.log(agentOuts)
+ // console.log(dataAgents)
payAgentUser
.updateRate({
// 入金
@@ -253,6 +331,8 @@ export default {
spos: JSON.stringify(dataOuts),
// 代理
agents: JSON.stringify(dataAgents),
+ // 代理出金
+ agentOuts: JSON.stringify(agentOuts)
})
.then((response) => {
this.msgSuccess("编辑成功");
@@ -294,10 +374,20 @@ export default {
}
if (this.infoList[i].parentList.length > 0) {
for (var j = 0; j < this.infoList[i].parentList.length; j++) {
- this.input[this.infoList[i].payType+this.infoList[i].parentList[j].name] = this.NumberMul(this.infoList[i].parentList[j].storeRateIn, 100)
+ this.input[this.infoList[i].payType + this.infoList[i].parentList[j].name] = this.NumberMul(this.infoList[i].parentList[j].storeRateIn, 100)
}
- // 给默认值
- } else if (!this.infoList[i].parentList.length) {
+ // 给默认值
+ }
+ if (this.infoList[i].parentOutList.length > 0) {
+ for (var j = 0; j < this.infoList[i].parentOutList.length; j++) {
+ // this.infoList[i].payType + this.infoList[i].parentOutList[j].name
+ this.inputOutRate[this.infoList[i].payType + this.infoList[i].parentOutList[j].name] = this.NumberMul(this.infoList[i].parentOutList[j].storeRateOut, 100)
+ this.inputOutMoney[this.infoList[i].payType + this.infoList[i].parentOutList[j].name] = this.infoList[i].parentOutList[j].storeRateOut
+ this.inputOutMoneyCombo[this.infoList[i].payType + this.infoList[i].parentOutList[j].name] = this.infoList[i].parentOutList[j].storeRateOut
+ this.inputOutRateCombo[this.infoList[i].payType + this.infoList[i].parentOutList[j].name] = this.NumberMul(this.infoList[i].parentOutList[j].storeRateOut1, 100)
+ }
+ }
+ else if (!this.infoList[i].parentList.length) {
// this.infoList[i].parentList[0] = {
// parentStorePayInId: -1
// }
diff --git a/src/views/pay/payBank/payBankManual.vue b/src/views/pay/payBank/payBankManual.vue
index 9d878f9..9cf2b52 100644
--- a/src/views/pay/payBank/payBankManual.vue
+++ b/src/views/pay/payBank/payBankManual.vue
@@ -6,9 +6,7 @@
内充银行
-
- 新增
-
+
@@ -31,8 +29,20 @@
- 搜索
- 重置
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+
+
@@ -55,7 +65,8 @@
+ inactive-value="close" @change="switchStatusChange(scope.row)"
+ v-hasPermi="['bank:bankManual:edit']">
@@ -63,8 +74,8 @@
- 编辑
+ 编辑
@@ -74,7 +85,7 @@
-
+
-
-
+
+
-
- 新增
-
+
- 批量导入 {{fileName}}
+ 批量导入 {{ fileName }}
- 搜索
- 重置
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+
+
@@ -85,7 +96,8 @@
+ inactive-value="close" @change="switchStatusChange(scope.row)"
+ v-hasPermi="['bank:bankPayment:edit']">
@@ -96,8 +108,8 @@
- 编辑
+ 编辑
@@ -135,10 +147,8 @@
-
+
@@ -164,8 +174,8 @@
-
+
@@ -190,7 +200,7 @@ export default {
return {
url: '',
- fileName:'',
+ fileName: '',
loadingBtn: false,
bankTypeCon: [
{
@@ -297,7 +307,6 @@ export default {
],
},
payTypeCon: [],
- payChannelCon: [],
// 表单参数
form: {
@@ -314,7 +323,7 @@ export default {
onChange(file, fileList) {
if (fileList.length > 0) {
this.fileList = [fileList[fileList.length - 1]]//这一步,是 展示最后一次选择文件
- this.fileName=this.fileList[0].name
+ this.fileName = this.fileList[0].name
this.loadingBtn = true;
let formData = new FormData();
formData.append("file", this.fileList[0].raw);
@@ -359,10 +368,10 @@ export default {
this.infoList = response.rows;
this.total = Number(response.total);
this.loading = false;
- this.form.flagCard=''
+ this.form.flagCard = ''
});
- // 内充模板
- payBankPayment
+ // 内充模板
+ payBankPayment
.downloadManualTemplate()
.then((response) => {
this.url = response.msg
@@ -396,7 +405,7 @@ export default {
this.reset();
this.open = true;
this.title = "新增代付银行";
- this.form.flagCard='private_account'
+ this.form.flagCard = 'private_account'
},
/** 修改按钮操作 */
handleUpdate(row) {
diff --git a/src/views/pay/payBank/payBankPaymentFormList.vue b/src/views/pay/payBank/payBankPaymentFormList.vue
index 4351649..7d80562 100644
--- a/src/views/pay/payBank/payBankPaymentFormList.vue
+++ b/src/views/pay/payBank/payBankPaymentFormList.vue
@@ -6,9 +6,7 @@
代付银行配置
-
- 新增
-
+
@@ -39,8 +37,20 @@
- 搜索
- 重置
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+
+
@@ -50,7 +60,8 @@
+ inactive-value="close" @change="switchStatusChange(scope.row)"
+ v-hasPermi="['bank:bankPaymentForm:edit']">
@@ -58,8 +69,8 @@
- 编辑
+ 编辑
diff --git a/src/views/pay/payOrder/manyNeiChong.vue b/src/views/pay/payOrder/manyNeiChong.vue
index 6829414..8213e6b 100644
--- a/src/views/pay/payOrder/manyNeiChong.vue
+++ b/src/views/pay/payOrder/manyNeiChong.vue
@@ -42,7 +42,8 @@
- {{ form.channelContent }}
+ {{
+ form.channelContent }}
@@ -56,14 +57,15 @@
+ @change="getValue" v-hasPermi="['record:manual_query_bank']">
@@ -190,7 +192,7 @@ export default {
},
init(val) {
-
+
this.form.userId = val.userId
// 单笔内充-内充渠道(根据用户id查询)
manual_recharge_list
@@ -256,7 +258,7 @@ export default {
},
/** 提交按钮 */
submitForm() {
-
+
if (!this.fileList.length) {
this.$message.error('请上传内充文件')
}
@@ -290,10 +292,11 @@ export default {
};
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/src/views/pay/payOrder/payBalanceRecord.vue b/src/views/pay/payOrder/payBalanceRecord.vue
new file mode 100644
index 0000000..473361d
--- /dev/null
+++ b/src/views/pay/payOrder/payBalanceRecord.vue
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.isIncome == 'yes' ? '增加' : '减少' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/pay/payOrder/payDaiFuWater.vue b/src/views/pay/payOrder/payDaiFuWater.vue
index 6b5db1a..9ba7152 100644
--- a/src/views/pay/payOrder/payDaiFuWater.vue
+++ b/src/views/pay/payOrder/payDaiFuWater.vue
@@ -6,12 +6,7 @@
代付流水
-
- 导出
-
-
- 审核
-
+
@@ -85,10 +80,30 @@
value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期"
end-placeholder="结束日期" :picker-options="pickerOptions" :unlink-panels="true">
+
- 搜索
- 重置
+
+
+ 搜索
+ 重置
+
+
+
+
+ 导出
+
+
+ 审核
+
+
+
+
+
+
+
@@ -162,8 +177,8 @@
min-width="80">
手工处理
+ size="small" type="text" style="color: #006EFF;" @click="handleOrder(scope.row)"
+ v-hasPermi="['record:platform_payment_handle']">手工处理
@@ -215,7 +230,7 @@ import { common_api, platform_payment_list } from "@/api/form";
export default {
name: "PkAdWeiList",
- dicts: ['pay_status', 'source_type', 'yes_no','payment_status'],
+ dicts: ['pay_status', 'source_type', 'yes_no', 'payment_status'],
data() {
return {
statusOptions: [
diff --git a/src/views/pay/payOrder/payLineDownTranferWater.vue b/src/views/pay/payOrder/payLineDownTranferWater.vue
index 997691b..a2adfab 100644
--- a/src/views/pay/payOrder/payLineDownTranferWater.vue
+++ b/src/views/pay/payOrder/payLineDownTranferWater.vue
@@ -6,10 +6,6 @@
线下转卡流水
-
- 批量处理
-
@@ -65,8 +61,23 @@
end-placeholder="结束日期" :picker-options="pickerOptions" :unlink-panels="true">
- 搜索
- 重置
+
+
+ 搜索
+ 重置
+
+
+
+ 批量处理
+
+
+ 补发通知
+
+
+
+
@@ -96,7 +107,8 @@
">
{{ scope.row.storeSettle == 'yes'
? '已结算'
- : scope.row.storeSettle == 'no' || !scope.row.storeSettle ? '未结算' : scope.row.storeSettle == 'error' ? '结算失败'
+ : scope.row.storeSettle == 'no' || !scope.row.storeSettle ? '未结算' : scope.row.storeSettle ==
+ 'error' ? '结算失败'
: '部分结算' }}
@@ -150,7 +162,8 @@
min-width="80">
手工处理
+ style="color: #006EFF;" @click="handleOrder(scope.row)"
+ v-hasPermi="['record:card_order_handle']">手工处理
@@ -281,8 +294,6 @@ export default {
loading: true,
// 导出遮罩层
exportLoading: false,
- // 选中数组
- ids: [],
// 非单个禁用
single: true,
// 非多个禁用
@@ -331,6 +342,18 @@ export default {
this.init();
},
methods: {
+ // 通知
+ handleSay() {
+ this.loading = true;
+ card_order_list.reissueNotice(this.ids[0]).then((response) => {
+ if (response.code == 200) {
+ this.$message.success('补发成功')
+ this.loading = false;
+ }
+ }).catch(() => {
+ this.loading = false;
+ });
+ },
/** 手工处理 */
handleOrder(row) {
this.reset()
@@ -363,7 +386,7 @@ export default {
.catch(() => { });
},
-
+
init() {
},
diff --git a/src/views/pay/payOrder/payMoneyCalcu.vue b/src/views/pay/payOrder/payMoneyCalcu.vue
index 901efc0..7386843 100644
--- a/src/views/pay/payOrder/payMoneyCalcu.vue
+++ b/src/views/pay/payOrder/payMoneyCalcu.vue
@@ -54,7 +54,7 @@
min-width="100">
商户渠道资金明细
+ @click="handleView(scope.row)" v-hasPermi="['order:rechargeRecord:capitalList']">商户渠道资金明细
diff --git a/src/views/pay/payOrder/payMoneyTransfer.vue b/src/views/pay/payOrder/payMoneyTransfer.vue
index 4050270..c389673 100644
--- a/src/views/pay/payOrder/payMoneyTransfer.vue
+++ b/src/views/pay/payOrder/payMoneyTransfer.vue
@@ -6,9 +6,7 @@
资金划转流水
-
- 导出
-
+
@@ -61,8 +59,19 @@
end-placeholder="结束日期" :picker-options="pickerOptions" :unlink-panels="true">
- 搜索
- 重置
+
+
+ 搜索
+ 重置
+
+
+
+
+ 导出
+
+
+
+
diff --git a/src/views/pay/payOrder/payMoneyWater.vue b/src/views/pay/payOrder/payMoneyWater.vue
index b061f88..81d1aeb 100644
--- a/src/views/pay/payOrder/payMoneyWater.vue
+++ b/src/views/pay/payOrder/payMoneyWater.vue
@@ -72,10 +72,16 @@
- {{ scope.row.witType == 'recharge' ? '充值' : scope.row.witType == 'manual' ? '手工内充' : scope.row.witType
- == 'withdrawals' ? '提现'
- : scope.row.witType == 'withdrawals_reject' ? '提现返还' : scope.row.witType ==
- 'frozen' ? '资金冻结' : scope.row.witType == 'transfer' ? '资金划转' : '资金解冻'
+ {{ scope.row.witType == 'recharge' ? '充值' :
+ scope.row.witType == 'manual' ? '内充' :
+ scope.row.witType == 'withdrawals' ? '提现' :
+ scope.row.witType == 'withdrawals_reject' ? '提现返还' :
+ scope.row.witType == 'frozen' ? '冻结' :
+ scope.row.witType == 'transfer' ? '资金划转' :
+ scope.row.witType == 'unfrozen' ? '解冻' :
+ scope.row.witType == 'withdrawals_frozen' ? '冻结出款' :
+ scope.row.witType == 'agent_divide' ? '代理分成'
+ :'后台修改'
}}
diff --git a/src/views/pay/payOrder/payNeiChongWater.vue b/src/views/pay/payOrder/payNeiChongWater.vue
index 2602755..4c5ad8b 100644
--- a/src/views/pay/payOrder/payNeiChongWater.vue
+++ b/src/views/pay/payOrder/payNeiChongWater.vue
@@ -6,13 +6,7 @@
内充流水
-
- 导出
-
-
- 审核
-
+
@@ -80,10 +74,28 @@
value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期"
end-placeholder="结束日期" :picker-options="pickerOptions" :unlink-panels="true">
+
- 搜索
- 重置
+
+
+ 搜索
+ 重置
+
+
+
+
+ 导出
+
+
+ 审核
+
+
+
+
+
diff --git a/src/views/pay/payOrder/payOrderWater.vue b/src/views/pay/payOrder/payOrderWater.vue
index a86a358..5054bf5 100644
--- a/src/views/pay/payOrder/payOrderWater.vue
+++ b/src/views/pay/payOrder/payOrderWater.vue
@@ -6,13 +6,6 @@
订单流水
-
- 导出
-
-
- 补发通知
-
@@ -39,8 +32,8 @@
-->
-
-
+
{{ scope.row.tranAmt }}
@@ -149,8 +157,8 @@
- {{ scope.row.rate }}
- {{ scope.row.channelRate }}
+ {{ NumberMul(scope.row.rate, 100) }}%
+ {{ NumberMul(scope.row.channelRate, 100) }}%
@@ -159,14 +167,17 @@
{{ scope.row.cardType == 0 ? '借记卡' : '贷记卡' }}
-
-
+
+
+ 详情
+
手工处理
+ size="small" type="text" style="color: #006EFF;" @click="handleOrder(scope.row)"
+ v-hasPermi="['order:rechargeRecord:payHandle']">手工处理
@@ -188,6 +199,214 @@
取消
+
+
+
+
+
+
+
+
+
+ {{ detailInfoList.orderNo }}
+
+
+
+ {{ detailInfoList.orderStatus == 'pay_unpaid' ? '未支付' : detailInfoList.orderStatus ==
+ 'pay_success' ?
+ '支付成功' :
+ detailInfoList.orderStatus == 'pay_failure' ? '支付失败' : detailInfoList.orderStatus ==
+ 'pay_processing' ? '支付处理中' : '已关闭' }}
+
+
+
+ {{ detailInfoList.sourceType == 's_manual' ? '手工提单' : 'API下发' }}
+
+
+ {{ detailInfoList.storeId }}
+
+
+ {{ detailInfoList.outTradeNo }}
+
+
+ {{ detailInfoList.payAmt }}
+
+
+ {{ detailInfoList.payChannelName }}
+
+
+ {{ detailInfoList.payTime }}
+
+
+ {{ detailInfoList.payTypeName }}
+
+
+
+ {{ detailInfoList.orderMsg }}
+
+
+
+
+
+ {{ detailInfoList.poundageAmt }}
+
+
+ {{ NumberMul(detailInfoList.poundageRate, 100) }}%
+
+
+ {{ detailInfoList.storeName }}
+
+
+ {{ detailInfoList.storeNo }}
+
+
+
+ {{ detailInfoList.storeSettle == 'yes' ? '已结算' : detailInfoList.storeSettle == 'no' ||
+ !detailInfoList.storeSettle ? '未结算' :
+ detailInfoList.storeSettle == 'error' ? '结算失败' : '部分结算' }}
+
+
+
+ {{ detailInfoList.storeSettleTime }}
+
+
+
+ {{ detailInfoList.storeType == 'my_store'
+ ? '代理自己商户'
+ : detailInfoList.storeType == 'directly_under' ? '平台直属商户' : '代理下级商户' }}
+
+
+
+ {{ detailInfoList.tranAmt }}
+
+
+ {{ detailInfoList.transactionId }}
+
+
+ {{ detailInfoList.userId }}
+
+
+
+
+
+
+ {{ detailInfoList.updateTime }}
+
+
+ {{ detailInfoList.createTime }}
+
+
+ {{ detailInfoList.productName }}
+
+
+ {{ detailInfoList.rateAmt }}
+
+
+ {{ detailInfoList.realAmt }}
+
+
+ {{ detailInfoList.signType }}
+
+
+ {{ detailInfoList.bankCode }}
+
+
+ {{ detailInfoList.bankId }}
+
+
+
+ {{ detailInfoList.cardType == 'debit_card' ? '借记卡' : '贷记卡' }}
+
+
+
+ {{ detailInfoList.channelType }}
+
+
+
+
+
+ {{ detailInfoList.productDesc }}
+
+
+
+ {{ NumberMul(detailInfoList.rate, 100) }}%
+
+
+ {{ detailInfoList.backUrl }}
+
+
+ {{ detailInfoList.mchId }}
+
+
+ {{ detailInfoList.mchName }}
+
+
+ {{ detailInfoList.mediaType }}
+
+
+ {{ detailInfoList.mobile }}
+
+
+ {{ detailInfoList.name }}
+
+
+
+
+
+
+
+
+ 无
+
+
+
+
+
+
+
+ {{ detailInfoList.notifyUrl }}
+
+
+
+
+
+
+
+
+
+
+
+
@@ -199,6 +418,12 @@ export default {
dicts: ['pay_status'],
data() {
return {
+ // 详情
+ detailInfoList: {
+ rate: '',
+ poundageRate: '',
+ agentRate: '',
+ },
pickerOptions: {
shortcuts: [
{
@@ -302,8 +527,6 @@ export default {
value: 'part',
},
],
- // 选中数组
- ids: [],
// 非单个禁用
single: true,
// 非多个禁用
@@ -344,7 +567,7 @@ export default {
mchId: null,
mchName: null,
orderStatus: null,
- name: null,
+ storeName: null,
settleStatus: null,
payType: null,
channelType: null,
@@ -354,12 +577,14 @@ export default {
form: {},
// 表单校验
rules: {
- positionName: [
- { required: true, message: "请输入广告名称", trigger: "blur" },
- ]
},
detailData: {},
isShowDetail: false,
+ // 详情
+ isShowDetailMy: false,
+ detailTitle: '',
+ // 预览
+ srcList: ['https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg'],
};
},
created() {
@@ -367,6 +592,17 @@ export default {
this.init();
},
methods: {
+ // 预览图片
+ previewImage(abUrl) {
+ this.srcList[0] = abUrl;
+ },
+ // 查看详情
+ handleViewMy(row) {
+ this.reset();
+ this.detailInfoList = row;
+ this.isShowDetailMy = true;
+ this.detailTitle = "订单流水详情";
+ },
/** 手工处理 */
handleOrder(row) {
this.reset()
@@ -412,7 +648,7 @@ export default {
},
// 多选框选中数据
handleSelectionChange(selection) {
- this.ids = selection.map(item => item.storeId)
+ this.ids = selection.map(item => item.keyId)
this.single = selection.length != 1
this.multiple = !selection.length
},
@@ -429,6 +665,7 @@ export default {
// 取消按钮
cancel() {
this.open = false;
+ this.isShowDetail=false
this.reset();
},
// 表单重置
@@ -479,32 +716,12 @@ export default {
}
});
},
- /** 删除按钮操作 */
- handleDelete(row) {
- const ids = row.id || this.ids;
- this.$confirm(
- '是否确认删除广告位名称为"' + row.positionName + '"的数据项?',
- "警告",
- {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
- }
- )
- .then(function () {
- return pkUserInfo.delInfo(ids);
- })
- .then(() => {
- this.getList();
- this.msgSuccess("删除成功");
- })
- .catch(() => { });
- }
+
},
};
\ No newline at end of file
diff --git a/src/views/pay/payOrder/pkCouponScopeRangeStoreList.vue b/src/views/pay/payOrder/pkCouponScopeRangeStoreList.vue
index 239661e..d11375d 100644
--- a/src/views/pay/payOrder/pkCouponScopeRangeStoreList.vue
+++ b/src/views/pay/payOrder/pkCouponScopeRangeStoreList.vue
@@ -2,7 +2,7 @@
-
+
在途总金额(元):{{ sum.onRouteAmount }}
@@ -50,13 +50,15 @@
-
+
- 私户转入
- 资金冻结
- 资金划转
+ 修改余额
+ 私户转入
+ 资金冻结
+ 资金划转
@@ -68,7 +70,7 @@
-
+
{{ detailData.accountNo }}
@@ -91,8 +93,8 @@
@@ -100,7 +102,7 @@
-
+
{{ detailData.accountNo }}
@@ -122,7 +124,8 @@
{{ detailData.useCapital }}(元)
-
+
@@ -132,7 +135,7 @@
@@ -141,7 +144,7 @@
-
+
代付银行卡
@@ -176,7 +179,8 @@
{{ detailData.useCapital }}元
-
+
@@ -186,10 +190,43 @@
+
+
+
+
+
+
+ {{ detailData.accountNo }}
+
+
+ {{ detailData.useCapital }}元
+
+
+
+ {{ dict.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -219,6 +256,16 @@ export default {
}
}
return {
+ type: [
+ {
+ label: '增加',
+ value: 'yes'
+ },
+ {
+ label: '减少',
+ value: 'no'
+ },
+ ],
// 用户默认的出金通道
userWithdrawalChannel: {},
accountCon: [],
@@ -246,7 +293,7 @@ export default {
open: false,
openTransfer: false,
openBank: false,
-
+ openBalance: false,
// 查询参数
queryParams: {
pageNum: 1,
@@ -267,6 +314,9 @@ export default {
},
// 表单校验
rules: {
+ afterAmt: [
+ { required: true, message: "请输入本次修改金额", trigger: "blur" },
+ ],
paymentAmount: [
{ required: true, message: "请输入本次代付金额", trigger: "blur" },
],
@@ -343,12 +393,11 @@ export default {
})
},
// 私户
- handlePrivateTransfer(row) {
- this.reset();
+ handlePrivateTransfer(row,v) {
+ this.reset(v);
this.loading = true;
// 获取用户出金
this.getUserWithdrawalChannel();
-
payMoneyCalcu.getWithdrawalChannel({
channelType: row.channelType,
flagCard: 'private_account'
@@ -363,15 +412,14 @@ export default {
storeId: this.queryParams.storeId
})
.then((response) => {
+ this.form.accountNo=row.accountNo
this.detailData = response.data
-
-
});
});
},
// 资金划转
- handleTransfer(row) {
- this.reset();
+ handleTransfer(row,v) {
+ this.reset(v);
this.form.storeId = this.pkCouponStore.storeId
this.loading = true;
// 获取虚拟资金
@@ -393,15 +441,48 @@ export default {
});
},
+ // 余额修改
+ subUpdateBalance(a,v){
+ var googleCode=this.form.googleCode
+ this.$refs[v].validate((valid) => {
+ if (valid) {
+ const loading = this.$loading({
+ lock: true,
+ text: `正在修改`,
+ spinner: "el-icon-loading",
+ background: "rgba(0, 0, 0, 0.7)",
+ });
+ payMoneyCalcu
+ .updateBalance({
+ accountNo:this.form.accountNo,
+ googleCode:googleCode,
+ updateUserId:this.form.updateUserId,
+ isIncome:this.form.isIncome,
+ tranAmt:this.form.afterAmt,
+ })
+ .then((response) => {
+ loading.close();
+ if (response.code == 200) {
+ this.$message.success('修改成功')
+ this.getList();
+ }
+ this.openBalance = false
+ })
+ .catch(() => {
+ loading.close();
+ });
+ }
+ });
+ },
/** 提交按钮 */
- submitForm(type) {
+ submitForm(type,val) {
if (type == 'private') {
this.form.storeId = this.pkCouponStore.storeId
if (this.form.paymentAmount > this.detailData.useCapital) {
this.$message.error('余额不足')
return;
}
- this.$refs["form"].validate((valid) => {
+ this.$refs[val].validate((valid) => {
if (valid) {
const loading = this.$loading({
lock: true,
@@ -429,8 +510,8 @@ export default {
this.$message.error('余额不足')
return;
}
-
- this.$refs["form"].validate((valid) => {
+
+ this.$refs[val].validate((valid) => {
if (valid) {
const loading = this.$loading({
lock: true,
@@ -438,7 +519,7 @@ export default {
spinner: "el-icon-loading",
background: "rgba(0, 0, 0, 0.7)",
});
- this.form.accountNo=this.detailData.accountNo
+ this.form.accountNo = this.detailData.accountNo
payMoneyCalcu
.transferCapitalSave(this.form)
.then((response) => {
@@ -458,7 +539,7 @@ export default {
this.$message.error('余额不足')
return;
}
- this.$refs["form"].validate((valid) => {
+ this.$refs[val].validate((valid) => {
if (valid) {
const loading = this.$loading({
lock: true,
@@ -483,9 +564,18 @@ export default {
}
},
+ // 手动修改余额
+ updateBalance(row,v) {
+ this.reset(v);
+ this.detailData = row
+ this.form.accountNo = row.accountNo
+ this.form.updateUserId = row.userId
+ this.form.isIncome = 'yes'
+ this.openBalance = true;
+ },
// 资金冻结
- handleFrozen(row) {
- this.reset();
+ handleFrozen(row,v) {
+ this.reset(v);
this.detailData = row
this.form.storeId = this.pkCouponStore.storeId
this.form.accountNo = this.detailData.accountNo
@@ -502,13 +592,13 @@ export default {
this.total = Number(response.data.total)
this.loading = false;
});
- payMoneyCalcu.amountCount({
- storeId:this.pkCouponStore.storeId,
- channelType:'',
- payType:'',
- })
+ payMoneyCalcu.amountCount({
+ storeId: this.pkCouponStore.storeId,
+ channelType: '',
+ payType: '',
+ })
.then((response) => {
- this.sum=response.data
+ this.sum = response.data
});
},
init() {
@@ -520,17 +610,18 @@ export default {
});
},
// 取消按钮
- cancel() {
+ cancel(type) {
this.open = false;
this.openTransfer = false;
this.openBank = false
- this.reset();
+ this.openBalance = false
+ this.reset(type);
},
// 表单重置
- reset() {
+ reset(type) {
this.form = {};
this.detailData = {};
- this.resetForm("form");
+ this.resetForm(type);
},
/** 搜索按钮操作 */
handleQuery() {
@@ -549,6 +640,9 @@ export default {
this.open = true;
this.title = "添加适用商家";
},
+ change() {
+ this.$forceUpdate()
+ },
selectChange(data) {
this.$set(this.form, 'storeName', data.storeName)
this.form.pkStoreId = data.id;
diff --git a/src/views/pay/payOrder/singleNeiChong.vue b/src/views/pay/payOrder/singleNeiChong.vue
index dbbe856..138b449 100644
--- a/src/views/pay/payOrder/singleNeiChong.vue
+++ b/src/views/pay/payOrder/singleNeiChong.vue
@@ -15,13 +15,13 @@
@keyup.enter.native="handleQuery" style="width: 215px;border-color: #E6F1FF;" />
- 搜索
+ 搜索
重置
-
+
@@ -33,12 +33,12 @@
-
- {{ form.channelContent }}
+
+ {{ form.channelContent }}
+ @change="getValue" v-hasPermi="['record:manual_query_bank']">
@@ -56,9 +56,9 @@
-
+
+ @change="change" v-hasPermi="['record:manual_query_bank_user']">
@@ -86,7 +86,7 @@
oninput="value=value.replace(/[^\d.]/g,'').replace(/^\./g, '').replace(/\.{2,}/g, '').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').match(/^\d*(\.?\d{0,4})/g)[0] || null" />
diff --git a/src/views/pay/payTest/payCode.vue b/src/views/pay/payTest/payCode.vue
index 74c5ae4..9109ed1 100644
--- a/src/views/pay/payTest/payCode.vue
+++ b/src/views/pay/payTest/payCode.vue
@@ -17,10 +17,10 @@
-
+
-
+
@@ -66,7 +66,7 @@
获取签名
+ @click="handleSay" v-hasPermi="['pay:test:paySign']">获取签名
{
+ // savePayConfig() {
+ // if (!this.infoList.googleCode) {
+ // this.$message.error("请填写谷歌动态验证码");
+ // return;
+ // }
+ // this.loading = true
+ // this.infoList.storeId = this.val;
+ // this.infoList.id = this.infoList.id < 1 ? null : this.infoList.id;
+ // payAgentUser
+ // .updateStoreConfig(this.infoList)
+ // .then((response) => {
- this.msgSuccess("编辑成功");
- this.getList(this.val)
- this.loading = false;
- })
- .catch((err) => {
- this.loading = false;
- });
- },
+ // this.msgSuccess("编辑成功");
+ // this.getList(this.val)
+ // this.loading = false;
+ // })
+ // .catch((err) => {
+ // this.loading = false;
+ // });
+ // },
},
};
diff --git a/src/views/pay/payTest/payDai.vue b/src/views/pay/payTest/payDai.vue
index ceb0847..3abcf50 100644
--- a/src/views/pay/payTest/payDai.vue
+++ b/src/views/pay/payTest/payDai.vue
@@ -17,10 +17,10 @@
-
+
-
+
@@ -64,7 +64,7 @@
获取签名
+ @click="handleSay" v-hasPermi="['pay:test:paymentSign']">获取签名
内充银行配置
-
- 新增
-
+
@@ -35,8 +33,19 @@
- 搜索
- 重置
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+
+
@@ -70,7 +79,7 @@
+ inactive-value="close" @change="switchStatusChange(scope.row)" v-hasPermi="['pay:bankManualUser:edit']">
@@ -79,7 +88,7 @@
编辑
+ @click="handleUpdate(scope.row)" v-hasPermi="['pay:bankManualUser:edit']">编辑
diff --git a/src/views/pay/payType/payChannelDefult.vue b/src/views/pay/payType/payChannelDefult.vue
index c2c1482..4d1d869 100644
--- a/src/views/pay/payType/payChannelDefult.vue
+++ b/src/views/pay/payType/payChannelDefult.vue
@@ -23,7 +23,7 @@
diff --git a/src/views/pay/payType/payChannelOut.vue b/src/views/pay/payType/payChannelOut.vue
index f099105..f84b71b 100644
--- a/src/views/pay/payType/payChannelOut.vue
+++ b/src/views/pay/payType/payChannelOut.vue
@@ -6,9 +6,7 @@
出金渠道配置
-
- 新增
-
+
@@ -33,8 +31,19 @@
- 搜索
- 重置
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+
+
@@ -62,9 +71,9 @@
编辑
+ @click="handleUpdate(scope.row)" v-hasPermi="['pay:channelOut:edit']">编辑
删除
+ @click="handleDelete(scope.row)" v-hasPermi="['pay:channelOut:remove']">删除
diff --git a/src/views/pay/payType/payTypeChannel.vue b/src/views/pay/payType/payTypeChannel.vue
index b4ca376..0448fa4 100644
--- a/src/views/pay/payType/payTypeChannel.vue
+++ b/src/views/pay/payType/payTypeChannel.vue
@@ -6,9 +6,7 @@
渠道类型管理
-
- 新增
-
+
@@ -20,19 +18,37 @@
@keyup.enter.native="handleQuery" style="width: 215px;border-color: #E6F1FF;" />
- 搜索
- 重置
-
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
- 编辑
+ 编辑
@@ -49,6 +65,14 @@
+
+
+
+
+
+
+
-
- 新增
-
+
@@ -42,8 +40,20 @@
- 搜索
- 重置
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+
+
@@ -78,14 +88,14 @@
{{ NumberMul(scope.row.poundageRate, 100) }}%
-
-
-
+
+
+
+ inactive-value="close" @change="switchStatusChange(scope.row)" v-hasPermi="['pay:payConfig:edit']">
@@ -95,7 +105,8 @@
- 编辑
+ 编辑
@@ -200,6 +211,7 @@
+
diff --git a/src/views/pay/payType/payTypeManage.vue b/src/views/pay/payType/payTypeManage.vue
index 35a183d..bedc1c3 100644
--- a/src/views/pay/payType/payTypeManage.vue
+++ b/src/views/pay/payType/payTypeManage.vue
@@ -6,31 +6,33 @@
支付类型管理
-
- 新增
-
+
-
+
+
+
+
+
+ 新增
+
+
+
+
+
+
- 编辑
+ 编辑
diff --git a/src/views/pay/payType/payTypeSettleConfig.vue b/src/views/pay/payType/payTypeSettleConfig.vue
index 16fdab9..1024ee7 100644
--- a/src/views/pay/payType/payTypeSettleConfig.vue
+++ b/src/views/pay/payType/payTypeSettleConfig.vue
@@ -6,9 +6,7 @@
结算配置管理
-
- 新增
-
+
@@ -33,8 +31,19 @@
- 搜索
- 重置
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+
+
@@ -72,9 +81,9 @@
编辑
+ @click="handleUpdate(scope.row)" v-hasPermi="['pay:settleConfig:edit']">编辑
删除
+ @click="handleDelete(scope.row)" v-hasPermi="['pay:settleConfig:remove']">删除
diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue
index 9f2c073..da9e6ce 100644
--- a/src/views/system/config/index.vue
+++ b/src/views/system/config/index.vue
@@ -6,7 +6,60 @@
参数设置
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
刷新缓存
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
+
+
+
+
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index aa5f137..663bc6a 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -6,101 +6,68 @@
部门管理
-
- 新增
-
-
- 展开/折叠
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 新增
- 删除
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+ 展开/折叠
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ 修改
+ 新增
+ 删除
+
+
+
+
@@ -145,11 +112,8 @@
- {{dict.label}}
+ {{ dict.label }}
@@ -313,7 +277,7 @@ export default {
});
},
/** 提交按钮 */
- submitForm: function() {
+ submitForm: function () {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.deptId != undefined) {
@@ -334,12 +298,12 @@ export default {
},
/** 删除按钮操作 */
handleDelete(row) {
- this.$modal.confirm('是否确认删除名称为"' + row.deptName + '"的数据项?').then(function() {
+ this.$modal.confirm('是否确认删除名称为"' + row.deptName + '"的数据项?').then(function () {
return delDept(row.deptId);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
- }).catch(() => {});
+ }).catch(() => { });
}
}
};
diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue
index 0162215..069a770 100644
--- a/src/views/system/dict/index.vue
+++ b/src/views/system/dict/index.vue
@@ -6,58 +6,7 @@
字典管理
-
- 新增
-
-
- 修改
-
-
- 删除
-
-
- 导出
-
-
- 刷新缓存
-
+
@@ -111,9 +60,69 @@
>
- 搜索
- 重置
-
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+ 刷新缓存
+
+
+
+
+
@@ -272,7 +281,7 @@ export default {
this.loading = true;
listType(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
this.typeList = response.rows;
- this.total = response.total;
+ this.total = Number(response.total);
this.loading = false;
}
);
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index dc0f675..25333a4 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -7,111 +7,79 @@
菜单管理
-
- 新增
-
-
- 展开/折叠
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
-
+
+
+ 新增
+
+
+ 展开/折叠
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 新增
- 删除
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ 修改
+ 新增
+ 删除
+
+
+
+
@@ -119,13 +87,8 @@
-
+
@@ -139,21 +102,11 @@
-
+
-
+
@@ -173,7 +126,7 @@
-
+
是否外链
@@ -187,7 +140,7 @@
-
+
路由地址
@@ -198,7 +151,7 @@
-
+
组件路径
@@ -210,7 +163,7 @@
-
+
权限字符
@@ -221,7 +174,7 @@
-
+
路由参数
@@ -231,7 +184,7 @@
-
+
是否缓存
@@ -245,16 +198,13 @@
-
+
显示状态
- {{dict.label}}
+ {{ dict.label }}
@@ -262,16 +212,13 @@
-
+
菜单状态
- {{dict.label}}
+ {{ dict.label }}
@@ -431,7 +378,7 @@ export default {
});
},
/** 提交按钮 */
- submitForm: function() {
+ submitForm: function () {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.menuId != undefined) {
@@ -452,12 +399,12 @@ export default {
},
/** 删除按钮操作 */
handleDelete(row) {
- this.$modal.confirm('是否确认删除名称为"' + row.menuName + '"的数据项?').then(function() {
+ this.$modal.confirm('是否确认删除名称为"' + row.menuName + '"的数据项?').then(function () {
return delMenu(row.menuId);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
- }).catch(() => {});
+ }).catch(() => { });
}
}
};
diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue
index 5020cc0..565e760 100644
--- a/src/views/system/notice/index.vue
+++ b/src/views/system/notice/index.vue
@@ -7,38 +7,7 @@
通知公告
-
- 新增
-
-
- 修改
-
-
- 删除
-
+
@@ -71,9 +40,49 @@
- 搜索
- 重置
-
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+
+
+
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index 1c2c788..8208e81 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -6,22 +6,7 @@
岗位管理
-
- 新增
-
-
- 修改
-
-
- 删除
-
-
- 导出
-
+
@@ -40,9 +25,33 @@
- 搜索
- 重置
-
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index bf1bc34..5b9b1e4 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -7,76 +7,87 @@
角色管理
-
- 新增
-
-
- 修改
-
-
- 删除
-
-
- 导出
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 删除
-
-
-
-
+
+
+
-
-
+
+
@@ -114,8 +125,8 @@
- {{ dict.label }}
+ {{ dict.label
+ }}
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 9e6bb7d..b288b48 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -73,7 +73,7 @@
- {{ scope.row.userName }}
+ {{ scope.row.userName }}
@@ -83,7 +83,7 @@
:show-overflow-tooltip="true" />
-
@@ -98,6 +98,8 @@
+ 查看谷歌密钥
修改
-
+
diff --git a/src/views/tool/gen/editTable.vue b/src/views/tool/gen/editTable.vue
index 951497a..ea64783 100644
--- a/src/views/tool/gen/editTable.vue
+++ b/src/views/tool/gen/editTable.vue
@@ -1,5 +1,5 @@
-
+
diff --git a/src/views/tool/gen/importTable.vue b/src/views/tool/gen/importTable.vue
index 3ea9532..0579773 100644
--- a/src/views/tool/gen/importTable.vue
+++ b/src/views/tool/gen/importTable.vue
@@ -84,9 +84,10 @@ export default {
// 查询表数据
getList() {
listDbTable(this.queryParams).then(res => {
- if (res.code === 200) {
+ if (res.rows) {
this.dbTableList = res.rows;
- this.total = res.total;
+ this.total = Number(res.total);
+ this.$forceUpdate()
}
});
},
diff --git a/src/views/tool/gen/index.vue b/src/views/tool/gen/index.vue
index d17636c..54483e7 100644
--- a/src/views/tool/gen/index.vue
+++ b/src/views/tool/gen/index.vue
@@ -6,174 +6,91 @@
代码生成
-
- 生成
-
-
- 导入
-
-
- 修改
-
-
- 删除
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
- {{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}
-
-
-
-
-
-
-
-
-
- 预览
- 编辑
- 删除
- 同步
- 生成代码
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+ 生成
+
+
+ 导入
+
+
+ 修改
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+ {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}
+
+
+
+
+
+
+
+
+
+ 预览
+ 编辑
+ 删除
+ 同步
+ 生成代码
+
+
+
+
-
- 复制
+
+ 复制
@@ -251,10 +168,10 @@ export default {
getList() {
this.loading = true;
listTable(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
- this.tableList = response.rows;
- this.total = response.total;
- this.loading = false;
- }
+ this.tableList = response.rows;
+ this.total = Number(response.total);
+ this.loading = false;
+ }
);
},
/** 搜索按钮操作 */
@@ -269,7 +186,7 @@ export default {
this.$modal.msgError("请选择要生成的数据");
return;
}
- if(row.genType === "1") {
+ if (row.genType === "1") {
genCode(row.tableName).then(response => {
this.$modal.msgSuccess("成功生成到自定义路径:" + row.genPath);
});
@@ -280,11 +197,11 @@ export default {
/** 同步数据库操作 */
handleSynchDb(row) {
const tableName = row.tableName;
- this.$modal.confirm('确认要强制同步"' + tableName + '"表结构吗?').then(function() {
+ this.$modal.confirm('确认要强制同步"' + tableName + '"表结构吗?').then(function () {
return synchDb(tableName);
}).then(() => {
this.$modal.msgSuccess("同步成功");
- }).catch(() => {});
+ }).catch(() => { });
},
/** 打开导入表弹窗 */
openImportTable() {
@@ -332,12 +249,12 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const tableIds = row.tableId || this.ids;
- this.$modal.confirm('是否确认删除表编号为"' + tableIds + '"的数据项?').then(function() {
+ this.$modal.confirm('是否确认删除表编号为"' + tableIds + '"的数据项?').then(function () {
return delTable(tableIds);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
- }).catch(() => {});
+ }).catch(() => { });
}
}
};
diff --git a/测试.zip b/测试.zip
new file mode 100644
index 0000000..7dec57e
Binary files /dev/null and b/测试.zip differ