update 优化 代码删除无用输出

This commit is contained in:
疯狂的狮子Li 2024-12-18 14:09:25 +08:00
parent 2d0c783c87
commit 097f1b50b0
4 changed files with 6 additions and 8 deletions

View File

@ -3,7 +3,6 @@ import { RouterJumpVo } from '@/api/workflow/workflowCommon/types';
export default { export default {
routerJump(routerJumpVo: RouterJumpVo, proxy) { routerJump(routerJumpVo: RouterJumpVo, proxy) {
proxy.$tab.closePage(proxy.$route); proxy.$tab.closePage(proxy.$route);
console.log(routerJumpVo);
proxy.$router.push({ proxy.$router.push({
path: routerJumpVo.formPath, path: routerJumpVo.formPath,
query: { query: {

View File

@ -96,7 +96,6 @@ const init = async (businessId: string | number) => {
} }
}); });
} }
console.log(historyList.value, '2222222');
loading.value = false; loading.value = false;
} }
}); });

View File

@ -3,9 +3,9 @@
<el-form v-loading="loading" :model="form" label-width="120px"> <el-form v-loading="loading" :model="form" label-width="120px">
<el-form-item label="消息提醒"> <el-form-item label="消息提醒">
<el-checkbox-group v-model="form.messageType"> <el-checkbox-group v-model="form.messageType">
<el-checkbox label="1" name="type" disabled>站内信</el-checkbox> <el-checkbox value="1" name="type" disabled>站内信</el-checkbox>
<el-checkbox label="2" name="type">邮件</el-checkbox> <el-checkbox value="2" name="type">邮件</el-checkbox>
<el-checkbox label="3" name="type">短信</el-checkbox> <el-checkbox value="3" name="type">短信</el-checkbox>
</el-checkbox-group> </el-checkbox-group>
</el-form-item> </el-form-item>
<el-form-item v-if="task.flowStatus === 'waiting'" label="附件"> <el-form-item v-if="task.flowStatus === 'waiting'" label="附件">

View File

@ -100,14 +100,14 @@
<script setup lang="ts"> <script setup lang="ts">
import api from '@/api/system/user'; import api from '@/api/system/user';
import { UserQuery, UserVO } from '@/api/system/user/types'; import { UserQuery, UserVO } from '@/api/system/user/types';
import { DeptVO } from '@/api/system/dept/types'; import { DeptTreeVO, DeptVO } from '@/api/system/dept/types';
import { VxeTableInstance } from 'vxe-table'; import { VxeTableInstance } from 'vxe-table';
import useDialog from '@/hooks/useDialog'; import useDialog from '@/hooks/useDialog';
interface PropType { interface PropType {
modelValue?: UserVO[] | UserVO | undefined; modelValue?: UserVO[] | UserVO | undefined;
multiple?: boolean; multiple?: boolean;
data?: string | number | (string | number)[]; data?: string | number | (string | number)[] | undefined;
} }
const prop = withDefaults(defineProps<PropType>(), { const prop = withDefaults(defineProps<PropType>(), {
multiple: true, multiple: true,
@ -125,7 +125,7 @@ const showSearch = ref(true);
const total = ref(0); const total = ref(0);
const dateRange = ref<[DateModelType, DateModelType]>(['', '']); const dateRange = ref<[DateModelType, DateModelType]>(['', '']);
const deptName = ref(''); const deptName = ref('');
const deptOptions = ref<DeptVO[]>([]); const deptOptions = ref<DeptTreeVO[]>([]);
const selectUserList = ref<UserVO[]>([]); const selectUserList = ref<UserVO[]>([]);
const deptTreeRef = ref<ElTreeInstance>(); const deptTreeRef = ref<ElTreeInstance>();