|
|
@@ -49,21 +49,24 @@ |
|
|
|
<el-table-column prop="snippet" label="摘要" width="200px" /> |
|
|
|
<el-table-column label="操作" class="table_btn" width="500px" align="center"> |
|
|
|
<template v-slot="scope"> |
|
|
|
<el-tooltip content="拒绝" placement="top"> |
|
|
|
<el-tooltip content="拒绝" placement="top" v-if="scope.row.status == null"> |
|
|
|
<el-button type="warning" @click="опровергать(scope.row)">拒绝</el-button> |
|
|
|
</el-tooltip> |
|
|
|
<el-tooltip content="同意" placement="top"> |
|
|
|
<el-tooltip content="同意" placement="top" v-if="scope.row.status == null"> |
|
|
|
<el-button type="warning" @click="agree(scope.row)">同意</el-button> |
|
|
|
</el-tooltip> |
|
|
|
<el-tooltip content="请输入对公账号" placement="top"> |
|
|
|
<el-tooltip content="请输入对公账号" placement="top" v-if="scope.row.status == null"> |
|
|
|
<el-button type="warning" @click="opendialo">请输入对公账号</el-button> |
|
|
|
</el-tooltip> |
|
|
|
<el-tooltip :content="filterType(scope.row.status)" placement="top" v-if="scope.row.status != null"> |
|
|
|
<el-button type="primary" @click="opendialo" disabled>{{filterType(scope.row.status)}}</el-button> |
|
|
|
</el-tooltip> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<div class="page_box"> |
|
|
|
<el-pagination :page-size="20" :pager-count="11" layout="prev, pager, next" :total="pageCount" |
|
|
|
@current-change="pagechange" /> |
|
|
|
v-model="pageNo"/> |
|
|
|
</div> |
|
|
|
<el-dialog v-model="dialogFormVisible" :title="title"> |
|
|
|
<el-form :model="form"> |
|
|
@@ -324,10 +327,10 @@ const grabble = () => { |
|
|
|
proxy.$request |
|
|
|
.post('/advancepayment/queryPage',data,{}) |
|
|
|
.then((res) => { |
|
|
|
console.log(res, form.data_id, form.value) |
|
|
|
if (res.data.success) { |
|
|
|
tableData.value = res.data.result |
|
|
|
console.log('res', tableData) |
|
|
|
//console.log(res.data,data) |
|
|
|
if (res.data.code == 200) { |
|
|
|
tableData.value = res.data.data.result |
|
|
|
//console.log('res', tableData) |
|
|
|
pageCount.value = res.data.pageCount |
|
|
|
} |
|
|
|
}) |
|
|
@@ -384,15 +387,11 @@ const opendialo = (row) => { |
|
|
|
//过滤状态 |
|
|
|
const filterType = (type: Number) => { |
|
|
|
if (type == -1) { |
|
|
|
return '拒绝' |
|
|
|
} else if (type == 0) { |
|
|
|
return '待审核' |
|
|
|
} else if (type == 1) { |
|
|
|
return '密码已修改' |
|
|
|
} else if (type == 2) { |
|
|
|
return '已通过' |
|
|
|
return '审核通过' |
|
|
|
} else if (type == -2) { |
|
|
|
return '已驳回' |
|
|
|
} else { |
|
|
|
return '其他' |
|
|
|
return '未审核' |
|
|
|
} |
|
|
|
} |
|
|
|
|