政务云 调整

This commit is contained in:
a0049873 2022-11-11 18:54:43 +08:00
parent 65d35e4501
commit d16763eaac
2 changed files with 53 additions and 7 deletions

View File

@ -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 //

View File

@ -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:我的申请 能力申请 查看详情
-->
<template>
@ -15,7 +15,7 @@
<span>操作时间{{ props.refObj.CREATE_TIME || '--' }}</span>
</p>
<p class="item">
<span>业务名称{{ props.refObj.PROJECT_NAME || '--' }}</span>
<span>业务名称{{ props.refObj.BUSINESS_NAME || '--' }}</span>
<span>业务id{{ props.refObj.BSNUM || '--' }}</span>
</p>
<p class="item">