From d16763eaac097e948c10b6532696eb9f029f22fc Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Fri, 11 Nov 2022 18:54:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BF=E5=8A=A1=E4=BA=91=20=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../personalCenter/components/MyApply.vue | 56 +++++++++++++++++-- .../components/cloudResources.vue | 4 +- 2 files changed, 53 insertions(+), 7 deletions(-) diff --git a/front/src/views/personalCenter/components/MyApply.vue b/front/src/views/personalCenter/components/MyApply.vue index 27d326d6..311059cd 100644 --- a/front/src/views/personalCenter/components/MyApply.vue +++ b/front/src/views/personalCenter/components/MyApply.vue @@ -433,17 +433,63 @@ detailsVisible.value = true }) .catch((err) => {}) - } else if (typeName.value == '云资源申请') { + } else if ( + typeName.value == '云资源申请' || + typeName.value == '云视频申请' + ) { + const applytype = { + '01': '新增', + '02': '变更', + '03': '停用', + '04': '核减', + } + const sourcetype = { + '01': '云主机', + '02': '云数据库', + '03': '对象存储', + '04': '堡垒机', + '05': '备份服务', + '06': '防火墙', + '07': '网闸', + '08': '负载均衡', + '09': '公网ip', + 10: '托管服务', + 11: '大数据服务', + } + const status = { + '00': '草稿', + '01': '提交', + '03': '一级部门提交', + '04': '驳回', + '05': '审核通过', + '06': '交付', + '07': '作废', + 99: '终止办结', + } + const status2 = { + '00': '草稿', + '01': '提交', + '02': '大数据局审核通过', + '04': '大数据局驳回', + '03': '提交给视频所属部门', + '08': '视频所属部门审核中', + '05': '视频所属部门已审核', + '06': '交付', + } refObj.value.description = '政务云' - refObj.value.STATUS = item.STATUS // 状态 + if (typeName.value == '云资源申请') { + refObj.value.STATUS = status[item.STATUS] // 状态 + } else { + refObj.value.STATUS = status2[item.STATUS] // 状态 + } refObj.value.CREATE_TIME = moment( item.CREATE_TIME.time + 480 * 60 * 1000 ).format('YYYY-MM-DD HH:mm:ss') // 操作时间 - refObj.value.PROJECT_NAME = item.PROJECT_NAME // 业务名称 + refObj.value.BUSINESS_NAME = item.BUSINESS_NAME // 业务名称 refObj.value.BSNUM = item.BSNUM // 业务id - refObj.value.APPLYTYPE = item.APPLYTYPE // 申请类型 - refObj.value.SOURCE_TYPE = item.SOURCE_TYPE // 资源类型 + refObj.value.APPLYTYPE = applytype[item.APPLYTYPE] // 申请类型 + refObj.value.SOURCE_TYPE = sourcetype[item.SOURCE_TYPE] // 资源类型 refObj.value.REGION_CODE = item.REGION_CODE // 区划编码 refObj.value.REGION_NAME = item.REGION_NAME // 区划名称 refObj.value.ORG_NAME = item.ORG_NAME // 部门名称 diff --git a/front/src/views/personalCenter/components/cloudResources.vue b/front/src/views/personalCenter/components/cloudResources.vue index 9a172ec8..c12cfab3 100644 --- a/front/src/views/personalCenter/components/cloudResources.vue +++ b/front/src/views/personalCenter/components/cloudResources.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-07-12 09:42:44 * @LastEditors: Light - * @LastEditTime: 2022-11-11 18:30:28 + * @LastEditTime: 2022-11-11 18:48:42 * @Description:我的申请 能力申请 查看详情 --> @@ -15,7 +15,7 @@ 操作时间:{{ props.refObj.CREATE_TIME || '--' }}
- 业务名称:{{ props.refObj.PROJECT_NAME || '--' }} + 业务名称:{{ props.refObj.BUSINESS_NAME || '--' }} 业务id:{{ props.refObj.BSNUM || '--' }}