diff --git a/src/api/incomePaymentsApi.js b/src/api/incomePaymentsApi.js
index b8dd259..46e70fe 100644
--- a/src/api/incomePaymentsApi.js
+++ b/src/api/incomePaymentsApi.js
@@ -50,6 +50,8 @@ const addPackProject = (param) => postAction('/pack/payPackCompanyProject/add',
const removePackProject = (param) => postAction('/pack/payPackCompanyProject/remove', param)
// 批量取消打包
const batchRemovePackProject = (param) => postAction('/pack/payPackCompanyProject/removeBatch', param)
+// 企业管理审核
+const aduitCompany = (param) => getAction('/company/payCompanyManagement/audit', param)
export {
getWorkingGroupById,
@@ -76,5 +78,6 @@ export {
getPackCompanyById,
addPackProject,
removePackProject,
- batchRemovePackProject
+ batchRemovePackProject,
+ aduitCompany
}
diff --git a/src/utils/util.js b/src/utils/util.js
index 44d06f6..8e755b5 100644
--- a/src/utils/util.js
+++ b/src/utils/util.js
@@ -599,8 +599,9 @@ export function addZero(e) {
// console.log(e.target.value)
// 判断是否包含 .
let value = e.target.value
- // 判断是否包含小数点
+ // 判断是否有数据
if (value && value !== '') {
+ // 判断是否包含小数点
if (value.includes('.')) {
// 获取索引
let index = value.indexOf('.')
@@ -614,7 +615,7 @@ export function addZero(e) {
e.target.value = beforePointValue + afterPointValue
}else {
// 不足2位补0
- afterPointValue = afterPointValue.padEnd(2,'0')
+ afterPointValue = afterPointValue.padEnd(2,'0')
e.target.value = beforePointValue + afterPointValue
}
}else {
diff --git a/src/views/businessManagement/BusinessManagement.vue b/src/views/businessManagement/BusinessManagement.vue
index 14f7fb8..564db95 100644
--- a/src/views/businessManagement/BusinessManagement.vue
+++ b/src/views/businessManagement/BusinessManagement.vue
@@ -63,11 +63,13 @@
编辑
删除
- 审核
+ 审核
+
+
@@ -78,10 +80,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'
export default {
name: 'BusinessManagement',
- components: { JEllipsis, BusinessManagementModule, PageHeaderTitle },
+ components: { JEllipsis, BusinessManagementModule, PageHeaderTitle, BusinessAduitModule },
mixins: [JeroListMixin],
computed: {
importExcelUrl: function () {
@@ -168,8 +171,9 @@ export default {
}
},
methods: {
- handleAudit() {
-
+ handleAudit(id) {
+ this.$refs.aduitForm.companyId = id
+ this.$refs.aduitForm.open()
}
}
}
diff --git a/src/views/businessManagement/modules/BusinessAduitModule.vue b/src/views/businessManagement/modules/BusinessAduitModule.vue
new file mode 100644
index 0000000..5e884bd
--- /dev/null
+++ b/src/views/businessManagement/modules/BusinessAduitModule.vue
@@ -0,0 +1,137 @@
+
+
+
+
+ {e.target.value = (e.target.value + '').trim()}">
+
+
+
+ 通过
+ 拒绝
+
+
+
+ {e.target.value = (e.target.value + '').trim()}"/>
+
+
+
+
+
+
+
+
\ No newline at end of file