更新了多个视图页面,包括审批流程显示方式、oa_Initiate修改、oa_flow_type编辑和索引页面修改。

This commit is contained in:
zmj 2024-05-28 11:54:02 +08:00
parent a615236138
commit 9e789c498c
4 changed files with 15 additions and 11 deletions

View File

@ -26,6 +26,11 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="24" class="mt-4">
<el-form-item label="附件" prop="income_month">
<uploadAnnex :form-data="formData"></uploadAnnex>
</el-form-item>
</el-col>
</el-row>
<el-col>
@ -57,11 +62,7 @@
</el-table-column>
</el-table>
</el-col>
<el-col :span="24" class="mt-4">
<el-form-item label="附件" prop="income_month">
<uploadAnnex :form-data="formData"></uploadAnnex>
</el-form-item>
</el-col>
</el-form>
</el-card>
<oaFlow :form-data="formData" type="5"></oaFlow>
@ -96,7 +97,7 @@ const popupTitle = computed(() => {
//
const formData = reactive({
"code": "xxx",
"code": "",
"income_month": "",
"expense_time": "",
"detail": [
@ -107,7 +108,7 @@ const formData = reactive({
}
],
"annex": [],
"flow_id": 1
"flow_id": ''
});

View File

@ -210,7 +210,7 @@ const handCheck = async () => {
}
//
const showActionList = reactive([4, 3, 2])
const showActionList = reactive([4, 3, 2, 10])
const showTextarea = () => {
if (showActionList.includes(formData.check_status)) return false;

View File

@ -44,9 +44,9 @@
<el-table-column label="更新时间" prop="create_time" min-width="180" />
<el-table-column label="操作" width="160" fixed="right">
<template #default="{ row }">
<el-button v-perms="['dept.dept/add']" type="primary" link @click="handleAdd(row.id)">
<!-- <el-button v-perms="['dept.dept/add']" type="primary" link @click="handleAdd(row.id)">
新增
</el-button>
</el-button> -->
<el-button v-perms="['dept.dept/edit']" type="primary" link @click="handleEdit(row)">
编辑
</el-button>

View File

@ -56,7 +56,7 @@
编辑
</el-button>
<el-button v-perms="['auth.admin/edit']" type="primary" link
@click="showDialog = true, form.id = row.id">
@click="showDialog = true, form.id = row.id, form.account = row.account">
修改密码
</el-button>
<el-button v-if="row.root != 1" v-perms="['auth.admin/delete']" type="danger" link
@ -76,6 +76,9 @@
<!-- 修改密码 -->
<el-dialog v-model="showDialog" v-if="showDialog" width="550px" title="修改密码">
<el-form class="mb-[-16px]" :model="form" label-width="100px">
<el-form-item label="账号">
<el-input v-model="form.account" readonly class="w-[280px]" />
</el-form-item>
<el-form-item label="密码">
<el-input v-model="form.password" class="w-[280px]" clearable type="password" />
</el-form-item>