feat:审核时间
This commit is contained in:
1 parent
e55aadc127
commit
eafe75484f
5 files changed
+40
-11
No files matched your search
@@ -65,18 +65,25 @@
|
||||
<span>{{ row.applyEndTime }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="count" label="申请数量" />
|
||||
<el-table-column prop="useCount" label="使用数量" />
|
||||
<el-table-column prop="processStatus" label="审核状态">
|
||||
<el-table-column prop="count" width="100" label="申请数量" />
|
||||
<el-table-column prop="useCount" width="100" label="使用数量" />
|
||||
<el-table-column prop="processStatus" width="100" label="审核状态">
|
||||
<template #default="{ row }">
|
||||
<dict-tag :options="check_status" :value="row.processStatus" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="processTime" label="审核时间" />
|
||||
<el-table-column prop="createTime" label="创建时间" />
|
||||
<el-table-column label="操作" width="200">
|
||||
<template #default="{ row }">
|
||||
<el-button icon="Promotion" text type="primary" @click="doInfo(row)"> 查看审批 </el-button>
|
||||
<el-button icon="InfoFilled" text type="primary" @click="codeUseTableRef.openDialog(row.id)">
|
||||
<el-button
|
||||
v-if="row.processStatus == 2"
|
||||
icon="InfoFilled"
|
||||
text
|
||||
type="primary"
|
||||
@click="codeUseTableRef.openDialog(row.id)"
|
||||
>
|
||||
使用情况
|
||||
</el-button>
|
||||
<el-button
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="remark" label="备注" />
|
||||
<el-table-column prop="processTime" label="审核时间" />
|
||||
<el-table-column prop="createTime" label="创建时间" />
|
||||
<el-table-column label="操作" width="200">
|
||||
<template #default="{ row }">
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
>数据</el-button
|
||||
>
|
||||
<el-button
|
||||
v-if="row.importTime && row.processStatus != 1 && row.processStatus != 2"
|
||||
v-if="row.importTime && !row.processId"
|
||||
icon="Connection"
|
||||
text
|
||||
type="primary"
|
||||
@@ -204,8 +204,12 @@ const doApply = async (row: any) => {
|
||||
await walletRechargeApplyApi.apply({ id: row.id })
|
||||
useMessage().success("提交成功")
|
||||
getDataList()
|
||||
} finally {
|
||||
setTimeout(() => loading.close(), 500)
|
||||
} catch (error: any) {
|
||||
loading.close()
|
||||
if (error && error.code != 0) {
|
||||
useMessage().error(error.msg)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -93,6 +93,11 @@
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="processStatus" label="审核状态">
|
||||
<template #default="{ row }">
|
||||
<dict-tag :options="check_status" :value="row.processStatus" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="processTime" label="审核时间" align="center" />
|
||||
<el-table-column prop="beforePrice" label="操作前的金额" align="center">
|
||||
<template #default="{ row }">
|
||||
@@ -130,7 +135,12 @@ import { useDict } from "/@/hooks/dict"
|
||||
import { useMessage, useMessageBox } from "/@/hooks/message"
|
||||
import * as walletRechargeImportApi from "/@/api/wallet/wallet-recharge-import"
|
||||
|
||||
const { wallet_biz_recharge, wallet_type } = useDict("wallet_biz_recharge", "wallet_type", "check_status")
|
||||
const { wallet_biz_recharge, wallet_type, check_status } = useDict(
|
||||
"wallet_biz_recharge",
|
||||
"wallet_type",
|
||||
"check_status",
|
||||
"check_status",
|
||||
)
|
||||
// 搜索变量
|
||||
const queryRef = ref()
|
||||
const showSearch = ref(true)
|
||||
|
||||
@@ -58,13 +58,14 @@
|
||||
<el-table-column type="index" label="#" width="40" />
|
||||
<el-table-column prop="username" label="申请人" />
|
||||
<el-table-column prop="deptName" label="部门" />
|
||||
<el-table-column prop="count" label="申请数量" />
|
||||
<el-table-column prop="useCount" label="使用数量" />
|
||||
<el-table-column prop="processStatus" label="审核状态">
|
||||
<el-table-column prop="count" width="100" label="申请数量" />
|
||||
<el-table-column prop="useCount" width="100" label="使用数量" />
|
||||
<el-table-column prop="processStatus" width="100" label="审核状态">
|
||||
<template #default="{ row }">
|
||||
<dict-tag :options="check_status" :value="row.processStatus" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="processTime" label="审核时间" />
|
||||
<el-table-column prop="createTime" label="创建时间" />
|
||||
<el-table-column label="操作" width="200">
|
||||
<template #default="{ row }">
|
||||
@@ -87,7 +88,13 @@
|
||||
>删除</el-button
|
||||
>
|
||||
<el-button icon="Promotion" text type="primary" @click="doInfo(row)"> 查看审批 </el-button>
|
||||
<el-button icon="InfoFilled" text type="primary" @click="codeUseTableRef.openDialog(row.id)">
|
||||
<el-button
|
||||
v-if="row.processStatus == 2"
|
||||
icon="InfoFilled"
|
||||
text
|
||||
type="primary"
|
||||
@click="codeUseTableRef.openDialog(row.id)"
|
||||
>
|
||||
使用情况
|
||||
</el-button>
|
||||
</template>
|
||||
|
||||
Reference in new issue
Block a user