Skip to content

Commit 7e3f619

Browse files
committed
REVIEW OA 请假
1 parent 47b5ce2 commit 7e3f619

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

src/types/auto-components.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ declare module '@vue/runtime-core' {
2525
Echart: typeof import('./../components/Echart/src/Echart.vue')['default']
2626
Editor: typeof import('./../components/Editor/src/Editor.vue')['default']
2727
ElAlert: typeof import('element-plus/es')['ElAlert']
28+
ElAutoResizer: typeof import('element-plus/es')['ElAutoResizer']
29+
ElAvatar: typeof import('element-plus/es')['ElAvatar']
2830
ElBadge: typeof import('element-plus/es')['ElBadge']
2931
ElButton: typeof import('element-plus/es')['ElButton']
3032
ElButtonGroup: typeof import('element-plus/es')['ElButtonGroup']
@@ -70,9 +72,11 @@ declare module '@vue/runtime-core' {
7072
ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
7173
ElSelect: typeof import('element-plus/es')['ElSelect']
7274
ElSkeleton: typeof import('element-plus/es')['ElSkeleton']
75+
ElSpace: typeof import('element-plus/es')['ElSpace']
7376
ElSwitch: typeof import('element-plus/es')['ElSwitch']
7477
ElTable: typeof import('element-plus/es')['ElTable']
7578
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
79+
ElTableV2: typeof import('element-plus/es')['ElTableV2']
7680
ElTabPane: typeof import('element-plus/es')['ElTabPane']
7781
ElTabs: typeof import('element-plus/es')['ElTabs']
7882
ElTag: typeof import('element-plus/es')['ElTag']

src/views/bpm/oa/leave/create.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<Dialog title="发起 OA 请假流程" v-model="modelVisible">
2+
<Dialog title="发起 OA 请假流程" v-model="dialogVisible">
33
<el-form
44
ref="formRef"
55
:model="formData"
@@ -41,7 +41,7 @@
4141
</el-form>
4242
<template #footer>
4343
<el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button>
44-
<el-button @click="modelVisible = false">取 消</el-button>
44+
<el-button @click="dialogVisible = false">取 消</el-button>
4545
</template>
4646
</Dialog>
4747
</template>
@@ -50,7 +50,7 @@ import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
5050
import * as LeaveApi from '@/api/bpm/leave'
5151
const message = useMessage() // 消息弹窗
5252
53-
const modelVisible = ref(false) // 弹窗的是否展示
53+
const dialogVisible = ref(false) // 弹窗的是否展示
5454
const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
5555
const formData = ref({
5656
type: undefined,
@@ -68,7 +68,7 @@ const formRef = ref() // 表单 Ref
6868
6969
/** 打开弹窗 */
7070
const open = async () => {
71-
modelVisible.value = true
71+
dialogVisible.value = true
7272
resetForm()
7373
}
7474
defineExpose({ open }) // 提供 open 方法,用于打开弹窗
@@ -86,7 +86,7 @@ const submitForm = async () => {
8686
const data = formData.value as unknown as LeaveApi.LeaveVO
8787
await LeaveApi.createLeave(data)
8888
message.success('新增成功')
89-
modelVisible.value = false
89+
dialogVisible.value = false
9090
// 发送操作成功的事件
9191
emit('success')
9292
} finally {

src/views/mp/autoReply/index.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,8 @@
174174
</el-form-item>
175175
</el-form>
176176
<template #footer>
177-
<span class="dialog-footer">
178-
<el-button @click="cancel">取 消</el-button>
179-
<el-button type="primary" @click="handleSubmit">确 定</el-button>
180-
</span>
177+
<el-button @click="cancel">取 消</el-button>
178+
<el-button type="primary" @click="handleSubmit">确 定</el-button>
181179
</template>
182180
</el-dialog>
183181
</ContentWrap>

src/views/mp/material/index.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,8 @@
197197
</el-row>
198198
</el-form>
199199
<template #footer>
200-
<div class="dialog-footer">
201-
<el-button @click="cancelVideo">取 消</el-button>
202-
<el-button type="primary" @click="submitVideo">提 交</el-button>
203-
</div>
200+
<el-button @click="cancelVideo">取 消</el-button>
201+
<el-button type="primary" @click="submitVideo">提 交</el-button>
204202
</template>
205203
</el-dialog>
206204

0 commit comments

Comments
 (0)