Merge branch 'hi-ucs-dev' of http://192.168.124.50:3000/wuhongjian/hi-ucs into hi-ucs-dev

# Conflicts:
#	front/src/api/personalCenter.js
#	front/src/views/personalCenter/components/ApplyDetails.vue
#	front/src/views/personalCenter/components/MyApply.vue
This commit is contained in:
a0049873 2022-11-11 18:43:49 +08:00
commit 65d35e4501
5 changed files with 1597 additions and 1868 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -53,9 +53,6 @@
let dataList = ref([]) let dataList = ref([])
const getList = () => { const getList = () => {
selectRecommend().then((res) => { selectRecommend().then((res) => {
if (res.data.data.records.length > 9) {
res.data.data.records.length = 9
}
dataList.value = res.data.data.records dataList.value = res.data.data.records
dataList.value.map((item, index) => { dataList.value.map((item, index) => {
// debugger // debugger
@ -98,7 +95,7 @@
router.push({ router.push({
path: '/DetailsPageconetent', path: '/DetailsPageconetent',
query: { query: {
select: DETAIL_PAGE_CONTENT_DEFAULT_TAB, select: DETAIL_PAGE_CONTENT_DEFAULT_TAB
}, },
}) })
} }

View File

@ -31,12 +31,7 @@
<div class="title">审批详情</div> <div class="title">审批详情</div>
<template v-for="item in dataSource.data" :key="item"> <template v-for="item in dataSource.data" :key="item">
<div class="oddNumbers">子单号:{{ item[0] }}</div> <div class="oddNumbers">子单号:{{ item[0] }}</div>
<a-table <a-table :dataSource="item[1]" :columns="columns">
:dataSource="item[1]"
:columns="dataSourceColumns"
v-if="showType === '数据资源申请'"
></a-table>
<a-table :dataSource="item[1]" :columns="columns" v-else>
<template #bodyCell="{ column, text }"> <template #bodyCell="{ column, text }">
<template v-if="column.dataIndex === 'name'"> <template v-if="column.dataIndex === 'name'">
<a>{{ text }}</a> <a>{{ text }}</a>
@ -174,33 +169,8 @@
width: '180px', width: '180px',
}, },
] ]
const dataSourceColumns = [
{
title: '操作',
dataIndex: 'cz',
key: 'cz',
width: '180px',
},
{
title: '处理用户',
dataIndex: 'czyh',
key: 'czyh',
width: '180px',
},
{
title: '处理时间',
dataIndex: 'clsj',
key: 'clsj',
width: '180px',
},
{
title: '备注',
dataIndex: 'remark',
key: 'remark',
width: '180px',
},
]
const getInfo = () => { const getInfo = () => {
console.log(props.processInstanceId, '============================')
if (props.processDefinitionName == '能力申请') { if (props.processDefinitionName == '能力申请') {
// getTaskVariables({ taskId: props.processInstanceId }).then((res) => { // getTaskVariables({ taskId: props.processInstanceId }).then((res) => {
// console.log('====================>', res.data.data) // console.log('====================>', res.data.data)
@ -245,6 +215,7 @@
shifoushizujian.value = false shifoushizujian.value = false
console.log(res.data.data.resourceDTO) console.log(res.data.data.resourceDTO)
res.data.data.resourceDTO.infoList.forEach((val) => { res.data.data.resourceDTO.infoList.forEach((val) => {
console.log(val, '111111111111111111111111')
if (val.attrValue === '智能算法') { if (val.attrValue === '智能算法') {
nameNotShow.value = true nameNotShow.value = true
algorithmShow.value = false algorithmShow.value = false
@ -252,6 +223,7 @@
} }
}) })
} }
console.log('222222222222', dataForm.data)
}) })
} }
if (props.processDefinitionName == '能力资源下架') { if (props.processDefinitionName == '能力资源下架') {
@ -293,6 +265,7 @@
}) })
const getResourceURL = () => { const getResourceURL = () => {
console.log('111111111111111111111111111111', Cookies.get('token'))
const params = qs.stringify({ const params = qs.stringify({
token: Cookies.get('token'), token: Cookies.get('token'),
// processInstanceId: this.dataForm.processInstanceId // processInstanceId: this.dataForm.processInstanceId

View File

@ -72,10 +72,7 @@
</div> </div>
</a-tooltip> </a-tooltip>
<div class="content-body-content"> <div class="content-body-content">
<p <p class="content-body-content-son" v-if="typeName !== '设备申请'">
class="content-body-content-son"
v-if="typeName !== '设备申请' && typeName !== '数据资源申请'"
>
审核结果{{ item.ended ? '审核完成' : '审核中' }} 审核结果{{ item.ended ? '审核完成' : '审核中' }}
</p> </p>
<p <p
@ -90,11 +87,6 @@
> >
审核结果{{ item.STATUS }} 审核结果{{ item.STATUS }}
</p> </p>
<p class="content-body-content-son" v-else>
审核结果{{ item.bmyijian ? '审核完成' : '审核中' }}
</p>
</div>
<div class="content-body-bottom">
<div> <div>
申请日期{{ 申请日期{{
item.createDate || item.createDate ||
@ -355,7 +347,6 @@
// //
const changeType = (item, index) => { const changeType = (item, index) => {
contentList.data = []
console.log('item, index-----选择类型------->', item, index) console.log('item, index-----选择类型------->', item, index)
numFlag.value = true numFlag.value = true
num.value = [] num.value = []