|
@ -41,12 +41,14 @@ |
|
|
<el-table-column fixed label="操作" align="center" width="180"> |
|
|
<el-table-column fixed label="操作" align="center" width="180"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-button v-show="scope.row.auditState == 3" type="primary" size="mini" @click="handleDownLoad(scope.row)">下载</el-button> |
|
|
<el-button v-show="scope.row.auditState == 3" type="primary" size="mini" @click="handleDownLoad(scope.row)">下载</el-button> |
|
|
|
|
|
<el-button type="primary" size="mini" v-show="!scope.row.recallAtn" @click="toEdit(scope.row)">办理</el-button> |
|
|
|
|
|
<el-button type="danger" size="mini" v-show="scope.row.recallAtn" @click="toRevocation(scope.row)">撤回</el-button> |
|
|
<el-button type="primary" size="mini" @click="handLook(scope.row)">查看</el-button> |
|
|
<el-button type="primary" size="mini" @click="handLook(scope.row)">查看</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="审核状态" align="center" width="90"> |
|
|
<el-table-column label="审核状态" align="center" width="90"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span>{{ scope.row.auditState == 1 ? '待审核' : scope.row.auditState == 2 ? '已驳回' : scope.row.auditState ==3 ? '已审核' : '其他' }}</span> |
|
|
<span>{{ scope.row.auditState == 1 ? '待审核' : scope.row.auditState == 2 ? '已驳回' : scope.row.auditState ==3 ? '已审核' : '' }}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="下载次数" align="center" width="90"> |
|
|
<el-table-column label="下载次数" align="center" width="90"> |
|
@ -149,13 +151,13 @@ |
|
|
<el-button size="small" :disabled="visibleDisabled" @click="dialogVisible = false">取消</el-button> |
|
|
<el-button size="small" :disabled="visibleDisabled" @click="dialogVisible = false">取消</el-button> |
|
|
</span> |
|
|
</span> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
<acknowledgementReceiptAdd v-show="viewState == 2" ref="divAdd" @doback="resetState" @reloadlist="getList"/> |
|
|
<acknowledgementReceiptAdd v-show="viewState == 2 || viewState == 3" ref="divAdd" @doback="resetState" @reloadlist="getList"/> |
|
|
<acknowledgementReceiptInfo v-show="viewState == 3" ref="divInfo" @doback="resetState"/> |
|
|
<acknowledgementReceiptInfo v-show="viewState == 4" ref="divInfo" @doback="resetState"/> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import { createPdf, listPage } from '@/api/anruifinmanagement/paymentConfirmation.js' |
|
|
import { createPdf, listPage, recallConfirm } from '@/api/anruifinmanagement/paymentConfirmation.js' |
|
|
import Pagination from '@/components/pagination' |
|
|
import Pagination from '@/components/pagination' |
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
import pageye from '@/components/pagination/pageye' |
|
|
import pageye from '@/components/pagination/pageye' |
|
@ -323,6 +325,32 @@ export default { |
|
|
this.print = '' |
|
|
this.print = '' |
|
|
this.dialogVisible = true |
|
|
this.dialogVisible = true |
|
|
}, |
|
|
}, |
|
|
|
|
|
toRevocation(row) { |
|
|
|
|
|
const tip = '请确认是否撤回该申请?' |
|
|
|
|
|
this.$confirm(tip, '提示', { |
|
|
|
|
|
confirmButtonText: '确定', |
|
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
|
type: 'warning' |
|
|
|
|
|
}).then(() => { |
|
|
|
|
|
const loading = this.$loading({ |
|
|
|
|
|
lock: true, |
|
|
|
|
|
text: 'Loading', |
|
|
|
|
|
spinner: 'el-icon-loading', |
|
|
|
|
|
background: 'rgba(0, 0, 0, 0.7)' |
|
|
|
|
|
}) |
|
|
|
|
|
recallConfirm({ sid: row.sid, userSid: window.sessionStorage.getItem('userSid') }).then((resp) => { |
|
|
|
|
|
if (resp.success) { |
|
|
|
|
|
loading.close() |
|
|
|
|
|
this.$message({ showClose: true, type: 'success', message: '操作成功' }) |
|
|
|
|
|
this.getList() |
|
|
|
|
|
} else { |
|
|
|
|
|
loading.close() |
|
|
|
|
|
} |
|
|
|
|
|
}).catch(() => { |
|
|
|
|
|
loading.close() |
|
|
|
|
|
}) |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
handleConfirm() { |
|
|
handleConfirm() { |
|
|
this.visibleDisabled = true |
|
|
this.visibleDisabled = true |
|
|
createPdf({ skdSid: this.printSid, printerType: this.print }).then((resp) => { |
|
|
createPdf({ skdSid: this.printSid, printerType: this.print }).then((resp) => { |
|
@ -358,8 +386,12 @@ export default { |
|
|
this.visibleDisabled = false |
|
|
this.visibleDisabled = false |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
handLook(row) { |
|
|
toEdit(row) { |
|
|
this.viewState = 3 |
|
|
this.viewState = 3 |
|
|
|
|
|
this.$refs['divAdd'].showEdit(row) |
|
|
|
|
|
}, |
|
|
|
|
|
handLook(row) { |
|
|
|
|
|
this.viewState = 4 |
|
|
this.$refs['divInfo'].showInfo(row) |
|
|
this.$refs['divInfo'].showInfo(row) |
|
|
}, |
|
|
}, |
|
|
resetState() { |
|
|
resetState() { |
|
|