diff --git a/.env b/.env index 7785a8e..b781c83 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # port -VITE_PORT = 3100 +VITE_PORT = 3101 # 网站标题 VITE_GLOB_APP_TITLE = 护理单元管理平台 diff --git a/src/views/admin/IssueInfo/IssueInfo.data.ts b/src/views/admin/IssueInfo/IssueInfo.data.ts index 5e48745..1452da9 100644 --- a/src/views/admin/IssueInfo/IssueInfo.data.ts +++ b/src/views/admin/IssueInfo/IssueInfo.data.ts @@ -6,16 +6,16 @@ import { getWeekMonthQuarterYear } from '/@/utils'; //列表数据 export const columns: BasicColumn[] = [ { - title: '创建日期', + title: '发版日期', align: "center", dataIndex: 'createTime', - width: 180, + width: 240, }, { title: '发版类型', align: "center", dataIndex: 'issueType_dictText', - width: 180, + width: 240, }, { title: '发版内容', diff --git a/src/views/admin/IssueInfo/IssueInfoList.vue b/src/views/admin/IssueInfo/IssueInfoList.vue index 270332b..51bb1df 100644 --- a/src/views/admin/IssueInfo/IssueInfoList.vue +++ b/src/views/admin/IssueInfo/IssueInfoList.vue @@ -1,17 +1,49 @@ diff --git a/src/views/admin/IssueInfo/components/IssueInfoForm.vue b/src/views/admin/IssueInfo/components/IssueInfoForm.vue index d0da7b3..7e3b99f 100644 --- a/src/views/admin/IssueInfo/components/IssueInfoForm.vue +++ b/src/views/admin/IssueInfo/components/IssueInfoForm.vue @@ -2,18 +2,28 @@ @@ -22,134 +32,134 @@ diff --git a/src/views/admin/orgapplyinfo/OrgApplyInfo.api.ts b/src/views/admin/orgapplyinfo/OrgApplyInfo.api.ts index d44964b..6edef12 100644 --- a/src/views/admin/orgapplyinfo/OrgApplyInfo.api.ts +++ b/src/views/admin/orgapplyinfo/OrgApplyInfo.api.ts @@ -7,6 +7,7 @@ enum Api { list = '/admin/orgapplyinfo/orgApplyInfo/list', save='/admin/orgapplyinfo/orgApplyInfo/add', edit='/admin/orgapplyinfo/orgApplyInfo/edit', + submitContract='/admin/orgapplyinfo/orgApplyInfo/submitContract', deleteOne = '/admin/orgapplyinfo/orgApplyInfo/delete', deleteBatch = '/admin/orgapplyinfo/orgApplyInfo/deleteBatch', importExcel = '/admin/orgapplyinfo/orgApplyInfo/importExcel', @@ -70,3 +71,12 @@ export const saveOrUpdate = (params, isUpdate) => { let url = isUpdate ? Api.edit : Api.save; return defHttp.post({ url: url, params }, { isTransformResponse: false }); } + +/** + * 保存并提交 + * @param params + * @param isUpdate + */ +export const submitContract = (params) => { + return defHttp.post({ url: Api.submitContract, params }); +} diff --git a/src/views/admin/orgapplyinfo/OrgApplyInfoList.vue b/src/views/admin/orgapplyinfo/OrgApplyInfoList.vue index 9545137..ff90c27 100644 --- a/src/views/admin/orgapplyinfo/OrgApplyInfoList.vue +++ b/src/views/admin/orgapplyinfo/OrgApplyInfoList.vue @@ -8,13 +8,13 @@ - + - + @@ -179,6 +179,37 @@ function handleSuccess() { (selectedRowKeys.value = []) && reload(); } +/** + * 上传合同 + */ +function handleUpContract(record) { + registerModal.value.editContract(record); +} + +/** + * 通知运维平台搭建业务平台 + */ +function handleBuildPlat(record) { + +} + +/** + * 账户初始化 + * @param record + */ +function handleInitAccount(record) { + +} + +/** + * 信息推送 + * @param record + */ +function handlePushInfo(record) { + +} + + /** * 操作栏 */ @@ -189,11 +220,37 @@ function getTableAction(record) { onClick: handleDetail.bind(null, record), }, { - label: '审批', + label: '加盟审核', onClick: handleEdit.bind(null, record), auth: 'orgapplyinfo:nu_org_apply_info:edit', ifShow: record.status == '1' }, + { + label: '上传合同', + onClick: handleUpContract.bind(null, record), + auth: 'orgapplyinfo:nu_org_apply_info:edit', + ifShow: record.buildStatus == '3' + }, + // { + // label: '运维平台进行搭建', + // onClick: handleBuildPlat.bind(null, record), + // auth: 'orgapplyinfo:nu_org_apply_info:edit', + // ifShow: () => { + // return record.buildStatus == '3' && !!record.contract + // } + // }, + { + label: '账户初始化', + onClick: handleInitAccount.bind(null, record), + auth: 'orgapplyinfo:nu_org_apply_info:edit', + ifShow: record.buildStatus == '5' + }, + { + label: '信息推送', + onClick: handlePushInfo.bind(null, record), + auth: 'orgapplyinfo:nu_org_apply_info:edit', + ifShow: record.buildStatus == '6' + }, ]; } diff --git a/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue b/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue index cbb7e71..6a317d8 100644 --- a/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue +++ b/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue @@ -4,6 +4,18 @@