机构流程bug

This commit is contained in:
1378012178@qq.com 2026-02-12 14:56:48 +08:00
parent 881f460393
commit 640fd14852
4 changed files with 66 additions and 19 deletions

View File

@ -14,31 +14,31 @@ export const columns: BasicColumn[] = [
title: '机构负责人',
align: 'center',
dataIndex: 'orgLeader',
width: '8%',
width: 100,
},
{
title: '负责人电话',
align: 'center',
dataIndex: 'orgLeaderPhone',
width: '8%',
width: 120,
},
{
title: '申请日期',
align: 'center',
dataIndex: 'createTime',
width: '8%',
width: 150,
},
{
title: '房屋性质',
align: 'center',
dataIndex: 'orgPropertyType',
width: '8%',
width: 100,
},
{
title: '面积(㎡)',
align: 'center',
dataIndex: 'orgBuildingArea',
width: '8%',
width: 100,
},
{
title: '审核状态',
@ -50,13 +50,13 @@ export const columns: BasicColumn[] = [
title: '工单类型',
align: 'center',
dataIndex: 'orgStatus_dictText',
width: '8%',
width: 100,
},
{
title: '工单状态',
align: 'center',
dataIndex: 'workOrderStatus_dictText',
width: '8%',
width: 100,
customRender: ({ record }) => {
if (record.workOrderStatus == '0') {
return '';

View File

@ -303,12 +303,12 @@ function getTableAction(record) {
// return record.orgStatus == '3' && !!record.contract
// }
// },
{
label: '账户初始化',
onClick: handleInitAccount.bind(null, record),
auth: 'orgapplyinfo:nu_org_apply_info:edit',
ifShow: record.workOrderStatus == '2' && record.orgStatus == '4'
},
// {
// label: '',
// onClick: handleInitAccount.bind(null, record),
// auth: 'orgapplyinfo:nu_org_apply_info:edit',
// ifShow: record.workOrderStatus == '2' && record.orgStatus == '4'
// },
// {
// label: '',
// onClick: handlePushInfo.bind(null, record),

View File

@ -184,8 +184,8 @@
name="endTime">
<a-input v-if="formData.endTime == '9999-12-31' || formData.endTime == '9999-12-31 00:00:00'"
:value="'长期'" suffix-icon=""></a-input>
<a-date-picker v-else v-model:value="formData.endTime" value-format="YYYY-MM-DD" style="width: 100%"
suffix-icon="" />
<a-date-picker v-else v-model:value="formData.endTime" disabled value-format="YYYY-MM-DD"
style="width: 100%" suffix-icon="" />
<!-- {{ formData.endTime
? (formData.endTime.substring(0, 10) == '9999-12-31' ? '长期' : formData.endTime.substring(0, 10))
: "" }} -->
@ -203,7 +203,7 @@
</a-col>
</a-row>
<a-row class="card-class">
<a-row class="card-class" v-show="!disabled">
<a-col :span="24" style="border-bottom: 2px solid #f7f7f7; margin-bottom: 14px;">
<SectionDivider :title="'加盟审核'" />
</a-col>
@ -288,6 +288,32 @@
</a-form-item>
</a-col>
</a-row>
<a-row v-show="!!formData.netUrl" class="card-class">
<a-col :span="22" style="border-bottom: 2px solid #f7f7f7; margin-bottom: 14px;">
<SectionDivider :title="'平台信息'" />
</a-col>
<a-col :span="2" style="margin-bottom: 14px;">
<a @click="handleCopyPlatInfo" class="noDisabled" style="color: white;">复制</a>
</a-col>
<a-col :span="12">
<a-form-item label="访问地址">
<a-input v-model:value="formData.netUrl" disabled allow-clear></a-input>
<!-- {{ formData.netUrl }} -->
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="账号">
<a-input v-model:value="formData.accountNo" disabled allow-clear></a-input>
<!-- {{ formData.accountNo }} -->
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="密码">
<a-input v-model:value="formData.passwordText" disabled allow-clear></a-input>
<!-- {{ formData.passwordText }} -->
</a-form-item>
</a-col>
</a-row>
</a-form>
</template>
</JFormContainer>
@ -330,7 +356,7 @@ const formData = reactive<Record<string, any>>({
wechatName: '',
tel: '',
status: '',
buildStatus: '',
orgStatus: '',
content: '',
createTime: '',
updateTime: '',
@ -377,7 +403,9 @@ const formData = reactive<Record<string, any>>({
auditBy: '',
auditTime: '',
auditBy_dictText: '',
netUrl: '',
accountNo: '',
passwordText: '',
});
const tempNullVal = ref('');
const sfsh = ref<string>('0');
@ -514,6 +542,20 @@ async function submitForm() {
});
}
function handleCopyPlatInfo() {
const { netUrl, accountNo, passwordText } = formData;
let copyText = '';
if (netUrl) copyText += `访问地址:${netUrl}\n`;
if (accountNo) copyText += `账号:${accountNo}\n`;
if (passwordText) copyText += `密码:${passwordText}\n`;
navigator.clipboard
.writeText(copyText.trim())
.then(() => {
createMessage.success('已复制平台信息');
})
}
defineExpose({
add,
@ -539,4 +581,9 @@ defineExpose({
margin-bottom: 14px;
}
.noDisabled {
pointer-events: auto !important;
cursor: pointer !important;
}
</style>

View File

@ -19,7 +19,7 @@
</template>
</a-drawer>
<a-drawer :title="title" :width="`1300`" v-model:visible="auditHisVisible" :closable="true"
<a-drawer :title="'审核历史'" :width="`1300`" v-model:visible="auditHisVisible" :closable="true"
:footer-style="{ textAlign: 'right' }" :bodyStyle="{ padding: '0px' }" @close="handleAuditHisCancel">
<OrgAuditHisList ref="auditHisRef" :formBpm="false"></OrgAuditHisList>
<template #footer>