[update] 企业管理审核按钮

This commit is contained in:
zhaoxiao
2021-09-15 17:49:56 +08:00
parent 58759ed9e1
commit 40faa11364
2 changed files with 9 additions and 3 deletions
@@ -58,6 +58,7 @@
<span slot="action" class="action-span-cell" slot-scope="text, record"> <span slot="action" class="action-span-cell" slot-scope="text, record">
<a @click="handleEdit(record)">编辑</a> <a @click="handleEdit(record)">编辑</a>
<a @click="handleDelete(record.id)">删除</a> <a @click="handleDelete(record.id)">删除</a>
<a @click="handleAudit(record.id)" v-if="record.dataSource===2 && record.status===2">审核</a>
</span> </span>
</a-table> </a-table>
</div> </div>
@@ -120,7 +121,7 @@ export default {
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'companyPhone' dataIndex: 'companyPhone'
},{ }, {
title: '状态', title: '状态',
align: 'center', align: 'center',
width: 100, width: 100,
@@ -153,6 +154,11 @@ export default {
downTemplateUrl: '/company/payCompanyManagement/downloadExcelModel' downTemplateUrl: '/company/payCompanyManagement/downloadExcelModel'
} }
} }
},
methods: {
handleAudit() {
}
} }
} }
</script> </script>
@@ -239,8 +239,8 @@ export default {
values.companyName = values.company.companyName values.companyName = values.company.companyName
values.companyId = values.company.id values.companyId = values.company.id
values.gender = Number(values.gender) values.gender = Number(values.gender)
values.dataSource = this.dataForm // values.dataSource = this.dataForm
values.signingUp = this.applyAdd // values.signingUp = this.applyAdd
let httpurl = '' let httpurl = ''
let method = 'post' let method = 'post'
if (!this.model.id) { if (!this.model.id) {