diff --git a/src/views/admin/orgapplyinfo/OrgApplyInfo.data.ts b/src/views/admin/orgapplyinfo/OrgApplyInfo.data.ts index 341fb18..e0a3ae3 100644 --- a/src/views/admin/orgapplyinfo/OrgApplyInfo.data.ts +++ b/src/views/admin/orgapplyinfo/OrgApplyInfo.data.ts @@ -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 ''; diff --git a/src/views/admin/orgapplyinfo/OrgInfoAuditList.vue b/src/views/admin/orgapplyinfo/OrgInfoAuditList.vue index 9e53b1d..998d059 100644 --- a/src/views/admin/orgapplyinfo/OrgInfoAuditList.vue +++ b/src/views/admin/orgapplyinfo/OrgInfoAuditList.vue @@ -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), diff --git a/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue b/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue index fd23cfc..f147ba9 100644 --- a/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue +++ b/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue @@ -184,8 +184,8 @@ name="endTime"> - + @@ -203,7 +203,7 @@ - + @@ -288,6 +288,32 @@ + + + + + + 复制 + + + + + + + + + + + + + + + + + + + + @@ -330,7 +356,7 @@ const formData = reactive>({ wechatName: '', tel: '', status: '', - buildStatus: '', + orgStatus: '', content: '', createTime: '', updateTime: '', @@ -377,7 +403,9 @@ const formData = reactive>({ auditBy: '', auditTime: '', auditBy_dictText: '', - + netUrl: '', + accountNo: '', + passwordText: '', }); const tempNullVal = ref(''); const sfsh = ref('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; +} diff --git a/src/views/admin/orgapplyinfo/components/OrgApplyInfoModal.vue b/src/views/admin/orgapplyinfo/components/OrgApplyInfoModal.vue index 3a04faf..8710043 100644 --- a/src/views/admin/orgapplyinfo/components/OrgApplyInfoModal.vue +++ b/src/views/admin/orgapplyinfo/components/OrgApplyInfoModal.vue @@ -19,7 +19,7 @@ -