Browse Source

Merge branch 'master' of https://gitee.com/dmc_qq/etc-project into master

master
wq 3 years ago
parent
commit
287d44ee3b

+ 9
- 6
src/views/fancongcong/advancepaymentaccount/advancepaymentaccount.vue View File

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

proxy.$request.post('/advancepayment/account', data,{}).then((res) => { proxy.$request.post('/advancepayment/account', data,{}).then((res) => {
console.log(res, form.data_id, form.value) console.log(res, form.data_id, form.value)
if (res.data.success) { if (res.data.success) {


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

+ 2
- 2
src/views/fancongcong/corporateaccountManage/corporateaccountManage.vue View File

//导入模块 //导入模块
import { Search } from '@element-plus/icons-vue' import { Search } from '@element-plus/icons-vue'
import { ElMessage, ElMessageBox } from 'element-plus' 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" import { account } from "@/views/fancongcong/publicJs/account"
console.log(account)
//console.log(account)


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

Loading…
Cancel
Save