Merge branch 'ly' into dev
commit
52c353b0ad
|
|
@ -12,37 +12,14 @@ import { BasicColumn, FormSchema } from '@/components/Table';
|
||||||
*/
|
*/
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
title: '用户名',
|
title: '名称',
|
||||||
dataIndex: 'account',
|
|
||||||
width: 120,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '昵称',
|
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
width: 120,
|
width: 120,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: '所属部门',
|
|
||||||
dataIndex: 'organizations',
|
|
||||||
// customRender: ({ value }) => {
|
|
||||||
// return deptMap[value];
|
|
||||||
// },
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export const searchFormSchema: FormSchema[] = [
|
export const searchFormSchema: FormSchema[] = [
|
||||||
{
|
|
||||||
field: 'account',
|
|
||||||
label: '用户名',
|
|
||||||
component: 'Input',
|
|
||||||
colProps: { span: 8 },
|
|
||||||
},
|
|
||||||
{
|
|
||||||
field: 'nickname',
|
|
||||||
label: '昵称',
|
|
||||||
component: 'Input',
|
|
||||||
colProps: { span: 8 },
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="select-account">
|
||||||
<BasicTable @register="registerTable" :searchInfo="searchInfo"> </BasicTable>
|
<BasicTable @register="registerTable" :searchInfo="searchInfo"> </BasicTable>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -70,3 +70,9 @@
|
||||||
})
|
})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
.select-account{
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
width="100%"
|
width="100%"
|
||||||
wrap-class-name="full-modal"
|
wrap-class-name="full-modal"
|
||||||
v-model:open="previewOpen"
|
v-model:open="previewOpen"
|
||||||
title="流程设计"
|
title="流程发起"
|
||||||
:destroyOnClose="true"
|
:destroyOnClose="true"
|
||||||
>
|
>
|
||||||
<template #footer> </template>
|
<template #footer> </template>
|
||||||
|
|
|
||||||
|
|
@ -189,6 +189,8 @@
|
||||||
}
|
}
|
||||||
function closeMolder(){
|
function closeMolder(){
|
||||||
auditOpen.value = false;
|
auditOpen.value = false;
|
||||||
|
clearSelectedRowKeys();
|
||||||
|
reload();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
:destroyOnClose="true"
|
:destroyOnClose="true"
|
||||||
>
|
>
|
||||||
<template #footer> </template>
|
<template #footer> </template>
|
||||||
<Initiate ref="posRef" :processId="processId" @closeModel="closeMolder"></Initiate>
|
<Initiate ref="posRef" :processId="processId" @closeModel="closeModel"></Initiate>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
</PageWrapper>
|
</PageWrapper>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -126,6 +126,10 @@
|
||||||
auditOpen.value = true;
|
auditOpen.value = true;
|
||||||
// go('/dashboard/task_look_preview/detail?processId=' + record.id);
|
// go('/dashboard/task_look_preview/detail?processId=' + record.id);
|
||||||
}
|
}
|
||||||
|
function closeModel(){
|
||||||
|
auditOpen.value = false
|
||||||
|
reload()
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
.full-modal {
|
.full-modal {
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
const isRead = ref(0);
|
const isRead = ref(0);
|
||||||
const type = ref('');
|
const type = ref('');
|
||||||
const auditOpen = ref(false);
|
const auditOpen = ref(false);
|
||||||
const [registerTable] = useTable({
|
const [registerTable,{reload}] = useTable({
|
||||||
api: getLoadMyUncompletedPage,
|
api: getLoadMyUncompletedPage,
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
|
|
@ -148,6 +148,7 @@
|
||||||
}
|
}
|
||||||
function closeMolder(){
|
function closeMolder(){
|
||||||
auditOpen.value = false;
|
auditOpen.value = false;
|
||||||
|
reload()
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue