diff --git a/src/views/businessManagement/BusinessManagement.vue b/src/views/businessManagement/BusinessManagement.vue
index 564db95..d9800eb 100644
--- a/src/views/businessManagement/BusinessManagement.vue
+++ b/src/views/businessManagement/BusinessManagement.vue
@@ -61,15 +61,13 @@
- 编辑
- 删除
- 审核
-
-
+ 确认
+ 编辑
+ 删除
+
-
@@ -80,11 +78,11 @@ import JEllipsis from '@comp/jero/JEllipsis'
import BusinessManagementModule from './modules/BusinessManagementModule'
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
import IconImg from '@/assets/imgs/icon/icon_company_management.png'
-import BusinessAduitModule from './modules/BusinessAduitModule'
+import { aduitCompany } from '../../api/incomePaymentsApi'
export default {
name: 'BusinessManagement',
- components: { JEllipsis, BusinessManagementModule, PageHeaderTitle, BusinessAduitModule },
+ components: { JEllipsis, BusinessManagementModule, PageHeaderTitle },
mixins: [JeroListMixin],
computed: {
importExcelUrl: function () {
@@ -172,8 +170,21 @@ export default {
},
methods: {
handleAudit(id) {
- this.$refs.aduitForm.companyId = id
- this.$refs.aduitForm.open()
+ const that = this
+ this.$confirm({
+ title: '确认',
+ content: '确认该单位信息吗?',
+ onOk: function () {
+ aduitCompany({id: id}).then((res) => {
+ if (res.success) {
+ that.$message.success(res.result)
+ that.loadData()
+ } else {
+ that.$message.warning(res.message)
+ }
+ })
+ }
+ })
}
}
}
diff --git a/src/views/businessManagement/modules/BusinessAduitModule.vue b/src/views/businessManagement/modules/BusinessAduitModule.vue
deleted file mode 100644
index 5e884bd..0000000
--- a/src/views/businessManagement/modules/BusinessAduitModule.vue
+++ /dev/null
@@ -1,137 +0,0 @@
-
-
-
-
- {e.target.value = (e.target.value + '').trim()}">
-
-
-
- 通过
- 拒绝
-
-
-
- {e.target.value = (e.target.value + '').trim()}"/>
-
-
-
-
-
-
-
-
\ No newline at end of file