机构流程bug
This commit is contained in:
parent
881f460393
commit
640fd14852
|
|
@ -14,31 +14,31 @@ export const columns: BasicColumn[] = [
|
||||||
title: '机构负责人',
|
title: '机构负责人',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'orgLeader',
|
dataIndex: 'orgLeader',
|
||||||
width: '8%',
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '负责人电话',
|
title: '负责人电话',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'orgLeaderPhone',
|
dataIndex: 'orgLeaderPhone',
|
||||||
width: '8%',
|
width: 120,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '申请日期',
|
title: '申请日期',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'createTime',
|
||||||
width: '8%',
|
width: 150,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '房屋性质',
|
title: '房屋性质',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'orgPropertyType',
|
dataIndex: 'orgPropertyType',
|
||||||
width: '8%',
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '面积(㎡)',
|
title: '面积(㎡)',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'orgBuildingArea',
|
dataIndex: 'orgBuildingArea',
|
||||||
width: '8%',
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '审核状态',
|
title: '审核状态',
|
||||||
|
|
@ -50,13 +50,13 @@ export const columns: BasicColumn[] = [
|
||||||
title: '工单类型',
|
title: '工单类型',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'orgStatus_dictText',
|
dataIndex: 'orgStatus_dictText',
|
||||||
width: '8%',
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '工单状态',
|
title: '工单状态',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'workOrderStatus_dictText',
|
dataIndex: 'workOrderStatus_dictText',
|
||||||
width: '8%',
|
width: 100,
|
||||||
customRender: ({ record }) => {
|
customRender: ({ record }) => {
|
||||||
if (record.workOrderStatus == '0') {
|
if (record.workOrderStatus == '0') {
|
||||||
return '';
|
return '';
|
||||||
|
|
|
||||||
|
|
@ -303,12 +303,12 @@ function getTableAction(record) {
|
||||||
// return record.orgStatus == '3' && !!record.contract
|
// return record.orgStatus == '3' && !!record.contract
|
||||||
// }
|
// }
|
||||||
// },
|
// },
|
||||||
{
|
// {
|
||||||
label: '账户初始化',
|
// label: '账户初始化',
|
||||||
onClick: handleInitAccount.bind(null, record),
|
// onClick: handleInitAccount.bind(null, record),
|
||||||
auth: 'orgapplyinfo:nu_org_apply_info:edit',
|
// auth: 'orgapplyinfo:nu_org_apply_info:edit',
|
||||||
ifShow: record.workOrderStatus == '2' && record.orgStatus == '4'
|
// ifShow: record.workOrderStatus == '2' && record.orgStatus == '4'
|
||||||
},
|
// },
|
||||||
// {
|
// {
|
||||||
// label: '信息推送',
|
// label: '信息推送',
|
||||||
// onClick: handlePushInfo.bind(null, record),
|
// onClick: handlePushInfo.bind(null, record),
|
||||||
|
|
|
||||||
|
|
@ -184,8 +184,8 @@
|
||||||
name="endTime">
|
name="endTime">
|
||||||
<a-input v-if="formData.endTime == '9999-12-31' || formData.endTime == '9999-12-31 00:00:00'"
|
<a-input v-if="formData.endTime == '9999-12-31' || formData.endTime == '9999-12-31 00:00:00'"
|
||||||
:value="'长期'" suffix-icon=""></a-input>
|
:value="'长期'" suffix-icon=""></a-input>
|
||||||
<a-date-picker v-else v-model:value="formData.endTime" value-format="YYYY-MM-DD" style="width: 100%"
|
<a-date-picker v-else v-model:value="formData.endTime" disabled value-format="YYYY-MM-DD"
|
||||||
suffix-icon="" />
|
style="width: 100%" suffix-icon="" />
|
||||||
<!-- {{ formData.endTime
|
<!-- {{ formData.endTime
|
||||||
? (formData.endTime.substring(0, 10) == '9999-12-31' ? '长期' : formData.endTime.substring(0, 10))
|
? (formData.endTime.substring(0, 10) == '9999-12-31' ? '长期' : formData.endTime.substring(0, 10))
|
||||||
: "" }} -->
|
: "" }} -->
|
||||||
|
|
@ -203,7 +203,7 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</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;">
|
<a-col :span="24" style="border-bottom: 2px solid #f7f7f7; margin-bottom: 14px;">
|
||||||
<SectionDivider :title="'加盟审核'" />
|
<SectionDivider :title="'加盟审核'" />
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
@ -288,6 +288,32 @@
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</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>
|
</a-form>
|
||||||
</template>
|
</template>
|
||||||
</JFormContainer>
|
</JFormContainer>
|
||||||
|
|
@ -330,7 +356,7 @@ const formData = reactive<Record<string, any>>({
|
||||||
wechatName: '',
|
wechatName: '',
|
||||||
tel: '',
|
tel: '',
|
||||||
status: '',
|
status: '',
|
||||||
buildStatus: '',
|
orgStatus: '',
|
||||||
content: '',
|
content: '',
|
||||||
createTime: '',
|
createTime: '',
|
||||||
updateTime: '',
|
updateTime: '',
|
||||||
|
|
@ -377,7 +403,9 @@ const formData = reactive<Record<string, any>>({
|
||||||
auditBy: '',
|
auditBy: '',
|
||||||
auditTime: '',
|
auditTime: '',
|
||||||
auditBy_dictText: '',
|
auditBy_dictText: '',
|
||||||
|
netUrl: '',
|
||||||
|
accountNo: '',
|
||||||
|
passwordText: '',
|
||||||
});
|
});
|
||||||
const tempNullVal = ref('');
|
const tempNullVal = ref('');
|
||||||
const sfsh = ref<string>('0');
|
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({
|
defineExpose({
|
||||||
add,
|
add,
|
||||||
|
|
@ -539,4 +581,9 @@ defineExpose({
|
||||||
margin-bottom: 14px;
|
margin-bottom: 14px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.noDisabled {
|
||||||
|
pointer-events: auto !important;
|
||||||
|
cursor: pointer !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
</template>
|
</template>
|
||||||
</a-drawer>
|
</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">
|
:footer-style="{ textAlign: 'right' }" :bodyStyle="{ padding: '0px' }" @close="handleAuditHisCancel">
|
||||||
<OrgAuditHisList ref="auditHisRef" :formBpm="false"></OrgAuditHisList>
|
<OrgAuditHisList ref="auditHisRef" :formBpm="false"></OrgAuditHisList>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue