瀏覽代碼

调整代码,接入对公充值审核

master
admin 3 年之前
父節點
當前提交
83e4120a5b

+ 9
- 6
src/views/fancongcong/advancepaymentaccount/advancepaymentaccount.vue 查看文件

@@ -151,7 +151,7 @@ let dialogFormVisibles = ref(false)
let pageCount = ref(0) //总页数
let formLabelWidth = '140px'
let form = reactive({
phone: '13078580843', //手机号
phone: '', //手机号
region: '', //验证码
delivery: false, //是否展示详细
number: '', //对公账户资金账户编号
@@ -233,7 +233,7 @@ const tableData = ref([
//事件
//同意申请
const agree = (row) => {
console.log(row.id)
console.log("id",row.id)
dialogFormVisible.value = false;
ElMessageBox.confirm('确定通过这个申请?', '警告', {
confirmButtonText: '确定',
@@ -289,9 +289,9 @@ const опровергать = (row) => {
}
//驳回申请原因
const getMsg = () => {
proxy.$request.post('/advancepayment/confirm', {
proxy.$request.post('reason', {
id: form.data_id,
message: form.data_msg,
reason: form.data_msg,
value: 1
}, {
//baseURL: 'http://localhost:8089',
@@ -367,6 +367,9 @@ const account = () => {
accountId: form.phone,
//baseURL: 'http://localhost:8089'
}
console.log(data)
return

proxy.$request.post('/advancepayment/account', data,{}).then((res) => {
console.log(res, form.data_id, form.value)
if (res.data.success) {
@@ -386,9 +389,9 @@ const opendialo = (row) => {

//过滤状态
const filterType = (type: Number) => {
if (type == -1) {
if (type == 1) {
return '审核通过'
} else if (type == -2) {
} else if (type == 2) {
return '已驳回'
} else {
return '未审核'

+ 2
- 2
src/views/fancongcong/corporateaccountManage/corporateaccountManage.vue 查看文件

@@ -186,9 +186,9 @@
//导入模块
import { Search } from '@element-plus/icons-vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { reactive, ref, getCurrentInstance, onMounted } from 'vue'
import { reactive, ref, getCurrentInstance, onMounted,watch } from 'vue'
import { account } from "@/views/fancongcong/publicJs/account"
console.log(account)
//console.log(account)

//变量定义
let form: any = ref({

Loading…
取消
儲存